/* ============================================
   PsychFlash Website - Ultra Modern Design
   Premium Psychology Theme with Glassmorphism
   Designed for Maximum Conversion
   ============================================ */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */

:root {
    /* Primary Palette - Psychology/Mind Theme */
    --primary-50: #faf5ff;
    --primary-100: #f3e8ff;
    --primary-200: #e9d5ff;
    --primary-300: #d8b4fe;
    --primary-400: #c084fc;
    --primary-500: #a855f7;
    --primary-600: #9333ea;
    --primary-700: #7c3aed;
    --primary-800: #6b21a8;
    --primary-900: #581c87;

    /* Accent Colors - Pink/Magenta */
    --accent-50: #fdf2f8;
    --accent-100: #fce7f3;
    --accent-200: #fbcfe8;
    --accent-300: #f9a8d4;
    --accent-400: #f472b6;
    --accent-500: #ec4899;
    --accent-600: #db2777;
    --accent-700: #be185d;

    /* Secondary - Cyan/Teal */
    --secondary-400: #22d3ee;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;

    /* Semantic Colors */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --error: #ef4444;

    /* Neutrals */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --gray-950: #09090b;

    /* Text Colors */
    --text-primary: #0f0a1a;
    --text-secondary: #4a4458;
    --text-muted: #6b6580;
    --text-light: #9ca3af;
    --text-inverse: #ffffff;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #faf8ff;
    --bg-tertiary: #f3f0ff;
    --bg-dark: #0f0a1a;
    --bg-dark-secondary: #1a1425;
    --bg-dark-tertiary: #251d33;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(139, 92, 246, 0.12);
    --glass-blur: blur(20px);
    --glass-dark-bg: rgba(15, 10, 26, 0.8);
    --glass-dark-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #a855f7 25%, #c084fc 50%, #f472b6 75%, #ec4899 100%);
    --gradient-hero-soft: linear-gradient(180deg, #faf8ff 0%, #f3e8ff 50%, #fce7f3 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(280, 100%, 74%, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, hsla(329, 100%, 74%, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, hsla(260, 100%, 80%, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, hsla(280, 100%, 70%, 0.15) 0px, transparent 50%);
    --gradient-dark: linear-gradient(135deg, #0f0a1a 0%, #1a1425 50%, #251d33 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.4));
    --gradient-text: linear-gradient(135deg, #a855f7, #ec4899, #f472b6);
    --gradient-text-animated: linear-gradient(270deg, #a855f7, #ec4899, #f472b6, #a855f7);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 248, 255, 0.8) 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(250, 248, 255, 0.95) 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(139, 92, 246, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(139, 92, 246, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px rgba(139, 92, 246, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 48px rgba(139, 92, 246, 0.16), 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 32px 64px rgba(139, 92, 246, 0.2), 0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(168, 85, 247, 0.4);
    --shadow-glow-accent: 0 0 40px rgba(236, 72, 153, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

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

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    /* Transitions */
    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);

    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --text-primary: #fafafa;
        --text-secondary: #d4d4d8;
        --text-muted: #a1a1aa;
        --bg-primary: #0f0a1a;
        --bg-secondary: #1a1425;
        --bg-tertiary: #251d33;
        --glass-bg: rgba(26, 20, 37, 0.8);
        --glass-bg-strong: rgba(26, 20, 37, 0.9);
        --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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

::selection {
    background: rgba(168, 85, 247, 0.3);
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
    }
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
    font-weight: var(--font-extrabold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: var(--font-bold);
}

h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-animated {
    background: var(--gradient-text-animated);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-default);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-default);
}

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

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Primary Button Pulse Animation */
.btn-primary.pulse {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: var(--shadow-md), 0 4px 20px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 8px 40px rgba(168, 85, 247, 0.5);
    }
}

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

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Large Button */
.btn-large {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

/* Button Icon */
.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--duration-normal) var(--ease-default);
}

.navbar.scrolled {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-lg);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: var(--font-extrabold);
    font-size: var(--text-xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform var(--duration-fast) var(--ease-default);
}

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

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a:not(.btn) {
    position: relative;
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    transition: color var(--duration-fast) var(--ease-default);
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-default);
}

