/* ──────────────────────────────────────────
   Pagamenti Bot · landing page · dark theme
   ────────────────────────────────────────── */

:root {
  --bg: #07070a;
  --bg-2: #0b0b10;
  --bg-3: #0f0f16;
  --surface: #11111a;
  --surface-2: #181824;
  --surface-3: #1e1e2d;
  --border: rgba(255, 255, 255, .07);
  --border-strong: rgba(255, 255, 255, .14);
  --border-glow: rgba(129, 140, 248, .25);

  --text: #f7f7f9;
  --text-mute: #9ca0af;
  --text-dim: #5f6370;

  --indigo: #818cf8;
  --indigo-2: #a5b4fc;
  --purple: #c084fc;
  --pink: #f472b6;

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --grad: linear-gradient(135deg, #818cf8 0%, #a855f7 50%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.22) 0%, rgba(168,85,247,.14) 100%);

  --shadow-1: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(0,0,0,.45);
  --shadow-2: 0 16px 40px -12px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.06) inset;
  --shadow-glow: 0 0 0 1px var(--border-glow), 0 24px 68px -12px rgba(129,140,248,.4);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;

  /* glass tokens */
  --glass: rgba(17, 17, 26, .72);
  --glass-border: rgba(255,255,255,.08);
}

/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
code { font-family: var(--font-mono); font-size: .92em; color: var(--indigo-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── background decoration ─── */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(ellipse at top, #11111f 0%, #07070a 70%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 0%, transparent 80%);
}
.bg-grid::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bg-glow {
  position: fixed; z-index: -1;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .3;
  pointer-events: none;
}
.bg-glow--1 { top: -240px; left: -140px; background: #6366f1; }
.bg-glow--2 { top: 180px; right: -240px; background: #a855f7; opacity: .2; }

/* ─── shared ─── */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo-2);
  margin-bottom: 18px;
}
.g-text {
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.section__head p {
  color: var(--text-mute);
  font-size: 17px;
}
section { padding: 110px 0; position: relative; }

/* ─── buttons ─── */
.btn {
  --btn-glow: rgba(168,85,247,.35);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .3s ease, color .3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 24px -6px var(--btn-glow), 0 0 0 1px rgba(129,140,248,.2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 36px -8px rgba(168,85,247,.6), 0 0 0 1px rgba(129,140,248,.35); }
.btn--primary::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,0) 50%);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}
.btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--border-strong); transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }

/* ─── NAV (pill style like supermac.io) ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 24px;
  background: transparent;
  border-bottom: none;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(10, 10, 14, .72);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 15px;
  margin-right: auto;
}
.brand__mark {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand__text { font-size: 16px; }
.brand__dot { color: var(--indigo-2); }

.nav__menu {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
.nav__menu a {
  transition: color .2s ease;
  position: relative;
}
.nav__menu a:hover { color: rgba(255,255,255,.9); }
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.35);
  transition: width .25s ease, left .25s ease;
}
.nav__menu a:hover::after {
  left: 0;
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ─── HERO ─── */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 28px;
  padding-bottom: 8px;
  text-wrap: balance;
  background: linear-gradient(90deg, #f7f7f9 0%, #c7d2fe 25%, #e9d5ff 50%, #c7d2fe 75%, #f7f7f9 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.hero__sub {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  font-size: 14px;
  color: var(--text-mute);
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__bullets svg { color: var(--ok); }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ── card stack visual ── */
.hero__visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardstack {
  position: relative;
  width: 360px;
  height: 100%;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.card3d {
  position: absolute;
  width: 320px;
  height: 200px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(30,30,45,.8) 0%, rgba(15,15,25,.95) 70%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 20px 50px -12px rgba(0,0,0,.6),
    0 1px 0 rgba(255,255,255,.06) inset,
    0 0 80px -20px rgba(129,140,248,.15);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at -20% -20%, rgba(99,102,241,.38), transparent 40%);
  pointer-events: none;
}
.card3d--back {
  top: 0; left: 20px;
  transform: rotate(-8deg) translateY(8px);
  opacity: .5;
  filter: blur(1px);
}
.card3d--mid {
  top: 80px; left: 0;
  transform: rotate(-3deg) translateY(4px);
  opacity: .78;
}
.card3d--front {
  top: 160px; left: 20px;
  transform: rotate(2deg);
  background: linear-gradient(145deg, #2a1a6e 0%, #1a1048 50%, #0f0a30 100%);
  border-color: rgba(168,85,247,.5);
  box-shadow:
    0 24px 70px -12px rgba(168,85,247,.5),
    0 1px 0 rgba(255,255,255,.12) inset;
  z-index: 3;
  animation: hover3d 6s ease-in-out infinite;
}
@keyframes hover3d {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-10px); }
}
.card3d__shine {
  position: absolute;
  top: 0; left: -50%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
  0%, 80%, 100% { left: -50%; }
  40% { left: 120%; }
}
.card3d__chip {
  width: 32px; height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, #c9a352, #f0d075 50%, #a07d2a);
  position: relative;
  margin-bottom: 14px;
}
.card3d__chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 3px;
}
.card3d__brand {
  position: absolute;
  top: 22px; right: 22px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .04em;
  font-size: 16px;
}
.card3d__name {
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card3d__num {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.card3d__row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 6px;
}
.card3d__foot {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.card3d__foot span {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  letter-spacing: .15em;
  margin-bottom: 2px;
}

.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 28, .85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  color: var(--text);
  box-shadow: var(--shadow-2);
  z-index: 4;
}
.float strong { font-family: var(--font-mono); font-weight: 600; }
.float__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99,102,241,.18);
}
.float__dot--ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.float__dot--warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(251,191,36,.18); }
.float--1 { top: 30px; right: -40px; animation: floatA 5s ease-in-out infinite; }
.float--2 { top: 200px; left: -60px; animation: floatA 6s ease-in-out infinite .8s; }
.float--3 { bottom: 30px; right: -20px; animation: floatA 5.5s ease-in-out infinite 1.4s; }
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── PROBLEM ─── */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem__copy h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.problem__copy p {
  color: var(--text-mute);
  font-size: 16px;
  margin-bottom: 16px;
}

