/* =============================
   AI TUTOR — MVP Landing Page
   ============================= */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #F8FAFC;
    --text-secondary: rgba(248, 250, 252, 0.6);
    --text-tertiary: rgba(248, 250, 252, 0.4);
    --accent-purple: #6C3AED;
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    --accent-cyan: #06B6D4;
    --gradient-main: linear-gradient(135deg, #6C3AED 0%, #3B82F6 100%);
    --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-cool: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 58, 237, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --nav-height: 72px;
    --container-max: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 58, 237, 0.1);
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 58, 237, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-primary.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-hover);
    transition: var(--transition);
    width: 100%;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mvp-tag {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 4px;
    animation: tagPulse 2s infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .btn-ghost {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 0 60px;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    left: -5%;
    animation: orbFloat1 18s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: 20%;
    right: -8%;
    animation: orbFloat2 22s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-green);
    bottom: 10%;
    left: 30%;
    opacity: 0.2;
    animation: orbFloat3 20s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(0.95); }
    66% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108, 58, 237, 0.08);
    border: 1px solid rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-subtitle em {
    color: var(--text-primary);
    font-style: normal;
    font-weight: 600;
}

/* ---------- Hero Prompt ---------- */
.hero-prompt-box {
    max-width: 640px;
    margin: 0 auto 48px;
}

.prompt-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 18px;
    gap: 12px;
    transition: var(--transition);
}

.prompt-input-wrapper:focus-within {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.06);
}

.prompt-icon {
    flex-shrink: 0;
    color: var(--text-tertiary);
}

.prompt-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    min-width: 0;
}

.prompt-input::placeholder {
    color: var(--text-tertiary);
}

.prompt-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.prompt-btn:hover {
    box-shadow: 0 4px 20px rgba(108, 58, 237, 0.4);
    transform: translateY(-1px);
}

.prompt-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.input-methods {
    display: flex;
    gap: 8px;
}

.method-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.method-chip:hover {
    background: rgba(108, 58, 237, 0.1);
    border-color: rgba(108, 58, 237, 0.3);
    color: var(--text-primary);
}

.method-chip svg {
    flex-shrink: 0;
}

.prompt-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-chip {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-tertiary);
    transition: var(--transition);
}

.suggestion-chip:hover {
    background: rgba(108, 58, 237, 0.08);
    border-color: rgba(108, 58, 237, 0.2);
    color: var(--text-secondary);
}

/* ---------- Hero Stats ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat strong {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* ---------- Hero Visual — Phone Mockup ---------- */
.hero-visual {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
}

.phone-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-hover);
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 16px;
    min-height: 320px;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    animation: bubbleFadeIn 0.5s ease-out both;
}

.chat-bubble:nth-child(1) { animation-delay: 0.5s; }
.chat-bubble:nth-child(2) { animation-delay: 1.2s; }
.chat-bubble:nth-child(3) { animation-delay: 2.5s; }

@keyframes bubbleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bubble.student {
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(108, 58, 237, 0.2);
    align-self: flex-end;
    text-align: left;
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.chat-bubble.weakness-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    font-size: 13px;
    color: var(--text-secondary);
    align-self: flex-start;
}

.chat-bubble.weakness-alert strong {
    color: #FBBF24;
}

.bubble-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.step-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(108, 58, 237, 0.15);
    color: var(--accent-purple);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.answer-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: var(--accent-green) !important;
}

.step-item.answer {
    font-weight: 600;
    color: var(--accent-green);
}

/* ---------- Floating Badges ---------- */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(17, 17, 24, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

.fb-icon {
    font-size: 16px;
}

.fb-1 {
    top: 30px;
    left: -60px;
    animation: floatBadge 3s ease-in-out infinite;
}

.fb-2 {
    top: 130px;
    right: -70px;
    animation: floatBadge 3s ease-in-out infinite 0.5s;
}

.fb-3 {
    bottom: 80px;
    left: -50px;
    animation: floatBadge 3s ease-in-out infinite 1s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== SUBJECTS BAR ========== */
.logos-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.logos-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logos-slide {
    display: flex;
    gap: 48px;
    animation: logoScroll 25s linear infinite;
    width: max-content;
}

.brand-logo {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-tertiary);
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.brand-logo:hover {
    color: var(--text-secondary);
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== FEATURES SECTION ========== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 58, 237, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper.purple {
    background: rgba(108, 58, 237, 0.12);
    color: var(--accent-purple);
}

.feature-icon-wrapper.blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-blue);
}

.feature-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
}

.feature-icon-wrapper.orange {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
}

.feature-icon-wrapper.pink {
    background: rgba(236, 72, 153, 0.12);
    color: var(--accent-pink);
}

.feature-icon-wrapper.cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Large Card */
.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
}

.feature-text-side .feature-icon-wrapper {
    margin-bottom: 16px;
}

.feature-text-side h3 {
    font-size: 24px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.f-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 58, 237, 0.08);
    border: 1px solid rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-purple);
}

