/* ============================================================
   Octo Member — Design System
   Fonts: Montserrat (primary), Lora (classic serif accent)
   Palette: light red · blue · white  (fintech / trust)
   ============================================================ */

:root {
  /* ---- Brand color scales ---- */
  --blue-950: #0B1F45;
  --blue-900: #102A54;
  --blue-800: #163C7E;
  --blue-700: #1B47A8;
  --blue-600: #2A5FE0;   /* primary blue */
  --blue-500: #3F74F0;
  --blue-400: #6E95F4;
  --blue-300: #94B0F8;
  --blue-200: #BBCFFB;
  --blue-100: #E5EDFF;
  --blue-50:  #F2F6FF;

  --red-600: #F03E50;
  --red-500: #FF5C6A;    /* light red accent */
  --red-400: #FF7E8A;
  --red-300: #FFA4AC;
  --red-100: #FFE4E7;
  --red-50:  #FFF1F2;

  /* ---- Neutrals ---- */
  --ink:      #0F1C38;   /* deep navy ink */
  --ink-2:    #2A3654;
  --muted:    #5C6B88;
  --muted-2:  #8A97B2;
  --line:     #E4EAF4;
  --line-2:   #EFF3FA;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F8FE;
  --bg-soft2: #EEF3FC;
  --white:    #FFFFFF;

  /* ---- Semantic ---- */
  --primary:  var(--blue-600);
  --accent:   var(--red-500);
  --ok:       #1FA971;
  --warn:     #E8A33D;

  /* ---- Typography ---- */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  /* Classic display — Kristolit 2.0 (with Pofo + Lora fallback) */
  --font-classic: "Kristolit 2.0", "Pofo", "Lora", Georgia, serif;

  /* ---- Radius ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --sh-sm: 0 1px 2px rgba(15,28,56,.06), 0 2px 6px rgba(15,28,56,.05);
  --sh-md: 0 8px 24px rgba(15,28,56,.08), 0 2px 6px rgba(15,28,56,.05);
  --sh-lg: 0 24px 60px rgba(16,42,84,.14), 0 8px 22px rgba(16,42,84,.08);
  --sh-blue: 0 18px 40px rgba(42,95,224,.28);
  --sh-red: 0 16px 34px rgba(255,92,106,.34);

  /* ---- Layout ---- */
  --maxw: 1180px;
  --gut: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); display: inline-block; }
.eyebrow--center { justify-content: center; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title { font-family: var(--font-classic); font-weight: 600; font-size: clamp(31px, 4vw, 48px); color: var(--ink); margin-top: 16px; text-wrap: balance; letter-spacing: -.01em; }
.section-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin-top: 18px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { transform: translateY(-2px); background: var(--red-600); box-shadow: 0 20px 40px rgba(255,92,106,.42); }
.btn--blue { background: var(--blue-600); color: #fff; box-shadow: var(--sh-blue); }
.btn--blue:hover { transform: translateY(-2px); background: var(--blue-700); }
.btn--ghost { background: rgba(255,255,255,.0); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-700); background: var(--blue-50); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(15,28,56,.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand b { color: var(--blue-600); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .18s; position: relative; }
.nav__links a:hover { color: var(--blue-600); }
.nav__right { display: flex; align-items: center; gap: 16px; }

/* language switcher — classic dropdown */
.lang-select { position: relative; display: inline-flex; align-items: center; }
.lang-select > .globe { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.lang-select > .chev { position: absolute; right: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.lang-select select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 34px 9px 36px; cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.lang-select select:hover { border-color: var(--blue-200); }
.lang-select select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav__burger svg { width: 20px; height: 20px; }

/* mobile menu — always display:flex so CSS transitions fire correctly */
.mobile-menu {
  position: fixed; inset: 64px 0 auto 0; z-index: 55; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
  display: flex; flex-direction: column; padding: 16px var(--gut) 24px; gap: 2px;
  transform: translateY(-10px); opacity: 0;
  visibility: hidden; pointer-events: none;
  transition: transform .26s cubic-bezier(.4,0,.2,1), opacity .26s ease, visibility 0s .26s;
}
.mobile-menu.open {
  transform: translateY(0); opacity: 1;
  visibility: visible; pointer-events: auto;
  transition: transform .26s cubic-bezier(.4,0,.2,1), opacity .26s ease, visibility 0s 0s;
}
.mobile-menu a:not(.btn) {
  padding: 14px 8px; font-weight: 600; font-size: 16px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2); transition: color .18s;
}
.mobile-menu a:not(.btn):hover { color: var(--blue-600); }
.mobile-menu a:not(.btn):last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }
.mobile-menu__lang { padding: 14px 8px 10px; border-bottom: 1px solid var(--line-2); }
.mobile-menu__lang .lang-select { width: 100%; }
.mobile-menu__lang .lang-select select { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: clip; padding: clamp(60px, 8vw, 96px) 0 clamp(56px, 7vw, 90px); }
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-classic);
  font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06; color: var(--ink); letter-spacing: -.02em;
  font-weight: 600; text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--blue-600), var(--red-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin-top: 24px; max-width: 560px; line-height: 1.6; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--ok); flex: none; }

