/* ==========================================================================
   Axton — base styles
   ========================================================================== */

:root {
  --bg: #070a12;
  --bg-2: #0b1020;
  --surface: #0f1526;
  --surface-2: #141b30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf6;
  --muted: #8f98ad;
  --dim: #5f6880;
  --accent: #5b7cff;
  --accent-2: #2fe0b0;
  --accent-soft: rgba(91, 124, 255, 0.14);
  --mint-soft: rgba(47, 224, 176, 0.14);
  --danger: #ff5d73;
  --warning: #ffb547;
  --gradient: linear-gradient(120deg, #5b7cff 0%, #7a5cff 45%, #2fe0b0 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); overflow-wrap: break-word; }
.hero-copy, .feature-copy, .visual { min-width: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

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

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Placeholders for real company data — search the project for "[[" */
.tbd { color: var(--warning); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(91, 124, 255, .7);
}
.btn-primary:hover { background: #6d8bff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 600; font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.site-nav .nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 32px;
    background: rgba(7, 10, 18, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter makes the header a containing block for the fixed nav — disable it while open */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-size: 20px; padding: 14px 8px; border-radius: 10px; border-bottom: 1px solid var(--border); }
  .site-nav .nav-cta { display: inline-flex; margin-top: 20px; border-bottom: 0; font-size: 16px; padding: 0 22px; border-radius: 999px; color: #fff; }
}

/* ---------- Sections ---------- */

main { display: block; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(91, 124, 255, 0.22), transparent 70%),
    radial-gradient(500px 360px at 85% 30%, rgba(47, 224, 176, 0.14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 36px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--accent-2); }

@media (max-width: 960px) {
  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
a.card { display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(91,124,255,0.08), rgba(255,255,255,0.01)); }
a.card .link-arrow { margin-top: auto; padding-top: 22px; }

.icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #9fb2ff;
  border: 1px solid rgba(91, 124, 255, 0.25);
}
.icon svg { width: 24px; height: 24px; }
.icon.mint { background: var(--mint-soft); color: var(--accent-2); border-color: rgba(47, 224, 176, 0.25); }

.card-num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--accent-2);
  letter-spacing: .08em;
}

/* Feature row: text + visual */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature + .feature { margin-top: 112px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy p { color: var(--muted); font-size: 17px; }
.feature-copy .btn, .feature-copy .link-arrow { margin-top: 12px; }
@media (max-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 80px; }
}

.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-2); margin-top: 1px; }
.checklist span { color: var(--muted); }
.checklist strong { color: var(--text); font-weight: 600; }

