/* ============================================
   CSS Custom Properties (Design Tokens) - DEEP DARK THEME
   ============================================ */
:root {
    /* Flutter-inspired Color Palette - Deep Edition */
    --flutter-blue: #03408A;
    --flutter-light-blue: #0E9ED9;
    --flutter-dark-blue: #061A3A;
    --flutter-accent: #00A88F;
    
    /* Accent Colors - More saturated for glow effects */
    --accent-primary: #0455B5;
    --accent-secondary: #0EA5E9;
    --accent-tertiary: #00C4A7;
    --accent-gradient: linear-gradient(135deg, #0455B5 0%, #0EA5E9 50%, #00C4A7 100%);
    --accent-gradient-vertical: linear-gradient(180deg, #0455B5 0%, #0EA5E9 50%, #00C4A7 100%);
    
    /* Dark Theme Colors - Deeper & Richer */
    --bg-primary: #060B18;
    --bg-secondary: #0A1122;
    --bg-tertiary: #0D1529;
    --bg-card: rgba(10, 17, 34, 0.75);
    --bg-card-hover: rgba(13, 21, 41, 0.92);
    --bg-elevated: #101A30;
    
    /* Text Colors - Higher contrast */
    --text-primary: #EDF2FA;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --text-accent: #0EA5E9;
    
    /* Glass Effect - More depth */
    --glass-bg: rgba(10, 17, 34, 0.55);
    --glass-bg-strong: rgba(10, 17, 34, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-strong: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glass-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
    --glass-blur: blur(24px);
    
    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows - Deeper & More Dramatic */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow-blue: 0 0 25px rgba(14, 165, 233, 0.25);
    --shadow-glow-blue-strong: 0 0 40px rgba(14, 165, 233, 0.4);
    --shadow-glow-green: 0 0 25px rgba(0, 196, 167, 0.25);
    --shadow-glow-green-strong: 0 0 40px rgba(0, 196, 167, 0.4);
    --shadow-inner: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Mesh Gradient Background - Deeper */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 15% 40%, rgba(4, 85, 181, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 55% 75%, rgba(0, 196, 167, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 30% 80%, rgba(4, 85, 181, 0.04) 0%, transparent 50%),
        var(--bg-primary);
    animation: meshGradient 20s ease-in-out infinite;
}

@keyframes meshGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

/* Custom Scrollbar - Deeper */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-tertiary));
}

/* Selection */
::selection {
    background: rgba(14, 165, 233, 0.3);
    color: var(--text-primary);
}

/* ============================================
   Top Progress Bar
   ============================================ */
.top-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width var(--transition-slow);
    position: relative;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.6);
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.9), 0 0 30px rgba(14, 165, 233, 0.5);
}

/* ============================================
   Navigation - Deeper Glass
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 2rem;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(6, 11, 24, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.5));
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-secondary);
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-blue), var(--shadow-md);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left var(--transition-slow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue-strong), var(--shadow-lg);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-arrow, .cta-icon {
    transition: transform var(--transition-fast);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Secondary Button */
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border-strong);
}

.secondary-button:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(24px);
    z-index: 1000;
    padding-top: 5rem;
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent-secondary);
}

.mobile-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-glow-blue);
}

/* ============================================
   Hero Section - Deeper Background
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-secondary);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(14, 165, 233, 0.7);
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 4px rgba(14, 165, 233, 0.3);
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.3));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    width: fit-content;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-secondary);
    line-height: 1;
    text-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Code Preview Container */
.code-preview-container {
    position: relative;
    z-index: 2;
}

.code-preview {
    background: rgba(6, 11, 24, 0.95);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-base);
}

.code-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue-strong);
}