/* ============================================================
   Aurora keyframe animations
   ============================================================ */
@keyframes aurora-morph {
  0%,100% { border-radius: 46% 54% 60% 40% / 42% 40% 60% 58%; transform: rotate(-9deg) skewY(-6deg) scale(1); }
  25%      { border-radius: 64% 36% 44% 56% / 56% 30% 70% 44%; transform: rotate(-5deg) skewY(-9deg) scale(1.04); }
  55%      { border-radius: 36% 64% 72% 28% / 34% 60% 40% 66%; transform: rotate(-13deg) skewY(-3deg) scale(.97); }
  80%      { border-radius: 54% 46% 52% 48% / 48% 52% 48% 52%; transform: rotate(-7deg) skewY(-7deg) scale(1.02); }
}
@keyframes aurora-hue {
  0%,100% { filter: blur(10px) hue-rotate(0deg) brightness(1); }
  40%      { filter: blur(13px) hue-rotate(22deg) brightness(1.06); }
  70%      { filter: blur(9px)  hue-rotate(-14deg) brightness(.97); }
}
@keyframes aurora-morph2 {
  0%,100% { border-radius: 60% 40% 52% 48% / 50% 46% 54% 50%; transform: rotate(6deg) skewY(4deg) scale(1); }
  30%      { border-radius: 42% 58% 34% 66% / 64% 32% 68% 36%; transform: rotate(11deg) skewY(2deg) scale(1.06); }
  65%      { border-radius: 70% 30% 62% 38% / 38% 62% 38% 62%; transform: rotate(2deg) skewY(7deg) scale(.95); }
}
@keyframes aurora-hue2 {
  0%,100% { filter: blur(26px) hue-rotate(0deg) brightness(1); }
  50%      { filter: blur(30px) hue-rotate(-22deg) brightness(1.08); }
}
@keyframes blob-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.07); }
}
@keyframes blob-float2 {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(18px) scale(.93); }
}
@keyframes rings-pulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .55; transform: scale(1.04); }
}

