/* ═══════════════════════════════════════════════════════════════
   ReWire — Terminal-Style Landing Page v2
   With pricing cards, Python demo, no pricing in stats
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-deep: #0a0a0a;
    --bg-surface: #111111;
    --bg-card: #161616;
    --bg-terminal: #0d1117;
    --border-dim: #1e1e1e;
    --border-subtle: #2a2a2a;
    --text-cream: #f0ece4;
    --text-muted: #8b8b8b;
    --text-dim: #555555;
    --accent-coral: #d4845a;
    --accent-coral-glow: rgba(212, 132, 90, 0.15);
    --accent-cyan: #06b6d4;
    --accent-green: #4ade80;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

.landing-page {
    background: var(--bg-deep);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Override parent scroll locks when landing page is active */
html:has(.landing-page),
body:has(.landing-page) {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
}

body:has(.landing-page) #app {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
}

.landing-page * { box-sizing: border-box; }

/* ═══ SECTION 1: HERO ═══ */
.hero-section {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 2rem 1rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 132, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 132, 90, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: 50%; left: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(212, 132, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 800px;
    width: 100%;
    padding-bottom: 12rem;
}

.hero-logo {
    width: 220px; height: 220px;
    margin: 0 auto -0.2rem;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-logo img { width: 100%; height: 100%; object-fit: contain; }

.hero-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--text-cream);
    margin-top: -1rem;
    margin-bottom: 0;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.2s forwards;
    letter-spacing: 0.08em;
}

.hero-typing-line {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.2;
    position: absolute;
    left: 0; right: 0;
    bottom: 7.5rem;
    text-align: center;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.4s forwards;
    white-space: nowrap;
}

.hero-built-for { color: var(--text-cream); }

.hero-prompt {
    color: var(--accent-coral);
    margin: 0 0.1em 0 0.3em;
    font-family: var(--font-display);
    font-size: 0.85em;
}

.hero-typed-word {
    color: var(--accent-coral);
}

.hero-cursor-blink {
    display: inline-block;
    width: 3px; height: 0.8em;
    background: var(--accent-coral);
    margin-left: 2px;
    vertical-align: baseline;
    animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtext {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    position: absolute;
    left: 0; right: 0;
    bottom: 4.5rem;
    text-align: center;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.8s forwards;
}

.btn-student, .btn-professor {
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 500;
    padding: 0.85rem 2.2rem;
    border-radius: 8px; cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    letter-spacing: 0.03em;
    background: transparent;
    color: var(--text-cream);
}

.btn-student:hover, .btn-professor:hover {
    background: linear-gradient(135deg, #d4845a, #c0734a);
    color: white;
    border-color: #d4845a;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 132, 90, 0.3);
}

/* Scroll hint hidden */
.hero-scroll-hint { display: none; }

/* ═══ SECTION 2: TERMINAL DEMO ═══ */
.terminal-section {
    padding: 2rem 2rem 4rem;
    display: flex; flex-direction: column; align-items: center;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-coral);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--text-cream);
    text-align: center;
    margin-bottom: 0.8rem;
}

.section-subheading {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* App Mockup Window */
.app-mockup {
    width: 100%; max-width: 750px;
    background: #0e1015;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 25px 60px rgba(0,0,0,0.55),
        0 0 40px rgba(212, 132, 90, 0.05);
}

/* Top bar */
.mock-topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px;
    background: #0a0c10;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-topbar-left { display: flex; align-items: center; gap: 8px; }

.mock-logo { width: 24px; height: 24px; border-radius: 4px; }

.mock-brand {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-cream);
}

.mock-topbar-right { display: flex; align-items: center; gap: 8px; }

.mock-lang-pill, .mock-user-pill {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 10px;
}

/* Subject row */
.mock-subjects {
    display: flex; gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border-dim);
}

.mock-subj {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}

.mock-subj-purple { background: rgba(147, 51, 234, 0.5); }
.mock-subj-orange { background: rgba(234, 88, 12, 0.5); }
.mock-subj-blue { background: rgba(37, 99, 235, 0.5); }
.mock-subj-green { background: rgba(22, 163, 74, 0.5); }

