/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-lighter: #a5b4fc;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
    --accent: #ec4899;
    --accent-dark: #db2777;
    --accent-light: #f472b6;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Advanced Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #fb7185 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(250, 95%, 70%, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, hsla(280, 95%, 70%, 0.3) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, hsla(330, 95%, 70%, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, hsla(250, 95%, 70%, 0.2) 0px, transparent 50%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    
    /* Layered Shadow System */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3), 0 0 60px rgba(139, 92, 246, 0.2);
    --shadow-glow-lg: 0 0 40px rgba(99, 102, 241, 0.4), 0 0 80px rgba(139, 92, 246, 0.3);
    
    /* Neumorphic Shadows */
    --shadow-neu-sm: 6px 6px 12px rgba(15, 23, 42, 0.08), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-neu-md: 10px 10px 20px rgba(15, 23, 42, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.9);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Advanced Easing Functions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --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);
    
    /* Transitions */
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 250ms var(--ease-smooth);
    --transition-slow: 350ms var(--ease-smooth);
    --transition-bounce: 400ms var(--ease-bounce);
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    letter-spacing: -0.011em;
    overflow-x: hidden;
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: transform var(--transition-fast);
}

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

.logo svg {
    transition: transform var(--transition-base);
}

.logo:hover svg {
    transform: rotate(10deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.nav-links li a:not(.btn-primary):hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-links li a:not(.btn-primary):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-nav {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35), 0 0 40px rgba(99, 102, 241, 0.15);
}

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

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

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

.btn-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--primary);
    cursor: pointer;
}

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

.btn-secondary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 10rem 0 8rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    margin-top: 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.6;
    pointer-events: none;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: -15%;
    left: -5%;
    animation-delay: 7s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes blob-float {
    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-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-badge svg {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1) rotate(180deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    word-spacing: 0.05em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    display: inline-block;
    position: relative;
    animation: gradient-shift 8s ease infinite;
}

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

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 90%;
    letter-spacing: -0.005em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary svg,
.hero-buttons .btn-secondary svg {
    transition: transform var(--transition-base);
}

.hero-buttons .btn-primary:hover svg {
    transform: translateY(2px);
}

.hero-buttons .btn-secondary:hover svg {
    transform: rotate(360deg);
}

.trust-indicators {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    font-weight: 500;
}

.indicator svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 550px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(99, 102, 241, 0.1);
    display: flex;
    gap: 1.25rem;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all var(--transition-slow);
    will-change: transform;
}

.floating-card:hover {
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(99, 102, 241, 0.2), var(--shadow-glow);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 1);
}

.card-1 {
    top: 50px;
    left: 0;
    max-width: 320px;
    animation-delay: 0s;
}

.card-2 {
    top: 220px;
    right: 20px;
    max-width: 340px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 40px;
    left: 60px;
    max-width: 300px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.card-topic {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.card-value {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1deg);
    }
    66% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

/* ===========================
   Stats Section
   =========================== */
.stats {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-light);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: gradient-shift 6s ease infinite;
    transition: transform var(--transition-bounce);
}

.stat-item:hover .stat-number {
    transform: scale(1.15);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
    transition: color var(--transition-base);
}

.stat-item:hover .stat-label {
    color: var(--primary);
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: rgba(248, 250, 252, 0.8);
    transition: all var(--transition-slow);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(99, 102, 241, 0.1);
    border-color: rgba(129, 140, 248, 0.5);
    background: rgba(255, 255, 255, 0.95);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-premium {
    background: linear-gradient(135deg, rgba(240, 244, 255, 0.95) 0%, rgba(233, 239, 255, 0.95) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1), var(--shadow-md);
}

.feature-premium::before {
    opacity: 0.3;
}

.feature-premium:hover {
    background: linear-gradient(135deg, rgba(233, 239, 255, 1) 0%, rgba(220, 231, 255, 1) 100%);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), var(--shadow-xl), var(--shadow-glow);
}

.premium-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px 0 rgba(99, 102, 241, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.15));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.25));
}

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

.feature-card p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===========================
   Examples Section
   =========================== */
