/* ============================================================
   KnowSeat — "Precision Transit" design system
   Fonts:  Sora (display) · Instrument Serif (accent italic)
           JetBrains Mono (data/labels) · Inter (body)
   ============================================================ */

:root {
    --bg-primary: #050608;
    --bg-elevated: #0b0d12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --edge-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    --accent: #14b8a6;
    --accent-soft: #5eead4;
    --accent-dim: rgba(20, 184, 166, 0.12);
    --amber: #fbbf24;
    --green: #34d399;

    --text-primary: #f4f4f5;
    --text-secondary: #9ca3af;
    --text-muted: #8a8f98;
    --text-faint: #63676e;

    --font-display: 'Sora', -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1140px;
    --section-pad: clamp(100px, 12vw, 160px);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: 16px;
}

/* Film grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
    background: rgba(20, 184, 166, 0.35);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

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

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

button {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

section {
    position: relative;
    padding: var(--section-pad) 0;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Shared type ─────────────────────────────────────────── */

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.section-title em,
.statement em,
.cta-inner h2 em,
h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.06em;
    background: linear-gradient(120deg, var(--accent-soft), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    padding-right: 0.04em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 72px;
}

.section-header .eyebrow {
    margin-bottom: 20px;
}

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

.section-header.center .section-desc {
    margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
        border-color 0.25s, filter 0.25s;
    will-change: transform;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    color: #03110e;
    font-weight: 600;
    box-shadow: 0 8px 24px -8px rgba(20, 184, 166, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 12px 32px -8px rgba(20, 184, 166, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: var(--edge-highlight);
}

.btn-ghost:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
}

/* ── Navigation ──────────────────────────────────────────── */

.nav-wrap {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.site-nav {
    width: 100%;
    max-width: 1020px;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 10px 10px 10px 22px;
    border-radius: 100px;
    background: rgba(8, 10, 13, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: var(--edge-highlight);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-nav.scrolled {
    background: rgba(8, 10, 13, 0.8);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6), var(--edge-highlight);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-logo svg {
    width: 26px;
    height: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 22px;
    border-radius: 100px;
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    color: #03110e;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px -6px rgba(20, 184, 166, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: filter 0.25s, transform 0.25s;
    white-space: nowrap;
}

.nav-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    align-items: center;
    border-radius: 50%;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform 0.3s var(--ease-out);
}

.nav-toggle.open span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.open span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 6, 8, 0.92);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-secondary);
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

.mobile-menu .btn {
    font-size: 16px;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 100px;
    overflow: hidden;
}

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

.aurora {
    position: absolute;
    top: -380px;
    left: 50%;
    width: 1100px;
    height: 1000px;
    transform: translateX(-55%);
    background:
        radial-gradient(circle at 32% 32%, rgba(20, 184, 166, 0.2), transparent 52%),
        radial-gradient(circle at 68% 42%, rgba(34, 211, 238, 0.12), transparent 52%),
        radial-gradient(circle at 50% 72%, rgba(30, 58, 138, 0.26), transparent 58%);
    filter: blur(120px);
}

.hero-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 35%, transparent 82%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 35%, transparent 82%);
}

.route-line {
    fill: none;
    stroke-width: 1.2;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-line 2.8s var(--ease-out) forwards;
}

.route-line.r1 {
    stroke: rgba(20, 184, 166, 0.4);
    animation-delay: 0.2s;
}

.route-line.r2 {
    stroke: rgba(34, 211, 238, 0.22);
    animation-delay: 0.5s;
}

.route-line.r3 {
    stroke: rgba(59, 130, 246, 0.26);
    animation-delay: 0.8s;
}

.route-node {
    fill: var(--bg-elevated);
    stroke: rgba(20, 184, 166, 0.55);
    stroke-width: 1;
    opacity: 0;
    animation: fade-in 1.2s ease forwards 2.2s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    padding: 9px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--edge-highlight);
    margin-bottom: 36px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.4vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.hero-meta .sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
}

/* Hero device */

.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1400px;
}

.hero-device-wrap {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(calc(-7deg + var(--px, 0deg))) rotateX(calc(3deg + var(--py, 0deg))) rotate(1.5deg);
    transition: transform 0.4s var(--ease-out);
}

