/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
    /* Dark Theme (Primary DNA) */
    --bg: #0b0f1a;
    --surface: #151b27;
    --surface-accent: #1c2433;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #cbd5e1;
    --accent: #9333ea;
    --accent-glow: rgba(147, 51, 234, 0.45);
    --border: #1f2937;
    --nav-blur: rgba(11, 15, 26, 0.85);
    
    /* Modular Scale 2.19 (Based on 16px) */
    --h1: 3.75rem;   /* ~60px */
    --h2: 2.25rem;   /* ~36px */
    --h3: 1.125rem;  /* ~18px */
    --base: 1rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg: #f9fafb;
    --surface: #ffffff;
    --surface-accent: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #64748b;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --border: #e5e7eb;
    --nav-blur: rgba(249, 250, 251, 0.85);
}

/* --- 2. BASE RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.4s ease;
    overflow-x: hidden;
}

/* --- 3. NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-blur);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-btn {
    background: #fff;
    color: #0b0f1a !important;
    padding: 0.6rem 1.4rem;
    border-radius: 99px;
    font-weight: 700 !important;
    transition: var(--transition);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--accent);
}

/* --- 4. HERO SECTION (VIBRANT AURA) --- */
.hero {
    padding: 12rem 5% 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* The Special Effect Glow */
.glow-bg {
    position: absolute;
    top: 45%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 600px;
    z-index: -1;
    pointer-events: none;
}

/* Layer 1: The Main Soft Purple Wash (Vibrancy Boosted for Retina) */
.glow-bg::before {
    content: '';
    position: absolute;
    inset: -100px; /* Expanded slightly to allow for more blur falloff */
    background: radial-gradient(
        circle at center, 
        rgba(147, 51, 234, 0.55) 0%,   /* The requested 0.55 opacity boost */
        rgba(147, 51, 234, 0.25) 35%,  /* Mid-tones boosted for depth */
        transparent 70%
    );
    filter: blur(100px); /* Increased from 80px for a smoother "luxury" falloff */
    animation: pulseGlow 10s ease-in-out infinite; /* Slower cycle for a more premium feel */
}

/* Layer 2: The High-Intensity Core (Punchier Focus) */
.glow-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 320px;
    background: radial-gradient(
        circle at center, 
        rgba(168, 85, 247, 0.65) 0%, /* A slightly brighter purple to "pop" the text */
        transparent 75%
    );
    filter: blur(50px);
    opacity: 0.95;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

h1 {
    font-size: var(--h1);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    position: relative;
    z-index: 5;
}

/* --- 5. BUTTONS --- */
.btn-primary { 
    background: var(--accent); 
    color: #fff; 
    padding: 1rem 2.2rem; 
    border-radius: 99px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: var(--transition); 
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px var(--accent-glow); 
    background: #a855f7;
}

.btn-secondary { 
    background: rgba(11, 15, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border); 
    color: var(--text-primary); 
    padding: 1rem 2.2rem; 
    border-radius: 99px; 
    text-decoration: none; 
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--text-secondary);
}

/* --- 6. THE SUITE / FEATURES SECTION --- */
.features {
    padding: 2rem 5% 8rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-intro h2 {
    font-size: var(--h2);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    border-color: var(--accent);
    background: var(--surface-accent);
    transform: translateY(-10px);
}

.icon-box {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: var(--h3);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- 7. MULTI-PAGE LAYOUTS (SUBPAGES) --- */
.subpage-header {
    padding: 10rem 5% 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.content-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.price-card {
    padding: 3.5rem 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: scale(1.03);
}

.price-card .amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price-card .amount span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.feature-list {
    list-style: none;
    margin: 2.5rem 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--accent);
}

/* --- 8. FOOTER --- */
footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* --- 9. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    :root {
        --h1: 2.75rem;
        --h2: 1.85rem;
    }

    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none; /* Hide nav on mobile for simplicity, or use a burger menu */
    }

    .hero {
        padding: 10rem 5% 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .glow-bg {
        width: 100%;
        height: 400px;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

/* --- FAQ Section Styles --- */
.faq-section {
    padding: 6rem 5% 8rem;
    max-width: 900px; /* Narrower for better readability */
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
    background: var(--surface-accent);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Optional: Add a subtle bullet or icon before the question */
.faq-item h3::before {
    content: 'Q:';
    color: var(--accent);
    font-size: 0.9rem;
    opacity: 0.8;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }
}