/* ==========================================================================
   Scan Manager — public website
   Brand: navy #060c18, sky #38bdf8, Inter. Dark, premium, motion-rich.
   All animation is disabled under prefers-reduced-motion, and reveal
   states only apply when JS has added .js to <html>.
   ========================================================================== */

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

:root {
  --bg: #060c18;
  --bg-2: #080e1e;
  --card: #0c1728;
  --card-2: #111f38;
  --card-3: #162a48;
  --line: #162d4a;
  --line-soft: #0e2038;
  --sky: #38bdf8;
  --sky-2: #7dd3fc;
  --sky-deep: #0284c7;
  --sky-sub: rgba(56, 189, 248, .12);
  --on-sky: #04111f;
  --ok: #22c55e;
  --ok-2: #4ade80;
  --warn: #f59e0b;
  --warn-2: #fbbf24;
  --err: #ef4444;
  --err-2: #f87171;
  --t1: #eef4ff;
  --t2: #c8d8ea;
  --t3: #9fb3cc;
  --t4: #6b84a3;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: rgba(56, 189, 248, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, .28);
  background: rgba(56, 189, 248, .08);
  color: var(--sky);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.h-display {
  font-size: clamp(44px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}
.h-section {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}
.h-section .accent, .h-display .accent, .grad {
  background: linear-gradient(100deg, var(--sky-2) 0%, var(--sky) 45%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--t3); line-height: 1.65; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin-top: 20px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--sky); color: var(--on-sky);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(56, 189, 248, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost {
  background: rgba(12, 23, 40, .7); color: var(--t1);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(56, 189, 248, .5); transform: translateY(-2px); }
.btn-link { color: var(--sky); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { color: var(--sky-2); }
.btn-link svg { transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(3px); }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* Official store badges (public/scan-manager/*-badge.png) */
.store {
  display: inline-block; border-radius: 10px; line-height: 0;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store img { height: 48px; width: auto; }
.store:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(56, 189, 248, .55), 0 14px 30px -12px rgba(56, 189, 248, .6); }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px;
  transition: top .3s var(--ease);
}
.nav-bar {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  height: 62px; padding: 0 10px 0 18px;
  border-radius: 18px;
  background: rgba(8, 14, 30, .55);
  border: 1px solid rgba(56, 189, 248, .10);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled .nav-bar {
  background: rgba(8, 14, 30, .86);
  border-color: rgba(56, 189, 248, .18);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--sky);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(56, 189, 248, .8);
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--t3);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--t1); background: rgba(56, 189, 248, .08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.nav-login { padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--t2); }
.nav-login:hover { color: #fff; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--t1);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: 0; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 16px; right: 16px; padding: 10px;
    background: rgba(8, 14, 30, .97); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  }
  .nav.is-open .nav-links a { padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 560px) { .nav-actions .btn { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 72% 18%, rgba(56, 189, 248, .18), transparent 65%),
    radial-gradient(700px 500px at 10% 0%, rgba(2, 132, 199, .16), transparent 70%),
    radial-gradient(600px 400px at 90% 90%, rgba(34, 211, 238, .08), transparent 70%);
}
.hero-floor {
  position: absolute; left: -10%; right: -10%; bottom: -10%; height: 60%;
  z-index: -1; pointer-events: none;
  perspective: 600px;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 85%);
}
.hero-floor::before {
  content: ''; position: absolute; inset: -60% 0 0 0;
  transform: rotateX(68deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(56, 189, 248, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .22) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: floor-move 6s linear infinite;
}
@keyframes floor-move { to { background-position: 0 64px, 0 0; } }
.hero-noise {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 28px; max-width: 590px; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-lbl { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t4); }
.hero .store-row { margin-top: 30px; }

/* 3D stage */
.stage {
  position: relative;
  height: 740px;
  perspective: 1600px;
  display: grid; place-items: center;
}
.stage .phone { --s: .74; }
.stage-inner {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 8deg));
  transition: transform .6s var(--ease);
}
.stage-glow {
  position: absolute; left: 50%; top: 50%; margin: -210px 0 0 -210px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .45), transparent 65%);
  filter: blur(40px); transform: translateZ(-120px);
}

/* ── Phone + app mockups ──────────────────────────────────────────────
   Each screen is laid out at the real app's size (402 × 874pt, values
   taken from the React Native StyleSheets) and scaled into the frame
   with --s, so proportions match the shipping app exactly.          */
.phone {
  --s: .72;
  position: relative; flex-shrink: 0;
  width: calc(402px * var(--s) + 22px);
  height: calc(874px * var(--s) + 22px);
  padding: 11px;
  border-radius: calc(64px * var(--s) + 11px);
  background: linear-gradient(145deg, #34445f 0%, #0e1626 38%, #1b2740 100%);
  box-shadow:
    0 0 0 1.5px #3d5173 inset,
    0 0 0 4px #0a0f1a inset,
    0 60px 120px -30px rgba(0, 0, 0, .9),
    0 30px 70px -30px rgba(56, 189, 248, .4);
  transform-style: preserve-3d;
}
.phone::before, .phone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2a3a55; }
.phone::before { left: -2px; top: 22%; height: 9%; box-shadow: 0 calc(90px * var(--s)) 0 #2a3a55; }
.phone::after { right: -2px; top: 26%; height: 13%; }
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(64px * var(--s)); overflow: hidden;
  background: #060c18; isolation: isolate;
}
.glare {
  position: absolute; inset: 0; pointer-events: none; z-index: 60;
  background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 30%);
}