.device-frame {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 42px;
    padding: 10px;
    box-shadow:
        0 60px 120px -30px rgba(0, 0, 0, 0.75),
        0 0 90px -20px rgba(20, 184, 166, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.hero-device {
    width: clamp(250px, 24vw, 305px);
}

.hero-device .mock-app {
    width: 100%;
}

.how-screen.mock {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: transparent;
    gap: 0;
}

.how-screen.mock .mock-app {
    flex: 1;
    width: 100%;
    min-height: 100%;
    border-radius: 32px;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 16px;
    background: rgba(13, 16, 21, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6), var(--edge-highlight);
    white-space: nowrap;
    animation: chip-float 6s ease-in-out infinite alternate;
}

.float-chip strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.float-chip span:not(.live-dot):not(.chip-amount) {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
}

.chip-seat {
    top: 16%;
    left: -84px;
}

.chip-points {
    bottom: 15%;
    right: -64px;
    animation-delay: -3s;
}

.chip-amount {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 600;
    color: var(--amber);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes chip-float {
    from {
        transform: translateY(-6px);
    }

    to {
        transform: translateY(6px);
    }
}

/* ── Marquee ─────────────────────────────────────────────── */

.marquee-section {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee {
    overflow: hidden;
    padding: 26px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: marquee 36s linear infinite;
}

.marquee-track span:not(.diamond) {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-faint);
}

.marquee .diamond {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(45deg);
    flex-shrink: 0;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ── Problem ─────────────────────────────────────────────── */

.statement {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.statement-line {
    display: block;
}

.statement-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin-top: 32px;
}

.counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 96px;
    border-top: 1px solid var(--border-subtle);
}

.counter {
    padding-top: 32px;
}

.counter-value {
    font-family: var(--font-mono);
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
}

.counter-suffix {
    color: var(--text-muted);
}

.counter-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ── How it works ────────────────────────────────────────── */

.mode-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: fit-content;
    margin: 0 auto;
    padding: 4px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--edge-highlight);
}

.mode-btn {
    position: relative;
    z-index: 1;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    transition: color 0.3s;
    white-space: nowrap;
}

.mode-btn.active {
    color: var(--text-primary);
}

.mode-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s var(--ease-out);
}

.mode-switch[data-active="offer"] .mode-pill {
    transform: translateX(100%);
}

.how-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 90px;
    margin-top: 40px;
}

.how-track {
    display: none;
}

.how-track.active {
    display: block;
}

.how-step {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 440px;
    opacity: 0.28;
    transition: opacity 0.5s ease;
}

.how-step.active {
    opacity: 1;
}

.how-step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: color 0.5s;
}

.how-step.active .how-step-num {
    color: var(--accent-soft);
}

.how-step h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.how-step p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.how-visual {
    position: relative;
}

.how-device {
    position: sticky;
    top: calc(50vh - 315px);
    width: 305px;
    height: 630px;
    margin: 0 auto;
}

.how-screen {
    position: absolute;
    inset: 10px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-elevated);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    pointer-events: none;
}

.how-screen.active {
    opacity: 1;
    transform: scale(1);
}

.how-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legacy mock blocks — superseded by styles/mock-screens.css */

.mock-statusbar {
    display: flex;
    justify-content: center;
    padding: 4px 0 8px;
}

.mock-statusbar span {
    width: 56px;
    height: 4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.14);
}

.mock-notify {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--edge-highlight);
}

.mock-notify-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--accent-dim);
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.mock-notify-icon svg {
    width: 18px;
    height: 18px;
}

.mock-notify strong {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.mock-notify span {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

.mock-map {
    position: relative;
    margin-top: auto;
    padding: 16px 16px 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.mock-map-line {
    position: absolute;
    left: 23px;
    top: 28px;
    bottom: 28px;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.12);
}

.mock-map-station {
    position: relative;
    padding: 10px 0 10px 22px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-faint);
}

.mock-map-station::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.mock-map-station.now {
    color: var(--text-primary);
}

.mock-map-station.now::before {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
}

.mock-map-station.next {
    color: var(--accent-soft);
}

.mock-map-station.next::before {
    border-color: var(--accent-soft);
}

.mock-otp,
.mock-earn {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.mock-otp-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.mock-otp-digits {
    display: flex;
    gap: 8px;
}

.mock-otp-digits span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 58px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--edge-highlight);
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 500;
}

.mock-otp-sub {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 210px;
    line-height: 1.55;
}

.mock-offer,
.mock-wallet {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-offer .mock-otp-label,
.mock-wallet .mock-otp-label {
    text-align: center;
    margin-bottom: 4px;
}

.mock-offer-seat {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--edge-highlight);
    text-align: center;
}

