/*
 * VeinzPay for business: the platform, pitched to the people who would run it.
 *
 * The wallet app's own look, not a template's: its ocean gradient (Twilight → Navy → TealBlue,
 * the balance card), Frost and Cyan for accents, its paper (#F3F8FC) and Plus Jakarta Sans.
 * Glass appears only where there is something behind it to see through — over the ocean, and over
 * the soft light the product section sits in. Motion is springy and brief, and off entirely for
 * anyone who asks for reduced motion. Nothing is loaded from anywhere but this platform.
 */

@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

body.biz {
  --o1: #03045e;          /* Twilight */
  --o2: #023e8a;          /* Navy */
  --o3: #0077b6;          /* TealBlue: the app's primary */
  --o4: #00b4d8;          /* Turquoise */
  --frost: #90e0ef;
  --cyan: #caf0f8;
  --ocean: linear-gradient(135deg, var(--o1) 0%, var(--o2) 52%, var(--o3) 100%);

  --bg: #f3f8fc;
  --bg-soft: #ebf6fb;
  --surface: #ffffff;
  --ink: #07123a;
  --text: #26324f;
  --muted: #4b5b7a;
  --faint: #8592ac;
  --line: #dce8f1;
  --line-strong: #bbd4e4;
  --navy: #03045e;
  --accent: #0077b6;
  --accent-soft: #caf0f8;
  --btn-bg: #03045e;
  --btn-ink: #ffffff;
  --good: #0f8a5f;

  --glass-light: rgba(255, 255, 255, 0.62);
  --glass-light-line: rgba(255, 255, 255, 0.9);
  --card-shadow: 0 1px 2px rgba(7, 18, 58, 0.04), 0 24px 48px -28px rgba(3, 4, 94, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1180px;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body.biz:not([data-theme="light"]) {
    --bg: #01022b;
    --bg-soft: #050833;
    --surface: #080c44;
    --ink: #eaf6ff;
    --text: #c7d5ee;
    --muted: #a7bad8;
    --faint: #6c7da2;
    --line: #18205e;
    --line-strong: #263178;
    --navy: #caf0f8;
    --accent: #48cae4;
    --accent-soft: #0b2b63;
    --btn-bg: #eaf6ff;
    --btn-ink: #03045e;
    --good: #4fd6a0;
    --glass-light: rgba(8, 12, 68, 0.55);
    --glass-light-line: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

.biz h1, .biz h2 { font-weight: 800; }
.biz h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -0.035em; }
.biz section { border-top: 0; padding: 120px 0; position: relative; }
.biz .wrap { position: relative; }
.biz .lead { color: var(--muted); }
.biz .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, 'SF Mono', Menlo, monospace; }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font: 600 12.5px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.b-intro { max-width: 760px; }
.b-intro .lead { margin-top: 20px; max-width: 40em; }

/* ---------------------------------------------------------------- header: clear over the ocean, glass once you scroll */

body.biz .top {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
body.biz .top.glass {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent);
  backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
}
body.biz .top.on-dark.glass {
  background: rgba(3, 4, 94, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.brand-tag { font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: 0; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 999px; margin-left: 2px; }
body.biz .top.on-dark:not(.open) .brand,
body.biz .top.on-dark:not(.open) .signin { color: #fff; }
body.biz .top.on-dark:not(.open) .nav a { color: rgba(202, 240, 248, 0.78); }
body.biz .top.on-dark:not(.open) .nav a:hover { color: #fff; }
body.biz .top.on-dark:not(.open) .brand-tag { color: var(--frost); border-color: rgba(144, 224, 239, 0.35); }
body.biz .top.on-dark:not(.open) .btn.sm { background: #fff; color: var(--o1); border-color: #fff; }
body.biz .top.on-dark:not(.open) .menu-btn { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* ---------------------------------------------------------------- buttons */

.btn { border-radius: 12px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.light { background: #fff; color: var(--o1); border-color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 180, 216, 0.55); }
.btn.light svg { transition: transform 0.25s var(--ease); }
.btn.light:hover svg { transform: translateX(3px); }
.btn.glass-btn {
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn.glass-btn:hover { filter: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)); }

/* ---------------------------------------------------------------- glass */

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px -28px rgba(1, 2, 43, 0.75);
  border-radius: 22px;
}
.glass-light {
  background: var(--glass-light);
  border: 1px solid var(--glass-light-line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
}

/* ---------------------------------------------------------------- the ocean: dark sections */

.dark { color: rgba(234, 246, 255, 0.86); background: var(--ocean); overflow: hidden; isolation: isolate; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: rgba(202, 240, 248, 0.82); }
.dark .eyebrow { color: var(--frost); }
.ocean { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ocean .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.045), transparent); }
.ocean .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.ocean .grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.07; mix-blend-mode: overlay; }
.r1 { width: 780px; height: 780px; right: -220px; top: -260px; }
.r2 { width: 520px; height: 520px; right: 180px; bottom: -300px; }
.r3 { width: 900px; height: 900px; left: -380px; top: -300px; }
.r4 { width: 700px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); }
.g1 { width: 520px; height: 520px; right: 8%; top: 22%; background: #00b4d8; }
.g2 { width: 420px; height: 420px; left: -140px; bottom: -120px; background: #0077b6; opacity: 0.7; }
.g3 { width: 600px; height: 600px; right: -160px; bottom: -200px; background: #00b4d8; opacity: 0.35; }
.g4 { width: 640px; height: 360px; left: 50%; bottom: -220px; transform: translateX(-50%); background: #48cae4; opacity: 0.45; }

/* ---------------------------------------------------------------- hero */

.b-hero { padding: 132px 0 72px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 36px; align-items: center; }
.b-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -0.045em; margin-top: 26px; text-wrap: balance; }
@media (min-width: 1081px) { .b-hero h1 .line > span { white-space: nowrap; } }
.b-hero h1 .frost { color: var(--frost); }
.b-hero .lead { margin-top: 26px; font-size: 1.16rem; max-width: 34em; }
.b-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.split .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .line > span { display: inline-block; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 12px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff;
}
.pill:hover { text-decoration: none; background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)); }
.pill svg { width: 15px; height: 15px; opacity: 0.8; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #4fd6a0; box-shadow: 0 0 0 0 rgba(79, 214, 160, 0.6); animation: live 2.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(79, 214, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 214, 160, 0); } }

.proof { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.proof li { font: 500 12.5px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.04em; color: rgba(202, 240, 248, 0.72); display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--frost); opacity: 0.7; }

/* The stage: a terminal, the customer's phone, and what each says */
.stage { position: relative; height: 600px; perspective: 1400px; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease); }
.stage-inner > * { will-change: transform; }

.phone {
  position: relative; margin: 0; border-radius: 46px; padding: 9px;
  background: linear-gradient(150deg, #28306a 0%, #0a0f3a 45%, #050829 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 90px -40px rgba(1, 2, 43, 0.85), 0 18px 36px -24px rgba(1, 2, 43, 0.6);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }
.hero-phone { position: absolute; width: 264px; right: -6px; top: 24px; transform: translateZ(70px); }

.terminal { position: absolute; left: -10px; top: 128px; width: 272px; padding: 18px 18px 16px; transform: translateZ(10px); color: #fff; }
.t-head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; font-weight: 600; }
.t-head .t-sub { flex-basis: 100%; padding-left: 15px; font-weight: 500; font-size: 12px; color: rgba(202, 240, 248, 0.7); }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fd6a0; }
.t-amount { margin-top: 18px; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.t-amount .rupee { font-weight: 600; opacity: 0.85; margin-right: 2px; }
.t-status { position: relative; height: 22px; margin-top: 10px; font-size: 14px; color: var(--cyan); }
.t-status .s { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); white-space: nowrap; }
.t-status .s svg { width: 16px; height: 16px; color: #4fd6a0; }
.terminal[data-state="amount"] .s-amount,
.terminal[data-state="scan"] .s-scan,
.terminal[data-state="match"] .s-match,
.terminal[data-state="paid"] .s-paid { opacity: 1; transform: none; }
.terminal[data-state="paid"] .s-paid { color: #b8f5dc; font-weight: 600; }
.sensor {
  position: relative; margin-top: 16px; height: 170px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, rgba(0, 180, 216, 0.18), transparent 60%), #030633;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.sensor .hand { position: absolute; left: 50%; bottom: -22px; width: 130px; height: 200px; transform: translateX(-50%) translateY(40px); fill: rgba(144, 224, 239, 0.08); stroke: rgba(144, 224, 239, 0.55); stroke-width: 3; opacity: 0; transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), stroke 0.4s; }
.terminal:not([data-state="amount"]) .sensor .hand { opacity: 1; transform: translateX(-50%) translateY(0); }
.terminal[data-state="paid"] .sensor .hand { stroke: rgba(79, 214, 160, 0.8); }
.scanline { position: absolute; left: 0; right: 0; height: 44px; top: -44px; background: linear-gradient(180deg, transparent, rgba(72, 202, 228, 0.35), rgba(202, 240, 248, 0.9) 92%, transparent); opacity: 0; }
.terminal[data-state="scan"] .scanline { opacity: 1; animation: scan 1.1s var(--ease) infinite; }
@keyframes scan { from { top: -44px; } to { top: 100%; } }
.ir { position: absolute; left: 50%; bottom: -60px; width: 220px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 180, 216, 0.45), transparent); opacity: 0.35; transition: opacity 0.5s; }
.terminal[data-state="scan"] .ir, .terminal[data-state="match"] .ir { opacity: 0.9; }
.t-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: rgba(202, 240, 248, 0.6); }
.t-foot .mono { font-size: 11px; letter-spacing: 0.06em; }

.toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, rgba(3, 4, 94, 0.78), rgba(2, 62, 138, 0.62)); border-color: rgba(255, 255, 255, 0.18); font-size: 14px; line-height: 1.3; opacity: 0; transform: translateZ(140px) translateY(14px) scale(0.94); transition: opacity 0.5s var(--ease), transform 0.7s var(--spring); }
.toast.show { opacity: 1; transform: translateZ(140px) translateY(0) scale(1); }
.toast b { display: block; font-weight: 600; }
.toast small { display: block; font-size: 12.5px; color: rgba(202, 240, 248, 0.72); margin-top: 2px; }
.toast .ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0f8a5f; box-shadow: 0 0 0 4px rgba(79, 214, 160, 0.18); }
.toast .ico svg { width: 18px; height: 18px; color: #fff; }
.toast .k { flex: none; font-size: 10.5px; letter-spacing: 0.14em; padding: 6px 8px; border-radius: 8px; background: rgba(0, 180, 216, 0.22); color: var(--cyan); }
.toast .mono { font-size: 13px; }
.t-wallet { right: 132px; top: -8px; }
.t-ledger { right: -34px; bottom: 30px; }

/* The measured numbers */
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 30px 8px 26px; }
.b-hero .stats {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.stats > div { padding: 0 26px; }
.stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stats .num { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.05; }
.stats p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(202, 240, 248, 0.72); }
.stats .stats-note { grid-column: 1 / -1; margin: 22px 26px 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: rgba(202, 240, 248, 0.55); }

/* ---------------------------------------------------------------- story: the phone stays, the steps scroll */

.b-story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; margin-top: 72px; }
.story-device { position: sticky; top: 108px; align-self: start; display: grid; justify-items: center; gap: 22px; height: calc(100vh - 140px); max-height: 760px; align-content: center; }
.story-phone { width: min(300px, 100%); }
.story-phone img { position: absolute; inset: 9px; width: calc(100% - 18px); opacity: 0; transform: scale(0.965); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); }
.story-phone img:first-child { position: relative; inset: auto; width: 100%; }
.story-phone img.on { opacity: 1; transform: none; filter: none; }
.story-phone::after { content: ''; position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 180, 216, 0.28), transparent); filter: blur(20px); }
.story-toast { left: -34px; right: -34px; top: 128px; transform: translateY(-10px) scale(0.96); background: rgba(3, 4, 94, 0.72); }
.story-toast.show { transform: none; }
.story-progress { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.story-progress i { display: block; height: 100%; width: 20%; background: var(--ocean); border-radius: 3px; transition: width 0.6s var(--ease); }

.story-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.on { opacity: 1; }
.step-n { font: 600 13px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.1em; color: var(--accent); }
.step h3 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.step p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 32em; }
.step-shot { display: none; }

