/* =========================================================
   FetchNear – fetchnear.com  (WebGL scroll film + sections)
   ========================================================= */
:root {
  --bg: #090c12;
  --bg-2: #10141d;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef1f7;
  --muted: #8f97a8;
  --orange: #ff5a1f;
  --orange-2: #ff8a3d;
  --teal: #2ee6b6;
  --violet: #8b6cff;
  --grad: linear-gradient(110deg, var(--orange), var(--orange-2) 50%, #ffc06b);
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-intro { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.brand { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; display: inline-flex; align-items: baseline; }
.brand b { font-weight: 700; }
.brand.small { font-size: 1.35rem; }
.dot { display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.08em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.brand .dot { width: 0.22em; height: 0.22em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--orange); color: #fff; font-weight: 600; box-shadow: 0 12px 34px -12px rgba(255, 90, 31, 0.9);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn:hover { background: #ff6d35; box-shadow: 0 16px 44px -10px rgba(255, 90, 31, 1); }

/* ---------- Intro dial ---------- */
.intro {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #121826 0%, var(--bg) 62%);
  transition: opacity 1.1s ease 0.25s, visibility 1.1s 0.25s;
}
body.entered .intro { opacity: 0; visibility: hidden; pointer-events: none; }
.dial { position: relative; width: min(82vmin, 640px); aspect-ratio: 1; transition: transform 1.4s var(--ease); }
body.entered .dial { transform: scale(2.6) rotate(-25deg); }
.dial-ticks { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; }
.dial-ticks line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.dial-ticks line.major { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.4; }
.dial-ticks circle { fill: none; stroke: rgba(255, 255, 255, 0.08); }
.dial-words { position: absolute; inset: 0; animation: spin 140s linear infinite reverse; }
.dial-words span {
  position: absolute; left: 50%; top: 50%; font-family: var(--display); font-weight: 600; font-size: clamp(0.62rem, 1.7vmin, 0.9rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); white-space: nowrap;
}
.dial-words span::before { content: ""; position: absolute; left: 50%; top: 2.2em; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.dial-knob { position: absolute; inset: 15%; border-radius: 50%; animation: spin 6s linear infinite; }
.dial-knob::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-tag { margin-top: 10px; color: var(--muted); font-size: clamp(0.72rem, 1.8vmin, 0.9rem); letter-spacing: 0.08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-go {
  position: absolute; z-index: 2; left: 50%; bottom: max(6vh, 30px); transform: translateX(-50%); cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 12px 26px;
  font-family: var(--display); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.78rem; color: var(--orange);
  transition: border-color 0.3s, background 0.3s;
}
.intro-go:hover { border-color: var(--orange); background: rgba(255, 90, 31, 0.08); }
.intro-click { display: none; }
body.gl-ready .intro-load { display: none; }
body.gl-ready .intro-click { display: inline; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* ---------- WebGL canvas, vignette, grain ---------- */
.gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; transition: opacity 0.8s, filter 0.8s; }
body.no-gl .gl { display: none; }
body.no-gl { background: radial-gradient(ellipse at 30% 20%, #1a2033, var(--bg) 60%) fixed; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(5, 7, 11, 0.75) 100%); }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- Top bar, menu, HUD ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 36px); transition: background 0.4s, backdrop-filter 0.4s;
}
.bar.solid { background: linear-gradient(rgba(9, 12, 18, 0.85), rgba(9, 12, 18, 0)); }
.bar-nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar-nav a { padding: 7px 16px; border-radius: 999px; font-size: 0.88rem; color: var(--muted); transition: color 0.25s, background 0.25s; }
.bar-nav a:hover, .bar-nav a.on { color: #fff; background: rgba(255, 255, 255, 0.09); }
.bar-menu { background: none; border: 0; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 6px 4px; }
.menu {
  position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(24px, 8vw, 120px) 40px;
  background: rgba(9, 12, 18, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.4s;
}
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu ol { list-style: none; }
.menu li { overflow: hidden; }
.menu li a {
  display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 7vw, 4.6rem); line-height: 1.15; letter-spacing: -0.03em;
  transform: translateY(105%); transition: transform 0.7s var(--ease), color 0.25s;
}
.menu li a span { font-size: 0.9rem; color: var(--orange); letter-spacing: 0.1em; }
.menu li a:hover { color: var(--orange); }
.menu.open li a { transform: none; }
.menu.open li:nth-child(2) a { transition-delay: 0.05s; }
.menu.open li:nth-child(3) a { transition-delay: 0.1s; }
.menu.open li:nth-child(4) a { transition-delay: 0.15s; }
.menu.open li:nth-child(5) a { transition-delay: 0.2s; }
.menu-foot { margin-top: 40px; color: var(--muted); }

.hud-left {
  position: fixed; left: clamp(14px, 2.4vw, 30px); bottom: clamp(14px, 2.4vw, 28px); z-index: 900; display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(16, 20, 29, 0.78); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--display); font-size: 0.86rem; color: var(--muted); transition: opacity 0.5s, transform 0.5s var(--ease);
}
body:not(.in-journey) .hud-left { opacity: 0; transform: translateY(20px); pointer-events: none; }
.hud-left svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.hud-left circle { fill: none; stroke: var(--line); stroke-width: 3; }
.hud-left .ring { stroke: var(--orange); stroke-dasharray: 0 100; stroke-linecap: round; }
.hud-left b { color: #fff; }
.hud-left em { margin-left: 6px; }
.hud-cta {
  position: fixed; right: clamp(14px, 2.4vw, 30px); bottom: clamp(14px, 2.4vw, 28px); z-index: 900; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600;
  box-shadow: 0 14px 34px -12px rgba(255, 90, 31, 0.9); transition: transform 0.3s var(--ease);
}
.hud-cta .dot { width: 8px; height: 8px; background: #fff; box-shadow: none; margin: 0; }

/* ---------- Journey (pinned overlay on the WebGL film) ---------- */
main { position: relative; z-index: 2; }
.journey { position: relative; height: 1000vh; }
.journey-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; pointer-events: none; }
.ch {
  position: absolute; left: clamp(20px, 6vw, 90px); bottom: clamp(90px, 15vh, 160px); max-width: min(600px, 88vw);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75);
}
.ch[data-ch="4"] { bottom: auto; top: clamp(80px, 13vh, 130px); }
.ch > * { opacity: 0; transform: translateY(36px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.ch.on > * { opacity: 1; transform: none; }
.ch.on > :nth-child(2) { transition-delay: 0.08s; }
.ch.on > :nth-child(3) { transition-delay: 0.16s; }
.ch.on > :nth-child(4) { transition-delay: 0.24s; }
.kicker { display: inline-block; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.ch h1, .ch h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; }
.ch p { margin-top: 18px; max-width: 470px; color: #c3c9d6; font-size: clamp(0.95rem, 1.25vw, 1.1rem); }
.readout { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.readout span { padding: 8px 16px; border-radius: 999px; font-family: var(--display); font-size: 0.88rem; background: rgba(16, 20, 29, 0.8); border: 1px solid var(--line); text-shadow: none; }
.readout b { color: #fff; font-variant-numeric: tabular-nums; }
.readout .ok b { color: var(--teal); }

.dots { position: absolute; left: 50%; bottom: clamp(26px, 4vh, 40px); transform: translateX(-50%); display: flex; gap: 8px; pointer-events: auto; }
.dots button { width: 30px; height: 14px; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); transition: background 0.3s; }
.dots button.on::before { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.swipe { position: absolute; left: 50%; bottom: clamp(60px, 9vh, 90px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; transition: opacity 0.5s; }
.swipe svg { width: 16px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: swipe 1.6s ease-in-out infinite; }
.swipe.hide { opacity: 0; }
@keyframes swipe { 50% { transform: translateY(-6px); } }

/* ---------- Generic sections ---------- */
.section { position: relative; padding: clamp(90px, 13vh, 140px) clamp(20px, 6vw, 90px); background: rgba(9, 12, 18, 0.88); }
.title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 900px; }
.title.left { max-width: 620px; }
.title .num { display: block; font-size: 0.8rem; letter-spacing: 0.22em; color: var(--orange); margin-bottom: 18px; }
.sub { color: var(--muted); max-width: 640px; margin: 18px 0 50px; }

.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal { transform: translateY(30px); }
.reveal-up { transform: translateY(70px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(0.9); }
.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ---------- Ticker ---------- */
.ticker { position: relative; padding: 30px 0; overflow: hidden; background: linear-gradient(rgba(9, 12, 18, 0), rgba(9, 12, 18, 0.88) 40%); border-bottom: 1px solid var(--line); }
.ticker-row + .ticker-row { margin-top: 12px; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: marquee 55s linear infinite; }
.ticker-row.reverse .ticker-track { animation-direction: reverse; animation-duration: 62s; }
.ticker-track span { padding: 10px 20px; border-radius: 999px; white-space: nowrap; font-family: var(--display); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s, color 0.3s; }
.ticker-track span:hover { border-color: var(--orange); color: var(--orange-2); }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- How ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.step { position: relative; padding: 34px 28px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); transition: opacity 1s var(--ease), transform 1s var(--ease), border-color 0.3s; }
.step:hover { border-color: rgba(255, 90, 31, 0.5); }
.step > b { position: absolute; top: 24px; right: 26px; font-family: var(--display); color: var(--orange); font-size: 0.85rem; letter-spacing: 0.15em; }
.step-ico { width: 64px; height: 64px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 18px; background: rgba(255, 90, 31, 0.12); border: 1px solid rgba(255, 90, 31, 0.3); margin-bottom: 22px; }
.step h3 { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Demo ---------- */
.demo-card { max-width: 1040px; padding: clamp(18px, 3vw, 34px); border-radius: 28px; background: rgba(16, 20, 29, 0.85); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(255, 90, 31, 0.35); }
.demo-controls { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr; gap: 20px; align-items: end; }
.field label { display: block; margin-bottom: 8px; font-size: 0.85rem; color: var(--muted); }
.field label b { color: var(--orange); }
.demo-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s; }
.demo-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15); }
.demo-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; }
select { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); outline: 0; }
select option { background: var(--bg-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--line); outline: 0; margin: 23px 0; accent-color: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; cursor: pointer; box-shadow: 0 0 12px var(--orange); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.chips button { padding: 7px 15px; border-radius: 999px; cursor: pointer; font-size: 0.85rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s; }
.chips button:hover, .chips button.active { border-color: var(--orange); background: rgba(255, 90, 31, 0.12); }
.demo-meta { margin: 18px 0 12px; color: var(--muted); min-height: 1.6em; }
.demo-meta b { color: var(--teal); }
.results { list-style: none; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.result { display: grid; grid-template-columns: 50px 1fr auto auto; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); opacity: 0; animation: resultIn 0.55s var(--ease) forwards; }
.result:first-child { border-color: rgba(46, 230, 182, 0.45); }
@keyframes resultIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.result .ico { width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.result h4 { font-family: var(--display); font-size: 1.02rem; }
.result small { color: var(--muted); }
.result .price { font-family: var(--display); font-weight: 700; color: var(--orange-2); font-size: 1.1rem; }
.result .dist { font-size: 0.82rem; padding: 4px 12px; border-radius: 999px; background: rgba(46, 230, 182, 0.1); color: var(--teal); white-space: nowrap; }
.results .empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }

/* ---------- Merchants (transparent so the WebGL beams show) ---------- */
.merchants { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: 100vh; background: linear-gradient(90deg, rgba(9, 12, 18, 0.9) 0%, rgba(9, 12, 18, 0.55) 55%, rgba(9, 12, 18, 0.15) 100%); }
.merchant-text p { color: #c3c9d6; margin: 22px 0; max-width: 560px; }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--teal); box-shadow: 0 0 10px rgba(46, 230, 182, 0.6); }
.dashboard { padding: 26px; border-radius: 26px; background: rgba(16, 20, 29, 0.82); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); transition: transform 0.4s var(--ease); }
.dash-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--display); font-weight: 600; margin-bottom: 18px; }
.live { color: var(--teal); font-size: 0.8rem; animation: pulse 1.4s infinite; }
.stock-row { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); margin-bottom: 10px; }
.qty { font-family: var(--display); font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.dash-toast { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; background: rgba(46, 230, 182, 0.12); color: var(--teal); opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s var(--spring); }
.dash-toast.show { opacity: 1; transform: none; }
.beam-stat { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.beam-stat b { color: #fff; font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }

/* ---------- Anything globe ---------- */
.anything { overflow: hidden; }
.globe-wrap { position: relative; width: min(700px, 94vw); aspect-ratio: 1; margin: 0 auto; cursor: grab; touch-action: pan-y; }
.globe-wrap::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, 0.22), rgba(139, 108, 255, 0.08) 55%, transparent 70%); filter: blur(12px); }
.globe { position: absolute; inset: 0; }
.g-item { position: absolute; left: 50%; top: 50%; font-size: 34px; line-height: 1; will-change: transform, opacity; user-select: none; }
.globe-center { position: absolute; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22%; pointer-events: none; }
.globe-center h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.8); }
.globe-center p { margin-top: 14px; color: #c3c9d6; text-shadow: 0 2px 12px #000; }
.globe-hint { text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------- Stats / CTA / Footer ---------- */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px clamp(20px, 6vw, 90px) 100px; background: rgba(9, 12, 18, 0.88); }
.stat { padding: 30px 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.stat span { color: var(--muted); }
.cta-box { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(50px, 8vw, 90px) 30px; text-align: center; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 120%, rgba(255, 90, 31, 0.45), transparent 60%), var(--bg-2); }
.cta-box h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; }
.cta-box p { color: var(--muted); margin: 18px 0 30px; }
.store-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store { padding: 14px 28px; border-radius: 999px; font-weight: 600; background: #fff; color: #10141d; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.store:hover { box-shadow: 0 16px 40px -12px rgba(255, 255, 255, 0.5); }
.footer { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 30px clamp(20px, 6vw, 90px) 100px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; background: var(--bg); }
.footer .brand { color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bar-nav { display: none; }
  .ch { left: 20px; right: 20px; bottom: 96px; max-width: none; }
  .ch[data-ch="4"] { top: auto; bottom: 96px; }
  .ch h1, .ch h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .ch p { font-size: 0.92rem; margin-top: 12px; }
  .journey-pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(9, 12, 18, 0.85)); z-index: -1; }
  .dots { bottom: 74px; }
  .swipe { bottom: 120px; }
  .hud-left { display: none; }
  .hud-cta { left: 16px; right: 16px; bottom: 14px; justify-content: center; padding: 12px; }
  .steps { grid-template-columns: 1fr; }
  .demo-controls { grid-template-columns: 1fr; gap: 14px; }
  .result { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 12px; }
  .result .ico { width: 44px; height: 44px; font-size: 1.3rem; }
  .result .dist { grid-column: 2 / 4; justify-self: start; }
  .merchants { grid-template-columns: 1fr; background: rgba(9, 12, 18, 0.6); }
  .g-item { font-size: 24px; }
  .globe-center { padding: 0 15%; }
  .globe-center p { font-size: 0.85rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