.mobile-menu-btn:hover {
    background: var(--bg-tertiary);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-default);
    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
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--gradient-hero-soft);
}

/* Hero Background Effects */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
    animation: bgPulse 10s ease-in-out infinite reverse;
}

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

/* Floating Shapes */
.hero-bg .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: shapeFloat 20s ease-in-out infinite;
}

.hero-bg .shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-400);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-bg .shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-400);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.hero-bg .shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary-400);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(30px, 10px) rotate(3deg); }
}

/* Hero Content Layout */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.hero h1 {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s var(--ease-out) 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
    opacity: 0;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-12);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
    opacity: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-value {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-muted);
}

/* Hero Image / Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 320px;
    height: 660px;
    background: linear-gradient(145deg, #1a1425 0%, #0f0a1a 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow:
        var(--shadow-2xl),
        0 0 80px rgba(168, 85, 247, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: phoneFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

/* Phone Glow Effect */
.phone-mockup::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-glow);
    border-radius: 70px;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-5deg) rotateX(2deg);
    }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.phone-mockup:hover {
    animation-play-state: paused;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 42px;
    overflow: hidden;
}

/* App Preview */
.app-preview {
    padding: 50px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    font-weight: var(--font-bold);
    font-size: var(--text-base);
}

.preview-count {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.preview-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    border: 1px solid var(--glass-border);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-question {
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.preview-answer {
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--primary-600);
}

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

.preview-btn {
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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, #a855f7, #7c3aed); }

/* ============================================
   Section Styles
   ============================================ */

section {
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-header h2 {
    margin-bottom: var(--space-5);
}

.section-header p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Fade In Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Curriculum Coverage Section
   ============================================ */

.curriculum-coverage {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--glass-border);
}

.curriculum-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-default);
    cursor: default;
}

.curriculum-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.curriculum-icon {
    font-size: 1.4rem;
}

/* ============================================
   Difficulty Levels Section
   ============================================ */

.difficulty-levels {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.level-card {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-8);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-default);
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.level-card.beginner::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.level-card.intermediate::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.level-card.advanced::before {
    background: linear-gradient(90deg, #a855f7, #ec4899);
}

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

.level-card.beginner:hover {
    border-color: var(--success);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(16, 185, 129, 0.2);
}

.level-card.intermediate:hover {
    border-color: var(--warning);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(245, 158, 11, 0.2);
}

.level-card.advanced:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(168, 85, 247, 0.2);
}

.level-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: 1.5px;
    margin-bottom: var(--space-5);
}

.level-card.beginner .level-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15));
    color: #059669;
}

.level-card.intermediate .level-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.15));
    color: #d97706;
}

.level-card.advanced .level-badge {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
    color: #7c3aed;
}

.level-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-5);
    display: block;
}

.level-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.level-card > p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.level-features {
    list-style: none;
    margin-bottom: var(--space-6);
}

.level-features li {
    position: relative;
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.level-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.level-cards-count {
    display: inline-block;
    padding: var(--space-3) var(--space-5);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-default);
}

.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: transform var(--duration-normal) var(--ease-default);
}

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

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-5);
    display: block;
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ============================================
   Decks Section
   ============================================ */

.decks {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.decks-tier {
    margin-bottom: var(--space-16);
}

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

.tier-title {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-8);
}

.tier-badge {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-badge.free {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--text-inverse);
}

.tier-badge.pro {
    background: var(--gradient-accent);
    color: var(--text-inverse);
}

.decks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.deck-card {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-default);
}

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

.deck-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--deck-color);
    box-shadow: var(--shadow-xl);
}

.deck-card.premium {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.2);
}

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

