/* style.css - Spectacular Ground-Up Redesign */

:root {
    /* Deep Space Palette */
    --bg-base: #050505;
    --bg-surface: #0a0a0a;
    --bg-panel: rgba(15, 23, 42, 0.4);
    
    /* Accents */
    --primary: #3b82f6; /* Electric Blue */
    --secondary: #06b6d4; /* Vibrant Cyan */
    --tertiary: #8b5cf6; /* Violet */
    --glow-primary: rgba(59, 130, 246, 0.5);
    --glow-secondary: rgba(6, 182, 212, 0.5);
    
    /* Typography */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Gradients */
    --gradient-text: linear-gradient(135deg, var(--secondary), var(--primary));
    --gradient-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    
    /* Borders & Shadows */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px var(--glow-primary);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Background Animations */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--tertiary), transparent 70%);
    animation-delay: -10s;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Reusable Components */
.glass-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

.btn-glow {
    background: var(--gradient-text);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-glow:hover {
    box-shadow: 0 0 25px var(--glow-primary);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Coming Soon Banner */
.coming-soon-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.8rem 1.5rem;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    top: 15px;
    background: rgba(5, 5, 5, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0.6rem 1.5rem;
    border-color: rgba(255, 255, 255, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-text);
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for nav */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual (CSS Art Mockup) */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.main-dashboard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg);
    width: 100%;
    height: 80%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: float-mockup 6s ease-in-out infinite alternate;
}

@keyframes float-mockup {
    0% { transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg) translateY(0); }
    100% { transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg) translateY(-20px); }
}

.dashboard-header {
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }

.dashboard-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.chart-mockup {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    gap: 12px;
}

.chart-mockup .bar {
    flex: 1;
    background: var(--gradient-text);
    border-radius: 6px 6px 0 0;
    opacity: 0.9;
    box-shadow: 0 0 15px var(--glow-primary);
    transition: height 1s ease;
    animation: grow-bar 2s ease-out forwards;
}