/* terminal */
.terminal {
  background: rgba(17, 17, 26, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.terminal__bar span:nth-child(1),
.terminal__bar span:nth-child(2),
.terminal__bar span:nth-child(3) {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal__bar span:nth-child(1) { background: #ff5f57; }
.terminal__bar span:nth-child(2) { background: #febc2e; }
.terminal__bar span:nth-child(3) { background: #28c840; }
.terminal__title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.terminal__body {
  padding: 18px 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
}
.terminal__body pre { margin: 0; }
.t-dim  { color: #555867; }
.t-ok   { color: var(--ok); }
.t-warn { color: var(--warn); }
.t-val  { color: var(--indigo-2); }
.t-cur  { color: var(--indigo-2); animation: blink 1s steps(1) infinite; }
@keyframes blink {
  50% { opacity: 0; }
}

/* ─── SUITE ─── */
.suite__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}
.feat {
  position: relative;
  padding: 36px;
  border-radius: var(--r-lg);
  background: rgba(17, 17, 26, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.feat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(129,140,248,.14), transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feat:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(22, 22, 36, .88);
  box-shadow: 0 20px 60px -16px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.15) inset;
}
.feat:hover::before { opacity: 1; }
.feat--lg {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(99,102,241,.12) 0%, rgba(168,85,247,.06) 100%);
  border-color: rgba(129,140,248,.2);
}
.feat__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(129,140,248,.12);
  color: var(--indigo-2);
  margin-bottom: 22px;
}
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.feat p {
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.6;
}
.feat__chips {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.feat__chips span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* ─── DASHBOARD ─── */
.dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dashboard__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  transition: all .25s ease;
}
.tab:hover { background: var(--surface); border-color: var(--border); }
.tab--active {
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-1);
}
.tab__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  align-self: start;
  padding-top: 4px;
}
.tab--active .tab__num { color: var(--indigo-2); }
.tab__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.tab__sub {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* phone mock */
.dashboard__stage {
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 44px;
  padding: 14px;
  background: linear-gradient(150deg, #1f1f2c 0%, #0d0d14 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.03) inset,
    var(--shadow-glow);
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #0a0a10;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
}
.panel {
  position: absolute;
  inset: 0;
  padding: 50px 18px 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.panel--active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
}
.panel__back, .panel__plus {
  width: 28px; height: 28px;
  font-size: 18px;
  color: var(--indigo-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.panel__plus { background: rgba(129,140,248,.12); }
.panel__sum {
  background: var(--grad);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.panel__sum-l { font-size: 12px; opacity: .85; }
.panel__sum-v { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.panel__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.panel__list strong { font-size: 13px; font-weight: 600; display: block; }
.panel__list em { font-style: normal; font-size: 11px; color: var(--text-dim); }
.panel__amt { font-size: 13px; font-weight: 600; font-family: var(--font-mono); }
.panel__amt--off { color: var(--text-dim); text-decoration: line-through; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(52,211,153,.15); }
.dot--off { background: var(--danger); }

/* form panel */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}
.form label span { color: var(--text-dim); font-weight: 400; }
.input {
  padding: 11px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.seg span {
  text-align: center;
  padding: 8px;
  font-size: 12px;
  border-radius: 8px;
  color: var(--text-mute);
}
.seg__on { background: var(--surface-2); color: var(--text); }
.form__hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-mute);
  padding: 10px 12px;
  background: rgba(129,140,248,.06);
  border-radius: 8px;
  border: 1px solid rgba(129,140,248,.12);
}
.cta-btn {
  margin-top: 10px;
  padding: 13px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.cta-btn--ok { background: var(--ok); color: #07221a; }
.cta-btn--ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
}

/* deposit panel */
.depo { display: flex; flex-direction: column; gap: 14px; }
.depo__assets { display: flex; gap: 6px; flex-wrap: wrap; }
.depo__chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-mute);
}
.depo__chip--on {
  background: rgba(129,140,248,.14);
  color: var(--indigo-2);
  border-color: rgba(129,140,248,.3);
}
.qr {
  display: flex;
  justify-content: center;
  padding: 14px;
  background: var(--surface-2);
  border-radius: 12px;
}
.qr__box {
  width: 140px; height: 140px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}
.depo__addr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}
.depo__addr button {
  color: var(--indigo-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.depo__hint { font-size: 11px; color: var(--text-mute); text-align: center; }

/* 3ds panel */
.threed { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; }
.threed__icon {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251,191,36,.10);
  color: var(--warn);
  border-radius: 16px;
  border: 1px solid rgba(251,191,36,.2);
  margin-bottom: 16px;
}
.threed h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.threed__amt {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.threed__otp {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.threed__otp span {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.threed__otp div {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .35em;
}
.threed__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

/* ─── PROCESS ─── */
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: rgba(17, 17, 26, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(129,140,248,.35); box-shadow: 0 20px 50px -12px rgba(0,0,0,.45), 0 0 40px -10px rgba(129,140,248,.12); }
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--indigo-2);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.step p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── FAQ ─── */
.faq__grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.faq__grid header h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.faq__grid header p { color: var(--text-mute); }
.faq__list { display: flex; flex-direction: column; }
.qa {
  border-bottom: 1px solid var(--border);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 17px;
  font-weight: 500;
  transition: color .2s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--indigo-2); }
.qa__plus {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.qa__plus::before, .qa__plus::after {
  content: '';
  position: absolute;
  background: var(--text-mute);
  border-radius: 1px;
  transition: transform .25s ease, background .25s ease;
}
.qa__plus::before { top: 10px; left: 4px; width: 14px; height: 2px; }
.qa__plus::after { left: 10px; top: 4px; width: 2px; height: 14px; }
.qa[open] .qa__plus::after { transform: rotate(90deg); }
.qa[open] .qa__plus::before, .qa[open] .qa__plus::after { background: var(--indigo-2); }
.qa__body {
  padding: 0 0 22px;
  color: var(--text-mute);
  font-size: 15px;
  max-width: 640px;
}
.qa__body strong { color: var(--text); font-weight: 600; }

/* ─── FINAL CTA ─── */
.finalcta { padding-bottom: 60px; }
.finalcta__card {
  position: relative;
  padding: 80px 60px;
  border-radius: var(--r-xl);
  background: rgba(20, 16, 31, .8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05) inset;
}
.finalcta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(99,102,241,.25), transparent 50%),
    radial-gradient(800px circle at 100% 100%, rgba(168,85,247,.2), transparent 50%);
}
.finalcta__card > * { position: relative; z-index: 1; }
.finalcta__card h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.finalcta__card p {
  color: var(--text-mute);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}
.finalcta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.finalcta__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 13px;
  color: var(--text-mute);
}
.finalcta__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.finalcta__list svg { color: var(--ok); }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.4));
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer__brand p {
  color: var(--text-mute);
  font-size: 14px;
  max-width: 280px;
  margin-top: 16px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  padding: 6px 0;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--text); }
.footer__muted { color: var(--text-dim) !important; font-size: 13px; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  transition: all .2s ease;
}
.footer__social a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .hero { padding: 160px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 420px; margin-top: 40px; }
  .card3d { width: 280px; height: 175px; }
  .suite__grid { grid-template-columns: repeat(2, 1fr); }
  .feat--lg { grid-column: span 2; }
  .problem__grid, .faq__grid, .dashboard__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .dashboard__tabs { max-width: 480px; margin: 0 auto; }
  .dashboard__stage { margin-top: 40px; }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .terminal { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav__inner {
    max-width: 100%;
    padding: 10px 18px;
    gap: 20px;
  }
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__brand { margin-right: auto; }

  .hero { padding: 130px 0 60px; }
  .hero__title { font-size: clamp(32px, 10vw, 48px); letter-spacing: -.035em; line-height: 1.08; }
  .hero__sub { font-size: 16px; max-width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__bullets { flex-direction: column; gap: 10px; }
  .hero__visual { height: 340px; overflow: hidden; }
  .cardstack { transform: scale(.75); }
  .card3d { width: 260px; height: 160px; padding: 18px; }
  .float { display: none; }

  .suite__grid { grid-template-columns: 1fr; }
  .feat--lg { grid-column: 1; }
  .feat { padding: 28px; }

  .dashboard__grid { grid-template-columns: 1fr; gap: 40px; }
  .dashboard__tabs { order: 2; gap: 6px; }
  .dashboard__stage { order: 1; }
  .phone { width: 260px; height: 520px; padding: 12px; border-radius: 36px; }
  .phone__notch { top: 12px; width: 80px; height: 18px; }
  .phone__screen { border-radius: 26px; }
  .tab { padding: 14px 18px; }
  .tab__num { display: none; }

  .process__list { grid-template-columns: 1fr; }
  .step { padding: 28px 24px; }

  .faq__grid { grid-template-columns: 1fr; gap: 50px; }
  .qa summary { font-size: 16px; padding: 18px 0; }

  .finalcta__card { padding: 48px 24px; }
  .finalcta__actions { flex-direction: column; align-items: stretch; }
  .finalcta__actions .btn { width: 100%; }
  .finalcta__list { flex-direction: column; gap: 10px; align-items: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__social { align-self: flex-start; }
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 30px; }
  .hero { padding: 115px 0 50px; }
  .cardstack { transform: scale(0.65); }
  .hero__visual { height: 280px; }

  .section__head h2 { font-size: clamp(26px, 8vw, 36px); }
  .section__head p { font-size: 15px; }

  .phone { width: 240px; height: 480px; padding: 10px; border-radius: 30px; }
  .phone__screen { border-radius: 22px; }

  .tab__title { font-size: 15px; }
  .tab__sub { font-size: 12px; }

  .qa summary { font-size: 15px; }
  .qa__body { font-size: 14px; }
}

@media (hover: none) and (pointer: coarse) {
  .hero__visual { height: 300px; }
  .cardstack { transform: scale(0.7); }
  .float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