.mock-subj-active {
    outline: 2px solid rgba(6, 182, 212, 0.7);
    outline-offset: 1px;
}

.mock-subj-icon { font-size: 0.75rem; }
.mock-subj-name { font-weight: 500; }

.mock-subj-badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    background: rgba(255,255,255,0.2);
    padding: 1px 5px;
    border-radius: 6px;
    font-weight: 600;
}

/* Chat area */
.mock-chat {
    padding: 16px;
    min-height: 320px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Welcome screen */
.mock-welcome {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 0.3rem;
}

.mock-welcome-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

.mock-welcome-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-cream);
}

.mock-welcome-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Messages */
.mock-msg { display: flex; gap: 8px; }
.mock-msg-user { justify-content: flex-end; }
.mock-msg-ai { justify-content: flex-start; align-items: flex-start; }

.mock-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
    overflow: hidden;
}

.mock-avatar-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mock-msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.55;
}

.mock-bubble-user {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: white;
    border-bottom-right-radius: 4px;
}

.mock-bubble-ai {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-dim);
    color: #c9d1d9;
    border-bottom-left-radius: 4px;
}

/* Typing indicator */
.mock-typing-dots {
    display: flex; gap: 4px; padding: 4px 0;
}

.mock-typing-dots span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-dim);
    animation: mockDotBounce 1.4s infinite;
}

.mock-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.mock-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes mockDotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-5px); opacity: 1; }
}

/* Unit badge */
.mock-unit-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mock-ai-text {
    margin-bottom: 10px;
    color: #c9d1d9;
}

/* Code block */
.mock-code-block {
    background: #161b22;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.mock-code-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-dim);
    font-size: 0.6rem;
}

.mock-copy-btn {
    cursor: pointer;
    color: var(--text-dim);
    transition: color 0.2s;
}

.mock-code-body {
    padding: 10px 12px;
    white-space: pre;
    line-height: 1.6;
    color: #c9d1d9;
    overflow-x: auto;
}

.mc-kw { color: #ff7b72; }
.mc-fn { color: #d2a8ff; }
.mc-str { color: #a5d6ff; }
.mc-cm { color: #8b949e; }

/* Key point */
.mock-keypoint {
    background: rgba(6, 182, 212, 0.08);
    border-left: 3px solid var(--accent-cyan);
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 0.78rem;
    color: var(--accent-cyan);
    line-height: 1.5;
}

/* Follow-up buttons */
.mock-followups {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 0 16px 8px;
}

.mock-fu-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent-coral);
    background: rgba(212, 132, 90, 0.08);
    border: 1px solid rgba(212, 132, 90, 0.2);
    padding: 5px 10px;
    border-radius: 16px;
    cursor: default;
    transition: all 0.2s;
}

/* Input bar */
.mock-inputbar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border-dim);
    background: #0a0c10;
}

.mock-input-field {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 8px 12px;
    min-height: 36px;
}

.mock-input-typing {
    color: var(--text-cream) !important;
    border-color: var(--accent-cyan) !important;
}

.mock-send-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    padding: 8px 18px;
    border-radius: 8px;
    cursor: default;
}

.terminal-lang-badge {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(212, 132, 90, 0.1);
    border: 1px solid rgba(212, 132, 90, 0.2);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--accent-coral);
}

/* ═══ SECTION 3: STATS TICKER ═══ */
.stats-section {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
}

.stats-row {
    display: flex;
    justify-content: center; align-items: center;
    gap: 0; flex-wrap: wrap;
    max-width: 700px; margin: 0 auto;
}

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

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

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.8rem; font-weight: 700;
    color: var(--text-cream); line-height: 1;
}

.stat-value .stat-accent { color: var(--accent-coral); }

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ═══ SECTION 4: VALUE PROPOSITIONS ═══ */
.value-section { padding: 3rem 2rem; }

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 950px; margin: 0 auto;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-coral), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

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

.value-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.value-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-cream);
    margin-bottom: 0.8rem;
}

.value-card-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-coral);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.value-card-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Value feature bullets */
.value-feature-list {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-dim);
}