.mock-seat-id {
    display: block;
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.mock-seat-coach {
    display: block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-top: 8px;
}

.mock-offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.mock-offer-row span {
    font-size: 12.5px;
    color: var(--text-muted);
}

.mock-offer-row strong {
    font-size: 13px;
    font-weight: 600;
}

.mock-offer-row strong.mono {
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

.mock-offer-cta {
    padding: 13px;
    border-radius: 100px;
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    color: #03110e;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

.mock-earn-amount {
    font-family: var(--font-mono);
    font-size: 60px;
    font-weight: 500;
    color: var(--amber);
    line-height: 1;
}

.mock-wallet-balance {
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 500;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 8px;
}

.mock-wallet-balance em {
    font-style: normal;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ── Swap moment ─────────────────────────────────────────── */

.swap-section {
    overflow: hidden;
}

.swap-spotlight {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 800px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.1), transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.otp-display {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 18px);
    margin: 0 0 88px;
}

.otp-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(64px, 9vw, 96px);
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 50px -12px rgba(20, 184, 166, 0.2),
        var(--edge-highlight);
    font-family: var(--font-mono);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
}

.otp-display.visible .otp-cell {
    animation: cell-pop 0.7s var(--ease-out) backwards;
}

.otp-display.visible .otp-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.otp-display.visible .otp-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.otp-display.visible .otp-cell:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes cell-pop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
}

.swap-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-top: 1px solid var(--border-subtle);
    max-width: 1000px;
    margin: 0 auto;
}

.swap-node {
    position: relative;
    padding-top: 36px;
}

.swap-node::before {
    content: '';
    position: absolute;
    top: -3.5px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3f4147;
}

.swap-node.highlight::before {
    background: var(--accent);
    box-shadow: 0 0 14px rgba(20, 184, 166, 0.8);
}

.swap-node-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-faint);
}

.swap-node.highlight .swap-node-num {
    color: var(--accent-soft);
}

.swap-node h4 {
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 14px 0 8px;
}

.swap-node p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Wallet bento ────────────────────────────────────────── */

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bento-cell {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--edge-highlight);
    transition: border-color 0.45s ease;
}

.bento-cell:hover {
    border-color: var(--border-strong);
}

.bento-cell h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.bento-cell p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.bento-hero {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 36px;
    background:
        radial-gradient(circle at 85% -10%, rgba(251, 191, 36, 0.06), transparent 50%),
        var(--bg-card);
}

.bento-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.bento-balance {
    font-family: var(--font-mono);
    font-size: clamp(3.4rem, 6vw, 4.6rem);
    font-weight: 500;
    color: var(--amber);
    line-height: 1.05;
    margin: 18px 0 6px;
}

.bento-balance-sub {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.bento-txns {
    margin-top: auto;
    padding-top: 28px;
}

.bento-txn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-txn strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.bento-txn span:not(.txn-amount) {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.txn-amount {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.txn-amount.positive {
    color: var(--amber);
}

.bento-dmrc {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 26px;
}

.bento-qr {
    flex-shrink: 0;
    width: 94px;
    height: 94px;
    padding: 11px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: rgba(255, 255, 255, 0.82);
}

.bento-qr svg {
    width: 100%;
    height: 100%;
}

.bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 20px;
    height: 20px;
}

.bento-note {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin-top: 14px;
}

/* ── Cities ──────────────────────────────────────────────── */

.metro-map {
    max-width: 820px;
    margin: 0 auto;
}

.metro-map svg,
.metro-map object {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 55%, transparent 100%);
}

.city-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
}

.city-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    transition: border-color 0.35s;
}

.city-chip:hover {
    border-color: var(--border-strong);
}

.city-chip.active {
    color: var(--accent-soft);
    border-color: rgba(20, 184, 166, 0.32);
    background: var(--accent-dim);
}

.city-chip .live-dot {
    width: 6px;
    height: 6px;
}

/* ── Calculator ──────────────────────────────────────────── */

.calc-panel {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    padding: 52px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--edge-highlight);
}

.calc-controls {
    padding-right: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 44px;
}

.calc-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.calc-group label {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
}

.calc-readout {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    white-space: nowrap;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.15), 0 0 16px rgba(20, 184, 166, 0.5);
    transition: box-shadow 0.25s;
}

.calc-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 8px rgba(20, 184, 166, 0.2), 0 0 20px rgba(20, 184, 166, 0.6);
}

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.15), 0 0 16px rgba(20, 184, 166, 0.5);
}

.calc-slider::-moz-range-track {
    height: 2px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
}

.calc-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 52px;
    border-left: 1px solid var(--border-subtle);
}

.calc-result-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.calc-result-value {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
}

.calc-result-unit {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    margin-left: 12px;
}