/* App canvas (402 × 874) */
.app {
  --c-bg: #060c18; --c-card: #0b1424; --c-el: #111d33; --c-input: #0d1729;
  --c-border: rgba(148, 163, 184, .18); --c-border-s: rgba(148, 163, 184, .10);
  --c-sub: rgba(56, 189, 248, .14);
  position: absolute; top: 0; left: 0;
  width: 402px; height: 874px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--c-bg); color: var(--t1);
  font-size: 14px; line-height: 1.3; letter-spacing: -.005em;
  overflow: hidden; text-align: left;
}
.app svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.app .mono { font-family: var(--mono); letter-spacing: 0; }
.a-island { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 50; }
.a-sbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 54px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.a-sbar .ic { display: flex; align-items: center; gap: 7px; }
.a-sbar .ic svg { stroke: none; fill: #fff; }
.a-sbar .bars { width: 19px; height: 12px; }
.a-sbar .wifi { width: 17px; height: 12px; }
.a-sbar .batt { width: 28px; height: 13px; }

.a-head { display: flex; align-items: center; gap: 12px; padding: 6px 16px 12px; }
.a-rbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-card); border: 1px solid var(--c-border); color: var(--t1); font-size: 19px; flex-shrink: 0; }
.a-hc { flex: 1; text-align: center; min-width: 0; }
.a-hc b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-net { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--t4); }
.a-net i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.a-net em { font-style: normal; color: var(--ok-2); }
.a-net.off i { background: var(--err); }
.a-net.off em { color: var(--err-2); }

.a-stats { margin: 0 16px; padding: 14px 16px 16px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-border); }
.a-stats .top { display: flex; align-items: baseline; gap: 8px; }
.a-stats .big { font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.a-stats .soft { font-size: 17px; font-weight: 600; letter-spacing: -.3px; color: var(--t4); margin-left: -4px; }
.a-stats .cap { font-size: 13px; font-weight: 500; color: var(--t3); }
.a-rate { margin-left: auto; align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .3); color: var(--sky); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.a-track { margin-top: 12px; height: 6px; border-radius: 3px; background: rgba(148, 163, 184, .14); overflow: hidden; }
.a-fill { height: 100%; border-radius: 3px; background: var(--sky); transition: width .9s var(--ease); }

/* Camera */
.a-cam {
  position: relative; margin: 16px 16px 0; height: 404px; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .22);
  background:
    radial-gradient(260px 200px at 22% 88%, rgba(255, 214, 170, .10), transparent 70%),
    radial-gradient(240px 180px at 85% 10%, rgba(120, 150, 200, .10), transparent 70%),
    linear-gradient(165deg, #232a35 0%, #10151d 55%, #1a2029 100%);
}
.a-cam .blur { position: absolute; border-radius: 50%; filter: blur(30px); }
.a-cam .b1 { width: 160px; height: 160px; left: -40px; top: 40px; background: rgba(255, 120, 60, .12); }
.a-cam .b2 { width: 200px; height: 140px; right: -60px; bottom: 30px; background: rgba(56, 189, 248, .10); }
.a-ticket {
  position: absolute; left: 50%; top: 47%; width: 214px; height: 136px; margin: -68px 0 0 -107px;
  border-radius: 14px; background: linear-gradient(160deg, #f1ece1, #ddd6c6);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
  display: flex; gap: 14px; padding: 16px;
  transform: translate(150px, 70px) rotate(14deg) scale(.9);
  transition: transform 1.1s var(--ease);
}
.a-ticket.in { transform: translate(0, 0) rotate(-6deg) scale(1); }
.a-ticket.out { transform: translate(-220px, 40px) rotate(-24deg) scale(.9); transition-duration: .7s; }
.a-ticket .qr { width: 104px; height: 104px; flex-shrink: 0; border-radius: 4px; background-color: #fff; background-size: cover; image-rendering: pixelated; }
.a-ticket .tl { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.a-ticket .tl i { display: block; height: 9px; border-radius: 4px; background: #bdb5a4; }
.a-ticket .tl i:nth-child(1) { width: 92%; height: 12px; background: #5c5548; }
.a-ticket .tl i:nth-child(2) { width: 64%; }
.a-ticket .tl i:nth-child(3) { width: 80%; }
.a-ticket .tl i:nth-child(4) { width: 50%; margin-top: auto; background: #d2593c; }
.a-cam .dim { position: absolute; inset: 0; background: rgba(3, 7, 15, .28); }
.a-frame { position: absolute; left: 50%; top: 47%; width: 236px; height: 236px; margin: -118px 0 0 -118px; }
.a-frame i { position: absolute; width: 44px; height: 44px; border: 0 solid var(--sky); transition: border-color .2s; }
.a-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 18px; }
.a-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 18px; }
.a-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 18px; }
.a-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 18px; }
.a-frame.hit i { border-color: var(--ok); }
.a-line { position: absolute; left: 18px; right: 18px; top: 14px; height: 2px; border-radius: 2px; background: var(--sky); box-shadow: 0 0 14px 2px rgba(56, 189, 248, .7); animation: a-line 2.2s ease-in-out infinite; }
.a-frame.hit .a-line { opacity: 0; }
@keyframes a-line { 50% { top: calc(100% - 16px); } }
.a-ctrls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; }
.a-cpill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(6, 12, 24, .7); border: 1px solid rgba(255, 255, 255, .14); color: var(--t1); }
.a-cpill.on { background: rgba(56, 189, 248, .2); border-color: rgba(56, 189, 248, .55); color: var(--sky-2); }
.a-cpill.on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

.a-cue { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35); color: var(--warn-2); font-size: 14px; font-weight: 600; }
.a-cue span { flex: 1; }
.a-manual { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 10px 12px; border-radius: 16px; background: var(--c-card); border: 1px solid var(--c-border); }
.a-sq { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .25); color: var(--sky); font-size: 18px; flex-shrink: 0; }
.a-manual .tx { flex: 1; }
.a-manual b { display: block; font-size: 14px; font-weight: 600; }
.a-manual small { display: block; font-size: 12px; color: var(--t4); margin-top: 2px; }
.a-chev { color: var(--t4); font-size: 18px; }
.a-rhead { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; margin: 20px 0 10px; }
.a-rhead b { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.a-rhead span { font-size: 14px; font-weight: 600; color: var(--sky); }
.a-list { margin: 0 16px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-border); overflow: hidden; }
.a-li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--c-border-s); }
.a-li:last-child { border-bottom: 0; }
.a-li.new { animation: a-row-in .5s var(--ease); }
@keyframes a-row-in { from { opacity: 0; transform: translateY(-10px); background: rgba(56, 189, 248, .08); } }
.a-ci { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid; font-size: 16px; flex-shrink: 0; }
.a-ci.ok { color: var(--ok); background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .33); }
.a-ci.warn { color: var(--warn); background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .33); }
.a-ci.err { color: var(--err); background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .33); }
.a-li .tx { flex: 1; min-width: 0; }
.a-li b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-li small { display: block; font-size: 12px; color: var(--t4); margin-top: 2px; }
.a-li .rt { text-align: right; }
.a-li .rt em { display: block; font-style: normal; font-size: 12px; font-weight: 700; }
.a-li .rt span { font-size: 11px; color: var(--t4); }
.a-li .ok { color: var(--ok-2); } .a-li .warn { color: var(--warn-2); } .a-li .err { color: var(--err-2); }