.value-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-cream);
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.value-feature-item .vf-check {
    color: var(--accent-coral);
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══ SECTION 5: PRICING ═══ */
.pricing-section {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-dim);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 14px;
    padding: 2rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Highlighted card */
.pricing-card.popular {
    border-color: rgba(212, 132, 90, 0.3);
    box-shadow: 0 0 30px rgba(212, 132, 90, 0.08);
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-coral);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-icon {
    width: 48px; height: 48px;
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

.pricing-icon svg {
    width: 100%; height: 100%;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-cream);
    margin-bottom: 0.6rem;
}

.pricing-description {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

/* Feature checklist */
.pricing-includes {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-cream);
    margin-bottom: 0.5rem;
}

.pricing-features {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.pricing-check {
    color: var(--accent-coral);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.85rem;
}

/* Price + button pinned to bottom */
.pricing-bottom {
    margin-top: auto;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-cream);
    margin-bottom: 0.15rem;
}

.pricing-amount .pricing-rupee {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-period {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.02em;
}

.pricing-cta-light {
    background: var(--text-cream);
    color: var(--bg-deep);
}

.pricing-cta-light:hover {
    background: linear-gradient(135deg, #d4845a, #c0734a);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 132, 90, 0.3);
}

/* Talk to Sales — same style as other CTA buttons */
.pricing-cta-coral {
    background: var(--text-cream);
    color: var(--bg-deep);
    border: none;
    box-shadow: none;
}

.pricing-cta-coral:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #d4845a, #c0734a);
    color: white;
    border-color: #d4845a;
    box-shadow: 0 4px 25px rgba(212, 132, 90, 0.35);
}

.pricing-save {
    display: block;
    text-align: center;
    margin-top: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-green);
    letter-spacing: 0.05em;
}

/* Spacer to keep button alignment when no save badge */
.pricing-save-spacer {
    display: block;
    height: 1.1rem;
    margin-top: 0.6rem;
}

/* Enterprise card — text turns coral on hover */
.pricing-card:has(.pricing-cta-coral):hover .pricing-plan-name,
.pricing-card:has(.pricing-cta-coral):hover .pricing-amount {
    color: var(--accent-coral);
    transition: color 0.3s ease;
}

.pricing-card:has(.pricing-cta-coral) .pricing-plan-name,
.pricing-card:has(.pricing-cta-coral) .pricing-amount {
    transition: color 0.3s ease;
}

/* ═══ SECTION 6: REGION SELECTION ═══ */
.region-section {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-dim);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px; margin: 0 auto;
}

.region-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.region-card:hover {
    border-color: var(--accent-coral);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 132, 90, 0.1);
}

.region-card img {
    width: 180px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 1.2rem;
    border-radius: 8px;
    display: block;
}

.region-card-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-cream);
    text-align: center;
    width: 100%;
}

/* ═══ FOOTER ═══ */
.landing-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-dim);
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.footer-text .footer-highlight { color: var(--accent-coral); }

/* ═══ ANIMATIONS ═══ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

/* Pricing cards — always visible, no scroll animation */
.pricing-section .pricing-card {
    opacity: 1 !important;
    transform: none !important;
}

.pricing-section .section-label,
.pricing-section .section-heading,
.pricing-section .section-subheading {
    opacity: 1 !important;
    transform: none !important;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-typing-line { font-size: 2.2rem; bottom: 7rem; }
    .hero-logo { width: 160px; height: 160px; }
    .hero-title { font-size: 2.2rem; }
    .hero-content { padding-bottom: 11rem; }
    .value-grid { grid-template-columns: 1fr; }
    .region-grid { grid-template-columns: 1fr; max-width: 350px; }
    .stat-item { padding: 0.8rem 1.5rem; }
    .stat-value { font-size: 1.4rem; }
    .section-heading { font-size: 1.7rem; }
    .mock-chat { min-height: 260px; max-height: 320px; }
    .mock-subj-name { font-size: 0.6rem; }
    .mock-code-body { font-size: 0.65rem; }
}

@media (max-width: 480px) {
    .hero-typing-line { font-size: 1.7rem; white-space: nowrap; bottom: 7rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-student, .btn-professor { width: 100%; max-width: 280px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; }
    .stat-item:not(:last-child)::after { display: none; }
}