/* Code Preview In Feature */
.code-preview {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-line {
    white-space: nowrap;
}

.code-prompt {
    color: var(--accent-purple);
    font-weight: 600;
}

.code-ai {
    color: var(--accent-blue);
    font-weight: 600;
}

.code-step {
    color: var(--accent-green);
    font-weight: 600;
}

.code-typing {
    color: var(--text-primary);
    border-right: 2px solid var(--accent-purple);
    animation: typingCursor 0.8s step-end infinite;
}

@keyframes typingCursor {
    0%, 100% { border-color: var(--accent-purple); }
    50% { border-color: transparent; }
}

.code-output {
    color: var(--text-secondary);
}

.step-line {
    padding-left: 24px;
}

/* ========== HOW IT WORKS ========== */
.how-section {
    background: var(--bg-secondary);
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    transition: var(--transition);
}

.step:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 8px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    opacity: 0.4;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-mockup {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
    max-width: 280px;
}

.step-input-methods {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.step-method {
    padding: 8px 16px;
    background: rgba(108, 58, 237, 0.08);
    border: 1px solid rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
}

.mini-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-step-item {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-tertiary);
}

.mini-step-item.active {
    background: rgba(108, 58, 237, 0.08);
    border-color: rgba(108, 58, 237, 0.2);
    color: var(--text-primary);
}

.knowledge-graph-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kg-node {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

.kg-node.strong {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.kg-node.weak {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
    animation: weakPulse 2s infinite;
}

@keyframes weakPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* ========== USP SECTION ========== */
.usp-section {
    background: var(--bg-primary);
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.usp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.usp-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.usp-number {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.usp-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.usp-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.usp-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.usp-card p strong {
    color: var(--text-primary);
}

.usp-card p em {
    color: var(--accent-purple);
    font-style: italic;
}

.usp-hero-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.06), rgba(59, 130, 246, 0.04));
    border-color: rgba(108, 58, 237, 0.15);
}

.usp-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.flow-step {
    padding: 6px 14px;
    background: rgba(108, 58, 237, 0.1);
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.flow-arrow {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 16px;
}

/* ========== COMPARISON ========== */
.comparison-section {
    background: var(--bg-secondary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.comparison-table th {
    font-weight: 700;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.highlight-col {
    background: rgba(108, 58, 237, 0.05) !important;
    position: relative;
}

.comparison-table thead .highlight-col {
    color: var(--accent-purple);
}

.comparison-table thead .highlight-col::before {
    content: '★';
    margin-right: 4px;
}

.check {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 18px;
}

.cross {
    color: rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.partial {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 18px;
}

.badge-best {
    display: inline-block;
    padding: 2px 10px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========== FOR PARENTS ========== */
.parents-section {
    background: var(--bg-primary);
}

.parents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.parent-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    text-align: center;
}

.parent-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.parent-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.parent-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.parent-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.stars {
    color: var(--accent-orange);
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ========== ROADMAP ========== */
.roadmap-section {
    background: var(--bg-primary);
}

.roadmap-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.roadmap-phase {
    position: relative;
    margin-bottom: 48px;
}

.roadmap-phase:last-child {
    margin-bottom: 0;
}

.phase-dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-hover);
    z-index: 2;
}

.roadmap-phase.current .phase-dot {
    background: var(--gradient-main);
    border: none;
    box-shadow: 0 0 20px rgba(108, 58, 237, 0.4);
    animation: currentPulse 2s infinite;
}

@keyframes currentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(108, 58, 237, 0); }
}

.phase-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.roadmap-phase.current .phase-content {
    border-color: rgba(108, 58, 237, 0.2);
    background: rgba(108, 58, 237, 0.04);
}

.phase-label {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(108, 58, 237, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 10px;
}

.roadmap-phase.current .phase-label {
    background: var(--gradient-main);
    color: #fff;
}

.phase-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.phase-content ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phase-content li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.phase-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

/* ========== PRICING ========== */
.pricing-section {
    background: var(--bg-secondary);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    color: var(--text-tertiary);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-hover);
}

.toggle-switch.active {
    background: var(--gradient-main);
    border-color: transparent;
}

.toggle-thumb {
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch.active .toggle-thumb {
    left: calc(100% - 23px);
}

.save-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: rgba(108, 58, 237, 0.3);
    background: rgba(108, 58, 237, 0.04);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.pricing-amount {
    margin-bottom: 28px;
}

.price {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.period {
    font-size: 14px;
    color: var(--text-tertiary);
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-check {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
}

/* ========== FAQ ========== */
.faq-section {
    background: var(--bg-primary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-tertiary);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.08), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.cta-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    top: -50%;
    left: -10%;
}

.cta-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-blue);
    bottom: -40%;
    right: -5%;
}

.cta-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-card > p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: var(--text-tertiary);
}

.cta-avatars {
    display: flex;
}

.cta-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
}

.cta-avatar:first-child {
    margin-left: 0;
}

/* ========== FOOTER ========== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(108, 58, 237, 0.1);
    border-color: rgba(108, 58, 237, 0.2);
    color: var(--accent-purple);
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-links-group a {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ========== ANIMATIONS ========== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

/* Tablets */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-template-columns: 1fr 1fr;
    }

    .parents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card-large {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .parents-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 32px;
    }

    .step-number {
        margin-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .hero-visual {
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .prompt-actions-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual {
        max-width: 300px;
    }

    .floating-badge {
        display: none;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .comparison-table-wrapper {
        margin: 0 -24px;
        border-radius: 0;
    }

    .cta-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: calc(var(--nav-height) + 20px) 0 40px;
    }

    .prompt-btn span {
        display: none;
    }

    .prompt-btn {
        padding: 12px 16px;
    }

    .logos-slide {
        gap: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat {
        flex-direction: row;
        gap: 8px;
    }

    .pricing-card {
        padding: 24px;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(108, 58, 237, 0.3);
    color: var(--text-primary);
}