.code-preview.mini {
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(8, 14, 28, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; box-shadow: 0 0 4px rgba(255, 95, 86, 0.4); }
.dot.yellow { background: #FFBD2E; box-shadow: 0 0 4px rgba(255, 189, 46, 0.4); }
.dot.green { background: #27C93F; box-shadow: 0 0 4px rgba(39, 201, 63, 0.4); }

.code-filename {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.code-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.code-body .keyword { color: #C792EA; }
.code-body .function { color: #82AAFF; }
.code-body .string { color: #C3E88D; }

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--accent-secondary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(14, 165, 233, 0.08);
    z-index: 1;
    pointer-events: none;
}

.fe-1 {
    top: -10%;
    right: -5%;
    animation: float 6s ease-in-out infinite;
    font-size: 3rem;
}

.fe-2 {
    bottom: -5%;
    left: -10%;
    animation: float 8s ease-in-out infinite 2s;
    font-family: var(--font-mono);
    font-size: 2rem;
}

.fe-3 {
    top: 50%;
    right: -15%;
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Hero Mesh */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 55%, rgba(0, 196, 167, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(4, 85, 181, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ============================================
   Features Section - Deeper Cards
   ============================================ */
.features {
    padding: 6rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: var(--shadow-glow-blue), var(--shadow-lg);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.feature-icon-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--accent-secondary);
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.15;
    z-index: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-link:hover {
    gap: 0.5rem;
}

/* ============================================
   Curriculum Section - Deeper Background
   ============================================ */
.curriculum {
    padding: 6rem 2rem;
    background: rgba(8, 14, 28, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Progress Overview */
.progress-overview {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.progress-text {
    font-weight: 600;
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.progress-lessons {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.progress-bar-large {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-inner);
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width var(--transition-slow);
    position: relative;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.7);
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Topic Headers */
.topic-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0 0.5rem;
    margin-top: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.topic-header:first-child {
    margin-top: 0;
}

.topic-icon {
    font-size: 1.5rem;
}

.topic-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.topic-count {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    border: 1px solid var(--glass-border);
}

/* Lesson Card - Deeper */
.lesson-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.lesson-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient-vertical);
    transform: scaleY(0);
    transition: transform var(--transition-base);
    transform-origin: top;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.lesson-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: var(--shadow-glow-blue), var(--shadow-lg);
    background: var(--bg-card-hover);
}

.lesson-card:hover::before {
    transform: scaleY(1);
}

/* Lesson Card Completed State - GREEN GLOW */
.lesson-card.completed {
    border-color: rgba(0, 196, 167, 0.3);
}

.lesson-card.completed::before {
    background: linear-gradient(180deg, var(--accent-tertiary), #00E6C3);
    transform: scaleY(1);
    box-shadow: 0 0 15px rgba(0, 196, 167, 0.5);
}

.lesson-card.completed:hover {
    box-shadow: var(--shadow-glow-green), var(--shadow-lg);
    border-color: rgba(0, 196, 167, 0.5);
}

.lesson-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.lesson-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

.lesson-status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.lesson-card.completed .lesson-status {
    background: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
    box-shadow: 0 0 15px rgba(0, 196, 167, 0.5);
}

.lesson-status-icon {
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-base);
}

.lesson-card.completed .lesson-status-icon {
    opacity: 1;
    transform: scale(1);
}

.lesson-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.lesson-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.lesson-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.lesson-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lesson-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lesson-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--accent-secondary);
    transition: all var(--transition-fast);
}

.lesson-card:hover .lesson-tag {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.25);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-tertiary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Trusted By / Community Section
   ============================================ */
.trusted-by {
    padding: 6rem 2rem;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.community-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.community-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: var(--shadow-glow-blue), var(--shadow-lg);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Dart Section
   ============================================ */
.dart-section {
    padding: 6rem 2rem;
    background: rgba(8, 14, 28, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.dart-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dart-text {
    text-align: left;
}

.dart-text .section-title,
.dart-text .section-subtitle {
    text-align: left;
}

.dart-text .section-subtitle {
    margin-bottom: 2rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 6rem 2rem;
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.04) 0%, transparent 50%, rgba(0, 196, 167, 0.04) 100%);
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ============================================
   Footer - Deeper
   ============================================ */
.footer {
    padding: 4rem 2rem 2rem;
    background: rgba(8, 14, 28, 0.6);
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   NekoVerse Company Branding
   ============================================ */

.company-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.nekoverse-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.nekoverse-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.company-tagline {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
    margin-bottom: 16px;
}

/* For Dartly footer - adjust spacing */
.footer-section .company-brand {
    margin-bottom: 8px;
}

.footer-section .nekoverse-text {
    font-size: 1.1rem;
}

.footer-section .company-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Cross-link styling */
.cross-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: 8px;
}

.cross-link:hover {
    color: #a78bfa;
}

.cross-link .arrow {
    transition: transform 0.2s ease;
}

.cross-link:hover .arrow {
    transform: translateX(3px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dart-content {
        grid-template-columns: 1fr;
    }

    .dart-text,
    .dart-text .section-title,
    .dart-text .section-subtitle {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .lessons-grid {
        grid-template-columns: 1fr;
    }

    .community-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .features,
    .curriculum,
    .trusted-by,
    .dart-section,
    .cta-section {
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .code-preview {
        display: none;
    }
}