/* Floating tab bar */
.a-tabs { position: absolute; left: 16px; right: 16px; bottom: 30px; z-index: 40; display: flex; padding: 5px; border-radius: 999px; background: var(--c-card); border: 1px solid var(--c-border); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.a-tab { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--t3); transition: background .3s, color .3s; }
.a-tab svg { font-size: 16px; }
.a-tab.on { background: var(--sky); color: var(--on-sky); font-weight: 700; }
.a-tab .dot { position: absolute; top: 7px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }

/* Full-screen verdict (ScanResult) */
.a-verdict {
  --vc: var(--ok); --vf: #04230f;
  position: absolute; inset: 0; z-index: 45;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 28px; text-align: center;
  background: var(--vf); overflow: hidden;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.a-verdict.show { opacity: 1; }
.a-verdict.warn { --vc: var(--warn); --vf: #2a1a02; }
.a-verdict.err { --vc: var(--err); --vf: #2a0707; }
.a-verdict::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: 18%; left: 50%; margin-left: -260px; background: var(--vc); opacity: .16; }
.a-verdict::after { content: ''; position: absolute; inset: 0; border: 6px solid var(--vc); opacity: .85; }
.a-verdict > * { position: relative; }
.a-verdict .inner { display: flex; flex-direction: column; align-items: center; transform: scale(.94); transition: transform .3s var(--ease); width: 100%; }
.a-verdict.show .inner { transform: scale(1); }
.a-vring { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; border: 2px solid color-mix(in srgb, var(--vc) 33%, transparent); background: color-mix(in srgb, var(--vc) 12%, transparent); }
.a-vring svg { width: 88px; height: 88px; stroke: none; }
.a-vring svg .f { fill: var(--vc); }
.a-vring svg .m { fill: none; stroke: var(--vf); stroke-width: 2.4; }
.a-vword { font-size: 64px; line-height: 70px; font-weight: 900; letter-spacing: 2px; color: var(--vc); }
.a-vtitle { font-size: 22px; line-height: 28px; font-weight: 700; margin-top: 4px; }
.a-vdet { margin-top: 18px; align-self: stretch; padding: 14px 18px; border-radius: 16px; background: rgba(6, 12, 24, .55); border: 1px solid rgba(255, 255, 255, .08); font-size: 16px; font-weight: 500; line-height: 22px; }
.a-vbadge { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35); color: var(--warn-2); font-size: 12px; font-weight: 600; }

/* Search tab + check-in banner */
.a-h2 { padding: 4px 20px 10px; font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.a-search { display: flex; align-items: center; gap: 10px; margin: 0 16px; height: 54px; padding: 0 6px 0 16px; border-radius: 16px; background: var(--c-input); border: 1px solid var(--c-border); font-size: 16px; color: var(--t4); }
.a-search.focus { border-color: rgba(56, 189, 248, .6); box-shadow: 0 0 0 3px rgba(56, 189, 248, .15); }
.a-search .q { flex: 1; color: var(--t1); white-space: nowrap; }
.a-search .q:empty::before { content: attr(data-ph); color: var(--t4); }
.a-search .q.typing::after { content: ''; display: inline-block; width: 2px; height: 19px; background: var(--sky); vertical-align: -3px; margin-left: 1px; animation: caret 1s step-end infinite; }
.a-sbtn { height: 42px; padding: 0 18px; border-radius: 12px; background: var(--sky); color: var(--on-sky); font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.a-count { padding: 12px 20px 8px; font-size: 12px; font-weight: 600; color: var(--t4); }
.a-res { display: flex; align-items: center; gap: 12px; margin: 0 16px 8px; padding: 12px; border-radius: 16px; background: var(--c-card); border: 1px solid var(--c-border); transition: opacity .3s, transform .4s var(--ease); }
.a-res.hide { opacity: 0; transform: translateY(8px); }
.a-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .3); color: var(--sky); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.a-res .tx { flex: 1; min-width: 0; }
.a-res b { display: block; font-size: 16px; font-weight: 700; }
.a-res small { display: block; font-size: 12px; color: var(--t4); margin-top: 2px; }
.a-res small .ty { color: var(--t3); font-family: var(--font); }
.a-cin { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ok); color: #03200d; font-size: 14px; font-weight: 700; display: grid; place-items: center; white-space: nowrap; transition: transform .15s; }
.a-cin.press { transform: scale(.92); }
.a-done { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 999px; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .35); color: var(--ok-2); font-size: 12px; font-weight: 700; white-space: nowrap; animation: pop .3s var(--ease); }
.a-banner {
  position: absolute; left: 16px; right: 16px; bottom: 96px; z-index: 44;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: #0c2a1a; border: 1px solid rgba(34, 197, 94, .45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(24px); transition: opacity .2s, transform .35s cubic-bezier(.2, 1.4, .4, 1);
}
.a-banner.show { opacity: 1; transform: none; }
.a-banner > svg { font-size: 24px; color: var(--ok-2); }
.a-banner b { display: block; font-size: 15px; font-weight: 700; color: var(--ok-2); }
.a-banner small { display: block; font-size: 13px; font-weight: 500; margin-top: 1px; }
.a-or { display: flex; align-items: center; gap: 12px; margin: 22px 20px 14px; font-size: 13px; font-weight: 600; color: var(--t4); }
.a-or::before, .a-or::after { content: ''; flex: 1; height: 1px; background: var(--c-border-s); }

/* Types tab */
.a-types { padding: 4px 16px 0; }
.a-types .hd { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px 4px; }
.a-types .hd .tx { flex: 1; }
.a-types .hd b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.a-types .hd small { display: block; font-size: 13px; color: var(--t4); margin-top: 2px; }
.a-types .hd small strong { color: var(--t3); }
.a-allon { min-height: 36px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .3); color: var(--sky); font-size: 13px; font-weight: 700; transition: opacity .3s; }
.a-warnrow { display: flex; align-items: center; gap: 8px; padding: 12px; margin-bottom: 12px; border-radius: 14px; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .3); color: var(--warn-2); font-size: 13px; font-weight: 500; overflow: hidden; transition: opacity .3s, max-height .4s var(--ease), margin .4s var(--ease), padding .4s var(--ease); max-height: 80px; }
.a-types:not(.filtered) .a-warnrow { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
.a-types:not(.filtered) .a-allon { opacity: 0; }
.a-group { border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-border); overflow: hidden; }
.a-trow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--c-border-s); }
.a-trow:last-child { border-bottom: 0; }
.a-trow .ti { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .25); color: var(--sky); font-size: 17px; transition: all .3s; }
.a-trow .tx { flex: 1; min-width: 0; }
.a-trow b { display: block; font-size: 15px; font-weight: 600; transition: color .3s; }
.a-trow small { display: block; font-size: 12px; color: var(--t4); margin-top: 2px; font-variant-numeric: tabular-nums; }
.a-trow.off .ti { background: var(--c-el); border-color: var(--c-border); color: var(--t4); }
.a-trow.off b { color: var(--t4); text-decoration: line-through; }
.a-foot { margin: 12px 4px 0; font-size: 12px; line-height: 17px; color: var(--t4); }