/* abstract Stripe-like aurora shape */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.aurora__sheet {
  position: absolute; top: -34%; right: -16%; width: 74%; height: 144%;
  background: linear-gradient(122deg, #2A5FE0 0%, #5B86EF 24%, #A9BEF8 40%, #FFC2C8 58%, #FF8089 76%, #F03E50 100%);
  border-radius: 46% 54% 60% 40% / 42% 40% 60% 58%;
  filter: blur(10px);
  transform: rotate(-9deg) skewY(-6deg);
  opacity: .85;
  -webkit-mask-image: radial-gradient(125% 120% at 72% 32%, #000 48%, transparent 100%);
          mask-image: radial-gradient(125% 120% at 72% 32%, #000 48%, transparent 100%);
  animation: aurora-morph 16s ease-in-out infinite, aurora-hue 11s ease-in-out infinite;
}
.aurora__sheet2 {
  top: -20%; right: 2%; width: 52%; height: 120%;
  background: linear-gradient(140deg, #3F74F0 0%, #7FA0F3 45%, #C9D6FB 80%, transparent 100%);
  border-radius: 60% 40% 52% 48% / 50% 46% 54% 50%;
  transform: rotate(6deg) skewY(4deg);
  filter: blur(26px);
  opacity: .5;
  -webkit-mask-image: radial-gradient(120% 110% at 60% 40%, #000 40%, transparent 100%);
          mask-image: radial-gradient(120% 110% at 60% 40%, #000 40%, transparent 100%);
  animation: aurora-morph2 20s ease-in-out infinite, aurora-hue2 14s ease-in-out infinite;
  animation-delay: -5s, -3s;
}
.aurora__rings { top: -120px; right: -90px; width: 620px; height: 620px; opacity: .4;
  animation: rings-pulse 8s ease-in-out infinite; }
.aurora__rings circle { stroke: var(--blue-300); }
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(54px); opacity: .5; }
.aurora__blob.b1 { width: 380px; height: 380px; top: -110px; right: 6%; background: radial-gradient(circle at 30% 30%, #6E95F4, transparent 70%);
  animation: blob-float 10s ease-in-out infinite; }
.aurora__blob.b2 { width: 320px; height: 320px; top: 130px; right: 28%; background: radial-gradient(circle at 50% 50%, #FF9AA2, transparent 70%);
  animation: blob-float2 13s ease-in-out infinite; animation-delay: -4s; }
.aurora__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 20% 30%, #000, transparent 75%);
          mask-image: radial-gradient(70% 60% at 20% 30%, #000, transparent 75%);
  opacity: .5;
}

/* floating real member phone over the dashboard */
.hero-phone {
  position: absolute; left: -46px; bottom: -40px; width: 168px; z-index: 4;
  transform: rotate(-4deg);
  filter: drop-shadow(0 28px 46px rgba(16,42,84,.28));
}
.hero-phone .device { border-radius: 26px; padding: 7px; background: #0B1F45; }
.hero-phone .device::before { width: 52px; height: 5px; top: 13px; }
.hero-phone .device img { border-radius: 20px; }
@media (max-width: 1024px) { .hero-phone { left: -20px; width: 150px; } }
@media (max-width: 760px) { .hero-phone { width: 120px; left: -8px; bottom: -24px; } }

/* ============================================================
   Browser / Dashboard mockup
   ============================================================ */
.mock { position: relative; }
.browser {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #fff; border-bottom: 1px solid var(--line-2); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1){ background:#FF6058; } .browser__dots i:nth-child(2){ background:#FFBD2E; } .browser__dots i:nth-child(3){ background:#28C840; }
.browser__url { margin-left: 10px; flex: 1; max-width: 300px; background: var(--bg-soft); border-radius: var(--r-pill); padding: 6px 14px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.browser__url svg { width: 13px; height: 13px; color: var(--ok); }

.dash { display: grid; grid-template-columns: 188px 1fr; min-height: 396px; }
.dash__side { background: var(--blue-950); padding: 18px 14px; display: flex; flex-direction: column; gap: 5px; }
.dash__brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 15px; margin: 4px 6px 18px; }
.dash__brand .m { width: 26px; height: 26px; }
.dash__nav { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #A9B8DC; font-size: 13.5px; font-weight: 600; }
.dash__nav svg { width: 17px; height: 17px; }
.dash__nav.active { background: rgba(255,255,255,.10); color: #fff; }
.dash__nav.active svg { color: var(--red-400); }
.dash__side-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.1); }
.dash__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,var(--blue-500),var(--red-400)); flex: none; }
.dash__side-foot .nm { color: #fff; font-size: 12.5px; font-weight: 700; } .dash__side-foot .rl { color: #8095c0; font-size: 11px; }

.dash__main { padding: 20px 22px; background: var(--bg-soft); overflow: hidden; }
.dash__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash__head h4 { font-size: 17px; color: var(--ink); }
.dash__head .sel { font-size: 12px; font-weight: 700; color: var(--blue-700); background: var(--blue-100); padding: 6px 12px; border-radius: var(--r-pill); }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; }
.kpi .lbl { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.kpi .val { font-size: 21px; font-weight: 800; color: var(--ink); margin-top: 5px; letter-spacing: -.02em; }
.kpi .val.green { color: var(--ok); } .kpi .val.blue { color: var(--blue-600); }
.kpi .bar { height: 4px; border-radius: 4px; background: var(--line-2); margin-top: 9px; overflow: hidden; }
.kpi .bar i { display: block; height: 100%; border-radius: 4px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.panel__h { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.panel__h .more { color: var(--muted-2); font-size: 11px; }
.row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 15px; border-bottom: 1px solid var(--line-2); }
.row:last-child { border-bottom: none; }
.row .who { display: flex; align-items: center; gap: 10px; }
.row .dotav { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-700); font-size: 11px; font-weight: 800; }
.row .who .nm { font-size: 13px; font-weight: 600; color: var(--ink); }
.row .who .sub { font-size: 11px; color: var(--muted); }
.row .amt { font-size: 13px; font-weight: 700; color: var(--ink); }
.pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); }
.pill.paid { background: #E4F7EE; color: #1FA971; }
.pill.wait { background: #FFF3DF; color: #C98214; }

/* mini chart */
.chart { display: flex; align-items: flex-end; gap: 9px; height: 78px; padding: 12px 15px 14px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: flex-end; height: 100%; }
.chart .col i { width: 100%; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); }
.chart .col:last-child i { background: linear-gradient(180deg, var(--red-400), var(--red-500)); }
.chart .col span { font-size: 9.5px; color: var(--muted-2); font-weight: 600; }

.dash__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }

/* floating badge cards over mockup */
.mock__badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg);
  border: 1px solid var(--line); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.mock__badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.mock__badge .ic svg { width: 20px; height: 20px; }
.mock__badge .t { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.mock__badge .v { font-size: 15px; font-weight: 800; color: var(--ink); }
.mock__badge.a { top: -22px; left: -28px; }
.mock__badge.b { bottom: -22px; right: -22px; }

/* ============================================================
   Problem section
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.pcard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--red-50); color: var(--red-500); }
.pcard__ic svg { width: 26px; height: 26px; }
.pcard h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   How it works — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step__num {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); box-shadow: var(--sh-blue);
}
.step:nth-child(4) .step__num { background: linear-gradient(135deg, var(--red-500), var(--red-600)); box-shadow: var(--sh-red); }
.step h3 { font-size: 18px; margin-bottom: 9px; color: var(--ink); }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.step__line { position: absolute; top: 23px; left: 58px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 6px, transparent 6px 12px); }
.step:last-child .step__line { display: none; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.feat { display: flex; gap: 15px; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-md); transition: background .2s, border-color .2s; }
.feat:hover { background: #fff; border-color: var(--blue-200); box-shadow: var(--sh-md); }
.feat__ic { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); }
.feat__ic svg { width: 21px; height: 21px; }
.feat h4 { font-size: 16px; margin-bottom: 5px; color: var(--ink); }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   Device frame for real screenshots + member journey
   ============================================================ */
.device {
  background: #0B1F45; border-radius: 30px; padding: 9px; box-shadow: var(--sh-lg);
  position: relative; width: 100%;
}
.device::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.22); z-index: 2;
}
.device img { width: 100%; display: block; border-radius: 23px; }

/* concentric-ring brand motif (echoes the product screens) */
.rings { position: absolute; pointer-events: none; opacity: .5; }
.rings svg { display: block; width: 100%; height: 100%; }
.rings circle { fill: none; stroke: var(--blue-200); stroke-width: 1; }

/* member journey */
.journey { position: relative; margin-top: 64px; overflow: hidden; }
.journey__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.journey__head h3 { font-family: var(--font-classic); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); }
.journey__head p { color: var(--muted); font-size: 16.5px; margin-top: 12px; line-height: 1.55; }
.journey__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; position: relative; z-index: 1; }
.journey__item { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 320px; margin: 0 auto; }
.journey__item .device { max-width: 270px; }
.journey__step {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--blue-700);
}
.journey__step b {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue-600); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.journey__item:nth-child(3) .journey__step { color: var(--red-600); }
.journey__item:nth-child(3) .journey__step b { background: var(--red-500); }
.journey__item h4 { font-size: 18px; margin-top: 12px; color: var(--ink); }
.journey__item p { font-size: 14.5px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.journey__connect { position: absolute; top: 200px; left: 18%; right: 18%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 7px, transparent 7px 16px); }

@media (max-width: 860px) {
  .journey__row { grid-template-columns: 1fr; gap: 40px; }
  .journey__connect { display: none; }
}

/* ============================================================
   octopay / commissions
   ============================================================ */
.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: center; }
.pay__stats { display: flex; gap: 16px; margin: 30px 0 32px; flex-wrap: wrap; }
.pay__stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--sh-sm); }
.pay__stat .n { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.pay__stat .n.red { color: var(--red-500); } .pay__stat .n.blue { color: var(--blue-600); }
.pay__stat .l { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.pay__list { display: grid; gap: 14px; margin-bottom: 30px; }
.pay__list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink-2); font-weight: 500; }
.pay__list svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 1px; }

