/* Base and Variables */
:root {
    --bg-dark: #070911;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #8b5cf6;
    --primary-bright: #a78bfa;
    --secondary: #ec4899;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --aura-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
}

p.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

a { text-decoration: none; color: inherit; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.container-narrow { max-width: 800px; }
.text-center { text-align: center; }
.section-padding { padding: 8rem 0; }
.full-width { width: 100%; text-align: center; }
.text-gradient {
    background: var(--aura-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--aura-gradient);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: transparent;
}
.btn-outline:hover {
    background: var(--glass-bg);
}

.glow-effect {
    position: relative;
    z-index: 1;
}
.glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    background: var(--aura-gradient);
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}
.glow-effect:hover::before { opacity: 0.8; }

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 17, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.logo img {
    height: 36px;
    border-radius: 8px;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-main); }

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/hero_bg.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
    z-index: -1;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: var(--primary-bright);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}
.stat-item {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.stat-item strong {
    font-size: 2rem;
    color: var(--text-main);
    display: block;
}

.mockup-wrapper {
    padding: 1rem;
    border-radius: 36px;
    background: linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: transform 0.5s ease;
}
.mockup-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.mockup-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .mockup-wrapper { max-width: 400px; margin: 0 auto; transform: none; }
    .mockup-wrapper:hover { transform: translateY(-10px); }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.step {
    position: relative;
    padding: 2rem;
}
.step-num {
    width: 60px; height: 60px;
    background: var(--aura-gradient);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.step h4 { margin-bottom: 1rem; }
.step p { color: var(--text-muted); }
.step a { color: var(--primary-bright); text-decoration: underline; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.price-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    z-index: 10;
}
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--aura-gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}
.price-card h3 { color: var(--text-muted); font-size: 1.2rem; }
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.features-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}
.features-list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.features-list strong { color: var(--text-main); }

@media (max-width: 900px) {
    .price-card.popular { transform: scale(1); }
    .price-card.popular:hover { transform: translateY(-5px); }
}

/* FAQ Accordion */
.faq-details {
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
}
.faq-details summary {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 2rem;
    outline: none;
}
.faq-details summary::-webkit-details-marker {
    display: none;
}
.faq-details summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-bright);
    transition: transform 0.3s ease;
}
.faq-details[open] summary::after {
    content: '−';
}
.faq-details[open] summary {
    color: var(--primary-bright);
    margin-bottom: 1rem;
}
.faq-content {
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    background: rgba(0,0,0,0.2);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