/* iOS switch */
.a-sw { position: relative; width: 51px; height: 31px; border-radius: 999px; background: var(--sky); flex-shrink: 0; transition: background .25s; }
.a-sw::after { content: ''; position: absolute; top: 2px; left: 22px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transition: left .25s var(--ease); }
.a-sw.off { background: rgba(148, 163, 184, .22); }
.a-sw.off::after { left: 2px; }

/* Settings */
.a-nav { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; }
.a-nav .back { display: flex; align-items: center; gap: 2px; color: var(--sky); font-size: 16px; font-weight: 500; }
.a-nav .back svg { font-size: 22px; }
.a-nav .sep { width: 1px; height: 22px; background: var(--c-border); }
.a-nav b { font-size: 18px; font-weight: 700; }
.a-slabel { padding: 22px 22px 8px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--t4); }
.a-sgroup { margin: 0 20px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-border); overflow: hidden; }
.a-srow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--c-border-s); }
.a-srow:last-child { border-bottom: 0; }
.a-srow .tx { flex: 1; }
.a-srow b { display: block; font-size: 17px; font-weight: 600; }
.a-srow small { display: block; font-size: 14px; color: var(--t4); margin-top: 2px; line-height: 1.35; }
.a-seg { display: inline-flex; margin-top: 14px; border-radius: 10px; border: 1px solid var(--c-border); overflow: hidden; background: var(--c-bg); }
.a-seg span { width: 52px; height: 36px; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--t3); transition: background .25s, color .25s; }
.a-seg span.on { background: var(--sky); color: var(--on-sky); }