/* ---------------------------------------------------------------- languages */

.b-lang { background: var(--bg); padding-top: 40px; overflow: hidden; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.track span { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.track span:nth-child(3n + 2) { color: var(--accent); }
.track span:nth-child(3n) { color: var(--faint); }
@keyframes marquee { to { transform: translateX(-50%); } }
.lang-grid .lead { margin-top: 20px; }
.lang-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-top: 90px; }
.lang-phones { position: relative; height: 560px; }
.lang-phones .phone { position: absolute; width: 230px; }
.lang-phones .tilt-l { left: 4%; top: 40px; rotate: -7deg; z-index: 1; }
.lang-phones .tilt-r { left: 34%; top: 0; z-index: 2; }
.lang-phones .tilt-l2 { left: 64%; top: 60px; rotate: 6deg; z-index: 1; }

/* ---------------------------------------------------------------- product bento */

.b-product { background: var(--bg); overflow: hidden; }
.b-product::before, .b-product::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.b-product::before { width: 620px; height: 620px; left: -200px; top: 240px; background: rgba(0, 180, 216, 0.22); }
.b-product::after { width: 560px; height: 560px; right: -160px; bottom: 60px; background: rgba(0, 119, 182, 0.18); }
.bento { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.card {
  position: relative; overflow: hidden; padding: 30px; border-radius: 26px;
  background: var(--glass-light); border: 1px solid var(--glass-light-line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow), 0 40px 80px -40px rgba(0, 119, 182, 0.35); }
.card .tag, .need .tag { display: inline-block; font: 600 11.5px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin-top: 12px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.025em; }
.card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.c-merchant { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; padding-right: 0; padding-bottom: 0; }
.c-admin { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; padding-right: 0; padding-bottom: 0; }
.card-copy { padding-bottom: 30px; }
.card-shot { align-self: end; border-radius: 14px 0 0 0; overflow: hidden; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: -20px -20px 50px -30px rgba(3, 4, 94, 0.35); }
.card-shot img { display: block; width: 100%; height: auto; transition: transform 0.9s var(--ease); transform-origin: 0 0; }
.card:hover .card-shot img { transform: scale(1.03); }
.c-terminal, .c-wallet, .c-manager, .c-update { grid-column: span 2; }
.c-manager, .c-update { grid-column: span 3; }
.c-wallet, .c-update { padding-bottom: 0; display: flex; flex-direction: column; }
.mini-phone { width: 62%; margin: 26px auto 0; border-radius: 34px 34px 0 0; padding-bottom: 0; }
.mini-phone img { border-radius: 28px 28px 0 0; height: 220px; object-fit: cover; object-position: top; }
.c-update .mini-phone img { object-position: 0 38%; height: 200px; }
.mini-terminal { position: relative; margin-top: 24px; height: 150px; border-radius: 18px; overflow: hidden; background: var(--ocean); }
.mini-terminal .hand { position: absolute; left: 50%; bottom: -30px; width: 110px; height: 170px; transform: translateX(-50%); fill: rgba(144, 224, 239, 0.1); stroke: rgba(144, 224, 239, 0.6); stroke-width: 3; }
.mini-terminal .scanline { opacity: 1; animation: scan 2.4s var(--ease) infinite; }
.upgrade { list-style: none; margin: 24px 0 0; padding: 16px 18px; border-radius: 16px; background: #030633; color: #caf0f8; font: 500 13px/1.9 ui-monospace, 'Cascadia Mono', Consolas, monospace; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.upgrade li { display: flex; gap: 10px; opacity: 0.25; transition: opacity 0.4s var(--ease); }
.upgrade li b { font-weight: 600; color: #4fd6a0; }
.upgrade li span { color: rgba(202, 240, 248, 0.55); margin-left: auto; }
.card.in .upgrade li { opacity: 1; }
.card.in .upgrade li:nth-child(2) { transition-delay: 0.5s; }
.card.in .upgrade li:nth-child(3) { transition-delay: 1s; }
.card.in .upgrade li:nth-child(4) { transition-delay: 1.5s; }
.card.in .upgrade li:nth-child(5) { transition-delay: 2s; }
.bar-mini { margin-top: 14px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar-mini i { display: block; height: 100%; width: 0; background: var(--ocean); border-radius: 6px; }
.card.in .bar-mini i { animation: fill 2.2s 0.2s var(--ease) forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------------------------------------------------------------- platform */

.b-platform .map { margin: 64px 0 0; padding: 28px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .map-v { display: none; }
.map .map-v .nodes text { font-size: 13.5px; }
.map .map-v .aux text { font-size: 11.5px; }
.map .map-v .labels text { font-size: 11px; }
.map .nodes rect { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.2); }
.map .nodes text { fill: #eaf6ff; font: 600 15px 'Jakarta', system-ui, sans-serif; text-anchor: middle; }
.map .core rect { fill: url(#none); fill: rgba(0, 180, 216, 0.28); stroke: rgba(202, 240, 248, 0.6); stroke-width: 1.5; }
.map .core text { font-size: 17px; font-weight: 800; }
.map .core text.sub { font: 500 12px ui-monospace, 'Cascadia Mono', Consolas, monospace; fill: var(--cyan); letter-spacing: 0.04em; }
.map .aux rect { fill: rgba(255, 255, 255, 0.04); stroke-dasharray: 4 4; }
.map .aux text { font-size: 13.5px; font-weight: 500; fill: var(--cyan); }
.map .labels text { fill: rgba(202, 240, 248, 0.7); font: 500 12.5px ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.03em; text-anchor: middle; }
.map .flow { fill: none; stroke: rgba(144, 224, 239, 0.7); stroke-width: 1.6; stroke-dasharray: 5 9; animation: flow 1.6s linear infinite; }
.map .flow.rev { animation-direction: reverse; }
.map .flow.soft { stroke: rgba(144, 224, 239, 0.4); animation-duration: 2.4s; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.glass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.glass.tile { padding: 26px 26px 28px; border-radius: 20px; }
.tile h3 { font-size: 1.1rem; font-weight: 700; }
.tile p { margin-top: 8px; font-size: 15px; color: rgba(202, 240, 248, 0.78); }

/* ---------------------------------------------------------------- security */

.b-security { background: var(--bg); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.sec-copy { position: sticky; top: 120px; }
.sec-copy .lead { margin-top: 20px; }
.chain { display: flex; align-items: center; gap: 0; margin-top: 40px; }
.chain .block { flex: 1; min-width: 0; padding: 14px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); position: relative; transition: transform 0.6s var(--spring), opacity 0.6s var(--ease); }
.chain .block + .block { margin-left: 22px; margin-top: 0; }
.chain .block + .block::before { content: ''; position: absolute; left: -22px; top: 50%; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); }
.chain .block span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.chain .block small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chain .block.new { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--card-shadow); }
.chain .block.enter { transform: translateX(24px) scale(0.9); opacity: 0; }
.chain-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 34em; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.sec-list li:last-child { border-bottom: 1px solid var(--line); }
.sec-list .k { align-self: start; justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 7px 10px; border-radius: 9px; background: var(--accent-soft); color: var(--navy); }
.sec-list h3 { font-size: 1.12rem; font-weight: 700; }
.sec-list p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* ---------------------------------------------------------------- rollout */

.b-rollout { background: var(--bg-soft); }
.rollout { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; z-index: 1; }
.r-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-weight: 800; font-size: 20px; color: #fff; background: var(--ocean); box-shadow: 0 12px 26px -12px rgba(0, 119, 182, 0.7); }
.rollout h3 { margin-top: 22px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.rollout p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------------------------------------------------------------- what it takes */

.b-needs { background: var(--bg); overflow: hidden; }
.b-needs::before { content: ''; position: absolute; left: 50%; top: 45%; width: 900px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(100px); background: rgba(0, 180, 216, 0.2); pointer-events: none; }
.needs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.need { padding: 32px 30px 30px; }
.need h3 { margin-top: 12px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.025em; }
.need p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.need.featured { background: var(--ocean); border-color: transparent; color: rgba(234, 246, 255, 0.86); box-shadow: 0 40px 80px -40px rgba(3, 4, 94, 0.7); }
.need.featured h3 { color: #fff; }
.need.featured p { color: rgba(202, 240, 248, 0.82); }
.need.featured .tag { color: var(--frost); }
.ticks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.need.featured .ticks { border-color: rgba(255, 255, 255, 0.14); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077b6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.need.featured .ticks li::before { background-color: rgba(255, 255, 255, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390e0ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E"); }
.needs-note { position: relative; margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- questions */

.b-faq { background: var(--bg); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform 0.4s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 15.5px; animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- closing */

.b-cta { text-align: center; padding: 140px 0; }
.cta-inner h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.045em; }
.cta-inner .lead { margin: 18px auto 0; max-width: 32em; }
.cta-inner .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

body.biz footer { background: var(--bg); }

/* ---------------------------------------------------------------- motion (with JS; everything is visible without it) */

html.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
html.js .lang-phones [data-reveal].in.tilt-l { transform: none; }
html.js .split .line > span { transform: translateY(108%); transition: transform 1.15s var(--ease); }
html.js .split .line:nth-child(2) > span { transition-delay: 0.1s; }
html.js .split .line:nth-child(3) > span { transition-delay: 0.2s; }
html.js.ready .split .line > span { transform: none; }
html.js .pill { opacity: 0; transform: translateY(10px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js.ready .pill { opacity: 1; transform: none; }
html.js .stage { opacity: 0; transform: translateY(30px) scale(0.97); transition: opacity 1.2s 0.25s var(--ease), transform 1.4s 0.25s var(--ease); }
html.js.ready .stage { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .stage { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .lang-grid, .sec-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-copy { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-merchant, .c-admin { grid-column: 1 / -1; }
  .c-terminal, .c-wallet, .c-manager, .c-update { grid-column: span 1; }
  .glass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rollout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .needs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .biz section { padding: 88px 0; }
  .b-hero { padding-top: 110px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .story-device { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1px solid var(--line); }
  .step-shot { display: block; width: min(260px, 70%); margin: 26px auto 0; border-radius: 30px; border: 8px solid #0a0f3a; box-shadow: 0 30px 60px -30px rgba(1, 2, 43, 0.6); }
  .lang-phones { height: 440px; }
  .lang-phones .phone { width: 180px; }
  .c-merchant, .c-admin { grid-template-columns: 1fr; padding-right: 30px; }
  .card-shot { border-radius: 14px 14px 0 0; border-right: 1px solid var(--line); margin-right: 0; }
  .b-platform .map { padding: 18px 12px; }
  .map .map-h { display: none; }
  .map .map-v { display: block; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .stage { height: 500px; transform-origin: top center; }
  .terminal { width: 250px; top: 150px; padding: 14px; }
  .t-amount { font-size: 36px; }
  .sensor { height: 130px; }
  .hero-phone { width: 210px; right: 0; top: 0; }
  .t-wallet { right: 40px; top: auto; bottom: 110px; }
  .t-ledger { right: 0; bottom: 10px; }
  .toast { font-size: 13px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; }
  .bento, .glass-grid, .rollout { grid-template-columns: 1fr; }
  .c-terminal, .c-wallet, .c-manager, .c-update { grid-column: 1 / -1; }
  .sec-list li { grid-template-columns: 1fr; gap: 12px; }
  .lang-phones .phone { width: 150px; }
  .lang-phones { height: 380px; }
  .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .split .line > span, html.js .pill, html.js .stage { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .track, .map .flow, .scanline, .live, .mini-terminal .scanline { animation: none !important; }
  .stage-inner { transform: none !important; }
  .card, .btn { transition: none; }
}