.deck-badge {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    background: var(--gradient-accent);
    color: var(--text-inverse);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
}

.deck-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-5);
    display: block;
}

.deck-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.deck-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.deck-count {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
}

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

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -30%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-400), transparent);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary-300);
    border-radius: 50%;
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.step h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.step p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-8);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-default);
    overflow: hidden;
}

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

/* Featured Pricing Card */
.pricing-card.featured {
    background: var(--gradient-dark);
    border: 2px solid transparent;
    color: var(--text-inverse);
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-strong);
    z-index: 2;
}

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

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: var(--text-inverse);
}

.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);
}

/* Best Value Card - Glowing Border */
.pricing-card:has(.pricing-badge.secondary) {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
                      linear-gradient(135deg, #10b981, #34d399, #10b981);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: glowingBorder 3s ease-in-out infinite;
}

@keyframes glowingBorder {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.5); }
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--space-3) var(--space-6);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.pricing-badge.secondary {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pricing-header {
    margin-bottom: var(--space-8);
}

.pricing-header h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    margin-top: var(--space-6);
}

.price {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

.price span {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    -webkit-text-fill-color: var(--text-muted);
}

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

.pricing-header > p {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-8);
}

.pricing-features li {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-card.featured .pricing-features li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334d399'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

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

.pricing-features li strong {
    color: var(--text-primary);
}

.pricing-card.featured .pricing-features li strong {
    color: var(--text-inverse);
}

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

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

.pricing-card.featured .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-normal) var(--ease-default);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-200);
    line-height: 1;
    opacity: 0.5;
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: var(--text-xl);
    margin-bottom: var(--space-5);
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-style: italic;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.testimonial-card > p strong {
    color: var(--primary-600);
    font-weight: var(--font-semibold);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.testimonial-author strong {
    font-size: var(--text-base);
    color: var(--text-primary);
}

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

/* ============================================
   Trust Section
   ============================================ */

.trust-section {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
    position: relative;
}

.trust-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trust-content h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-5);
}

.trust-content > p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-20);
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.trust-value {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.trust-label {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-muted);
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: var(--space-32) 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

.download::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.download-content h2 {
    color: var(--text-inverse);
    margin-bottom: var(--space-5);
}

.download-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-xl);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-badges {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-badge img {
    height: 60px;
    transition: all var(--duration-normal) var(--ease-default);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.app-store-badge:hover img {
    transform: scale(1.05) translateY(-3px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.download-note {
    margin-top: var(--space-8);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: var(--space-20) 0 var(--space-12);
    background: var(--bg-dark);
    color: var(--text-inverse);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: var(--text-inverse);
    margin-bottom: var(--space-5);
}

.footer-brand .logo-icon {
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.5));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer-links h4 {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-6);
}

.footer-links a {
    display: block;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--duration-fast) var(--ease-default);
}

.footer-links a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1280px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

    .hero-image {
        order: -1;
    }

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

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

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

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

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

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

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

    .steps {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        max-width: 400px;
        margin: 0 auto;
    }

    .step:not(:last-child)::after {
        display: none;
    }

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

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }

    .trust-stats {
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    :root {
        --space-24: 80px;
        --space-20: 64px;
        --space-16: 48px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--glass-bg-strong);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration-normal) var(--ease-default);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: var(--space-4);
    }

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-8);
    }

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

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

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

    .curriculum-grid {
        gap: var(--space-3);
    }

    .curriculum-item {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-xs);
    }

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

    .footer-brand {
        grid-column: 1;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .trust-value {
        font-size: var(--text-4xl);
    }

    .download {
        padding: var(--space-20) 0;
    }
}

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

    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .stat-value {
        font-size: var(--text-3xl);
    }

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

    .pricing-card {
        padding: var(--space-8) var(--space-6);
    }

    .price {
        font-size: var(--text-4xl);
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.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;
}

.text-center {
    text-align: center;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-bg,
    .download,
    .footer {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