/* Events home */
.a-ehead { display: flex; align-items: flex-start; padding: 8px 20px 0; }
.a-ehead .tx { flex: 1; }
.a-edate { font-size: 15px; font-weight: 600; color: var(--sky); margin-top: 12px; }
.a-ehello { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; margin-top: 6px; }
.a-ehead .btns { display: flex; gap: 8px; }
.a-ehead .a-rbtn { width: 44px; height: 44px; font-size: 18px; }
.a-epills { display: flex; gap: 8px; padding: 16px 20px 0; }
.a-epill { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--c-card); border: 1px solid rgba(34, 197, 94, .35); font-size: 13px; color: var(--t4); white-space: nowrap; }
.a-epill:first-child { flex: 1; }
.a-epill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.a-epill b { color: var(--ok-2); font-weight: 600; }
.a-epill.q { background: rgba(34, 197, 94, .1); color: var(--ok-2); font-weight: 700; }
.a-esearch { display: flex; align-items: center; gap: 12px; margin: 16px 20px 0; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--c-card); border: 1px solid var(--c-border); color: var(--t4); font-size: 16px; }
.a-esec { display: flex; align-items: center; gap: 9px; padding: 0 20px; margin: 22px 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.a-esec .ld { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: a-pulse 1.8s ease-in-out infinite; }
@keyframes a-pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.a-esec .cnt { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--c-el); color: var(--t3); font-size: 12px; font-weight: 700; }
.a-poster { margin: 0 20px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(56, 189, 248, .45); background: var(--c-card); box-shadow: 0 0 0 4px rgba(56, 189, 248, .06); }
.a-pbanner { position: relative; height: 170px; padding: 16px; overflow: hidden; background: linear-gradient(135deg, #1a0533 0%, #6b21a8 100%); }
.a-pbanner::before, .a-pbanner::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.a-pbanner::before { width: 260px; height: 260px; right: -70px; top: -120px; }
.a-pbanner::after { width: 170px; height: 170px; right: -10px; top: -60px; }
.a-pdate { position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center; padding: 6px 12px; border-radius: 12px; background: rgba(6, 12, 24, .55); border: 1px solid rgba(255, 255, 255, .16); line-height: 1.1; }
.a-pdate small { font-size: 11px; font-weight: 700; letter-spacing: 1px; opacity: .85; }
.a-pdate b { font-size: 22px; font-weight: 800; }
.a-plive { position: absolute; top: 16px; right: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ok); color: #03200d; font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.a-plive::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #03200d; animation: blink2 1.2s step-end infinite; }
@keyframes blink2 { 50% { opacity: .2; } }
.a-pname { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 26px; font-weight: 800; letter-spacing: -.8px; }
.a-pbody { padding: 14px 16px 16px; }
.a-pline { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t3); margin-bottom: 6px; }
.a-pline svg { color: var(--t4); font-size: 15px; }
.a-pprog { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 14px; color: var(--t3); }
.a-pprog b { font-size: 16px; color: var(--t1); font-weight: 800; font-variant-numeric: tabular-nums; }
.a-pprog em { font-style: normal; font-weight: 800; color: var(--sky); font-variant-numeric: tabular-nums; }
.a-pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--t4); }
.a-pfoot .st { display: flex; align-items: center; gap: 6px; }
.a-pfoot .st i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.a-pfoot .st b { color: var(--t3); font-weight: 600; }
.a-pscan { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .4); color: var(--sky); font-size: 14px; font-weight: 700; }
.a-erow { display: flex; align-items: center; gap: 14px; margin: 0 20px 10px; padding: 12px 14px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-border); }
.a-edb { width: 50px; height: 54px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--c-sub); border: 1px solid rgba(56, 189, 248, .3); line-height: 1.1; flex-shrink: 0; }
.a-edb small { font-size: 11px; font-weight: 700; color: var(--sky); letter-spacing: .8px; }
.a-edb b { font-size: 20px; font-weight: 800; }
.a-erow .tx { flex: 1; min-width: 0; }
.a-erow b.n { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.a-erow small.v { display: block; font-size: 13px; color: var(--t4); margin-top: 3px; }
.a-erow .when { font-size: 13px; font-weight: 700; color: var(--sky); white-space: nowrap; }

/* Tap indicator */
.a-tap { position: absolute; z-index: 55; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .28); border: 2px solid rgba(255, 255, 255, .6); pointer-events: none; opacity: 0; transform: scale(.6); }
.a-tap.go { animation: a-tap .55s ease-out; }
@keyframes a-tap { 0% { opacity: 0; transform: scale(1.3); } 30% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.1); } }

