/* ============================================
   ChemFlash Website - Ultra Modern Design 2026
   Blue/Purple Chemistry Theme with Glassmorphism
   ============================================ */

/* ============================================
   CSS Custom Properties (Dark Mode Ready)
   ============================================ */
:root {
    /* Primary Colors - Blue/Purple Chemistry Theme */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --primary-glow: rgba(99, 102, 241, 0.5);

    --secondary: #8B5CF6;
    --secondary-dark: #7C3AED;
    --secondary-light: #A78BFA;
    --secondary-glow: rgba(139, 92, 246, 0.5);

    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --accent-glow: rgba(6, 182, 212, 0.5);

    /* Gradient Colors */
    --gradient-start: #6366F1;
    --gradient-mid: #8B5CF6;
    --gradient-end: #06B6D4;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Neutral Colors */
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;

    /* Background Colors */
    --bg: #ffffff;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #0F172A;
    --bg-dark-secondary: #1E293B;

    /* Glass Effect Colors */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Border Colors */
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --shadow-glow-primary: 0 0 40px var(--primary-glow);
    --shadow-glow-secondary: 0 0 40px var(--secondary-glow);
    --shadow-glow-accent: 0 0 40px var(--accent-glow);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-mid) 50%, var(--gradient-start) 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #312E81 100%);
    --gradient-hero-radial: radial-gradient(ellipse at top, #312E81 0%, #1E293B 50%, #0F172A 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    --gradient-text: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);

    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
    --radius-full: 9999px;

    /* Font */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #F8FAFC;
        --text-secondary: #CBD5E1;
        --text-muted: #94A3B8;
        --bg: #0F172A;
        --bg-secondary: #1E293B;
        --bg-tertiary: #334155;
        --border: #334155;
        --border-light: #475569;
        --glass-bg: rgba(30, 41, 59, 0.8);
        --glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--text-secondary);
}

/* Gradient Text with Animation */
.gradient-text {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

/* Primary Button with Glow */
.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    box-shadow: var(--shadow), 0 4px 20px var(--primary-glow);
    animation: btn-gradient 6s ease infinite;
}

@keyframes btn-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 10px 40px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Pulse Animation for Primary CTA */
.btn-pulse {
    animation: btn-gradient 6s ease infinite, pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow), 0 4px 20px var(--primary-glow); }
    50% { box-shadow: var(--shadow-lg), 0 8px 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

/* Secondary Button - Glass Effect */
.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Large Button */
.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   Navigation - Glassmorphism
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px var(--primary-glow));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text);
    border-radius: var(--radius-full);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section - Stunning Design
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--gradient-hero);
}

/* Animated Particle Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    animation: float-slow 25s ease-in-out infinite reverse;
}

/* Molecular particles animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
    animation: particles 30s linear infinite;
    pointer-events: none;
}

@keyframes particles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(5deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

/* Hero Content */
.hero-content {
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    animation: fade-in-up 1s ease-out 0.1s both;
}

.hero h1 {
    color: white;
    margin-bottom: 28px;
    animation: fade-in-up 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 540px;
    animation: fade-in-up 1s ease-out 0.3s both;
}

/* Value Props */
.hero-value-prop {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    animation: fade-in-up 1s ease-out 0.4s both;
}

.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.value-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fade-in-up 1s ease-out 0.5s both;
}