/* phone mock */
.phone { width: 280px; margin: 0 auto; background: #0B1F45; border-radius: 38px; padding: 12px; box-shadow: var(--sh-lg); position: relative; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0B1F45; border-radius: var(--r-pill); z-index: 2; }
.phone__screen { background: linear-gradient(170deg, #F4F7FD, #fff); border-radius: 28px; overflow: hidden; padding: 40px 20px 24px; min-height: 480px; display: flex; flex-direction: column; }
.pay__brandrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.pay__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--blue-900); }
.pay__brand .m { width: 24px; height: 24px; }
.pay__lock { font-size: 10.5px; color: var(--ok); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.pay__lock svg { width: 12px; height: 12px; }
.pay__org { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pay__title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 3px 0 18px; }
.pay__amount-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: var(--sh-sm); margin-bottom: 14px; }
.pay__amount-card .cap { font-size: 11px; color: var(--muted); font-weight: 600; }
.pay__amount-card .amt { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-top: 4px; }
.pay__amount-card .fee { font-size: 11.5px; color: var(--ok); font-weight: 700; margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.pay__methods { display: flex; gap: 8px; margin-bottom: 16px; }
.pay__method { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px; text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.pay__method.on { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.pay-fee-badge {
  position: absolute; bottom: 30px; right: -10px; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg);
  padding: 14px 20px; text-align: center;
}
.pay-fee-badge .n { font-size: 26px; font-weight: 800; color: var(--red-500); letter-spacing: -.02em; line-height: 1; }
.pay-fee-badge .l { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px){ .pay-fee-badge { right: 0; } }
.pay__btn { margin-top: auto; background: var(--red-500); color: #fff; font-weight: 800; font-size: 15px; padding: 15px; border-radius: 14px; text-align: center; box-shadow: var(--sh-red); }

/* ============================================================
   Compliance
   ============================================================ */
.comply { position: relative; }
.comply__quote {
  font-family: var(--font-classic); font-size: clamp(25px, 3vw, 36px); line-height: 1.4; color: var(--ink);
  font-weight: 500; max-width: 860px; margin: 0 auto 50px; text-align: center; text-wrap: balance;
}
.comply__quote .hl { color: var(--blue-700); font-style: italic; }
.comply__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; }
.ccard__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-100); color: var(--blue-700); }
.ccard__ic svg { width: 25px; height: 25px; }
.ccard h3 { font-size: 18.5px; margin-bottom: 9px; }
.ccard p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.comply__note { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 38px; color: var(--muted); font-size: 14px; }
.comply__note svg { width: 18px; height: 18px; color: var(--blue-600); }

/* ============================================================
   Lead form (final CTA)
   ============================================================ */
.cta { background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-800) 55%, var(--blue-700) 100%); position: relative; overflow: clip; }
.cta__aurora { position: absolute; inset: 0; pointer-events: none; }
.cta__aurora .b { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.cta__aurora .b1 { width: 420px; height: 420px; background: var(--blue-500); top: -120px; left: -80px; }
.cta__aurora .b2 { width: 380px; height: 380px; background: var(--red-500); bottom: -140px; right: -60px; opacity:.42; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; position: relative; }
.cta__left .eyebrow { color: var(--red-300); }
.cta__left .eyebrow::before { background: var(--red-400); }
.cta__title { font-family: var(--font-classic); font-weight: 600; font-size: clamp(31px, 3.6vw, 48px); color: #fff; margin-top: 16px; text-wrap: balance; letter-spacing: -.01em; }
.cta__sub { color: #C6D4F0; font-size: 18px; margin-top: 18px; line-height: 1.6; max-width: 480px; }
.cta__points { margin-top: 30px; display: grid; gap: 14px; }
.cta__points li { display: flex; gap: 12px; align-items: center; color: #E4ECFB; font-size: 15.5px; font-weight: 500; }
.cta__points svg { width: 20px; height: 20px; color: var(--red-300); flex: none; }

.form-card { background: #fff; border-radius: var(--r-xl); padding: 34px; box-shadow: var(--sh-lg); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px var(--blue-100); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-priv { font-size: 12px; color: var(--muted-2); margin-top: 14px; text-align: center; line-height: 1.5; }
.form-priv a { color: var(--blue-600); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: #E4F7EE; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ic svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--blue-950); color: #B9C6E4; padding: 64px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.footer__brand .m { width: 34px; height: 34px; }
.footer p.desc { font-size: 14.5px; line-height: 1.6; max-width: 320px; color: #93A4CC; }
.footer__powered { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 13px; color: #7E90BC; font-weight: 600; transition: color .18s; }
.footer__powered img { width: 26px; height: 26px; }
.footer__powered .pc { color: #fff; font-weight: 700; }
.footer__powered:hover .pc { color: var(--blue-400); }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer__col a, .footer__col div { display: block; font-size: 14.5px; margin-bottom: 11px; color: #B9C6E4; transition: color .18s; }
.footer__col a:hover { color: #fff; }
.footer__contact { display: flex; align-items: center; gap: 9px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--blue-400); flex: none; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13px; color: #7E90BC; flex-wrap: wrap; gap: 12px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #B9C6E4; transition: all .18s; }
.footer__social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }

/* ============================================================
   Hero Visual Scene  (.hv-scene — container-query driven)
   All rules scoped to avoid conflicts with landing CSS.
   ============================================================ */

@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-.7em) rotate(var(--rot, 0deg)); }
}
@keyframes floaty-phone {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-.7em) rotate(3deg); }
}
@keyframes floaty-phone-mob {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-.5em) rotate(0deg); }
}

.hv-scene {
  container-type: inline-size;
  position: relative;
  width: 100%;
  isolation: isolate;
}
.hv-scene .stage {
  position: relative;
  font-size: clamp(8px, 1.42cqi, 15px);
  aspect-ratio: 1080 / 760;
}

/* Backdrop */
.hv-scene .bg { position: absolute; inset: -6% -4%; z-index: 0; overflow: visible; pointer-events: none; }
.hv-scene .bg .sheet {
  position: absolute; top: -22%; right: -10%; width: 70%; height: 128%;
  background: linear-gradient(122deg, #2A5FE0 0%, #5B86EF 24%, #A9BEF8 42%, #FFC2C8 60%, #FF8089 78%, #F03E50 100%);
  border-radius: 46% 54% 60% 40% / 42% 40% 60% 58%;
  filter: blur(14px); transform: rotate(-9deg) skewY(-6deg); opacity: .5;
  -webkit-mask-image: radial-gradient(125% 120% at 72% 34%, #000 46%, transparent 100%);
          mask-image: radial-gradient(125% 120% at 72% 34%, #000 46%, transparent 100%);
}
.hv-scene .bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.hv-scene .bg .blob.b1 { width: 42%; height: 54%; top: -16%; right: 2%; background: radial-gradient(circle at 35% 35%, rgba(110,149,244,.7), transparent 70%); }
.hv-scene .bg .blob.b2 { width: 36%; height: 46%; top: 18%; right: 24%; background: radial-gradient(circle at 50% 50%, rgba(255,140,150,.55), transparent 70%); }
.hv-scene .bg .rings { position: absolute; top: -14%; right: -8%; width: 60%; aspect-ratio: 1; opacity: .4; }
.hv-scene .bg .rings svg { width: 100%; height: 100%; }
.hv-scene .bg .rings circle { fill: none; stroke: var(--blue-300); stroke-width: 1; }
.hv-scene .bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 3.2em 3.2em;
  -webkit-mask-image: radial-gradient(70% 64% at 22% 30%, #000, transparent 76%);
          mask-image: radial-gradient(70% 64% at 22% 30%, #000, transparent 76%);
  opacity: .6;
}

/* Dashboard window */
.hv-scene .window {
  position: absolute; z-index: 2;
  left: 0; top: 4%; width: 74%;
  background: #fff; border: 1px solid var(--line);
  border-radius: 1.5em; overflow: hidden;
  box-shadow: 0 2.4em 5em rgba(16,42,84,.16), 0 .6em 1.6em rgba(16,42,84,.08);
}
.hv-scene .winbar { display: flex; align-items: center; gap: .55em; padding: .95em 1.1em; border-bottom: 1px solid var(--line-2); }
.hv-scene .winbar i { width: .78em; height: .78em; border-radius: 50%; display: block; }
.hv-scene .winbar i:nth-child(1) { background: #FF6058; }
.hv-scene .winbar i:nth-child(2) { background: #FFBD2E; }
.hv-scene .winbar i:nth-child(3) { background: #28C840; }
.hv-scene .winbar .url { margin-left: .7em; background: #F5F8FE; border: 1px solid var(--line-2); color: var(--muted); border-radius: 99px; padding: .42em 1em; font-size: .82em; font-weight: 600; display: flex; align-items: center; gap: .5em; }
.hv-scene .winbar .url svg { width: 1em; height: 1em; color: var(--ok); }

/* Sidebar + nav */
.hv-scene .dash { display: grid; grid-template-columns: 13.2em 1fr; }
.hv-scene .side { background: var(--blue-950); padding: 1.2em 1em; display: flex; flex-direction: column; gap: .3em; }
.hv-scene .side .brand { display: flex; align-items: center; gap: .6em; margin: .2em .3em 1.2em; color: #fff; font-weight: 800; font-size: 1.05em; letter-spacing: -.01em; }
.hv-scene .side .brand .mk { width: 1.85em; height: 1.85em; flex: none; background: #fff; border-radius: .5em; display: grid; place-items: center; }
.hv-scene .side .brand .mk svg { width: 74%; height: 74%; }
.hv-scene .side .brand b { color: var(--blue-300); font-weight: 800; }
.hv-scene .nav { display: flex; align-items: center; gap: .75em; padding: .7em .85em; border-radius: .7em; color: #A9B8DC; font-size: .92em; font-weight: 600; }
.hv-scene .nav svg { width: 1.2em; height: 1.2em; }
.hv-scene .nav.on { background: rgba(255,255,255,.10); color: #fff; }
.hv-scene .nav.on svg { color: var(--red-400); }
.hv-scene .side .foot { margin-top: auto; display: flex; align-items: center; gap: .65em; padding: .75em .55em; border-top: 1px solid rgba(255,255,255,.1); }
.hv-scene .side .foot .av { width: 2.1em; height: 2.1em; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--red-400)); flex: none; }
.hv-scene .side .foot .nm { color: #fff; font-size: .86em; font-weight: 700; }
.hv-scene .side .foot .rl { color: #8095c0; font-size: .74em; }

/* Dashboard main area */
.hv-scene .main { padding: 1.4em 1.5em 1.6em; background: #F5F8FE; }
.hv-scene .main .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1em; }
.hv-scene .main .head h4 { margin: 0; font-size: 1.2em; color: var(--ink); letter-spacing: -.01em; }
.hv-scene .main .head .sel { font-size: .82em; font-weight: 700; color: var(--blue-700); background: var(--blue-100); padding: .42em .85em; border-radius: 99px; }
.hv-scene .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-bottom: 1.1em; }
.hv-scene .kpi { background: #fff; border: 1px solid var(--line); border-radius: .85em; padding: .9em 1em; }
.hv-scene .kpi .lbl { font-size: .76em; color: var(--muted); font-weight: 600; }
.hv-scene .kpi .val { font-size: 1.5em; font-weight: 800; color: var(--ink); margin-top: .18em; letter-spacing: -.02em; }
.hv-scene .kpi .val.green { color: var(--ok); }
.hv-scene .kpi .val.blue { color: var(--blue-600); }
.hv-scene .kpi .bar { height: .32em; border-radius: .32em; background: var(--line-2); margin-top: .7em; overflow: hidden; }
.hv-scene .kpi .bar i { display: block; height: 100%; border-radius: .32em; }
.hv-scene .cols { display: grid; grid-template-columns: 1.18fr 1fr; gap: .85em; align-items: stretch; }
.hv-scene .panel { background: #fff; border: 1px solid var(--line); border-radius: .85em; overflow: hidden; }
.hv-scene .panel.chartpanel { display: flex; flex-direction: column; }
.hv-scene .panel .h { display: flex; align-items: center; justify-content: space-between; padding: .85em 1.05em; border-bottom: 1px solid var(--line-2); font-size: .86em; font-weight: 700; color: var(--ink-2); }
.hv-scene .panel .h .more { color: var(--muted-2); font-size: .82em; font-weight: 600; }
.hv-scene .rowx { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .55em; padding: .62em .9em; border-bottom: 1px solid var(--line-2); }
.hv-scene .rowx:last-child { border-bottom: none; }
.hv-scene .who { display: flex; align-items: center; gap: .6em; min-width: 0; }
.hv-scene .who .a { width: 1.9em; height: 1.9em; border-radius: 50%; flex: none; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-700); font-size: .78em; font-weight: 800; }
.hv-scene .who .meta { min-width: 0; }
.hv-scene .who .nm { font-size: .88em; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-scene .who .sub { font-size: .74em; color: var(--muted); white-space: nowrap; }
.hv-scene .rowx .end { display: flex; flex-direction: column; align-items: flex-end; gap: .28em; }
.hv-scene .amt { font-size: .86em; font-weight: 700; color: var(--ink); white-space: nowrap; }
.hv-scene .tag { font-size: .7em; font-weight: 700; padding: .26em .6em; border-radius: 99px; white-space: nowrap; }
.hv-scene .tag.paid { background: #E4F7EE; color: #1FA971; }
.hv-scene .tag.wait { background: #FFF3DF; color: #C98214; }
.hv-scene .chart { display: flex; align-items: flex-end; gap: .7em; flex: 1; min-height: 7em; padding: 1em 1.1em 1.1em; }
.hv-scene .chart .c { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5em; justify-content: flex-end; height: 100%; }
.hv-scene .chart .c i { width: 100%; border-radius: .36em .36em .2em .2em; background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); }
.hv-scene .chart .c:last-child i { background: linear-gradient(180deg, var(--red-400), var(--red-500)); }
.hv-scene .chart .c span { font-size: .68em; color: var(--muted-2); font-weight: 600; }

/* Phone */
.hv-scene .phone {
  position: absolute; z-index: 4;
  right: 1%; bottom: -1%; width: 19%;
  filter: drop-shadow(0 2.4em 4em rgba(16,42,84,.30));
  animation: floaty-phone 7s ease-in-out infinite .2s;
}
.hv-scene .phone .body { background: #0B1F45; border-radius: 2.2em; padding: .26em; position: relative; overflow: hidden; }
.hv-scene .phone .body::before { content: ""; position: absolute; top: .55em; left: 50%; transform: translateX(-50%); width: 24%; height: .38em; border-radius: .38em; background: rgba(255,255,255,.28); z-index: 2; }
.hv-scene .phone img { width: 100%; display: block; border-radius: 1.95em; transform: scale(1.27); transform-origin: center 14%; }

/* Floating badges */
.hv-scene .badge {
  position: absolute; z-index: 6;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 1em; padding: .85em 1.05em;
  box-shadow: 0 1.6em 3em rgba(16,42,84,.18), 0 .4em 1em rgba(16,42,84,.08);
  display: flex; align-items: center; gap: .8em;
}
.hv-scene .badge .ic { width: 2.7em; height: 2.7em; border-radius: .75em; flex: none; display: grid; place-items: center; }
.hv-scene .badge .ic svg { width: 1.4em; height: 1.4em; }
.hv-scene .badge .t { font-size: .78em; color: var(--muted); font-weight: 600; line-height: 1.2; }
.hv-scene .badge .v { font-size: 1.05em; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hv-scene .badge.status { top: 1.5%; right: 18%; animation: floaty 5.5s ease-in-out infinite; }
.hv-scene .badge.status .ic { background: var(--ok); color: #fff; }
.hv-scene .badge.fee { bottom: 20%; left: -2%; animation: floaty 6.5s ease-in-out infinite .8s; }
.hv-scene .badge.fee .ic { background: var(--red-50); color: var(--red-500); }
.hv-scene .badge.fee .v { color: var(--red-500); font-size: 1.35em; }

/* Toast */
.hv-scene .toast {
  position: absolute; z-index: 6; left: 30%; bottom: 6%;
  background: var(--blue-950); color: #fff;
  border-radius: 1em; padding: .9em 1.1em;
  box-shadow: 0 1.8em 3.4em rgba(11,31,69,.4);
  display: flex; align-items: center; gap: .8em; min-width: 15em;
  animation: floaty 6s ease-in-out infinite .4s;
}
.hv-scene .toast .ic { width: 2.5em; height: 2.5em; border-radius: 50%; flex: none; background: var(--ok); display: grid; place-items: center; color: #fff; }
.hv-scene .toast .ic svg { width: 1.3em; height: 1.3em; }
.hv-scene .toast .t { font-size: .82em; color: #A9B8DC; font-weight: 600; line-height: 1.25; }
.hv-scene .toast .t b { color: #fff; font-weight: 800; }
.hv-scene .toast .amt { margin-left: auto; font-size: 1.05em; font-weight: 800; color: #7BE0AE; }

/* Mini card (hidden on desktop, shown by container query on mobile) */
.hv-scene .mini { display: none; }
.hv-scene .mini-head { display: flex; align-items: center; gap: .55em; }
.hv-scene .mini-head .mk { width: 1.8em; height: 1.8em; flex: none; background: var(--blue-50); border-radius: .5em; display: grid; place-items: center; }
.hv-scene .mini-head .mk svg { width: 72%; height: 72%; }
.hv-scene .mini-head .ttl { font-weight: 800; font-size: 1em; color: var(--ink); letter-spacing: -.01em; }
.hv-scene .mini-head .ttl b { color: var(--blue-600); }
.hv-scene .mini-head .per { margin-left: auto; font-size: .78em; font-weight: 700; color: var(--blue-700); background: var(--blue-100); padding: .32em .8em; border-radius: 99px; }
.hv-scene .mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.hv-scene .mk-kpi { background: #F5F8FE; border: 1px solid var(--line-2); border-radius: .7em; padding: .7em .85em; }
.hv-scene .mk-kpi .l { font-size: .78em; color: var(--muted); font-weight: 600; }
.hv-scene .mk-kpi .v { font-size: 1.45em; font-weight: 800; letter-spacing: -.02em; margin-top: .12em; }
.hv-scene .mk-kpi .v small { font-size: .55em; color: var(--muted); font-weight: 700; }
.hv-scene .mk-kpi .v.green { color: var(--ok); }
.hv-scene .mk-kpi .v.blue { color: var(--blue-600); }
.hv-scene .mini-spark { display: flex; align-items: flex-end; gap: .5em; height: 3em; }
.hv-scene .mini-spark i { flex: 1; border-radius: .3em .3em .15em .15em; background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); }
.hv-scene .mini-spark i.hot { background: linear-gradient(180deg, var(--red-400), var(--red-500)); }

/* ── Container query: mobile layout (≤600px wide) ── */
@container (max-width: 600px) {
  .hv-scene .stage {
    aspect-ratio: auto;
    font-size: clamp(13px, 4cqi, 19px);
    display: flex; flex-direction: column; align-items: center;
    gap: 1.5em; padding: 1.5em 0 .5em;
  }
  .hv-scene .bg .sheet { top: -6%; right: -16%; width: 92%; height: 56%; opacity: .5; }
  .hv-scene .bg .blob.b1 { top: -4%; right: -8%; width: 60%; height: 26%; }
  .hv-scene .bg .blob.b2 { top: auto; bottom: 4%; left: -10%; right: auto; width: 60%; height: 28%; }
  .hv-scene .bg .rings { top: -4%; right: -22%; width: 80%; }
  .hv-scene .bg .grid { background-size: 2.6em 2.6em; }

  .hv-scene .window,
  .hv-scene .toast { display: none; }

  .hv-scene .mini {
    display: flex; flex-direction: column; gap: .9em;
    position: relative; z-index: 3; width: 84%;
    background: #fff; border: 1px solid var(--line); border-radius: 1.2em;
    padding: 1.15em 1.2em;
    box-shadow: 0 1.8em 3.4em rgba(16,42,84,.16);
  }

  .hv-scene .phone {
    position: relative; right: auto; bottom: auto;
    width: 52%; z-index: 2;
    filter: drop-shadow(0 2em 3.4em rgba(16,42,84,.26));
    animation: floaty-phone-mob 7s ease-in-out infinite .2s;
  }

  .hv-scene .badge {
    padding: .72em .95em; border-radius: .9em;
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    border-color: var(--line);
    box-shadow: 0 1.4em 2.8em rgba(16,42,84,.2);
  }
  .hv-scene .badge.status { top: 43%; right: 0; left: auto; bottom: auto; }
  .hv-scene .badge.status .t { display: none; }
  .hv-scene .badge.fee { top: auto; bottom: 9%; left: 0; right: auto; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .aurora__sheet, .aurora__sheet2, .aurora__blob, .aurora__rings { animation: none; }
  .hv-scene * { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .pay__grid, .cta__grid { grid-template-columns: 1fr; }
  .mock { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .step__line { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Nav: hide links, desktop CTA and lang-select — show burger */
  .nav__links { display: none; }
  .nav__right .btn, .nav__right .lang-select { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 12px; }
  /* Sections */
  .cards-3, .comply__cards { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .mock__badge.a { left: -8px; top: -16px; } .mock__badge.b { right: -6px; }
  .hero__cta .btn { flex: 1; }
}
@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; } .dash__side { display: none; }
}