/* Floating depth cards around the hero phone */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px;
  border-radius: 16px;
  background: rgba(12, 23, 40, .84);
  border: 1px solid rgba(56, 189, 248, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-card .fi { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; }
.float-card .fi svg { width: 18px; height: 18px; }
.float-card strong { display: block; font-size: 13px; line-height: 1.25; }
.float-card small { display: block; font-size: 11px; color: var(--t3); line-height: 1.25; }
.fc-1 { top: 70px; left: -170px; transform: translateZ(110px); }
.fc-2 { bottom: 210px; right: -160px; transform: translateZ(140px); animation-delay: -2.5s; }
.fc-3 { bottom: 60px; left: -130px; transform: translateZ(80px); animation-delay: -4.5s; }
@keyframes float { 50% { translate: 0 -14px; } }


/* ── Marquee ──────────────────────────────────────────────────────── */
.marquee-wrap { padding: 34px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(8, 14, 30, .6); }
.marquee-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t4); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.fmt {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; color: var(--t2); white-space: nowrap;
}
.fmt i { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: repeating-linear-gradient(90deg, var(--sky) 0 2px, transparent 2px 4px, var(--sky) 4px 5px, transparent 5px 8px); opacity: .8; }
.fmt i.q { background: conic-gradient(var(--sky) 0 25%, transparent 0 50%, var(--sky) 0 75%, transparent 0) 0 0 / 7px 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 140px 0; }
.section.tight { padding: 110px 0; }
.bg-glow-l::before, .bg-glow-r::before {
  content: ''; position: absolute; top: 10%; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .10), transparent 65%);
  pointer-events: none; z-index: -1;
}
.bg-glow-l::before { left: -300px; }
.bg-glow-r::before { right: -300px; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  grid-column: span 2;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 31, 56, .7), rgba(12, 23, 40, .9));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.tile::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(56, 189, 248, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.tile:hover { border-color: rgba(56, 189, 248, .4); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.xl { grid-column: span 4; }
.tile-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(56, 189, 248, .22), rgba(56, 189, 248, .04));
  border: 1px solid rgba(56, 189, 248, .3);
  box-shadow: 0 12px 30px -12px rgba(56, 189, 248, .6);
  margin-bottom: 22px;
}
.tile-icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; margin-bottom: 10px; }
.tile p { color: var(--t3); font-size: 15px; line-height: 1.65; }
.tile-vis { margin-top: 26px; }
/* barcode scan vis */
.vis-scan { position: relative; height: 110px; border-radius: 16px; background: #050a14; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.vis-scan .bars { width: 70%; height: 56px; background: repeating-linear-gradient(90deg, #dfe8f5 0 3px, transparent 3px 5px, #dfe8f5 5px 6px, transparent 6px 10px, #dfe8f5 10px 14px, transparent 14px 16px); opacity: .9; border-radius: 2px; }
.vis-scan .laser { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--err); box-shadow: 0 0 14px 2px rgba(239, 68, 68, .8); animation: laser 2.4s ease-in-out infinite; }
@keyframes laser { 0%, 100% { transform: translateY(-34px); } 50% { transform: translateY(34px); } }
.vis-scan .ok { position: absolute; right: 14px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .16); color: var(--ok-2); font-size: 12px; font-weight: 700; border: 1px solid rgba(34, 197, 94, .35); animation: blink 2.4s step-end infinite; }
@keyframes blink { 0%, 40% { opacity: 0; } 45%, 100% { opacity: 1; } }
/* offline vis */
.vis-offline { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #050a14; border: 1px solid var(--line); }
.vis-offline .sig { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.vis-offline .sig i { width: 5px; border-radius: 2px; background: var(--sky); animation: sig 3s ease-in-out infinite; }
.vis-offline .sig i:nth-child(1) { height: 30%; }
.vis-offline .sig i:nth-child(2) { height: 55%; animation-delay: .15s; }
.vis-offline .sig i:nth-child(3) { height: 80%; animation-delay: .3s; }
.vis-offline .sig i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes sig { 0%, 40% { background: var(--sky); } 50%, 80% { background: #1f3b5e; } 90%, 100% { background: var(--sky); } }
.vis-offline .q { flex: 1; font-size: 13px; color: var(--t3); }
.vis-offline .q b { color: var(--t1); }
.vis-offline .chip { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ok-2); background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .3); }
/* analytics vis */
.vis-chart { height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; border-radius: 16px; background: #050a14; border: 1px solid var(--line); }
.vis-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky), rgba(56, 189, 248, .25)); transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease); }
.is-in .vis-chart i { transform: scaleY(1); }
/* import vis */
.vis-import { display: grid; gap: 6px; }
.vis-import div { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 6px; }
.vis-import span { height: 26px; border-radius: 7px; background: var(--card-2); border: 1px solid var(--line); font-size: 11px; color: var(--t3); display: flex; align-items: center; padding: 0 8px; font-family: var(--mono); }
.vis-import div:first-child span { color: var(--sky); background: var(--sky-sub); border-color: rgba(56, 189, 248, .3); font-family: var(--font); font-weight: 700; }
.vis-import .dupe span { text-decoration: line-through; color: var(--err-2); border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .08); }
/* roles vis */
.vis-roles { display: flex; gap: 8px; flex-wrap: wrap; }
.vis-roles span { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: var(--card-2); color: var(--t2); }
.vis-roles span:nth-child(1) { color: var(--sky); border-color: rgba(56, 189, 248, .35); }
.vis-roles span:nth-child(2) { color: var(--ok-2); border-color: rgba(34, 197, 94, .35); }
.vis-roles span:nth-child(3) { color: var(--warn-2); border-color: rgba(245, 158, 11, .35); }

/* Built for real doors */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.door {
  position: relative; padding: 26px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s;
}
.door:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, .4); }
.door .n { font-family: var(--mono); font-size: 12px; color: var(--sky); margin-bottom: 18px; }
.door h3 { font-size: 18px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
.door p { color: var(--t3); font-size: 14.5px; line-height: 1.6; }

/* How it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-line { position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: var(--line); overflow: hidden; }
.steps-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), #22d3ee); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.steps.is-in .steps-line i { transform: scaleX(1); }
.step { position: relative; }
.step-n {
  position: relative; z-index: 1;
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; background: var(--bg); border: 1px solid rgba(56, 189, 248, .4);
  color: var(--sky); margin-bottom: 26px;
  box-shadow: 0 0 0 8px var(--bg), 0 14px 30px -12px rgba(56, 189, 248, .6);
}
.step h3 { font-size: 20px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--t3); font-size: 15px; line-height: 1.65; }

/* Product tour (sticky) */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.tour-sticky { position: sticky; top: 110px; height: calc(100vh - 140px); min-height: 640px; display: grid; place-items: center; perspective: 1600px; }
.tour-phone { transform: rotateY(10deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.tour-phone .app { opacity: 0; transition: opacity .55s ease; }
.tour-phone .app.on { opacity: 1; }
.tour-steps { padding: 12vh 0; }
.tour-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s; }
.tour-step.on { opacity: 1; }
.tour-tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.tour-tag::before { content: ''; width: 28px; height: 2px; background: var(--sky); border-radius: 2px; }
.tour-step h2 { margin-bottom: 18px; }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; color: var(--t3); font-size: 15.5px; line-height: 1.6; }
.checks li strong { color: var(--t1); font-weight: 650; }
.checks .ck { width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); margin-top: 1px; }
.checks .ck svg { width: 12px; height: 12px; }
.tour-mobile-phone { display: none; }

/* Offline */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.flow { margin-top: 36px; display: grid; gap: 0; position: relative; }
.flow::before { content: ''; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--sky), var(--warn), var(--ok)); opacity: .5; }
.flow-item { position: relative; display: flex; gap: 20px; padding: 14px 0; }
.flow-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--bg); border: 2px solid currentColor; z-index: 1; }
.flow-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.flow-item h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.flow-item p { font-size: 14.5px; color: var(--t3); line-height: 1.6; }