.calc-result-sub {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.calc-result-sub strong {
    color: var(--text-primary);
    font-weight: 600;
}

.calc-footnote {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-top: 24px;
}

/* ── Testimonials ────────────────────────────────────────── */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--edge-highlight);
    display: flex;
    flex-direction: column;
    transition: border-color 0.45s;
}

.testimonial:hover {
    border-color: var(--border-strong);
}

.testimonial blockquote {
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(244, 244, 245, 0.92);
    letter-spacing: -0.005em;
}

.testimonial figcaption {
    margin-top: auto;
    padding-top: 32px;
}

.testimonial figcaption strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.testimonial figcaption span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-container {
    max-width: 780px;
}

.faq-list {
    border-top: 1px solid var(--border-subtle);
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-soft);
}

.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: transform 0.35s var(--ease-out), color 0.35s;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-soft);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out);
}

.faq-answer p {
    padding-bottom: 28px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 660px;
}

.faq-answer a {
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(94, 234, 212, 0.35);
}

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

.faq-cta {
    text-align: center;
    margin-top: 56px;
}

.faq-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.faq-cta a {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: rgba(94, 234, 212, 0.35);
    transition: text-decoration-color 0.3s;
}

.faq-cta a:hover {
    text-decoration-color: var(--accent-soft);
}

/* ── Final CTA ───────────────────────────────────────────── */

.cta-section {
    overflow: hidden;
    text-align: center;
}

.cta-aurora {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 700px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 40% 40%, rgba(20, 184, 166, 0.16), transparent 52%),
        radial-gradient(circle at 62% 60%, rgba(30, 58, 138, 0.22), transparent 55%);
    filter: blur(130px);
    pointer-events: none;
}

.cta-inner {
    position: relative;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 24px;
}

.cta-inner > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.play-badge img {
    height: 62px;
    transition: transform 0.3s var(--ease-out);
}

.play-badge:hover img {
    transform: translateY(-2px);
}

.cta-qr {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-qr img {
    width: 104px;
    height: 104px;
    padding: 9px;
    border-radius: var(--radius-sm);
    background: #fff;
}

.cta-qr span {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.9;
}

.cta-disclaimer {
    font-size: 11.5px;
    color: var(--text-faint);
    margin-top: 48px;
}

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 88px 0 150px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
    margin-top: 18px;
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 13px;
    transition: color 0.25s;
    width: fit-content;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 88px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-faint);
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color 0.25s;
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

.footer-ghost {
    position: absolute;
    bottom: -0.26em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(110px, 17vw, 250px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.024);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* ── Reveal / motion ─────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(7px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out),
        filter 0.9s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1080px) {
    .how-layout {
        gap: 56px;
        grid-template-columns: 1fr 340px;
    }

    .how-device {
        width: 270px;
        height: 558px;
        top: calc(50vh - 279px);
    }

    .chip-seat {
        left: -40px;
    }

    .chip-points {
        right: -28px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 150px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }

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

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .hero-device-wrap {
        transform: none;
    }

    .chip-seat {
        left: -16px;
        top: 10%;
    }

    .chip-points {
        right: -12px;
        bottom: 10%;
    }

    .nav-links,
    .site-nav > .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .how-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .how-visual {
        display: none;
    }

    .how-step {
        min-height: 0;
        max-width: none;
        opacity: 1;
        padding: 28px;
        margin-bottom: 14px;
        border-radius: var(--radius-md);
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        box-shadow: var(--edge-highlight);
    }

    .how-step .how-step-num {
        color: var(--accent-soft);
        margin-bottom: 12px;
    }

    .how-step h3 {
        font-size: 1.3rem;
    }

    .counters {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 64px;
        border-top: none;
    }

    .counter {
        border-top: 1px solid var(--border-subtle);
        padding: 28px 0;
    }

    .swap-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px 28px;
    }

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

    .bento-hero,
    .bento-dmrc {
        grid-column: span 1;
        grid-row: span 1;
    }

    .calc-panel {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }

    .calc-controls {
        padding-right: 0;
        padding-bottom: 40px;
    }

    .calc-result {
        padding-left: 0;
        padding-top: 40px;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }

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

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .swap-timeline {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bento-dmrc {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        gap: 28px;
    }

    /* On phones, users are already on the device — no need for a QR */
    .cta-qr {
        display: none;
    }

    .float-chip {
        padding: 10px 14px;
    }

    .float-chip strong {
        font-size: 12px;
    }

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

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

    .hero-meta {
        gap: 12px;
    }
}

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .route-line {
        stroke-dashoffset: 0;
    }

    .route-node {
        opacity: 1;
    }

    .marquee-track {
        animation: none;
    }
}
