/* ==========================================================================
   NeoMoneyPay — Design System
   One stylesheet for every public page. Light content surfaces with deep
   navy "stage" sections (hero, showcases, footer).
   ========================================================================== */

:root {
  /* Brand */
  --c-cyan: #14d8ff;
  --c-blue: #3b6cff;
  --c-violet: #7b3bff;
  --grad: linear-gradient(115deg, #14d8ff 0%, #3b6cff 52%, #7b3bff 100%);
  --grad-soft: linear-gradient(115deg, rgba(20,216,255,.14), rgba(59,108,255,.14) 52%, rgba(123,59,255,.14));

  /* Ink (dark stage) */
  --ink-950: #040714;
  --ink-900: #070b1f;
  --ink-850: #0b112b;
  --ink-800: #101838;
  --ink-700: #1a2450;
  --on-dark: #eef1ff;
  --on-dark-2: #a9b3d6;
  --on-dark-3: #6f7aa3;
  --line-dark: rgba(255,255,255,.08);
  --glass-dark: rgba(255,255,255,.045);

  /* Light surfaces */
  --bg: #f5f7fc;
  --bg-2: #eef2fa;
  --surface: #ffffff;
  --line: #e4e9f3;
  --text: #0a1028;
  --text-2: #4c5672;
  --text-3: #7a849e;

  /* Status */
  --success: #10c48a;
  --danger: #ef4565;
  --warning: #ffb020;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(10,16,40,.05), 0 2px 8px rgba(10,16,40,.04);
  --shadow: 0 2px 4px rgba(10,16,40,.04), 0 12px 32px -8px rgba(10,16,40,.10);
  --shadow-lg: 0 4px 10px rgba(10,16,40,.05), 0 30px 70px -20px rgba(10,16,40,.22);
  --glow: 0 10px 40px -10px rgba(59,108,255,.55);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(76px, 9.5vw, 132px);
  --nav-h: 76px;

  --ease: cubic-bezier(.2,.75,.15,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(59,108,255,.22); }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
/* Keyboard-only shortcut: stays off-screen unless reached with the Tab key */
.skip-link { position: fixed; left: 50%; top: 0; z-index: 1000; transform: translate(-50%, -150%); background: var(--c-blue); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.skip-link:focus:not(:focus-visible) { transform: translate(-50%, -150%); }
.skip-link:focus-visible { transform: translate(-50%, 0); outline: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--bg-2); }
.section--white { background: var(--surface); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.center { text-align: center; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.0; }
.h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.2; }
.h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text-2); line-height: 1.7; max-width: 62ch; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.center .lead { margin-inline: auto; }

.grad-text, .grad-text .w__i {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-blue);
  background: rgba(59,108,255,.08);
  border: 1px solid rgba(59,108,255,.18);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 0 0 rgba(20,216,255,.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20,216,255,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(20,216,255,0); } }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  isolation: isolate; overflow: hidden;
  will-change: transform;
}
.btn i { font-size: .9em; transition: transform .35s var(--ease); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-up-right { transform: translateX(3px); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --bh: 60px; padding: 0 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(59,108,255,.7), inset 0 1px 0 rgba(255,255,255,.25); background-position: 100% 0; }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--dark { color: #fff; background: var(--text); }
.btn--dark:hover { background: #1a2450; }
.btn--ghost { color: var(--text); background: transparent; border: 1.5px solid rgba(10,16,40,.16); }
.btn--ghost:hover { border-color: var(--text); background: rgba(10,16,40,.03); }
.btn--white { color: var(--text); background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn--white:hover { box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); }
.stage .btn--ghost { background: rgba(255,255,255,.6); backdrop-filter: blur(8px); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--c-blue); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Dark stage ---------- */
.stage { background: linear-gradient(180deg, #f2f6ff 0%, #f7f9fe 100%); color: var(--text); position: relative; isolation: isolate; overflow: hidden; }
.stage.hero { background: radial-gradient(120% 90% at 50% 0%, #eaf3ff 0%, #f4f7fe 55%, var(--bg) 100%); }

.aurora { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: -12%; top: -24%; background: radial-gradient(circle, #7fb6ff 0%, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; right: -10%; top: 0%; background: radial-gradient(circle, #c3a8ff 0%, transparent 65%); animation: drift2 22s ease-in-out infinite alternate; opacity: .3; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: 30%; bottom: -30%; background: radial-gradient(circle, #8beaff 0%, transparent 65%); animation: drift3 20s ease-in-out infinite alternate; opacity: .3; }
@keyframes drift1 { to { transform: translate(10%, 12%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-12%, 10%) scale(.92); } }
@keyframes drift3 { to { transform: translate(-14%, -10%) scale(1.15); } }

.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,108,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,108,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.noise::before { display: none;
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  pointer-events: none;
  transition: transform .5s var(--ease), inset .4s var(--ease);
}
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 10px 0 22px;
  max-width: calc(var(--container) + 20px); margin: 0 auto; width: calc(100% - var(--gutter) * 2 + 20px);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-hidden { transform: translateY(-120%); }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 34px; width: auto; }
.nav__logo .logo-light { display: none; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--text-2);
  transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--text); background: rgba(10,16,40,.05); }
.nav__links a.is-active { color: var(--text); font-weight: 600; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-blue); transform: translateX(-50%); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__login { padding: 9px 14px; font-size: .93rem; font-weight: 600; color: var(--text-2); border-radius: 999px; transition: color .25s; }
.nav__login:hover { color: var(--text); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }

/* Solid (scrolled or on light pages) */
.nav.is-solid .nav__bar, body:not([data-hero="dark"]) .nav .nav__bar {
  background: rgba(255,255,255,.78);
  border-color: rgba(10,16,40,.07);
  box-shadow: 0 10px 40px -12px rgba(10,16,40,.18);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
/* Over dark hero, before scrolling */
body[data-hero="dark"] .nav:not(.is-solid) .logo-dark { display: none; }
body[data-hero="dark"] .nav:not(.is-solid) .logo-light { display: block; }
body[data-hero="dark"] .nav:not(.is-solid) .nav__links a,
body[data-hero="dark"] .nav:not(.is-solid) .nav__login,
body[data-hero="dark"] .nav:not(.is-solid) .nav__toggle { color: rgba(255,255,255,.78); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__links a:hover,
body[data-hero="dark"] .nav:not(.is-solid) .nav__links a.is-active,
body[data-hero="dark"] .nav:not(.is-solid) .nav__login:hover { color: #fff; background: rgba(255,255,255,.08); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__links a.is-active::after { background: var(--c-cyan); }
body[data-hero="dark"] .nav:not(.is-solid) .nav__bar { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

@media (max-width: 1080px) {
  .nav__links, .nav__login { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav__actions .btn { display: none; }
  .nav__logo img { height: 30px; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu .aurora i { opacity: .35; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.menu-open { overflow: hidden; }

.menu-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu-open .nav .nav__bar { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.15;
  color: var(--text);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.menu__links a:hover { color: var(--c-blue); }
.menu__links a.is-active { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .4s; }
.menu__foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transition: opacity .5s .45s; }
.menu-open .menu__foot { opacity: 1; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); pointer-events: none; }

/* Page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .35s ease; display: grid; place-items: center; }
.curtain img { width: 64px; opacity: .9; }
.curtain.is-on { opacity: 1; pointer-events: auto; }
html.is-entering .curtain { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px);
  min-height: min(100vh, 980px);
  display: flex; align-items: center;
}
.hero--compact { min-height: 0; padding-bottom: clamp(70px, 8vw, 110px); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__inner--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__copy .lead { margin-top: 26px; }
.hero__copy .btn-row { margin-top: 38px; }
.hero__inner--center .lead { margin-inline: auto; }
.hero h1 { color: var(--text); }
.hero__copy .display { font-size: clamp(2.6rem, 5.4vw, 4.7rem); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 0; pointer-events: none; }
.hero__trust { margin-top: 40px; display: flex; align-items: center; gap: 14px; color: var(--text-2); font-size: .92rem; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; font-family: var(--font-display); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(1) { background: linear-gradient(135deg,#14d8ff,#3b6cff); }
.avatars span:nth-child(2) { background: linear-gradient(135deg,#ff7a59,#ff3d77); }
.avatars span:nth-child(3) { background: linear-gradient(135deg,#10c48a,#0ea5e9); }
.avatars span:nth-child(4) { background: linear-gradient(135deg,#7b3bff,#c13bff); }
.stars { color: #ffc940; letter-spacing: 2px; font-size: .8rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); z-index: 2; }
.hero__scroll i { width: 22px; height: 36px; border: 1.5px solid rgba(10,16,40,.2); border-radius: 12px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--c-blue); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__scroll { display: none; }
}

/* Split text reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w__i { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.is-split.is-in .w__i { transform: none; }

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="zoom"] { transform: scale(.94); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,108,255,.25); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); }

/* Spotlight border (cursor-follow) */
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(59,108,255,.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(59,108,255,.06), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }


.glass {
  position: relative;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(10,16,40,.07);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 2px rgba(10,16,40,.04), 0 20px 50px -24px rgba(30,50,120,.25);
}

.icon-tile {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.25rem; color: var(--c-blue); background: var(--grad-soft); border: 1px solid rgba(59,108,255,.14);
}
.icon-tile--solid { color: #fff; background: var(--grad); border: 0; box-shadow: var(--glow); }


.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--bg-2); color: var(--text-2); border: 1px solid var(--line); }
.chip--success { background: rgba(16,196,138,.1); color: #079669; border-color: rgba(16,196,138,.25); }
.chip--blue { background: rgba(59,108,255,.08); color: var(--c-blue); border-color: rgba(59,108,255,.2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.check-list { list-style: none; display: grid; gap: 18px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li > i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #fff; background: var(--grad); margin-top: 2px; }
.check-list strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--text); }
.check-list span { color: var(--text-2); font-size: .95rem; }


/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { height: 72px; padding: 0 30px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.marquee__item img { height: 30px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.stat { padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; color: var(--text-2); font-size: .92rem; font-weight: 500; }
.stats--lift { margin-top: clamp(-110px, -8vw, -70px); }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Bento (services overview) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.bento__item { grid-column: span 4; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); }
.bento__item--wide { grid-column: span 8; }
.bento__item--tall { grid-row: span 2; }
.bento__item--half { grid-column: span 6; }
.bento__item .bento__vis { flex: 1; min-height: 120px; position: relative; display: grid; place-items: center; margin: -6px -6px 18px; border-radius: 18px; background: linear-gradient(180deg, var(--bg-2), #fff); overflow: hidden; }
.bento__item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.bento__item p { font-size: .94rem; }
.bento__item .link-arrow { margin-top: 14px; font-size: .92rem; }
@media (max-width: 1024px) {
  .bento__item, .bento__item--wide { grid-column: span 6; }
  .bento__item--tall { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__item, .bento__item--wide, .bento__item--half { grid-column: auto; }
}

/* Mini illustrations used in bento + service sections */
.qr { width: 120px; height: 120px; position: relative; padding: 10px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.qr svg { width: 100%; height: 100%; }
.qr::after { content: ""; position: absolute; left: 6px; right: 6px; height: 3px; top: 10px; border-radius: 3px; background: var(--c-cyan); box-shadow: 0 0 14px 3px rgba(20,216,255,.7); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 10px; } 50% { top: calc(100% - 13px); } }

.finger { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; position: relative; background: linear-gradient(160deg, #1c2a6b, #0b112b); box-shadow: 0 20px 40px -14px rgba(27,42,107,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.finger svg { width: 62px; height: 62px; color: #3fe6ff; filter: drop-shadow(0 0 8px rgba(20,216,255,.6)); }
.finger::before, .finger::after { content: ""; position: absolute; inset: -12px; border-radius: 36px; border: 1.5px solid rgba(20,216,255,.4); animation: ring 2.4s var(--ease) infinite; }
.finger::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.finger .scanline { position: absolute; left: 18px; right: 18px; height: 2px; background: #7ff0ff; box-shadow: 0 0 12px 2px rgba(20,216,255,.8); animation: scan2 2.2s ease-in-out infinite; }
@keyframes scan2 { 0%,100% { top: 22px; } 50% { top: 86px; } }

.gauge { width: 200px; position: relative; }
.gauge svg { width: 100%; overflow: visible; }
.gauge__val { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge__val strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.gauge__val span { font-size: .68rem; letter-spacing: .14em; color: var(--success); font-weight: 700; }
.gauge .arc-fill { stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 2s var(--ease-out); }
.is-in .gauge .arc-fill, .gauge.is-in .arc-fill { stroke-dashoffset: 63; } /* 750 on the 300–900 CIBIL scale */
.gauge .needle { transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform 2s var(--ease-out); }
.is-in .gauge .needle, .gauge.is-in .needle { transform: rotate(45deg); }

.signal { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.signal i { width: 12px; border-radius: 4px; background: var(--grad); animation: bars 1.6s ease-in-out infinite; }
.signal i:nth-child(1) { height: 30%; }
.signal i:nth-child(2) { height: 55%; animation-delay: .15s; }
.signal i:nth-child(3) { height: 78%; animation-delay: .3s; }
.signal i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes bars { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.plane-path { width: 100%; height: 120px; }
.plane-path .dash { stroke-dasharray: 6 8; animation: dashmove 1.2s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -28; } }

.mini-card {
  width: 190px; aspect-ratio: 1.586; border-radius: 16px; padding: 16px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f1a4a, #3b6cff 60%, #7b3bff);
  box-shadow: 0 20px 40px -14px rgba(59,108,255,.6);
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: .7rem;
}
.mini-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.25) 48%, transparent 60%); transform: translateX(-100%); animation: sheen 4s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.mini-card .chipset { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #ffd88a, #c9973a); }
.mini-card .num { font-family: var(--font-mono); letter-spacing: .14em; font-size: .78rem; }

.bills-grid { display: grid; grid-template-columns: repeat(3, 46px); gap: 10px; }
.bills-grid span { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; place-items: center; color: var(--c-blue); animation: pop 3s var(--ease) infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes pop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-6px); box-shadow: var(--shadow); } }

.loan-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.loan-bars i { width: 26px; border-radius: 8px 8px 4px 4px; background: linear-gradient(to top, rgba(59,108,255,.25), var(--c-blue)); transform-origin: bottom; transform: scaleY(.2); transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--i) * .1s); }
.is-in .loan-bars i { transform: scaleY(1); }

/* ---------- Phone mockup (hero) ---------- */
.device-stage { position: relative; height: 620px; perspective: 1400px; }
.phone {
  position: absolute; left: 50%; top: 50%; width: 290px; height: 590px; margin: -295px 0 0 -145px;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #3a4472, #1a2148 50%, #121838);
  box-shadow: 0 50px 100px -30px rgba(30,50,120,.45), 0 0 0 1px rgba(10,16,40,.06), inset 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d;
  z-index: 2;
}
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f6fc; color: var(--text); padding: 56px 16px 16px; display: flex; flex-direction: column; gap: 12px; font-size: .78rem; }
.phone__screen > * { flex-shrink: 0; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05070f; z-index: 3; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top small { color: var(--text-3); display: block; font-size: .68rem; }
.app-top strong { font-family: var(--font-display); font-size: .95rem; }
.app-top .bell { width: 34px; height: 34px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; color: var(--text-2); }
.app-top .bell::after { content: ""; position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); border: 1.5px solid #fff; }
.app-balance { border-radius: 20px; padding: 16px; color: #fff; background: var(--grad); background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; position: relative; overflow: hidden; box-shadow: 0 14px 30px -12px rgba(59,108,255,.7); }
.app-balance::after { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -70px; border-radius: 50%; background: rgba(255,255,255,.14); }
.app-balance small { opacity: .85; font-size: .68rem; }
.app-balance strong { display: block; font-family: var(--font-display); font-size: 1.65rem; letter-spacing: -0.03em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.app-balance .pill { display: inline-flex; gap: 6px; align-items: center; font-size: .64rem; font-weight: 700; background: rgba(255,255,255,.2); padding: 4px 8px; border-radius: 99px; }
.app-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-actions div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .6rem; font-weight: 600; color: var(--text-2); }
.app-actions i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--c-blue); box-shadow: var(--shadow-sm); font-size: .95rem; }
.app-chart { background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.app-chart header { display: flex; justify-content: space-between; font-size: .66rem; color: var(--text-3); }
.app-chart header b { color: var(--text); font-family: var(--font-display); font-size: .8rem; }
.app-chart svg { width: 100%; height: 58px; margin-top: 6px; }
.app-chart .line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s .8s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.app-list { display: flex; flex-direction: column; gap: 8px; }
.txn { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 10px; box-shadow: var(--shadow-sm); }
.txn i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.txn div { flex: 1; min-width: 0; }
.txn b { display: block; font-size: .72rem; font-family: var(--font-display); }
.txn small { color: var(--text-3); font-size: .6rem; }
.txn em { font-style: normal; font-weight: 700; font-family: var(--font-display); font-size: .74rem; }
.txn em.plus { color: #079669; }
.ic-green { background: rgba(16,196,138,.12); color: #079669; }
.ic-blue { background: rgba(59,108,255,.1); color: var(--c-blue); }
.ic-violet { background: rgba(123,59,255,.1); color: var(--c-violet); }
.ic-amber { background: rgba(255,176,32,.14); color: #c07c00; }

/* Floating glass widgets around the phone */
.float { position: absolute; z-index: 3; will-change: transform; }
.float .glass { padding: 14px 16px; border-radius: 18px; display: flex; align-items: center; gap: 12px; color: var(--text); font-size: .82rem; white-space: nowrap; background: rgba(255,255,255,.88); }
.float .glass b { font-family: var(--font-display); display: block; font-size: .92rem; }
.float .glass small { color: var(--text-3); font-size: .72rem; }
.tick { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,196,138,.14); color: #079669; flex-shrink: 0; }
.float--a { left: -4%; top: 16%; }
.float--b { right: -6%; top: 42%; }
.float--c { left: 2%; bottom: 12%; }
.float--card { right: 2%; top: 2%; z-index: 1; transform: rotate(14deg); }
.float--card .mini-card { width: 230px; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob--2 { animation-duration: 7s; animation-delay: -2s; }
.bob--3 { animation-duration: 8s; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.toast-cycle { position: relative; min-width: 236px; height: 62px; }
.toast-cycle > * { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--ease-out); }
.toast-cycle > .is-on { opacity: 1; transform: none; }

.orbit-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px solid rgba(59,108,255,.12); z-index: 0; }
.orbit-glow::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed rgba(59,108,255,.16); animation: spin 60s linear infinite; }
.orbit-glow::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 20px 4px rgba(20,216,255,.6); top: 50%; left: -5px; transform-origin: 265px 0; animation: spin 14s linear infinite; }

@media (max-width: 960px) {
  .device-stage { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .device-stage { height: 520px; transform: scale(.88); transform-origin: top center; margin-bottom: -50px; }
  .float--a { left: -8%; }
  .float--b { right: -10%; }
  .float--card { right: -16%; }
  .orbit-glow { display: none; }
}

/* ---------- Tabs / dashboard ---------- */
.dash { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; }
.dash__tabs { display: flex; flex-direction: column; gap: 10px; }
.dash__tab {
  text-align: left; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px;
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease);
  position: relative; overflow: hidden;
}
.dash__tab:hover { box-shadow: var(--shadow); }
.dash__tab h4 { color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.dash__tab p { font-size: .86rem; line-height: 1.5; }
.dash__tab .icon-tile { width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
.dash__tab.is-active { background: linear-gradient(180deg, rgba(59,108,255,.08), rgba(123,59,255,.05)); border-color: rgba(59,108,255,.4); box-shadow: var(--shadow); }
.dash__tab.is-active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: left; animation: tabprog 7s linear forwards; }
.dash.is-paused .dash__tab.is-active::after { animation-play-state: paused; }
@keyframes tabprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dash__panel { padding: clamp(22px, 3vw, 36px); min-height: 520px; }
.dash__pane { display: none; }
.dash__pane.is-active { display: block; animation: paneIn .6s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dash__pane h4 { color: var(--text); font-size: 1.3rem; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: #079669; background: rgba(16,196,138,.12); padding: 4px 9px; border-radius: 99px; font-family: var(--font-body); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: ping 1.6s infinite; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.kpi h5 { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--text-2); letter-spacing: 0; }
.kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--text); margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.kpi .t { font-size: .78rem; color: #079669; font-weight: 600; }
.ticker { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.ticker h6 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; font-weight: 600; }
.ticker li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-2); }
.ticker li:first-of-type { border-top: 0; }
.ticker li span:last-child { color: #079669; font-family: var(--font-mono); font-size: .8rem; }
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .dash__tabs::-webkit-scrollbar { display: none; }
  .dash__tab { min-width: 240px; scroll-snap-align: start; }
  .dash__tab p { display: none; }
  .dash__panel { min-height: 0; }
}
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }

/* Range slider + calculator */
.calc { display: grid; gap: 18px; }
.calc label { display: flex; justify-content: space-between; color: var(--text-2); font-size: .9rem; margin-bottom: 10px; }
.calc label b { color: var(--text); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c-cyan), var(--c-blue) var(--p, 10%), #e1e7f3 var(--p, 10%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--c-blue); box-shadow: 0 0 0 6px rgba(59,108,255,.25); cursor: grab; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--c-blue); box-shadow: 0 0 0 6px rgba(59,108,255,.25); cursor: grab; }
.calc__result { padding: 24px; border-radius: 20px; background: var(--grad-soft); border: 1px solid rgba(59,108,255,.25); text-align: center; }
.calc__result small { color: var(--text-2); }
.calc__result strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }

/* Ledger */
.ledger-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; margin-bottom: 16px; }
.ledger-form input, .ledger-form select { height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--text); min-width: 0; }
.ledger-form select option { color: var(--text); }
.ledger-form input::placeholder { color: var(--text-3); }
.ledger-form input:focus, .ledger-form select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(59,108,255,.25); }
.ledger { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ledger th { text-align: left; font-weight: 600; color: var(--text-3); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.ledger tr { animation: paneIn .5s var(--ease-out); }
.ledger .give { color: #d92b4b; font-weight: 700; }
.ledger .take { color: #079669; font-weight: 700; }
.ledger button { color: var(--c-blue); font-weight: 600; font-size: .85rem; }
.ledger button:hover { text-decoration: underline; }
@media (max-width: 640px) { .ledger-form { grid-template-columns: 1fr 1fr; } .ledger-form button { grid-column: 1 / -1; } }

/* App simulator */
.sim { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
.sim .phone { position: relative; left: auto; top: auto; margin: 0; width: 260px; height: 470px; border-radius: 40px; }
.sim .phone__screen { border-radius: 30px; padding-top: 40px; transition: background-color .4s, color .4s; }
.sim .phone__screen.is-dark { background: #0b1026; color: #fff; }
.sim .phone__screen.is-dark .app-actions i, .sim .phone__screen.is-dark .txn { background: #151d40; color: #9fb4ff; }
.sim .phone__screen.is-dark .txn b { color: #fff; }
.sim .phone__screen.is-dark .app-actions div { color: #a9b3d6; }
.sim .phone__screen.is-dark .app-top .bell { background: #151d40; color: #a9b3d6; }
.sim .phone__screen.is-dark .app-top .bell::after { border-color: #151d40; }
.sim .app-actions button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .6rem; font-weight: 600; color: inherit; opacity: .85; }
.sim .app-actions button i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--c-blue); box-shadow: var(--shadow-sm); font-size: .9rem; transition: transform .3s var(--ease); }
.sim .app-actions button:hover i { transform: translateY(-3px); }
.sim .phone__screen.is-dark .app-actions button i { background: #151d40; color: #9fb4ff; }
.switch { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
.switch input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 99px; background: #d5dcea; position: relative; cursor: pointer; transition: background-color .3s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked { background: var(--c-blue); }
.switch input:checked::after { transform: translateX(20px); }
.sim-toast { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px 12px; border-radius: 14px; background: #0b1026; color: #fff; font-size: .7rem; display: flex; gap: 8px; align-items: center; transform: translateY(140%); transition: transform .5s var(--ease-out); z-index: 4; }
.sim-toast.is-on { transform: none; }
.sim-toast i { color: #3ff0b4; }
@media (max-width: 760px) { .sim { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- 3D card showcase ---------- */
.showcase { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1600px; }
.big-card {
  width: min(480px, 86vw); aspect-ratio: 1.586; border-radius: 28px; padding: clamp(22px, 4vw, 34px);
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(20,216,255,.55), transparent 50%),
    radial-gradient(120% 140% at 100% 100%, rgba(123,59,255,.8), transparent 55%),
    linear-gradient(135deg, #0b1440, #1a2c8a);
  box-shadow: 0 50px 100px -30px rgba(27,42,138,.75), inset 0 1px 0 rgba(255,255,255,.25);
  display: flex; flex-direction: column; justify-content: space-between;
  transform-style: preserve-3d; will-change: transform;
}
.big-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 9px); pointer-events: none; }
.big-card .glare { position: absolute; inset: -50%; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.35), transparent 35%); pointer-events: none; mix-blend-mode: overlay; }
.big-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.big-card .top img { height: 30px; width: auto; }
.big-card .chipset { width: 54px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #ffe3a3, #c99a3c 60%, #f1d08a); position: relative; }
.big-card .chipset::after { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(120,80,10,.35); border-radius: 4px; }
.big-card .contactless { font-size: 1.5rem; opacity: .85; transform: rotate(90deg); }
.big-card .number { font-family: var(--font-mono); font-size: clamp(1.05rem, 2.6vw, 1.55rem); letter-spacing: .16em; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.big-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: .72rem; color: rgba(255,255,255,.75); letter-spacing: .1em; text-transform: uppercase; }
.big-card .bottom b { display: block; color: #fff; font-size: .95rem; letter-spacing: .06em; margin-top: 4px; font-family: var(--font-display); }
.big-card .brand { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.6rem; letter-spacing: -0.02em; text-transform: none; color: #fff; }
.bubble {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; white-space: nowrap; z-index: 2;
}
.bubble i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); font-size: .8rem; }
.bubble--1 { left: 4%; top: 14%; }
.bubble--2 { right: 3%; top: 22%; }
.bubble--3 { left: 0%; bottom: 20%; }
.bubble--4 { right: 6%; bottom: 10%; }
@media (max-width: 860px) {
  .showcase { min-height: 0; padding: 30px 0; display: flex; flex-direction: column; gap: 14px; }
  .bubble { position: static; }
  .bubbles-m { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
}

/* ---------- Mission / vision ---------- */
.purpose { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.purpose__head { position: sticky; top: 130px; }
.purpose__cards { display: grid; gap: 22px; }
.p-card { display: grid; grid-template-columns: 1fr 200px; gap: 26px; align-items: center; padding: clamp(26px, 3vw, 40px); overflow: hidden; }
.p-card .num { font-family: var(--font-mono); font-size: .8rem; color: var(--c-blue); letter-spacing: .1em; }
.p-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 10px 0 14px; }
.p-card__art { aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; position: relative; overflow: hidden; }
.p-card__art--a { background: radial-gradient(circle at 30% 30%, #3fe6ff, #3b6cff 55%, #1b2a8a); }
.p-card__art--b { background: radial-gradient(circle at 70% 30%, #b98aff, #7b3bff 50%, #2a1b8a); }
.p-card__art i { font-size: 4rem; color: rgba(255,255,255,.95); filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); position: relative; z-index: 1; }
.p-card__art::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.35); animation: spin 30s linear infinite; }
.p-card__art::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: rgba(255,255,255,.12); }
@media (max-width: 960px) { .purpose { grid-template-columns: 1fr; } .purpose__head { position: static; } }
@media (max-width: 560px) { .p-card { grid-template-columns: 1fr; } .p-card__art { width: 140px; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.t-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 28px; }
.t-item__dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transform: translate(-50%, -50%); transition: border-color .5s, box-shadow .5s; z-index: 1; }
.t-item.is-in .t-item__dot { border-color: var(--c-blue); box-shadow: 0 0 0 8px rgba(59,108,255,.14); }
.t-item .card { grid-column: 1; }
.t-item:nth-child(odd of .t-item) .card { grid-column: 2; }
.t-item .phase { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; color: var(--c-blue); }
.t-item h3 { margin: 8px 0 10px; }
@media (max-width: 760px) {
  .timeline__rail { left: 18px; }
  .t-item { grid-template-columns: 1fr; padding-left: 50px; gap: 0; }
  .t-item .card, .t-item:nth-child(odd of .t-item) .card { grid-column: 1; }
  .t-item__dot { left: 18px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__n { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; transition: background .5s, color .5s, transform .5s var(--ease); }
.step.is-in .step__n { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.step h4 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .94rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Big CTA / earnings band ---------- */
.band { border-radius: var(--r-xl); overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); position: relative; isolation: isolate; }
.band { border: 1px solid rgba(59,108,255,.14); box-shadow: var(--shadow-lg); }
.band.stage { background: linear-gradient(120deg, #e7f6ff 0%, #eef0ff 50%, #f6eeff 100%); }
.band .aurora i { opacity: .45; }
.band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.earn { text-align: center; padding: 34px 24px; }
.earn small { color: var(--text-2); display: block; }
.earn strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1.05; margin: 10px 0; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- Service detail sections ---------- */
.svc-nav { position: sticky; top: 92px; z-index: 50; margin-top: -32px; }
.svc-nav__inner { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%; margin: 0 auto; }
.svc-nav__inner::-webkit-scrollbar { display: none; }
.svc-nav a { padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: background-color .3s, color .3s; display: flex; gap: 8px; align-items: center; }
.svc-nav a:hover { color: var(--text); background: var(--bg-2); }
.svc-nav a.is-active { background: var(--text); color: #fff; }
.svc { scroll-margin-top: 150px; }
.svc__visual { position: relative; border-radius: var(--r-xl); min-height: 460px; display: grid; place-items: center; overflow: hidden; padding: 30px; }
.svc__visual--light { background: linear-gradient(160deg, #fff, var(--bg-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.svc__visual--dark { background: var(--bg-2); }

.pay-terminal { width: min(360px, 100%); border-radius: 26px; padding: 22px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.pay-terminal header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pay-terminal header b { font-family: var(--font-display); display: block; }
.pay-terminal header small { color: var(--text-3); font-size: .74rem; }
.pay-amount { padding: 20px; border-radius: 18px; background: var(--bg-2); text-align: center; }
.pay-amount small { font-size: .7rem; letter-spacing: .14em; color: var(--text-3); }
.pay-amount strong { display: block; font-family: var(--font-display); font-size: 2.6rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0; }
.pay-feed { margin-top: 14px; display: grid; gap: 8px; }
.pay-feed .txn { box-shadow: none; border: 1px solid var(--line); }
.pay-apps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay-apps span { font-size: .74rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--bg-2); color: var(--text-2); }

.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.op { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.op:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(59,108,255,.3); }
.op b { display: block; font-family: var(--font-display); }
.op small { color: var(--text-3); font-size: .78rem; }
.op .logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem; }
.recharge-box { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 16px; }
.plan { padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); text-align: left; transition: border-color .3s, background-color .3s; }
.plan b { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.plan small { color: var(--text-3); font-size: .74rem; }
.plan.is-active, .plan:hover { border-color: var(--c-blue); background: rgba(59,108,255,.05); }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; position: relative; overflow: hidden; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,108,255,.25); }
.tile .icon-tile { margin-bottom: 18px; }
.tile h4 { margin-bottom: 6px; }
.tile p { color: var(--text-2); font-size: .9rem; line-height: 1.55; }
.stage .tile.glass { background: rgba(255,255,255,.85); }
@media (max-width: 1024px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

.loan-card { display: flex; flex-direction: column; }
.loan-card .range-amt { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; margin: 6px 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loan-card .tag { align-self: flex-start; margin-bottom: 18px; }

/* ---------- Products ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); }
.product + .product { margin-top: 28px; }
.product--rev .product__media { order: 2; }
.product__media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.4; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, var(--bg-2) 70%); }
.product__media img { width: 86%; height: 86%; object-fit: contain; transition: transform 1s var(--ease-out); filter: drop-shadow(0 30px 40px rgba(10,16,40,.25)); }
.product:hover .product__media img { transform: scale(1.04) rotate(-1deg); }
.product__media .badge { position: absolute; left: 18px; top: 18px; }
.product h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 14px 0; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 30px; }
.spec { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-weight: 600; font-size: .9rem; }
.spec i { color: var(--c-blue); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product--rev .product__media { order: 0; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field__label { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field__label .req { color: var(--danger); }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: .9rem; pointer-events: none; transition: color .25s; }
.input-wrap > i ~ .input { padding-left: 44px; }
.input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  font-size: .98rem;
}
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a849e' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input::placeholder { color: #a3abbf; }
.input:hover { border-color: #cfd6e6; }
.input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(59,108,255,.12); }
.input-wrap:focus-within > i { color: var(--c-blue); }
.input:user-invalid { border-color: var(--danger); }
.toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; color: var(--text-3); }
.toggle-pass:hover { color: var(--text); background: var(--bg-2); }
.form-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; flex-wrap: wrap; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text-2); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--c-blue); }
.form-alert { display: none; padding: 14px 16px; border-radius: 14px; font-size: .92rem; font-weight: 500; align-items: flex-start; gap: 10px; }
.form-alert.is-on { display: flex; animation: paneIn .4s var(--ease-out); }
.form-alert--error { background: rgba(239,69,101,.08); color: #c0223f; border: 1px solid rgba(239,69,101,.25); }
.form-alert--success { background: rgba(16,196,138,.08); color: #057a55; border: 1px solid rgba(16,196,138,.28); }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 1.5px dashed #cdd5e6; background: var(--bg); cursor: pointer; transition: border-color .25s, background-color .25s; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--c-blue); background: rgba(59,108,255,.04); }
.file-drop.has-file { border-style: solid; border-color: var(--success); background: rgba(16,196,138,.05); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop b { display: block; font-family: var(--font-display); }
.file-drop small { color: var(--text-3); }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: var(--r-xl); }

/* ---------- Auth (login/register) ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.auth__art { position: relative; overflow: hidden; padding: 40px clamp(30px, 5vw, 70px); display: flex; flex-direction: column; justify-content: space-between; }
.auth__art h2 { color: var(--text); font-size: clamp(2rem, 3.4vw, 3rem); margin-top: 26px; }
.auth__art .lead { margin-top: 16px; }
.auth__stage { position: relative; height: 360px; margin: 20px 0; }
.auth__stage .mini-card { position: absolute; width: 270px; }
.auth__stage .mini-card:nth-child(1) { left: 6%; top: 40px; transform: rotate(-10deg); background: linear-gradient(135deg, #0f1a4a, #14a3ff); }
.auth__stage .mini-card:nth-child(2) { left: 26%; top: 90px; transform: rotate(4deg); z-index: 1; }
.auth__stage .float .glass { padding: 12px 14px; }
.auth__quote { display: flex; gap: 14px; align-items: center; color: var(--text-2); font-size: .92rem; }
.auth__panel { display: flex; flex-direction: column; padding: 32px clamp(20px, 5vw, 80px); }
.auth__panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth__panel-top img { height: 32px; width: auto; }
.auth__form { width: 100%; max-width: 460px; margin: auto; padding: 40px 0; }
.auth__form h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
.auth__form > p { color: var(--text-2); margin: 10px 0 30px; }
.auth__switch { text-align: center; margin-top: 24px; color: var(--text-2); font-size: .94rem; }
.auth__switch a { color: var(--c-blue); font-weight: 700; }
.auth__admin { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .86rem; color: var(--text-3); }
.auth__admin:hover { color: var(--text); }
.auth__legal { text-align: center; font-size: .8rem; color: var(--text-3); }
.auth__legal a { text-decoration: underline; text-underline-offset: 2px; }
.success-state { display: none; text-align: center; padding: 20px 0; }
.success-state.is-on { display: block; animation: paneIn .6s var(--ease-out); }
.success-state .big-tick { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,196,138,.12); color: var(--success); font-size: 2rem; position: relative; }
.success-state .big-tick::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(16,196,138,.3); animation: ring 2s var(--ease) infinite; }
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth__art { display: none; }
}

/* ---------- Accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(59,108,255,.25); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: .8rem; transition: transform .4s var(--ease), background-color .3s, color .3s; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--c-blue); color: #fff; }
.faq .faq__body { padding: 0 24px 22px; color: var(--text-2); }
.faq .faq__body a { color: var(--c-blue); font-weight: 600; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(4,7,20,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-on { opacity: 1; visibility: visible; }
.modal__box { width: min(440px, 100%); background: #fff; border-radius: var(--r-xl); padding: 40px 32px 32px; text-align: center; transform: translateY(20px) scale(.96); transition: transform .5s var(--ease-out); box-shadow: var(--shadow-lg); }
.modal.is-on .modal__box { transform: none; }
.modal__box h3 { font-size: 1.6rem; margin-bottom: 10px; }
.modal__box p { color: var(--text-2); margin-bottom: 26px; }

/* ---------- Contact ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.info-card h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--text); font-weight: 500; line-height: 1.6; font-size: .96rem; }
.info-card a:hover { color: var(--c-blue); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Job cards ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.job h3 { font-size: 1.4rem; margin-bottom: 10px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-2); font-size: .9rem; margin-bottom: 14px; }
.job .meta span { display: inline-flex; gap: 8px; align-items: center; }
.job .meta i { color: var(--c-blue); }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.toc { position: sticky; top: 120px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 150px); overflow: auto; }
.toc h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-family: var(--font-body); font-weight: 600; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; font-size: .87rem; color: var(--text-2); line-height: 1.4; border-left: 2px solid transparent; transition: background-color .25s, color .25s, border-color .25s; }
.toc a:hover { color: var(--text); background: var(--bg-2); }
.toc a.is-active { color: var(--c-blue); background: rgba(59,108,255,.06); border-left-color: var(--c-blue); font-weight: 600; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 5vw, 64px); font-size: 1.02rem; color: #2b3350; line-height: 1.8; min-width: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--text); margin: 2.4em 0 .7em; scroll-margin-top: 120px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; color: var(--text); margin: 1.8em 0 .6em; scroll-margin-top: 120px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--c-blue); }
.prose strong { color: var(--text); }
.prose a { color: var(--c-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(59,108,255,.35); word-break: break-word; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose .callout, .prose blockquote { margin: 1.4em 0; padding: 18px 20px; border-radius: 16px; background: rgba(59,108,255,.05); border: 1px solid rgba(59,108,255,.18); }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, #f1f5fd, #e9eef9); color: var(--text-2); position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.footer .aurora i { opacity: .25; }
.footer__cta { padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer__cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer__cta h2 { color: var(--text); font-size: clamp(2.2rem, 5vw, 4rem); max-width: 14ch; letter-spacing: -0.04em; }
.footer__cta p { margin-top: 18px; max-width: 52ch; }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: clamp(50px, 6vw, 80px) 0 50px; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; font-size: .94rem; }
.footer h4 { color: var(--text); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .25s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--c-blue); transform: translateX(3px); }
.footer__contact { margin-top: 22px; display: grid; gap: 8px; font-size: .9rem; }
.footer__contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer__contact a:hover { color: var(--c-blue); }
.footer__contact i { color: var(--c-blue); width: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.footer__bottom a:hover { color: var(--c-blue); }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__badges span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .78rem; }
.footer__badges i { color: var(--success); }
.footer__word { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 15.5vw, 15rem); letter-spacing: -0.06em; line-height: .78; text-align: center; white-space: nowrap; margin-bottom: -.06em; background: linear-gradient(180deg, rgba(59,108,255,.12), rgba(59,108,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }
@media (max-width: 960px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__main { grid-template-columns: 1fr; } }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease), background-color .25s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-blue); }

/* ---------- Misc ---------- */
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(59,108,255,.5), transparent); }
.badge-row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; color: var(--text-2); font-size: .9rem; }
.badge-row span { display: inline-flex; gap: 8px; align-items: center; }
.badge-row i { color: var(--success); }


.photo { border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.photo.is-in img { transform: scale(1); }
.photo__tag { position: absolute; left: 18px; bottom: 18px; }

.orbit { position: relative; width: min(560px, 90vw); aspect-ratio: 1; margin: 0 auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(59,108,255,.14); }
.orbit__ring--2 { inset: 17%; border-style: dashed; border-color: rgba(59,108,255,.2); }
.orbit__ring--3 { inset: 34%; background: radial-gradient(circle, rgba(59,108,255,.14), transparent 70%); border: 0; }
.orbit__core { position: absolute; inset: 39%; border-radius: 30%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px -15px rgba(59,108,255,.45); }
.orbit__core img { width: 64%; }
.orbit__spin { position: absolute; inset: 0; animation: spin 50s linear infinite; }
.orbit__spin--rev { inset: 17%; animation-duration: 38s; animation-direction: reverse; }
.orbit__node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.orbit__node span { position: absolute; transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
.orbit__spin .orbit__node span { animation: counter 50s linear infinite; }
.orbit__spin--rev .orbit__node span { animation: counter 38s linear infinite reverse; }
@keyframes counter { from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); } to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); } }
.orbit__node b { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; white-space: nowrap; font-family: var(--font-display); font-size: .85rem; color: var(--text); background: rgba(255,255,255,.92); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(30,50,120,.3); }
.orbit__node b i { color: var(--c-blue); }
@media (max-width: 560px) { .orbit__node b { font-size: .7rem; padding: 7px 10px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .w__i { transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Late additions ---------- */
.svc-nav { transition: top .5s var(--ease); }
.nav.is-hidden ~ main .svc-nav { top: 16px; }
.auth__art { position: sticky; top: 0; height: 100vh; min-height: 640px; border-right: 1px solid var(--line); }
.auth__art > * { position: relative; }
.auth__art > .hero__net, .auth__art > .aurora, .auth__art > .grid-lines { position: absolute; }
@media (max-width: 960px) {
  .stats--lift { margin-top: -40px; }
  .hide-m { display: none !important; }
}

/* ===================== Chat assistant ===================== */
/* A girl with a headset waves from the bottom-right corner; tapping her opens the
   iamkratu.ai chat (iframe). Same design as the HandLoan.ai assistant. */
.assistant { --gw: 120px; --gh: 90px; position: fixed; right: 4px; bottom: 0; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; }
.assistant > * { pointer-events: auto; }
@media (min-width: 900px) { .assistant { --gw: 176px; --gh: 132px; right: 16px; } }
.assistant--open { z-index: 150; } /* open chat sits above the top bar (100); page curtain (200) and modals (300) stay above */

.assistant__avatar { position: relative; width: var(--gw); height: var(--gh); padding: 0; border: 0; background: transparent; cursor: pointer; transition: transform .25s var(--ease); }
.assistant__avatar:hover { transform: translateY(-3px); }
.assistant__avatar:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-radius: 12px; }
.assistant__avatar::before { content: ""; position: absolute; left: 22%; right: -4%; bottom: 0; height: 70%; background: radial-gradient(ellipse at 62% 100%, rgba(59,108,255,.28), transparent 68%); pointer-events: none; }
.assistant__media { position: absolute; inset: 0; filter: drop-shadow(0 4px 10px rgba(10,16,40,.26)); }
.assistant__media img, .assistant__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom right; transition: opacity .3s; }
.assistant__media video { opacity: 0; }
.assistant__media.is-playing video { opacity: 1; }
.assistant__media.is-playing img { opacity: 0; }
.assistant__badge { position: absolute; right: 6px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(59,108,255,.7); }
@media (min-width: 900px) { .assistant__badge { width: 32px; height: 32px; } }

/* the chat (iframe) */
.assistant__chat { display: none; flex-direction: column; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - var(--gh) - 40px)); height: min(600px, calc(100dvh - var(--gh) - 40px)); margin-right: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); transform-origin: bottom right; }
.assistant__chat.is-open { display: flex; animation: assistant-pop .3s ease-out; }
.assistant__chat-body { position: relative; flex: 1; min-height: 0; background: #0f172a; }
.assistant__chat-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.assistant__chat-note { flex: none; margin: 0; padding: 8px 14px 10px; border-top: 1px solid var(--line); background: #fff; color: var(--text-3); font-size: .76rem; line-height: 1.45; }
.assistant__chat-note strong { color: var(--text); }
.assistant__chat-note a { color: var(--c-blue); }
.assistant__chat-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #cbd8ee; font-size: .95rem; }
@media (max-width: 480px) {
  .assistant__chat { width: calc(100vw - 16px); height: calc(100vh - var(--gh) - 16px); height: calc(100dvh - var(--gh) - 16px); margin-right: 4px; }
}

/* speech bubble beside her face */
.assistant__bubble { position: absolute; right: calc(var(--gw) * .5); bottom: calc(var(--gh) * .78); width: max-content; max-width: min(250px, calc(100vw - var(--gw) * .5 - 24px)); padding: 12px 34px 12px 16px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--text); box-shadow: 0 12px 34px rgba(10,16,40,.16); border: 1px solid var(--line); font-size: .93rem; font-weight: 600; line-height: 1.4; transform-origin: bottom right; }
.assistant__bubble.is-pop { animation: assistant-pop .35s cubic-bezier(.2,.9,.3,1.2); }
.assistant__bubble::after { content: ""; position: absolute; right: -9px; bottom: 6px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(1px 1px 0 var(--line)); }
.assistant__bubble a, .assistant__bubble-btn { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.assistant__bubble a:hover, .assistant__bubble-btn:hover { color: var(--c-blue); }
.assistant__bubble-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--text-3); cursor: pointer; }
.assistant__bubble-x:hover { background: var(--line); color: var(--text); }
.assistant__bubble-x svg { width: 14px; height: 14px; }
.assistant__typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.assistant__typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); animation: assistant-dot 1s ease-in-out infinite; }
.assistant__typing i:nth-child(2) { animation-delay: .15s; }
.assistant__typing i:nth-child(3) { animation-delay: .3s; }

@keyframes assistant-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes assistant-dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .assistant__bubble.is-pop, .assistant__chat.is-open { animation: none; } .assistant__typing i { animation: none; opacity: .7; } }

/* keep the back-to-top button above her */
.to-top { bottom: 104px; right: 22px; }
@media (min-width: 900px) { .to-top { bottom: 148px; right: 30px; } }

/* ===================== AEPS videos ===================== */
/* Slideshow inside the AEPS section (plays silently while on screen) */
.vid-card { min-height: 0; padding: 0; display: block; background: #0b1230; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vid-card__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1230; }
.vid-card__note { margin: 0; padding: 12px 18px; width: 100%; max-width: none; background: #0b1230; color: #aab6d6; font-size: .82rem; display: flex; gap: 8px; align-items: center; }
.vid-card__note i { color: var(--c-cyan); }

/* "How AEPS works": sketch video + clickable steps */
.aeps-how { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.vplayer { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; margin-top: 8px; }
.vplayer__stage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #e9e6df; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vplayer__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e9e6df; }
.vplayer__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(10,16,40,0) 40%, rgba(10,16,40,.35)); color: #fff; font-family: var(--font-display); font-weight: 700; transition: opacity .3s; }
.vplayer__play i { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); font-size: 1.7rem; padding-left: 5px; box-shadow: 0 18px 40px -12px rgba(59,108,255,.8), 0 0 0 8px rgba(255,255,255,.35); transition: transform .3s var(--ease); }
.vplayer__play span { padding: 6px 14px; border-radius: 99px; background: rgba(10,16,40,.55); backdrop-filter: blur(6px); font-size: .9rem; }
.vplayer__play:hover i { transform: scale(1.08); }
.vplayer__play:focus-visible { outline: 3px solid var(--c-blue); outline-offset: -6px; }
.vplayer.is-started .vplayer__play { opacity: 0; pointer-events: none; }

.vplayer__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vplayer__steps button { --p: 0; position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-align: left; cursor: pointer; overflow: hidden; font: inherit; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.vplayer__steps button:hover { border-color: rgba(59,108,255,.45); transform: translateX(3px); }
.vplayer__steps button:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.vplayer__steps b { display: block; font-family: var(--font-display); font-size: .97rem; line-height: 1.3; }
.vplayer__steps small { display: block; margin-top: 2px; color: var(--text-3); font-size: .82rem; }
.vplayer__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); color: var(--c-blue); font-weight: 700; font-family: var(--font-display); transition: background .25s, color .25s; }
.vplayer__time { font-style: normal; font-family: var(--font-mono, monospace); font-size: .78rem; color: var(--text-3); }
.vplayer__steps button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: var(--grad); }
.vplayer__steps button.is-active { border-color: rgba(59,108,255,.55); box-shadow: 0 12px 30px -16px rgba(59,108,255,.6); }
.vplayer__steps button.is-active .vplayer__n { background: var(--grad); color: #fff; }
.vplayer__steps button.is-done .vplayer__n { background: rgba(16,196,138,.15); color: #079669; }
.vplayer__fine { margin: 16px 0 0; text-align: center; color: var(--text-3); font-size: .82rem; }
@media (max-width: 960px) {
  .vplayer { grid-template-columns: 1fr; }
  .vplayer__steps { grid-template-columns: 1fr 1fr; }
  .vplayer__steps small, .vplayer__time { display: none; }
}
@media (max-width: 560px) {
  .vplayer__steps { grid-template-columns: 1fr; }
  .vplayer__play i { width: 68px; height: 68px; font-size: 1.4rem; }
}

/* AEPS section: heading, then the slideshow large and centred, then the four services in a row */
.aeps-split { display: grid; grid-template-columns: 1fr; row-gap: clamp(28px, 4vw, 44px); justify-items: center; }
.aeps-split__head { max-width: 780px; text-align: center; }
.aeps-split__head .eyebrow { margin-inline: auto; }
.aeps-split > .vid-card { width: min(1040px, 100%); border-radius: 28px; }
.aeps-split__body { width: 100%; text-align: center; }
.aeps-split__body .grid { text-align: left; }
@media (min-width: 961px) {
  .aeps-split__body .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .aeps-split__head { text-align: left; }
  .aeps-split__head .eyebrow { margin-inline: 0; }
  .aeps-split > .vid-card { border-radius: 20px; }
  .aeps-split__body { text-align: left; }
}

/* ===================== Disclosure labels (review fixes) ===================== */
.demo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: rgba(255,176,32,.16); color: #9a5b00; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.demo-tag--stage { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 5; box-shadow: 0 6px 16px -8px rgba(10,16,40,.3); background: #fff4dd; }
.demo-note { margin: 14px 0 0; font-size: .8rem; color: var(--text-3); }
.facilitator-note { display: flex; gap: 10px; align-items: flex-start; max-width: 900px; margin: 18px auto 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text-2); font-size: .85rem; line-height: 1.5; }
.facilitator-note i { color: var(--c-blue); margin-top: 3px; }

/* "Ask for your plan sheet" card (replaces the earnings headline) */
.plan-list { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; text-align: left; }
.plan-list li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; color: var(--text); }
.plan-list i { color: var(--success); font-size: .85rem; }

/* Products: what to ask for before buying a device */
.buy-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px 24px; border: 1px dashed rgba(59,108,255,.4); border-radius: var(--r-lg, 20px); background: rgba(59,108,255,.04); }
.buy-note h4 { margin: 0 0 6px; font-family: var(--font-display); }
.buy-note p { margin: 0; color: var(--text-2); }

/* Contact: urgent failed-transaction route */
.info-card--urgent { border-color: rgba(255,122,89,.45); background: linear-gradient(180deg, #fff, #fff7f3); }
.info-card--urgent .icon-tile { background: rgba(255,122,89,.14); color: #e2552e; }

/* ===================== Home video gallery: main player + row of short videos ===================== */
.vgallery { max-width: 1060px; margin: 0 auto; }
.vgallery__main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #e9e6df; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vgallery__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e9e6df; }
.vgallery.is-started .vplayer__play { opacity: 0; pointer-events: none; }
.vgallery__now { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 14px 4px 0; }
.vgallery__now b { font-family: var(--font-display); font-size: 1.1rem; }
.vgallery__now span { color: var(--text-3); font-size: .92rem; }
.vgallery__thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
.vthumb { flex: 0 1 calc((100% - 3 * 14px) / 4); min-width: 150px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); font: inherit; }
.vthumb__img { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 8px 22px -14px rgba(10,16,40,.45); transition: border-color .25s, transform .25s var(--ease); }
.vthumb__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vthumb__img::after { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1rem; background: radial-gradient(circle, rgba(10,16,40,.45) 0 22px, transparent 23px); opacity: .9; transition: opacity .25s; }
.vthumb__time { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(10,16,40,.72); color: #fff; font-style: normal; font-size: .72rem; font-family: var(--font-mono, monospace); }
.vthumb__title { display: block; margin-top: 8px; font-family: var(--font-display); font-size: .92rem; line-height: 1.3; }
.vthumb:hover .vthumb__img { transform: translateY(-3px); }
.vthumb:focus-visible { outline: none; }
.vthumb:focus-visible .vthumb__img { border-color: var(--c-blue); }
.vthumb.is-active .vthumb__img { border-color: var(--c-blue); box-shadow: 0 10px 26px -12px rgba(59,108,255,.7); }
.vthumb.is-active .vthumb__img::after { content: "\f028"; background: radial-gradient(circle, rgba(59,108,255,.8) 0 22px, transparent 23px); }
.vthumb.is-active .vthumb__title { color: var(--c-blue); }
@media (max-width: 700px) {
  .vthumb { flex-basis: calc((100% - 14px) / 2); min-width: 0; }
}