/* Benefits strip */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefits > div {
  padding: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  border-right: 1px solid var(--border);
  font-weight: 500;
}
.benefits > div:last-child { border-right: 0; }
.benefits svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--accent-2); }
@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .benefits > div:last-child { border-bottom: 0; }
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips.center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px; font-weight: 500;
}
.chip svg { width: 16px; height: 16px; color: var(--accent-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 72px 56px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(500px 300px at 10% 0%, rgba(91,124,255,0.35), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(47,224,176,0.22), transparent 70%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner h2 { margin: 0 0 12px; max-width: 640px; }
.cta-banner p { color: var(--muted); margin: 0; font-size: 18px; max-width: 560px; }
.cta-banner .hero-actions { flex-shrink: 0; }
@media (max-width: 860px) {
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 48px 28px; }
}

/* ---------- Mock UI visuals ---------- */

.visual { position: relative; }
.visual::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: var(--gradient);
  filter: blur(80px);
  opacity: .22;
  border-radius: 50%;
  z-index: 0;
}
.mock {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #141b30, #0c1120);
  box-shadow: var(--shadow);
}
.mock + .mock { margin-top: 16px; }
.mock-float {
  position: absolute;
  z-index: 2;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 21, 38, 0.96);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.mock-float .icon { width: 36px; height: 36px; border-radius: 10px; }
.mock-float .icon svg { width: 18px; height: 18px; }
.mock-float small { display: block; color: var(--muted); font-size: 12px; }
.mock-float strong { font-weight: 600; }
.float-tr { top: -22px; right: -18px; }
.float-bl { bottom: -26px; left: -22px; }
@media (max-width: 640px) {
  .float-tr { right: 8px; top: -30px; }
  .float-bl { left: 8px; bottom: -34px; }
}

.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-title { font-weight: 600; font-size: 15px; }
.mock-sub { color: var(--muted); font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }

.amount { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 18px; }

.field {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  font-size: 14px;
  color: var(--muted);
}
.field + .field { margin-top: 10px; }
.field.active { border-color: rgba(91,124,255,.6); background: rgba(91,124,255,.08); color: var(--text); }
.field b { color: var(--text); font-weight: 600; }

.method-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.method {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  font-size: 13px; font-weight: 600;
  text-align: center;
  color: var(--muted);
}
.method.active { border-color: var(--accent); color: var(--text); background: rgba(91,124,255,.1); }

.pay-btn {
  margin-top: 16px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.badge-ok { background: var(--mint-soft); color: var(--accent-2); }
.badge-warn { background: rgba(255,181,71,.14); color: var(--warning); }
.badge-bad { background: rgba(255,93,115,.14); color: var(--danger); }
.badge-info { background: var(--accent-soft); color: #9fb2ff; }

.tx-list { display: grid; gap: 8px; }
.tx {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  font-size: 14px;
}
.tx small { display: block; color: var(--muted); font-size: 12px; }
.tx .score { font-family: var(--font-display); font-weight: 700; width: 36px; text-align: right; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.kpi small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.kpi b { font-family: var(--font-display); font-size: 20px; }
.kpi .up { color: var(--accent-2); font-size: 12px; font-weight: 600; margin-left: 4px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 10px; }
.bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #6d8bff, rgba(91,124,255,.25));
  min-height: 8px;
}
.bars span.hl { background: linear-gradient(180deg, var(--accent-2), rgba(47,224,176,.25)); }
.bars-legend { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; margin-top: 8px; }

.gauge { display: flex; align-items: center; gap: 20px; }
.gauge-ring {
  --v: 18;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-2) calc(var(--v) * 1%), rgba(255,255,255,.08) 0);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gauge-ring::after {
  content: attr(data-label);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
}

/* Split flow (platforms) */
.flow { display: grid; gap: 12px; }
.flow-node {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
}
.flow-node b { font-family: var(--font-display); font-size: 16px; }
.flow-node.main { border-color: rgba(91,124,255,.5); background: rgba(91,124,255,.08); }
.flow-arrow { display: flex; justify-content: center; color: var(--dim); }
.flow-arrow svg { width: 20px; height: 20px; }
.flow-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flow-split .flow-node { flex-direction: column; align-items: flex-start; gap: 4px; }
.flow-split .flow-node small { color: var(--muted); font-size: 12px; }
@media (max-width: 480px) { .flow-split { grid-template-columns: 1fr; } }

/* Code panel */
.code {
  position: relative; z-index: 1;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: #0a0e1a;
  box-shadow: var(--shadow);
  overflow: hidden;
  font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted); font-family: var(--font); font-size: 13px;
}
.code pre { margin: 0; padding: 20px; overflow-x: auto; color: #c9d1e6; }
.code .k { color: #9fb2ff; }
.code .s { color: var(--accent-2); }
.code .n { color: var(--warning); }
.code .c { color: var(--dim); }

/* Product tiles (gaming) */
.tile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.tile + .tile { margin-top: 10px; }
.tile-art {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--gradient);
  color: #fff;
}
.tile-art svg { width: 24px; height: 24px; }
.tile-body { flex: 1; min-width: 0; font-size: 14px; }
.tile-body small { display: block; color: var(--muted); font-size: 12px; }
.tile-price { font-family: var(--font-display); font-weight: 700; }

/* ---------- Legal / prose ---------- */

.page-head { padding: calc(var(--header-h) + 72px) 0 32px; }
.page-head p { color: var(--muted); }
.prose { max-width: 800px; padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; }
.prose p, .prose li { color: #c3c9d8; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.notice {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255,181,71,.5);
  background: rgba(255,181,71,.06);
  color: var(--warning);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); max-width: 320px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col button {
  color: var(--muted);
  transition: color .2s ease;
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--dim);
  font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-legal { max-width: 720px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Contact modal ---------- */

.modal {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8);
  overflow: auto;
}
.modal::backdrop { background: rgba(3, 5, 10, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .22s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-inner { padding: 36px; position: relative; }
.modal h2 { font-size: 1.9rem; margin-bottom: 8px; }
.modal-lead { color: var(--muted); margin-bottom: 28px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  display: grid; place-items: center;
}
.modal-close:hover { color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .modal-inner { padding: 28px 20px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.form-field label .req { color: var(--accent-2); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font: 15px/1.4 var(--font);
  transition: border-color .2s ease, background .2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238f98ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-field select option { background: var(--surface); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--dim); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(91,124,255,0.06);
}
.form-field.has-error input { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: 12px; margin-top: 4px; min-height: 0; }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-note { color: var(--dim); font-size: 12px; max-width: 360px; margin: 0; }
.form-note a { color: var(--muted); text-decoration: underline; }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status.error { color: var(--danger); }

/* Honeypot — must stay invisible for humans */
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 24px 0 8px; }
.form-success .icon { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 20px; }
.form-success .icon svg { width: 30px; height: 30px; }
.form-success p { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Logo */
.logo-mark { width: 34px; height: 34px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo-text span { color: var(--muted); font-weight: 600; }

/* ==========================================================================
   Visual effects
   ========================================================================== */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 1%, 0) scale(.96); }
}
@keyframes ang { to { --ang: 360deg; } }
@keyframes dash { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ping { 0% { r: 3; opacity: .9; } 100% { r: 16; opacity: 0; } }
@keyframes blip { 0%, 100% { transform: scale(.6); opacity: .35; } 50% { transform: scale(1); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gauge-in { from { --v: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes shine { 0%, 60% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }

/* Aurora in hero */
.hero::before { animation: drift 18s ease-in-out infinite alternate; }

/* Floating chips on mocks */
.mock-float { animation: bob 6s ease-in-out infinite; }
.mock-float.float-bl { animation-delay: -3s; }

/* Orbit backdrop */
.orbit {
  position: absolute;
  z-index: 0;
  left: 50%; top: 50%;
  width: 112%;
  aspect-ratio: 1;
  translate: -46% -50%;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(159, 178, 255, 0.18);
  animation: spin 60s linear infinite;
}
.orbit-ring.r1 { inset: 14%; }
.orbit-ring.r2 { inset: 0; border-style: solid; border-color: rgba(255, 255, 255, 0.06); animation-duration: 90s; animation-direction: reverse; }
.orbit-arm { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit-chip {
  position: absolute;
  top: 0; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  transform: rotate(calc(-1 * var(--a)));
}
.orbit-chip > span {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(15, 21, 38, 0.9);
  border: 1px solid var(--border-strong);
  color: #9fb2ff;
  box-shadow: 0 0 24px -6px rgba(91, 124, 255, .6);
  animation: spin-rev 60s linear infinite;
}
.orbit-ring.r2 .orbit-chip > span { animation: spin 90s linear infinite; color: var(--accent-2); box-shadow: 0 0 24px -6px rgba(47, 224, 176, .5); }
.orbit-chip svg { width: 20px; height: 20px; }
.orbit-core {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,124,255,.25), transparent 70%);
  filter: blur(20px);
}
.hero .visual .mock, .hero .visual .globe-wrap { z-index: 1; }
@media (max-width: 640px) { .orbit { width: 118%; } .orbit-chip { width: 36px; height: 36px; margin: -18px 0 0 -18px; } .orbit-chip svg { width: 16px; height: 16px; } }

/* Tilt */
.tilt { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }

/* Globe */
.globe-wrap { position: relative; max-width: 480px; margin: 0 auto; }
.globe { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(91,124,255,.25)); }
.globe .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dash 5s ease-in-out infinite; animation-delay: var(--d); }
.globe .pin { fill: #2fe0b0; animation: ping 2.6s ease-out infinite; animation-delay: var(--d); }
.globe-wrap .float-tr { top: 8%; right: -4%; }
.globe-wrap .float-bl { bottom: 10%; left: -6%; }
@media (max-width: 640px) { .globe-wrap .float-tr { right: 0; } .globe-wrap .float-bl { left: 0; } }

/* 3D credit card */
.cc {
  position: relative;
  width: 340px; max-width: 86%;
  aspect-ratio: 1.586;
  padding: 22px 24px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.28), transparent 45%),
    linear-gradient(135deg, #3f5cff 0%, #7a5cff 50%, #1fb58f 100%);
  box-shadow: 0 30px 70px -20px rgba(91, 124, 255, .7), inset 0 0 0 1px rgba(255,255,255,.2);
  font-family: var(--font-display);
}
.cc-shine { position: absolute; inset: 0; pointer-events: none; }
.cc-shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shine 6s ease-in-out infinite;
}
.cc-top { display: flex; justify-content: space-between; align-items: center; }
.cc-chip {
  width: 42px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, #f7e2a1, #c9a24a);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  position: relative;
}
.cc-chip::after { content: ""; position: absolute; inset: 8px 0; border-top: 1px solid rgba(0,0,0,.25); border-bottom: 1px solid rgba(0,0,0,.25); }
.cc-num { font-size: 20px; font-weight: 700; letter-spacing: .06em; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cc-bottom { display: flex; align-items: flex-end; gap: 22px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.cc-bottom small { display: block; font-family: var(--font); font-weight: 500; font-size: 10px; opacity: .75; letter-spacing: .08em; text-transform: uppercase; }
.cc-brand { margin-left: auto; display: flex; }
.cc-brand i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.85); }
.cc-brand i + i { margin-left: -12px; background: rgba(255,255,255,.45); }

.cc-hero { position: absolute; z-index: 0; right: -9%; bottom: -16%; width: 300px; transform: rotate(9deg); animation: bob 7s ease-in-out infinite; animation-delay: -2s; }
.hero .visual .mock.tilt { z-index: 2; }
.cc-side { position: relative; z-index: 2; margin: -60px -24px 0 auto; transform: rotate(-6deg); animation: bob 7s ease-in-out infinite; }
@media (max-width: 960px) { .cc-hero { display: none; } }
@media (max-width: 640px) { .cc-side { margin: -40px auto 0; width: 280px; } .cc-num { font-size: 16px; } }

/* Radar */
.radar {
  position: relative; z-index: 1;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,224,176,.12), rgba(15,21,38,.9) 60%, rgba(7,10,18,1));
  border: 1px solid rgba(47, 224, 176, .25);
  box-shadow: 0 0 80px -20px rgba(47,224,176,.35), inset 0 0 60px rgba(0,0,0,.6);
  overflow: hidden;
}
.radar-rings {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(47,224,176,.18) 17.3% 17.8%, transparent 18% 34%, rgba(47,224,176,.14) 34.3% 34.8%, transparent 35% 51%, rgba(47,224,176,.1) 51.3% 51.8%, transparent 52%),
    linear-gradient(transparent 49.8%, rgba(47,224,176,.12) 50%, transparent 50.2%),
    linear-gradient(90deg, transparent 49.8%, rgba(47,224,176,.12) 50%, transparent 50.2%);
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(47,224,176,.45), rgba(47,224,176,0) 70deg, transparent 360deg);
  animation: spin 4s linear infinite;
}
.radar-core {
  position: absolute; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center;
  border-radius: 26px;
  background: var(--gradient);
  box-shadow: 0 0 50px rgba(91,124,255,.6);
  color: #fff;
}
.radar-core svg { width: 40px; height: 40px; }
.blip {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  animation: blip 2.4s ease-in-out infinite; animation-delay: var(--d);
}
.blip.ok { background: var(--accent-2); box-shadow: 0 0 16px var(--accent-2); }
.blip.warn { background: var(--warning); box-shadow: 0 0 16px var(--warning); }
.blip.bad { background: var(--danger); box-shadow: 0 0 20px var(--danger); }
.blip.bad::after {
  content: "Blocked"; position: absolute; left: 20px; top: -6px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,93,115,.15); border: 1px solid rgba(255,93,115,.4);
  color: var(--danger); font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* Marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 12px; animation: marquee 32s linear infinite; }
