:root {
    --bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --primary: #7c3aed;
    /* Violet */
    --primary-dark: #5b21b6;
    --secondary: #10b981;
    /* Emerald */
    --accent: #f59e0b;
    /* Amber */
    --dark-bg: #0f0b1e;
    /* Deep Violet Black */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, #a78bfa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 11, 30, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Mobile Nav Styles */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0f0b1e;
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links .nav-link {
        font-size: 18px;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
        width: 100%;
        display: block;
    }

    .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-left: 16px;
        min-width: auto;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
    }

    .dropdown-item:hover {
        background: transparent;
        color: white;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

/* Login link in mobile menu */
.nav-link-login {
    display: none;
}

@media (max-width: 900px) {
    .nav-links.active .nav-link-login {
        display: block;
        margin-top: 16px;
        padding: 16px 24px;
        background: var(--secondary);
        color: white !important;
        border-radius: 12px;
        text-align: center;
        font-weight: 600;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: 0.2s;
}

.nav-link:hover {
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 8px;
    border-radius: 16px;
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.dropdown-item i {
    font-size: 20px;
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-dark {
    background: var(--text);
    color: white;
}

.btn-dark:hover {
    background: #000;
}

/* Hero Section (Static Image) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 11, 30, 0.6);
    /* Lighter overlay (was 0.8) */
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 540px;
}

/* Bento Grid Hero Visual */
.bento-hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .bento-hero {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }
}

.bento-item {
    background: rgb(0 150 136 / 7%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    align-items: flex-start;
    transition: 0.3s;
    height: 160px;
    /* Reduced height for balanced grid */
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bento-item h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.bento-item:hover {
    transform: translateY(-5px);
    background: rgba(15, 11, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Stats Bar */
.stats-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    margin-top: 64px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    text-align: center;
    color: white;
}

.stat-num {
    font-size: 32px;
    font-weight: 700;
    color: #34d399;
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
}

/* Logos (Large) */
.logos-section {
    padding: 80px 0;
    background: white;
}

.logos-track {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.8;
}

.logos-track img {
    height: 50px;
    filter: grayscale(100%);
    transition: 0.3s;
    cursor: pointer;
}

.logos-track img:hover {
    filter: none;
    transform: scale(1.1);
}

@media(min-width: 768px) {
    .logos-track img {
        height: 60px;
    }
}

/* Modules Grid */
.modules {
    padding: 100px 0;
    background: #f8fafc;
}

.module-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.module-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    transition: 0.3s;
    border: 1px solid transparent;
    display: block;
    text-decoration: none;
    color: inherit;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: white;
}

.test-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.test-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 24px;
}

.stars {
    color: var(--accent);
    margin-bottom: 16px;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-question i {
    transition: 0.2s;
    font-size: 20px;
    color: var(--primary);
}

/* Pricing Section Details */
.module-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.module-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.module-cta {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0;
    font-size: 14px;
}

footer h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 16px;
}

footer a {
    color: inherit;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

footer a:hover {
    color: white;
}

/* Utilities */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
        margin-left: auto;
        /* Push to right */
    }

    /* Navbar: Hide desktop buttons on mobile */
    .nav-inner .btn {
        display: none;
    }

    /* Footer Stabilization */
    footer .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    footer .nav-inner>div {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 24px;
    }

    footer .nav-inner>div:last-child {
        border: none;
        padding-bottom: 0;
    }

    /* Module Card Spacing */
    .module-card {
        padding: 24px;
    }

    /* Hero Adjustments */
    .hero-title {
        font-size: 36px;
    }

    .hero-grid {
        gap: 32px;
    }
}