.sim {
  position: relative; border-radius: 28px; padding: 28px;
  background: linear-gradient(180deg, rgba(17, 31, 56, .8), rgba(8, 14, 30, .95));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.sim-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sim-net { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid rgba(34, 197, 94, .4); color: var(--ok-2); background: rgba(34, 197, 94, .1); transition: all .3s; }
.sim-net::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.sim.is-offline .sim-net { border-color: rgba(239, 68, 68, .45); color: var(--err-2); background: rgba(239, 68, 68, .1); }
.sim-pending { font-size: 13px; color: var(--t3); }
.sim-pending b { color: var(--t1); font-variant-numeric: tabular-nums; }
.sim.is-offline .sim-pending b { color: var(--warn-2); }
.sim-lanes { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 12px; }
.sim-box { border-radius: 18px; padding: 16px; background: #050a14; border: 1px solid var(--line); min-height: 210px; }
.sim-box h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t4); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sim-box h4 svg { width: 14px; height: 14px; }
.sim-list { display: grid; gap: 6px; }
.sim-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-family: var(--mono); color: var(--t2); animation: pop .35s var(--ease); }
.sim-item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex-shrink: 0; }
.sim-item.synced::before { background: var(--ok); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.sim-pipe { position: relative; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sim-pipe::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--sky), transparent); animation: pipe 1.2s linear infinite; }
.sim.is-offline .sim-pipe::after { animation: none; opacity: 0; }
@keyframes pipe { from { left: -30%; } to { left: 100%; } }
.sim-cloud { display: grid; place-items: center; text-align: center; gap: 6px; }
.sim-cloud .big { font-size: 44px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sim-cloud small { color: var(--t4); font-size: 12px; font-weight: 600; }
.sim-caption { margin-top: 18px; font-size: 13px; color: var(--t4); text-align: center; min-height: 20px; }

.mini-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.mini .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.mini .mi svg { width: 20px; height: 20px; }
.mini h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.mini p { color: var(--t3); font-size: 14px; line-height: 1.6; }

/* API code */
.api-items { margin-top: 30px; display: grid; gap: 18px; }
.api-item { display: flex; gap: 16px; }
.api-item .ai { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--sky-sub); border: 1px solid rgba(56, 189, 248, .25); }
.api-item .ai svg { width: 20px; height: 20px; }
.api-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; }
.api-item p { color: var(--t3); font-size: 14.5px; line-height: 1.6; }
.code {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #070f1d; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(56, 189, 248, .06);
  font-family: var(--mono); font-size: 13px; line-height: 1.75;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.code:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #050b16; border-bottom: 1px solid var(--line); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; }
.code-bar span { margin-left: 10px; font-size: 12px; color: var(--t4); }
.code-body { padding: 22px 24px 26px; min-height: 430px; }
.code-body .c { color: var(--t4); }
.code-body .k { color: var(--sky); }
.code-body .s { color: #86efac; }
.code-body .n { color: #f8b86e; }
.code-body .p { color: #a78bfa; }
.code-body .w { color: var(--t2); }
.code-resp { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #071a10; border: 1px solid #14532d; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.code-resp.show { opacity: 1; transform: none; }
.code-resp .st { color: var(--ok); font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--sky); vertical-align: -3px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Scanner hire */
.hire-stage { position: relative; height: 520px; perspective: 1400px; display: grid; place-items: center; }
.device {
  position: relative; width: 210px; height: 430px;
  transform: rotateY(-24deg) rotateX(10deg) rotateZ(-6deg);
  transform-style: preserve-3d;
  animation: device-float 8s ease-in-out infinite;
}
@keyframes device-float { 50% { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-4deg) translateY(-14px); } }
.device-body {
  position: absolute; inset: 0; border-radius: 40px 40px 56px 56px;
  background: linear-gradient(160deg, #3a3f48 0%, #1a1d23 45%, #2a2e36 100%);
  box-shadow: inset 0 0 0 2px #4a505b, 0 50px 90px -30px rgba(0, 0, 0, .95);
}
.device-screen {
  position: absolute; left: 18px; right: 18px; top: 46px; height: 220px; border-radius: 16px;
  background: linear-gradient(180deg, #0a1324, #060c18);
  border: 2px solid #0b0d11; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.device-screen .ok { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .18); border: 2px solid var(--ok); }
.device-screen .ok svg { width: 30px; height: 30px; }
.device-screen b { color: var(--ok-2); font-size: 18px; font-weight: 900; letter-spacing: .04em; }
.device-screen small { color: var(--t3); font-size: 11px; }
.device-keys { position: absolute; left: 30px; right: 30px; top: 290px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.device-keys i { height: 22px; border-radius: 7px; background: #24272e; box-shadow: inset 0 -2px 0 #15171b; }
.device-keys i:nth-child(2) { background: #f59e0b; }
.device-head { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 110px; height: 30px; border-radius: 14px 14px 6px 6px; background: #f59e0b; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.laser-beam {
  position: absolute; top: -260px; left: 50%; width: 200px; height: 250px; translate: -50% 0;
  background: linear-gradient(to top, rgba(239, 68, 68, .55), rgba(239, 68, 68, 0));
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(1px);
  animation: beam-pulse 2.6s ease-in-out infinite;
  transform: translateZ(-10px);
}
.laser-line { position: absolute; top: -262px; left: 50%; width: 220px; height: 3px; translate: -50% 0; background: var(--err); border-radius: 2px; box-shadow: 0 0 16px 3px rgba(239, 68, 68, .9); animation: beam-pulse 2.6s ease-in-out infinite; }
@keyframes beam-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hire-note { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s;
  overflow: hidden;
}
.plan::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(56, 189, 248, .10), transparent 50%); pointer-events: none; }
.plan:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, .35); }
.plan.pop {
  border-color: rgba(56, 189, 248, .6);
  background: radial-gradient(500px 260px at 50% -60px, rgba(56, 189, 248, .22), transparent 70%), linear-gradient(180deg, #0f1e35, var(--card));
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .08), 0 40px 90px -30px rgba(56, 189, 248, .5);
}
.plan .tag { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; background: var(--sky); color: var(--on-sky); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-name { font-size: 15px; font-weight: 700; color: var(--t2); }
.plan-price { margin: 12px 0 6px; font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--t4); margin-left: 4px; }
.plan-desc { color: var(--t3); font-size: 14.5px; min-height: 46px; }
.plan .btn { margin: 24px 0; width: 100%; }
.plan-feats { list-style: none; display: grid; gap: 11px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--t2); }
.plan-feats li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.plan-feats li.off { color: var(--t4); }
.pricing-note { margin-top: 30px; text-align: center; color: var(--t4); font-size: 14px; }
.pricing-note b { color: var(--t2); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(56, 189, 248, .4); background: #0d1a2e; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--sky-sub); border-color: rgba(56, 189, 248, .4); }
.faq .ans { padding: 0 24px 22px; color: var(--t3); font-size: 15.5px; line-height: 1.7; }

/* Final CTA */
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: 100px 40px; border-radius: 36px;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(56, 189, 248, .28), transparent 70%),
    linear-gradient(180deg, #0c1a30, #070e1c);
  border: 1px solid rgba(56, 189, 248, .25);
}
.final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(56, 189, 248, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.final > * { position: relative; }
.final .lead { max-width: 620px; margin: 22px auto 0; }
.final .hero-cta, .final .store-row { justify-content: center; }
.final .store-row { margin-top: 26px; }

/* Footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line-soft); margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer p { color: var(--t4); font-size: 14px; margin-top: 16px; max-width: 320px; line-height: 1.7; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--t4); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--sky); }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--t4); font-size: 13px; }

/* ── Reveal (only when JS is running) ─────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .hero-title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .loaded .hero-title .line > span { transform: none; }
.js .hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .loaded .hero-fade { opacity: 1; transform: none; }
.js .stage { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1.4s var(--ease) .3s, transform 1.4s var(--ease) .3s; }
.js .loaded .stage { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide, .tile.xl { grid-column: span 1; }
  .tile.xl { grid-column: span 2; }
  .doors { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { left: -70px; } .fc-2 { right: -70px; } .fc-3 { left: -50px; }
}
@media (max-width: 980px) {
  .hero { padding-top: 130px; min-height: 0; }
  .hero-grid, .split, .tour { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats, .hero .store-row { justify-content: center; }
  .stage { height: 600px; margin-top: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps-line { display: none; }
  .tour-sticky { display: none; }
  .tour-steps { padding: 0; }
  .tour-step { min-height: 0; opacity: 1; padding: 50px 0; }
  .tour-mobile-phone { display: grid; place-items: center; margin-bottom: 36px; }
  .tour-mobile-phone .phone { --s: .66; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .section { padding: 100px 0; }
  .split > .order-first-mobile { order: -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .bento, .doors { grid-template-columns: 1fr; }
  .tile.xl { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .stat-num { font-size: 32px; }
  .stage { height: 560px; }
  .stage-inner { transform: rotateY(-10deg) rotateX(6deg); }
  .fc-1 { left: -24px; top: 40px; } .fc-2 { right: -24px; bottom: 120px; } .fc-3 { display: none; }
  .sim-lanes { grid-template-columns: 1fr; }
  .sim-pipe { height: 40px; width: 4px; margin: 0 auto; }
  .sim-pipe::after { width: 100%; height: 30%; animation-name: pipe-v; }
  .final { padding: 70px 22px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .code { font-size: 11.5px; transform: none; }
  .code-body { padding: 18px; min-height: 0; }
  .hire-stage { height: 460px; }
}
@keyframes pipe-v { from { top: -30%; } to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .hero-fade, .js .stage, .js .hero-title .line > span { opacity: 1 !important; transform: none !important; }
}

/* ── Additions: global icon, code lines, KPI vis, full tile ───────── */
[hidden] { display: none !important; }
svg.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.tile-icon svg.i { width: 24px; height: 24px; color: var(--sky); }
.step-n svg.i { width: 24px; height: 24px; }
.mini .mi svg.i, .api-item .ai svg.i { width: 20px; height: 20px; }
.a-vdet { white-space: pre-line; }
.tile.full { grid-column: span 6; display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.tile.full > div:first-child { max-width: 620px; }
.tile.full .tile-vis { margin-top: 0; }
.vis-roles span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; }
.vis-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vis-kpis div { padding: 12px; border-radius: 14px; background: #050a14; border: 1px solid var(--line); }
.vis-kpis small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t4); }
.vis-kpis b { display: block; margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.vis-kpis b.sky { color: var(--sky); }
.door .tile-icon { margin-bottom: 18px; }
.code-body .ln { white-space: pre; min-height: 1.75em; }
.js [data-code] .ln { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.js [data-code] .ln.on { opacity: 1; transform: none; }
.code-cap { margin-top: 16px; text-align: center; font-size: 14px; color: var(--t4); }
.code-cap a { color: var(--sky); font-weight: 600; }
.mini-cards.two { grid-template-columns: 1fr 1fr; }
.hire-note + .mini-cards { margin-top: 30px; }
#api .hero-cta { align-items: center; }
.tour-phone .phone { --s: .76; }
@media (max-width: 1100px) { .tile.full { grid-column: span 2; } }
@media (max-width: 640px) {
  .tile.full { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 20px; }
  .mini-cards.two { grid-template-columns: 1fr; }
  .stage .phone { --s: .62; }
  .vis-kpis b { font-size: 16px; }
}
.plan-desc { min-height: 68px; }
.bg-glow-l, .bg-glow-r { overflow-x: clip; }
html, body { overflow-x: clip; }
@media (max-width: 980px) {
  .hero-grid, .split, .tour { grid-template-columns: minmax(0, 1fr); }
  .code-body { overflow-x: auto; }
}
@media (max-width: 640px) {
  .hire-stage { height: 400px; }
  .device { scale: .78; }
}