.examples {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.quiz-info-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e9efff 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    margin-bottom: 4rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.quiz-info-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.quiz-info-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Carousel Container */
.examples-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.examples-carousel {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.examples-carousel:active {
    cursor: grabbing;
}

.examples-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.example-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-slow);
    border: 2px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(99, 102, 241, 0.05);
    flex: 0 0 450px;
    max-width: 450px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.example-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 1);
}

.example-card:hover::before {
    opacity: 0.5;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-nav:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    background: var(--bg-primary);
    color: var(--primary);
    transform: translateY(-50%);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: var(--primary-light);
}

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

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.example-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px 0 rgba(99, 102, 241, 0.25);
}

.example-icon {
    font-size: 2.75rem;
}

.example-card h3 {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.example-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.example-sample {
    background: var(--bg-secondary);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.75rem;
    border-left: 4px solid var(--primary);
}

.sample-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-lighter);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.625rem;
    margin-top: 1.25rem;
}

.sample-label:first-child {
    margin-top: 0;
}

.sample-topic {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.sample-question {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.example-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.topic-tag {
    background: var(--bg-primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.topic-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 20px 0 rgba(99, 102, 241, 0.3);
    transition: all var(--transition-base);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 28px 0 rgba(99, 102, 241, 0.4);
}

.step h3 {
    font-size: 1.625rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1rem;
}

.step-connector {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--border-light) 0%, var(--primary-light) 50%, var(--border-light) 100%);
    margin: 0 1.5rem;
    margin-bottom: 140px;
    position: relative;
}

.step-connector::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-light);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    padding: 2rem;
    z-index: 3000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.cookie-consent-text a {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    color: var(--primary);
}

.cookie-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.cookie-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.cookie-list strong {
    color: var(--primary-light);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 0.875rem 1.75rem;
    white-space: nowrap;
    font-size: 0.9375rem;
}

.cookie-consent-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cookie-consent-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Modal Styles
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    animation: fadeIn 0.4s var(--ease-out);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 2rem;
    padding: 0;
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(99, 102, 241, 0.1);
    animation: slideUp 0.4s var(--ease-smooth);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin: 0;
}

.modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    max-height: calc(85vh - 120px);
}

.modal-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-dark);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===========================
   Terms Section
   =========================== */
.terms {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-header {
    text-align: center;
    margin-bottom: 4rem;
}

.terms-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.terms-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.terms-card {
    background: var(--bg-primary);
    padding: 2.75rem;
    border-radius: var(--radius-xl);
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
}

.terms-icon {
    font-size: 3.25rem;
}

.terms-text p {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.9;
    font-weight: 500;
}

.terms-note {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #e9efff 100%);
    border-radius: var(--radius-lg);
    align-items: flex-start;
    border: 1px solid var(--primary-light);
}

.terms-note p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.8;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.9375rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 0 2.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.875rem;
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
    padding: 0.25rem 0;
}

.footer-column a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

    .hero {
        padding: 8rem 0 6rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

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

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

    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

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

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

    .stat-item::after {
        display: none;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

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

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

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

    .steps {
        flex-direction: column;
        gap: 4rem;
    }

    .step-connector {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quiz-info-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    /* Cookie consent mobile adjustments */
    .cookie-consent-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-buttons .btn {
        width: 100%;
    }
    
    .cookie-list {
        grid-template-columns: 1fr;
    }
    
    /* Carousel mobile adjustments */
    .carousel-nav {
        display: none;
    }
    
    .examples-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .examples-track {
        transform: none !important;
    }
    
    .example-card {
        scroll-snap-align: start;
        min-width: 280px;
    }
    
    .carousel-dots {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.125rem;
    }

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

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

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.125rem;
    }

    .terms-header h2 {
        font-size: 2rem;
    }

    .terms-card {
        flex-direction: column;
        padding: 2rem;
    }

    .quiz-info-box {
        padding: 1.5rem;
    }

    .example-card {
        padding: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Modal mobile adjustments */
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(90vh - 100px);
    }
    
    /* Carousel mobile adjustments */
    .example-card {
        min-width: 260px;
    }
}