@keyframes grow-bar {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.course-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-item {
    height: 40px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.course-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%; width: 30%;
    background: rgba(255,255,255,0.1);
    transform: skewX(-20deg) translateX(-150%);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% { transform: skewX(-20deg) translateX(300%); }
}

.floating-element {
    position: absolute;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.float-1 {
    top: 10%;
    right: -10%;
    color: #10b981;
    animation: float-el 4s ease-in-out infinite alternate;
}

.float-2 {
    bottom: 20%;
    left: -5%;
    color: #f59e0b;
    animation: float-el 5s ease-in-out infinite alternate-reverse;
}

@keyframes float-el {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Flagship Features (Replaces Bento Grid) */
.feature-flagship {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-flagship:last-child {
    border-bottom: none;
}

.feature-flagship.reverse {
    flex-direction: row-reverse;
}

.flagship-content {
    flex: 1;
    max-width: 500px;
}

.flagship-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flagship-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.flagship-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flagship-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.flagship-list i {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

.flagship-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

@media (max-width: 900px) {
    .feature-flagship, .feature-flagship.reverse {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
    }
    .flagship-content {
        max-width: 100%;
        text-align: center;
    }
    .flagship-list {
        align-items: center;
    }
}

/* Feature 1: Proctoring Mockup */
.proctor-mockup {
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.proctor-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
}

.proctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.student-cam {
    background: #1e293b;
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #475569;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.student-cam.flagged {
    border-color: #ef4444;
    animation: flash-border 2s infinite;
}

.flag-alert {
    position: absolute;
    bottom: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

@keyframes flash-border {
    0%, 100% { border-color: #ef4444; }
    50% { border-color: transparent; }
}

/* Feature 2: AI Chat Mockup */
.ai-badge { border-color: #a855f7; color: #a855f7; background: rgba(168, 85, 247, 0.1); }
.chat-mockup {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-msg {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-msg {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-bottom-left-radius: 4px;
    color: var(--text-main);
    position: relative;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 20px;
    animation: hide-typing 8s infinite;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

.ai-text {
    opacity: 0;
    display: none;
    animation: show-text 8s infinite;
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes hide-typing {
    0%, 20% { display: flex; opacity: 1; }
    21%, 100% { display: none; opacity: 0; }
}

@keyframes show-text {
    0%, 20% { opacity: 0; display: none; }
    21%, 90% { opacity: 1; display: block; }
    91%, 100% { opacity: 0; display: none; }
}

/* Feature 3: Zoom Mockup */
.zoom-badge { border-color: #3b82f6; color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.zoom-mockup {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.zoom-header {
    background: #0f172a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #334155;
}

.zoom-controls {
    display: flex;
    gap: 6px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.zoom-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: #94a3b8;
}

.zoom-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.speaker-view {
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #334155;
    position: relative;
}

.mic-status {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem;
    border-radius: 8px;
    color: #ef4444;
}

.mic-status.active {
    color: #10b981;
    animation: mic-pulse 2s infinite;
}

@keyframes mic-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.zoom-toolbar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.z-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.z-btn.active { background: #10b981; }
.z-btn.danger { background: #ef4444; width: 60px; border-radius: 20px; }

/* Feature 4: Brain Lab 3D Flashcard */
.lab-badge { border-color: #f59e0b; color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.perspective-container {
    perspective: 1000px;
}

.flashcard-mockup {
    width: 320px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    animation: card-flip 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

.flashcard-front, .flashcard-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

.flashcard-front {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

.flashcard-back {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.9));
    border-color: rgba(59, 130, 246, 0.4);
    transform: rotateY(180deg);
}

.flashcard-front h4, .flashcard-back h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    position: absolute;
    top: 2rem;
}

.flashcard-front p, .flashcard-back p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

@keyframes card-flip {
    0%, 40% { transform: rotateY(0deg); }
    50%, 90% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

/* Feature 5: Peer Review Documents */
.peer-badge { border-color: #10b981; color: #10b981; background: rgba(16, 185, 129, 0.1); }
.doc-stack {
    position: relative;
    width: 300px;
    height: 400px;
}

.doc-mockup {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.doc-back {
    transform: translate(20px, -20px) rotate(5deg);
    opacity: 0.4;
}

.doc-mid {
    transform: translate(10px, -10px) rotate(2deg);
    opacity: 0.7;
}

.doc-front {
    transform: translate(0, 0);
    z-index: 3;
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }
.w-40 { width: 40%; }

.stamp-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(5);
    border: 4px solid #10b981;
    color: #10b981;
    font-size: 2rem;
    font-weight: 900;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transform-origin: center;
    opacity: 0;
    animation: stamp-approve 4s infinite;
}

@keyframes stamp-approve {
    0%, 20% { opacity: 0; transform: translate(-50%, -50%) scale(5); }
    25%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-15deg); }
    90%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

/* Gamified Learning Arena */
.gamification-arena {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.arena-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.arena-content {
    flex: 1;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.arena-features {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arena-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.arena-features i {
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

.arena-visual {
    flex: 1;
    position: relative;
}

/* Leaderboard Mockup UI */
.leaderboard-mockup {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
    border-radius: 20px;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}

.leaderboard-header i {
    color: #a855f7;
}

.time-left {
    color: #ef4444;
    font-weight: 700;
    font-family: monospace;
    font-size: 1.1rem;
    animation: flash 1s steps(2) infinite;
}

@keyframes flash {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

.player-track {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.player-track:last-child {
    margin-bottom: 0;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-glass);
}

.player-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.score-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: visible;
}

.score-bar {
    height: 100%;
    border-radius: 10px;
    position: relative;
}

/* Player 1 - Leading */
.p1-bar {
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    width: 0%;
    animation: fillBar1 5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}

/* Player 2 - Chasing */
.p2-bar {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    width: 0%;
    animation: fillBar2 5s ease-in-out infinite;
}

/* Player 3 - Trailing */
.p3-bar {
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 0%;
    animation: fillBar3 5s ease-in-out infinite;
}

.player-score {
    font-weight: 700;
    font-family: monospace;
    font-size: 1.1rem;
    text-align: right;
    color: #fff;
}

/* Floating XP Popups */
.xp-popup {
    position: absolute;
    right: -10px;
    top: -20px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #eab308;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    opacity: 0;
}

.popup-1 {
    animation: floatUp 5s 2s infinite;
}

.popup-2 {
    animation: floatUp 5s 3.5s infinite;
}

@keyframes fillBar1 {
    0% { width: 40%; }
    40% { width: 60%; }
    70% { width: 95%; }
    100% { width: 40%; }
}

@keyframes fillBar2 {
    0% { width: 50%; }
    50% { width: 55%; }
    80% { width: 85%; }
    100% { width: 50%; }
}

@keyframes fillBar3 {
    0% { width: 30%; }
    60% { width: 60%; }
    100% { width: 30%; }
}

@keyframes floatUp {
    0% { opacity: 0; transform: translateY(0) scale(0.8); }
    10% { opacity: 1; transform: translateY(-10px) scale(1.2); }
    30% { opacity: 0; transform: translateY(-30px) scale(1); }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .arena-container {
        flex-direction: column;
    }
    .player-track {
        grid-template-columns: 100px 1fr 50px;
    }
}

/* Power Features Bento Grid */
.power-features {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-item {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    font-size: 2rem;
    color: var(--accent-primary);
    opacity: 0.8;
}

.bento-large .bento-icon {
    font-size: 3rem;
}

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.bento-large h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bento-large p {
    font-size: 1.1rem;
    max-width: 80%;
}

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

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-wide {
        grid-column: span 1;
    }
    .bento-item {
        min-height: 200px;
    }
    .bento-large p {
        max-width: 100%;
    }
    .bento-video-mockup {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* Bento Video Mockup */
.bento-video-mockup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 55%;
    max-width: 320px;
    height: 180px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover .bento-video-mockup {
    transform: scale(1.05) rotate(-2deg);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 11px; /* Slightly smaller to fit inside border */
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

.progress-bar {
    position: absolute;
    bottom: 15px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.progress-fill {
    width: 65%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 2px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.ai-summary-popup {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    animation: floatUpSlow 3s ease-in-out infinite alternate;
}

@keyframes floatUpSlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Roles */
.roles-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.role-tabs {
    display: flex;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.role-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.role-tab.active {
    background: var(--bg-panel);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid var(--border-glow);
}
/* Roles Section (Sticky Scroll) */
.roles {
    padding: 6rem 0;
    background: var(--bg-card);
    position: relative;
}

.roles-sticky-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.roles-sticky-header {
    flex: 1;
    position: sticky;
    top: 20vh;
    padding-right: 2rem;
}

.roles-abstract-visual {
    margin-top: 3rem;
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: spin 20s linear infinite;
    opacity: 0.3;
}

.roles-scroll-track {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60vh; /* creates massive scrolling space between blocks */
    padding-bottom: 30vh;
    padding-top: 10vh;
}

.role-block {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    opacity: 0.3;
    transform: translateY(40px);
}

.role-block.is-visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.role-block-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.role-block h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.role-block-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.role-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.role-features i {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Path of Light Timeline */
.how-it-works {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.timeline-path {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

/* The glowing track line */
.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* The active glowing line that grows on scroll */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-text);
    box-shadow: 0 0 15px var(--glow-primary);
    height: 0%; /* JS will control this */
}

/* The orb travelling down */
.timeline-orb {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary), 0 0 40px var(--primary);
    transition: box-shadow 0.3s ease;
}

.timeline-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

/* Spacer to push content to one side */
.timeline-spacer {
    flex: 1;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.5s ease;
    z-index: 2;
}

/* When the orb reaches a step, it becomes active */
.timeline-step.is-active .timeline-marker {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px var(--glow-primary);
    background: rgba(59, 130, 246, 0.1);
}

.timeline-content {
    flex: 0 0 42%;
    padding: 2.5rem;
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Initial slide-out states */
.timeline-step:nth-child(odd) .timeline-content {
    transform: translateX(-50px);
}
.timeline-step:nth-child(even) .timeline-content {
    transform: translateX(50px);
    text-align: left;
}

.timeline-step.is-active .timeline-content {
    opacity: 1;
    transform: translateX(0);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #fff;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .timeline-path {
        margin: 2rem 0;
    }
    .timeline-track {
        left: 25px; /* Move track to the left edge */
    }
    .timeline-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 4rem;
        padding-left: 60px;
    }
    .timeline-step:nth-child(even) {
        flex-direction: column;
    }
    .timeline-marker {
        left: 0;
        transform: none;
    }
    .timeline-content {
        flex: 1;
        width: 100%;
        padding: 1.5rem;
    }
    .timeline-step:nth-child(odd) .timeline-content,
    .timeline-step:nth-child(even) .timeline-content {
        transform: translateY(30px);
        text-align: left;
    }
    .timeline-step.is-active .timeline-content {
        transform: translateY(0);
    }
}

/* Pricing Section */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.toggle-label.active {
    color: var(--text-main);
}

.save-badge {
    position: absolute;
    top: -25px;
    right: -30px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background-color: var(--primary);
    transition: .4s;
    box-shadow: 0 0 10px var(--glow-primary);
}

input:checked + .slider {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 1.5rem 0 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    transition: opacity 0.3s ease;
}

.price-amount.fade-out {
    opacity: 0;
}

.billing-cycle {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.pricing-card.premium {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    z-index: 10;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-text);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary);
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-features i {
    color: #10b981;
}

/* Tech Stack - Infinite Glass Marquee */
.tech-stack {
    overflow: hidden;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    /* Edge fade masks */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    width: 200%; /* Enough width to hold the doubled content */
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    width: 50%; /* Half the track width so two copies fill it perfectly */
    justify-content: space-around;
}

/* Duplicated content block inside the track needs to be side-by-side */
.marquee-track .marquee-content {
    width: auto;
    flex-shrink: 0;
}

.track-left .marquee-content {
    animation: scroll-left 30s linear infinite;
}

.track-right .marquee-content {
    animation: scroll-right 35s linear infinite;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tech-pill i {
    font-size: 1.5rem;
}

.tech-pill:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}


/* CTA */
.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-glow);
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer Redesign */
.glass-footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08), transparent 70%), #050505;
    padding: 6rem 0 2rem;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.footer-huge-text {
    position: absolute;
    bottom: -5vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 19vw;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    user-select: none;
    letter-spacing: -0.05em;
}

.footer-contact-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-contact-pill:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact-pill i {
    color: #a855f7;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand .company-desc {
    color: var(--text-muted);
    margin: 1.5rem auto 0;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: #fff;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.footer-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-primary);
    position: absolute;
    left: -15px;
}

.footer-links a {
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 400px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

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

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 1;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pricing-card.premium {
        transform: scale(1);
    }
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-glass);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        height: 350px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .roles-sticky-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .roles-sticky-header {
        position: relative;
        top: 0;
        text-align: center;
        padding-right: 0;
    }
    .roles-abstract-visual {
        margin: 2rem auto;
    }
    .roles-scroll-track {
        gap: 2rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    .role-block {
        opacity: 1;
        transform: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* Custom Logo Styling */
.logo-img {
    height: 32px;
    width: 32px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px;
    border-radius: 8px;
}

/* ============================================================
   AI CONTENT STUDIO SECTION
   ============================================================ */
.ai-studio-section {
    padding: 8rem 0;
    position: relative;
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.ai-tool-card {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-glass);
}

.ai-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

.ai-tool-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--tc), 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ai-tool-card:hover .ai-tool-glow {
    opacity: 1.5;
}

.ai-tool-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ai-tool-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid;
    text-transform: uppercase;
}

.ai-tool-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.ai-tool-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

.ai-prompt-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ai-prompt-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

.prompt-chip {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* --- Mockup Visuals --- */
.ai-tool-mockup {
    margin-top: auto;
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1rem;
    min-height: 90px;
}

/* Slides Mockup */
.slides-mockup {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mock-slide {
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
}

.mock-slide.main-slide {
    flex: 1;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-slide-title {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(168,85,247,0.6), rgba(168,85,247,0.2));
    width: 70%;
}

.mock-slide-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    width: 90%;
}

.mock-slide-line.short { width: 55%; }

.mock-slide.side-slide {
    width: 36px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

/* Note Mockup */
.note-mockup {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.mock-note-heading {
    height: 9px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(59,130,246,0.7), rgba(59,130,246,0.2));
    width: 60%;
}

.mock-note-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    width: 95%;
}

.mock-note-line.short { width: 50%; }
.mock-note-line.medium { width: 70%; }

.mock-note-highlight {
    background: rgba(59,130,246,0.15);
    border-left: 2px solid #3b82f6;
    padding: 0.3rem 0.6rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.65rem;
    color: #3b82f6;
}

/* Plan Mockup */
.plan-mockup {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-plan-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mock-plan-row.header {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    font-weight: 600;
    font-size: 0.7rem;
}

.mock-plan-row.active {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
}

.mock-time {
    font-size: 0.6rem;
    color: var(--text-muted);
    min-width: 28px;
    font-family: monospace;
}

.mock-plan-bar {
    height: 6px;
    border-radius: 3px;
    flex: 1;
}

/* Term Mockup */
.term-mockup { padding: 0.75rem; }

.term-week-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.tw {
    padding: 0.35rem 0.2rem;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}

.tw-active {
    background: rgba(245,158,11,0.2);
    color: #f59e0b;
    border-color: rgba(245,158,11,0.4);
}

.tw-exam {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border-color: rgba(239,68,68,0.3);
}

.tw-revision {
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
    border-color: rgba(59,130,246,0.3);
}

/* ============================================================
   PREMIUM FAQ REDESIGN
   ============================================================ */
.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    background: rgba(6,182,212,0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(6,182,212,0.2);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 3rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.1);
}

.faq-item.open {
    border-color: rgba(59,130,246,0.25);
    box-shadow: 0 4px 30px rgba(59,130,246,0.08);
    background: rgba(59,130,246,0.03);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-q-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--fq, var(--primary));
    opacity: 0.25;
    min-width: 32px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.3s;
}

.faq-item.open .faq-num,
.faq-item:hover .faq-num {
    opacity: 0.7;
}

.faq-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item:hover .faq-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.faq-chevron {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, color 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: rgba(59,130,246,0.15);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    padding-left: calc(1.5rem + 32px + 36px + 2rem); /* align with text */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    border: 1px solid rgba(59,130,246,0.25);
    width: fit-content;
}

.faq-answer-inner p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   RESPONSIVE UPDATES
   ============================================================ */
@media (max-width: 992px) {
    .ai-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .faq-q-left {
        gap: 0.7rem;
    }
    .faq-num {
        font-size: 1.1rem;
        min-width: 24px;
    }
    .faq-answer-inner {
        padding-left: 1.5rem;
    }
    .faq-question h3 {
        font-size: 0.92rem;
    }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Breakpoints: 1024px | 768px | 480px | 380px
   ============================================================ */

/* ── Tablet (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-visual {
        max-width: 540px;
        margin: 0 auto;
        height: 380px;
    }
    .floating-element {
        display: none; /* hide floaters on tablet */
    }

    /* Section titles */
    .section-title {
        font-size: 2.6rem;
    }

    /* Flagship features */
    .feature-flagship,
    .feature-flagship.reverse {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .feature-flagship.reverse {
        flex-direction: column;
    }
    .flagship-content,
    .flagship-visual {
        flex: unset;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .flagship-list {
        text-align: left;
        display: inline-block;
    }

    /* AI tools grid */
    .ai-tools-grid {
        grid-template-columns: 1fr;
    }

    /* Gamification */
    .arena-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .arena-features {
        text-align: left;
        display: inline-block;
    }

    /* FAQ */
    .faq-grid {
        max-width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {

    /* Global spacing */
    section {
        padding: 4rem 0 !important;
    }
    .container {
        padding: 0 1.2rem;
    }

    /* Navbar */
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 0.8rem 1.2rem;
    }
    .navbar.scrolled {
        top: 0;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
        width: 100%;
    }
    .nav-link:hover {
        background: rgba(255,255,255,0.05);
    }
    .mobile-toggle {
        display: block;
    }

    /* Coming soon banner */
    .coming-soon-banner {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding-top: 4rem;

    }
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.15;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .hero-visual {
        height: 280px;
        max-width: 100%;
    }
    .floating-element {
        display: none;
    }

    /* Section headings */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .section-subtitle {
        font-size: 0.92rem;
    }
    .section-header {
        margin-bottom: 2rem;
    }

    /* Flagship features */
    .features {
        padding: 4rem 0;
    }
    .feature-flagship,
    .feature-flagship.reverse {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    .flagship-content {
        max-width: 100%;
    }
    .flagship-content .badge {
        display: inline-flex;
    }
    .flagship-list {
        text-align: left;
        display: inline-block;
    }
    .flagship-visual {
        width: 100%;
        max-width: 100%;
    }

    /* Mockup overrides for mobile */
    .proctor-mockup,
    .chat-mockup,
    .zoom-mockup {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .proctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flashcard-mockup {
        width: 280px;
        height: 380px;
        margin: 0 auto;
    }

    /* AI Content Studio */
    .ai-studio-section {
        padding: 4rem 0;
    }
    .ai-tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    .ai-tool-card {
        padding: 1.5rem;
    }
    .ai-tool-title {
        font-size: 1.3rem;
    }
    .ai-tool-glow {
        width: 120px;
        height: 120px;
    }

    /* Gamification Arena */
    .gamification-arena {
        padding: 4rem 0;
    }
    .arena-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .arena-features {
        text-align: left;
        display: inline-block;
    }
    .arena-features li {
        font-size: 0.95rem;
    }
    .leaderboard-mockup {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    .player-track {
        grid-template-columns: 80px 1fr 50px;
        gap: 0.5rem;
    }
    .player-avatar {
        width: 32px;
        height: 32px;
    }
    .player-name {
        font-size: 0.8rem;
    }
    .player-score {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq {
        padding: 4rem 0;
    }
    .faq-grid {
        margin-top: 2rem;
        gap: 0.6rem;
    }
    .faq-question {
        padding: 1rem 1.1rem;
        gap: 0.6rem;
    }
    .faq-q-left {
        gap: 0.6rem;
    }
    .faq-num {
        font-size: 1rem;
        min-width: 22px;
    }
    .faq-icon-wrap {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    .faq-question h3 {
        font-size: 0.88rem;
        line-height: 1.4;
    }
    .faq-chevron {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
        flex-shrink: 0;
    }
    .faq-answer-inner {
        padding: 0 1rem 1.2rem 1rem;
    }
    .faq-answer-inner p {
        font-size: 0.88rem;
    }
    .faq-eyebrow {
        font-size: 0.75rem;
    }

    /* CTA section */
    .cta-section {
        padding: 4rem 0;
    }
    .cta-box {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    .cta-box .section-title {
        font-size: 1.8rem;
    }
    .cta-box p {
        font-size: 0.92rem;
    }
    .cta-box .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .footer-brand .social-links {
        justify-content: center;
    }
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    .footer-contact div {
        align-items: center;
    }
    .footer-contact .btn {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Live badge */
    .live-badge {
        margin: 0 auto;
    }
}

/* ── Small Mobile (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {

    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem;
    }

    /* Tighten AI card padding */
    .ai-tool-card {
        padding: 1.2rem;
        gap: 0.9rem;
    }
    .ai-tool-title {
        font-size: 1.15rem;
    }
    .ai-tool-desc {
        font-size: 0.85rem;
    }
    .ai-prompt-box p {
        font-size: 0.78rem;
    }

    /* Zoom mockup on tiny screens */
    .zoom-body {
        flex-direction: column;
        gap: 0.5rem;
    }
    .zoom-toolbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Arena leaderboard */
    .leaderboard-header h3 {
        font-size: 0.9rem;
    }
    .time-left {
        font-size: 0.75rem;
    }
    .xp-popup {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    /* Term week grid */
    .term-week-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    .tw {
        font-size: 0.58rem;
        padding: 0.3rem 0.1rem;
    }

    /* FAQ tighten */
    .faq-q-left {
        gap: 0.4rem;
    }
    .faq-num {
        display: none; /* hide numbers on tiny screens to save space */
    }
    .faq-question {
        padding: 0.9rem 1rem;
    }
}

/* ── Extra Small (≤ 380px) ───────────────────────────────── */
@media (max-width: 380px) {

    .hero-title {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 0.88rem;
    }
    .container {
        padding: 0 1rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .nav-brand .logo-text {
        font-size: 1rem;
    }
    .ai-tool-card {
        padding: 1rem;
    }
    .faq-icon-wrap {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    .faq-question h3 {
        font-size: 0.82rem;
    }
    .proctor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    .player-track {
        grid-template-columns: 60px 1fr 44px;
    }
}

/* ============================================================
   COMING SOON MARQUEE STRIP
   ============================================================ */
.coming-soon-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--bg-main);
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-track {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.cs-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.cs-track-left .cs-inner {
    animation: scrollLeft 40s linear infinite;
}

.cs-track-right .cs-inner {
    animation: scrollRight 40s linear infinite;
}

.cs-track span {
    font-size: 5vw;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.cs-track .cs-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
}

.cs-track .cs-dot {
    font-size: 3vw;
    color: var(--primary);
}

.cs-track .cs-dot-purple {
    color: #a855f7;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 1024px) {
    .cs-track span { font-size: 6vw; }
    .cs-track .cs-dot { font-size: 4vw; }
}

@media (max-width: 768px) {
    .coming-soon-strip { padding: 2rem 0; }
    .cs-track span { font-size: 10vw; }
    .cs-track .cs-dot { font-size: 6vw; }
    .cs-inner { gap: 2rem; padding-right: 2rem; }
}