.marquee-track, .marquee-dup { gap: 12px; }
.marquee-dup { display: flex; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip { font-size: 15px; padding: 14px 22px; }

/* Chart animations */
.bars-wrap { position: relative; }
.line-overlay { position: absolute; inset: 10px 0 0; width: 100%; height: calc(100% - 10px); overflow: visible; }
.line-overlay path { stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(47,224,176,.7)); }
.is-visible .line-overlay path { animation: draw 1.8s .4s ease-out forwards; }
.bars span { transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.is-visible .bars span { transform: none; }
.bars span:nth-child(2) { transition-delay: .05s; } .bars span:nth-child(3) { transition-delay: .1s; }
.bars span:nth-child(4) { transition-delay: .15s; } .bars span:nth-child(5) { transition-delay: .2s; }
.bars span:nth-child(6) { transition-delay: .25s; } .bars span:nth-child(7) { transition-delay: .3s; }
.bars span:nth-child(8) { transition-delay: .35s; } .bars span:nth-child(9) { transition-delay: .4s; }
.bars span:nth-child(10) { transition-delay: .45s; } .bars span:nth-child(11) { transition-delay: .5s; }
.bars span:nth-child(12) { transition-delay: .55s; }
.is-visible .gauge-ring { animation: gauge-in 1.6s ease-out both; }

/* Cursor spotlight on cards */
.card { overflow: hidden; }
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -40%), rgba(91,124,255,.16), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card:hover .icon { box-shadow: 0 0 24px -4px rgba(91,124,255,.7); }
.icon { transition: box-shadow .3s ease; }

/* Animated border on CTA */
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang), transparent 0 60%, #5b7cff 75%, #2fe0b0 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ang 6s linear infinite;
  pointer-events: none;
}

/* Step numbers glow */
.step { transition: border-color .3s ease, transform .3s ease; }
.step:hover { border-color: rgba(91,124,255,.4); transform: translateY(-3px); }

.no-js .bars span { transform: none; }
.no-js .line-overlay path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .bars span { transform: none; transition: none; }
  .line-overlay path, .globe .arc { stroke-dashoffset: 0; }
}