/* Hero Stats with Counter Animation */
.hero-stats {
    display: flex;
    gap: 48px;
    animation: fade-in-up 1s ease-out 0.6s both;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat:last-child::after {
    display: none;
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 6px;
}

/* Hero Image - Phone Mockup with Glow */
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
    animation: fade-in-up 1s ease-out 0.4s both;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.phone-mockup {
    width: 320px;
    height: 660px;
    background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow:
        var(--shadow-2xl),
        0 0 80px var(--primary-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0F172A;
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 53px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-radius: 42px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 50px 20px 20px;
    height: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.preview-count {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.preview-card {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.preview-question {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}

.preview-answer {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

.preview-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.preview-btn {
    padding: 14px 8px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.preview-btn:hover {
    transform: scale(1.05);
}

.preview-btn.again { background: linear-gradient(135deg, #EF4444, #DC2626); }
.preview-btn.hard { background: linear-gradient(135deg, #F59E0B, #D97706); }
.preview-btn.good { background: linear-gradient(135deg, #10B981, #059669); }
.preview-btn.easy { background: linear-gradient(135deg, #6366F1, #4F46E5); }

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   Difficulty Levels Section
   ============================================ */
.difficulty-levels {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.level-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--level-gradient);
    transition: var(--transition);
}

.level-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), 0 20px 60px var(--level-glow);
    border-color: transparent;
}

.level-card:hover::before {
    height: 6px;
}

/* Level-specific colors */
.level-card.beginner {
    --level-gradient: linear-gradient(135deg, #10B981, #34D399);
    --level-glow: rgba(16, 185, 129, 0.15);
}

.level-card.intermediate {
    --level-gradient: linear-gradient(135deg, #6366F1, #8B5CF6);
    --level-glow: rgba(99, 102, 241, 0.15);
}

.level-card.advanced {
    --level-gradient: linear-gradient(135deg, #EF4444, #F97316);
    --level-glow: rgba(239, 68, 68, 0.15);
}

.level-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--level-gradient);
    color: white;
    margin-bottom: 20px;
}

.level-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.level-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.level-card > p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.level-ideal {
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.level-ideal strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.level-ideal span {
    color: var(--text-secondary);
}

.level-topics {
    list-style: none;
}

.level-topics li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.level-topics li:last-child {
    border-bottom: none;
}

.level-topics li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--level-gradient);
}

/* ============================================
   Curriculum Coverage Section
   ============================================ */
.curriculum-coverage {
    padding: 120px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.curriculum-coverage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.curriculum-coverage .section-header h2,
.curriculum-coverage .section-header p {
    color: white;
}

.curriculum-coverage .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.curriculum-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.curriculum-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl), 0 0 40px var(--primary-glow);
}

.curriculum-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.curriculum-item h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.curriculum-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Features Section - Glassmorphism Cards
   ============================================ */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 20px 60px var(--primary-glow);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 0.03;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   Decks Section
   ============================================ */
.decks {
    padding: 120px 0;
    position: relative;
    background: var(--bg);
}

.decks-tier {
    margin-bottom: 70px;
}

.decks-tier:last-child {
    margin-bottom: 0;
}

.tier-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.5rem;
    margin-bottom: 36px;
}

.tier-badge {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tier-badge.free {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.tier-badge.pro {
    background: var(--gradient-primary);
    color: white;
}

.decks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.deck-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.deck-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--deck-color);
}

.deck-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--deck-color), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.deck-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--deck-color);
    box-shadow: var(--shadow-xl), 0 10px 40px rgba(0, 0, 0, 0.1);
}

.deck-card:hover::after {
    opacity: 0.03;
}

.deck-card.premium {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

.deck-card.premium::before {
    background: var(--gradient-primary);
}

.deck-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 1;
}

.deck-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.deck-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.deck-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.deck-count {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    position: relative;
}

/* Connection line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 28px;
    box-shadow: var(--shadow-lg), 0 8px 30px var(--primary-glow);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl), 0 15px 50px var(--primary-glow);
}

.step h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.step p {
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   Pricing Section - Modern Cards
   ============================================ */
.pricing {
    padding: 120px 0;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

/* Featured Card - Best Value with Glowing Border */
.pricing-card.featured {
    background: var(--gradient-dark);
    border: 2px solid transparent;
    color: white;
    transform: scale(1.05);
    box-shadow:
        var(--shadow-2xl),
        0 0 0 2px var(--primary),
        0 0 40px var(--primary-glow);
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% { box-shadow: var(--shadow-2xl), 0 0 0 2px var(--primary), 0 0 40px var(--primary-glow); }
    50% { box-shadow: var(--shadow-2xl), 0 0 0 3px var(--secondary), 0 0 60px var(--secondary-glow); }
}

.pricing-card.featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: white;
}

.pricing-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 10px 28px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.pricing-badge.secondary {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-top: 20px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    line-height: 1;
}

.pricing-card.featured .price {
    background: linear-gradient(135deg, #818CF8, #22D3EE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--text-secondary);
}

.pricing-card.featured .price span {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}

.pricing-header p {
    margin-top: 8px;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask-size: 12px;
    -webkit-mask-size: 12px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.featured .btn-primary {
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
}

/* ============================================
   Testimonials - Modern Card Carousel
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.testimonial-stars {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.testimonial-card > p {
    font-style: italic;
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author::before {
    content: '';
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-signal {
    text-align: center;
    margin-top: 60px;
    padding: 24px 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.trust-signal p {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 160px 0;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 60%);
    animation: float-slow 20s ease-in-out infinite;
    pointer-events: none;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
    animation: float-slow 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content h2 {
    color: white;
    margin-bottom: 20px;
}

.download-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.35rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.download-stats span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.download-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-badge img {
    height: 70px;
    transition: var(--transition);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.app-store-badge:hover img {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
}

.download-note {
    margin-top: 36px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Footer - Modern Dark Gradient
   ============================================ */
.footer {
    padding: 100px 0 50px;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-icon {
    -webkit-text-fill-color: transparent;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 10px 0;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-slow);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-value-prop {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 280px;
        height: 580px;
    }

    .levels-grid,
    .curriculum-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 72px;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 8px;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 1.1rem;
    }

    .nav-links .btn {
        margin-top: 16px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 18px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat::after {
        display: none;
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .decks-grid {
        grid-template-columns: 1fr;
    }

    .tier-title {
        justify-content: center;
        flex-wrap: wrap;
    }

    .download-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .download-stats span {
        font-size: 0.95rem;
        padding: 10px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .trust-signal {
        padding: 20px 24px;
    }

    .trust-signal p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }

    .level-card,
    .feature-card,
    .deck-card,
    .pricing-card,
    .testimonial-card {
        padding: 28px 24px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .download-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.my-0 { margin-top: 0; margin-bottom: 0; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
