/* PayXpress marketing site — palette taken from the logo */
:root {
  --navy: #001A90;
  --navy-2: #0A2BB8;
  --navy-ink: #000B45;
  --orange: #F88000;
  --yellow: #FCB201;
  --red: #F81C01;
  --green: #12B76A;
  --grad: linear-gradient(100deg, var(--yellow) 0%, var(--orange) 50%, var(--red) 100%);
  --grad-navy: linear-gradient(135deg, #001A90 0%, #00106A 60%, #000B45 100%);

  --bg: #FFFFFF;
  --bg-alt: #F5F7FF;
  --ink: #0B1230;
  --ink-2: #4A5378;
  --line: #E3E7F5;
  --card: #FFFFFF;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(0, 26, 144, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 26, 144, .35);

  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.6 var(--f-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em; border-radius: 999px; font: 700 .95rem/1 var(--f-body);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(248, 128, 0, .7); background-size: 160% 100%; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 30px -10px rgba(248, 28, 1, .55); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: .5em .8em; border-radius: 8px; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--navy); background: var(--bg-alt); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .8em .6em; font-weight: 600; border-radius: 10px; }
.mobile-menu a:not(.btn):hover { background: var(--bg-alt); }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; margin-top: -76px; padding-top: 116px; }
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.mesh .b1 { width: 520px; height: 520px; background: #FFD98A; top: -140px; right: -80px; }
.mesh .b2 { width: 460px; height: 460px; background: #C9D3FF; top: 180px; left: -160px; animation-delay: -6s; }
.mesh .b3 { width: 340px; height: 340px; background: #FFB59E; bottom: -80px; right: 30%; animation-delay: -12s; opacity: .4; }
.mesh.dark i { opacity: .35; }
.mesh.dark .b1 { background: var(--orange); top: -200px; right: -120px; }
.mesh.dark .b2 { background: #2E5BFF; bottom: -200px; left: -120px; top: auto; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-bottom: 64px; }
.pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--navy);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(248,128,0,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(248,128,0,0); } 100% { box-shadow: 0 0 0 0 rgba(248,128,0,0); } }
.hero h1 { color: var(--navy-ink); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; transition: opacity .35s, transform .35s var(--ease), filter .35s; }
.grad-text.out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust .ck { stroke: var(--orange); }

/* hero visual */
.hero-visual { position: relative; height: 580px; display: grid; place-items: center; perspective: 1200px; }
.orbit { position: absolute; inset: 6% 4%; }
.orbit span { position: absolute; inset: 0; border: 1.5px dashed rgba(0,26,144,.18); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit span:last-child { inset: 12%; border-color: rgba(248,128,0,.28); animation-direction: reverse; animation-duration: 28s; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative; width: 290px; height: 560px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1A2340, #05081A); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .2s ease-out; z-index: 2;
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); background: #05081A; border-radius: 20px; z-index: 3; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #F5F7FF 0%, #fff 40%); padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 14px; }
.ps-top { display: flex; align-items: center; gap: 10px; background: var(--grad-navy); color: #fff; padding: 14px; border-radius: 18px; }
.ps-top img { border-radius: 8px; background: #fff; padding: 2px; }
.ps-top small { display: block; opacity: .7; font-size: .7rem; }
.ps-top strong { font: 700 1.15rem var(--f-head); }
.live { margin-left: auto; font: 500 .62rem var(--f-mono); color: #7CF5B4; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ps-grid div { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .68rem; font-weight: 700; color: var(--ink); }
.ic { width: 30px; height: 30px; border-radius: 10px; display: block; position: relative; }
.ic::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: #fff; opacity: .9; }
.ic-aeps { background: var(--grad); }
.ic-dmt { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.ic-bill { background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.ic-rc { background: linear-gradient(135deg, var(--orange), var(--red)); }
.ic-matm { background: linear-gradient(135deg, #3B5BFF, var(--navy)); }
.ic-qr { background: linear-gradient(135deg, var(--navy), var(--orange)); }
.ic-aeps::after { border-radius: 50%; }
.ic-dmt::after { inset: 13px 7px; }
.ic-qr::after { inset: 9px; border-radius: 2px; }
.ps-feed { display: grid; gap: 8px; }
.feed-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); animation: feedIn .6s var(--ease) both; }
.feed-item:nth-child(2) { animation-delay: .15s; }
.feed-item:nth-child(3) { animation-delay: .3s; }
@keyframes feedIn { from { opacity: 0; transform: translateY(10px); } }
.feed-item b { display: block; font-size: .74rem; color: var(--ink); }
.feed-item small { font-size: .64rem; color: var(--ink-2); }
.feed-item em { margin-left: auto; font: 500 .72rem var(--f-mono); font-style: normal; color: var(--green); }
.fi-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.fi-ic.ok { background: #E7F8EF; color: var(--green); }

.glass { background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; z-index: 3; animation: bob 6s ease-in-out infinite; }
.float-card small { display: block; font-size: .72rem; color: var(--ink-2); font-weight: 600; }
.float-card strong { font: 700 1rem var(--f-head); color: var(--navy-ink); }
.fc-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; }
.fc-ic.blue { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.fc-ic.green { background: linear-gradient(135deg, #32D583, var(--green)); }
.fc-1 { top: 12%; left: -2%; }
.fc-2 { top: 46%; right: -4%; animation-delay: -2s; }
.fc-3 { bottom: 8%; left: 4%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* rails marquee */
.rails { border-block: 1px solid var(--line); background: rgba(255,255,255,.7); overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rails-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.rails-track span { font: 700 1.05rem var(--f-head); color: #8A93B8; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.rails-track span::after { content: "✦"; color: var(--orange); font-size: .8rem; }
.rails:hover .rails-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--r); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -10px; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat strong { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1.1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head p { font-size: 1.08rem; }
.sec-head a, .faq-wrap a { color: var(--orange); font-weight: 700; }
.eyebrow { display: inline-block; font: 500 .78rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; padding: .35em .8em; border-radius: 999px; background: rgba(248,128,0,.1); }
.eyebrow.light { color: var(--yellow); background: rgba(252,178,1,.14); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(240px, auto); gap: 20px; }
.card {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(248,128,0,.35); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(252,178,1,.16), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card p { margin-bottom: 0; }
.b-wide { grid-column: span 2; padding-right: 220px; }
.b-tall { grid-row: span 2; grid-column: 3; grid-row-start: 1; display: flex; flex-direction: column; }
.card.dark { background: var(--grad-navy); color: #fff; border-color: transparent; }
.card.dark p { color: rgba(255,255,255,.75); }
.card.dark .card-ic { background: rgba(255,255,255,.1); }
.card.dark .card-ic svg { stroke: var(--yellow); }
.card.dark.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(248,128,0,.28), transparent 60%); }
.card-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(0,26,144,.06); margin-bottom: 20px; }
.card-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-ic.ic-lg { width: 64px; height: 64px; background: var(--grad); }
.card-ic.ic-lg svg { stroke: #fff; width: 36px; height: 36px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .35em .8em; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--bg-alt); color: var(--navy); border: 1px solid var(--line); }

/* fingerprint scan */
.bio { position: absolute; right: 36px; top: 50%; width: 150px; height: 150px; transform: translateY(-50%); }
.bio span { position: absolute; inset: 0; border-radius: 50% 50% 46% 46%; border: 2.5px solid rgba(0,26,144,.18); }
.bio span:nth-child(2) { inset: 18px; border-color: rgba(0,26,144,.26); }
.bio span:nth-child(3) { inset: 36px; border-color: rgba(248,128,0,.4); }
.bio span:nth-child(4) { inset: 54px; border-color: rgba(248,28,1,.55); }
.bio .scan { position: absolute; left: -10px; right: -10px; height: 3px; top: 0; background: var(--grad); border-radius: 3px; box-shadow: 0 0 18px 4px rgba(248,128,0,.5); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 100%; } }

/* qr */
.qr { position: relative; margin-top: auto; align-self: center; width: 170px; height: 170px; padding: 14px; border-radius: 20px; background: #fff; overflow: hidden; }
.qr-grid {
  width: 100%; height: 100%;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 0 / 34px 34px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 100% 0 / 34px 34px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 100% / 34px 34px no-repeat,
    repeating-conic-gradient(var(--navy) 0 25%, #fff 0 50%) 0 0 / 14px 14px;
  border-radius: 4px; opacity: .92;
}
.qr-beam { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(248,128,0,.45)); border-bottom: 2px solid var(--orange); animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 50% { top: calc(100% - 40px); } }

/* ---------- earn ---------- */
.earn { background: var(--grad-navy); color: #fff; overflow: hidden; isolation: isolate; }
.earn .mesh { z-index: -1; }
.earn h2 { color: #fff; }
.earn p { color: rgba(255,255,255,.75); }
.earn .fine { font-size: .85rem; color: rgba(255,255,255,.5); }
.earn-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.glass-dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.calc { padding: 32px; display: grid; gap: 24px; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; color: rgba(255,255,255,.9); }
.calc-row output { font: 500 1.05rem var(--f-mono); color: var(--yellow); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--yellow), var(--orange)) 0 0 / var(--p, 50%) 100% no-repeat, rgba(255,255,255,.14); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 4px 12px rgba(0,0,0,.35); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc-total { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.calc-total small { color: rgba(255,255,255,.65); font-weight: 600; }
.calc-total strong { display: block; font: 800 clamp(2.2rem, 4.4vw, 3.2rem)/1.15 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 4px 0 14px; }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .5s var(--ease); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); opacity: .5; z-index: -1; }
.step { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-6px); }
.num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: #fff; font: 800 1.15rem var(--f-head); margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(248,128,0,.8); }
.step p { margin: 0; }

/* ---------- tabs ---------- */
.tabs { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow-x: auto; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: .8em 1.4em; font: 700 .95rem var(--f-body); color: var(--ink-2); cursor: pointer; border-radius: 999px; white-space: nowrap; transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tab-ink { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: transform .4s var(--ease), width .4s var(--ease); }
.tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab-panel.is-active { display: grid; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.tp-copy h3 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(248,128,0,.14); color: var(--orange); font-size: .75rem; font-weight: 800; }
.ticks.light li { color: rgba(255,255,255,.9); }
.ticks.light li::before { background: rgba(252,178,1,.2); color: var(--yellow); }
.tp-art { height: 300px; border-radius: var(--r); background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; position: relative; }

.shop { position: relative; width: 240px; height: 200px; background: #fff; border-radius: 10px 10px 0 0; box-shadow: var(--shadow-lg); margin-top: 50px; }
.awning { position: absolute; left: -14px; right: -14px; top: -34px; height: 44px; border-radius: 8px 8px 22px 22px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 30px, var(--yellow) 30px 60px); }
.board { position: absolute; top: 24px; left: 20px; right: 20px; padding: 10px; text-align: center; border-radius: 8px; background: var(--navy); color: #fff; font: 700 .9rem var(--f-head); }
.door { position: absolute; bottom: 0; left: 50%; width: 70px; height: 96px; transform: translateX(-50%); border-radius: 8px 8px 0 0; background: var(--grad-navy); }
.door::after { content: "AePS · DMT · BBPS"; position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 .66rem var(--f-mono); color: var(--orange); }

.art-network svg { width: 86%; }
.art-network circle { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.art-network .hub { fill: var(--orange); stroke: #fff; stroke-width: 5; filter: drop-shadow(0 6px 14px rgba(248,128,0,.5)); }
.art-network .links path { stroke: var(--navy); stroke-width: 2; stroke-dasharray: 6 6; fill: none; opacity: .5; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

.art-code { background: #0A1033; place-items: stretch; }
.art-code pre { margin: 0; padding: 28px; font: 500 .9rem/1.7 var(--f-mono); color: #C9D3FF; overflow: auto; }
.art-code .k { color: var(--orange); font-weight: 700; }
.art-code .s { color: var(--yellow); }
.art-code .n { color: #7CF5B4; }
.art-code .c { color: #6B76A8; }

/* ---------- security ---------- */
.sec-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.sec-split > div:first-child { position: sticky; top: 110px; }
.lead-sm { font-size: 1.08rem; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat { padding: 22px 22px 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.feat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(.3); transform-origin: top; transition: transform .4s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat:hover::before { transform: scaleY(1); }
.feat b { display: block; font: 700 1.02rem var(--f-head); margin-bottom: 6px; color: var(--navy-ink); }
.feat span { color: var(--ink-2); font-size: .94rem; }

/* ---------- app band ---------- */
.app-band { background: var(--grad-navy); color: #fff; overflow: hidden; padding: 84px 0; }
.app-band h2 { color: #fff; }
.app-band p { color: rgba(255,255,255,.75); }
.app-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); font: 700 1rem var(--f-head); color: #fff; transition: background .25s, transform .25s var(--ease); }
.store:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.store small { display: block; font: 600 .68rem var(--f-body); opacity: .7; }
.store span { line-height: 1.2; }
.app-art { position: relative; height: 320px; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(252,178,1,.35); animation: pulse 4s ease-out infinite; }
.r1 { width: 180px; height: 180px; }
.r2 { width: 260px; height: 260px; animation-delay: 1.3s; }
.r3 { width: 340px; height: 340px; animation-delay: 2.6s; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
.app-mark { position: relative; width: 140px; height: 140px; border-radius: 36px; background: #fff; padding: 14px; box-shadow: 0 20px 50px -10px rgba(248,128,0,.6); animation: bob 6s ease-in-out infinite; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(248,128,0,.45); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 1.02rem var(--f-head); position: relative; color: var(--navy-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--navy); font: 600 1.2rem/1 var(--f-body); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq details p { padding: 0 22px 20px; margin: 0; }

/* ---------- join ---------- */
.join { padding-top: 40px; }
.join-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 36px; background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.join-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: var(--orange); filter: blur(110px); opacity: .45; z-index: -1; }
.join-card h2 { color: #fff; }
.join-card p { color: rgba(255,255,255,.75); }
.join-form { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.field { position: relative; }
.field input, .field select { width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: 14px; font: 600 1rem var(--f-body); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 17px; top: 17px; font-weight: 600; color: var(--ink-2); pointer-events: none; transition: transform .2s var(--ease), font-size .2s, color .2s; transform-origin: left top; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(248,128,0,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select + label { transform: translateY(-10px); font-size: .74rem; color: var(--orange); }
.field.invalid input { border-color: var(--red); }
.field.invalid label { color: var(--red); }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 700; font-size: .92rem; text-align: center; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }

/* ---------- footer ---------- */
.footer { margin-top: 100px; background: var(--navy-ink); color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: rgba(255,255,255,.65); max-width: 340px; }
.legal { font-size: .88rem; }
.legal strong { color: #fff; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: .94rem; transition: color .2s; }
.foot-grid a:hover { color: var(--yellow); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.to-top:hover { color: var(--yellow); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { height: 560px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
  .b-tall { grid-column: span 2; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 0 28px; align-items: center; }
  .b-tall > :not(.qr) { flex: 1 1 260px; }
  .b-tall .qr { margin: 20px 0 0; }
  .earn-inner, .sec-split, .faq-wrap, .app-inner, .join-card { grid-template-columns: 1fr; }
  .sec-split > div:first-child { position: static; }
  .app-art { height: 280px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav-inner { height: 64px; gap: 12px; }
  .hero { margin-top: -64px; padding-top: 96px; }
  html { scroll-padding-top: 72px; }
  .brand img { height: 36px; }
  .nav-cta .btn { display: none; }
  .section { padding: 72px 0; }
  .hero-visual { height: 520px; transform: scale(.88); margin: -30px 0; }
  .fc-1 { left: -6%; } .fc-2 { right: -8%; } .fc-3 { left: -2%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-tall { grid-column: auto; }
  .b-wide { padding-right: 28px; padding-bottom: 200px; }
  .bio { top: auto; bottom: 30px; right: 50%; transform: translateX(50%); width: 130px; height: 130px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: .8em .9em; font-size: .86rem; }
  .tab-panel { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .tp-art { height: 240px; }
  .art-code pre { font-size: .78rem; padding: 18px; }
  .feat-grid { grid-template-columns: 1fr; }
  .calc { padding: 22px; }
  .join-card { padding: 28px 20px; border-radius: 28px; }
  .join-form { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .hero-visual { transform: scale(.78); margin: -60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .rails-track { animation: none; }
}

/* ===== Language switcher (Google Translate widget, same as 24Pay) — assets/js/lang.js ===== */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; }
#google_translate_element { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.lang-switcher { position: relative; display: inline-flex; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 700 13px/1 var(--f-body); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--bg-alt); border-color: var(--navy); }
.lang-btn svg, .lang-check, .lang-prompt-icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200; min-width: 220px; max-height: min(60vh, 420px); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lang-menu[hidden], .lang-more-list[hidden] { display: none; }
.lang-option, .lang-more-option { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 600 13px/1.3 var(--f-body); text-align: left; cursor: pointer; }
.lang-option:hover, .lang-more-option:hover, .lang-more-option.is-cursor { background: var(--bg-alt); }
.lang-option.is-active, .lang-more-option.is-active { color: var(--navy); }
.lang-option-label, .lang-more-option-label { flex: 1; }
.lang-option-code, .lang-more-option-code, .lang-prompt-option-code { font: 600 11px/1 var(--f-mono, monospace); color: var(--ink-2); text-transform: uppercase; }
.lang-check { width: 16px; height: 16px; color: var(--orange); }
.lang-more { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.lang-more-input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: 500 16px var(--f-body); color: var(--ink); background: #fff; }
.lang-more-input:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: transparent; }
.lang-more-list { max-height: 220px; overflow-y: auto; margin-top: 4px; }

html.lang-prompt-open { overflow: hidden; }
.lang-prompt-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 11, 69, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-prompt-card { width: 100%; max-width: 380px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); text-align: center; }
.lang-prompt-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 12px; }
.lang-prompt-icon svg { width: 26px; height: 26px; }
.lang-prompt-title { margin: 0 0 4px; font: 700 20px/1.3 var(--f-head); color: var(--navy-ink); }
.lang-prompt-subtitle { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.lang-prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.lang-prompt-option { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 700 15px var(--f-body); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.lang-prompt-option:hover, .lang-prompt-option.is-active { border-color: var(--navy); background: var(--bg-alt); color: var(--navy); }
.lang-prompt-card .lang-more { margin-top: 12px; text-align: left; }
.lang-prompt-hint { margin: 12px 0 0; font-size: 12px; color: var(--ink-2); }
@media (max-width: 760px) {
  .lang-btn { height: 38px; padding: 0 10px; }
  .lang-menu { position: fixed; top: 70px; right: 12px; left: auto; }
}
