/* ============ Tokens ============ */
:root {
  --bg: #060607;
  --bg-2: #0c0d10;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #8b93a1;
  --dim: #5a606b;
  --ghost: #ffffff;
  --ice: #bfe9fb;
  --sky: #6cc8f0;
  --sky-deep: #3aa8dc;
  --glow: 0 0 40px rgba(108, 200, 240, 0.35);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sky); color: #000; }

/* ============ Ambient ============ */
#particles {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .6;
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 200, 240, .10), transparent 60%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  left: -999px; top: -999px; transition: opacity .3s;
}
main, .footer, .nav { position: relative; z-index: 2; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font); padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, #fff, #dff3fc);
  color: #05070a;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 10px 40px -10px rgba(108, 200, 240, .7);
}
.btn-primary:hover { box-shadow: 0 0 0 1px #fff inset, 0 14px 50px -8px rgba(108, 200, 240, .95); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(10, 11, 14, .55); border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .4s, border-color .4s, top .4s var(--ease);
  z-index: 50;
}
.nav.scrolled { background: rgba(10, 11, 14, .85); border-color: var(--border-2); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -.02em; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; mix-blend-mode: screen; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; gap: 8px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Typography ============ */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.muted { color: var(--dim); }
.grad {
  background: linear-gradient(100deg, #fff 10%, var(--ice) 45%, var(--sky) 70%, #fff 95%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--sky); margin: 0 0 16px; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ============ Hero ============ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  width: min(1200px, 100%); margin: 0 auto; padding: 140px 24px 80px; position: relative;
}
.hero-orb {
  position: absolute; top: 10%; right: -10%; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 200, 240, .18), rgba(108, 200, 240, .07) 45%, rgba(108, 200, 240, .02) 75%, transparent);
  pointer-events: none; z-index: 0; animation: orb 12s ease-in-out infinite alternate;
}
@keyframes orb { to { transform: translate(-60px, 40px) scale(1.1); } }
.hero-inner { position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface);
  font-size: 13px; color: var(--muted); backdrop-filter: blur(10px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px var(--sky); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title { font-size: clamp(44px, 7vw, 92px); font-weight: 600; margin: 24px 0 22px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 13px; color: var(--dim); margin-top: 22px; }

.ghost-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ghost-hero {
  width: 52%; position: relative; z-index: 2;
  animation: floaty 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(108, 200, 240, .25));
  transition: transform .3s var(--ease);
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
.ghost-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.07);
  inset: 12%; animation: ring 8s linear infinite;
}
.ghost-ring.r2 { inset: 2%; animation-duration: 14s; animation-direction: reverse; border-style: dashed; border-color: rgba(108,200,240,.14); }
.ghost-ring.r3 { inset: 24%; animation-duration: 20s; }
.ghost-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 16px var(--sky); }
@keyframes ring { to { transform: rotate(360deg); } }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 500;
  background: rgba(14, 16, 20, .7); border: 1px solid var(--border-2); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip span { color: var(--sky); }
.c1 { top: 14%; left: -2%; animation-delay: -1s; }
.c2 { bottom: 20%; right: -4%; animation-delay: -3s; }
.c3 { bottom: 6%; left: 8%; animation-delay: -5s; }

/* ============ Marquee ============ */
.marquee-wrap { padding: 20px 0 60px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font: 600 22px var(--display); color: #3a3f48; letter-spacing: -.02em; transition: color .3s; }
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { width: min(1200px, 100%); margin: 0 auto; padding: 110px 24px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* ============ Bento ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; }
.card, .plan {
  position: relative; overflow: hidden; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  transition: border-color .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover, .plan:hover { border-color: var(--border-2); }
.card-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(108,200,240,.16), transparent 65%);
  left: var(--mx, -999px); top: var(--my, -999px); transform: translate(-50%, -50%);
  transition: opacity .3s; opacity: 0;
}
.card:hover .card-glow, .plan:hover .card-glow { opacity: 1; }
.plan-pro .card-glow { opacity: .6; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(108,200,240,.12));
  border: 1px solid var(--border-2); margin-bottom: 22px; color: var(--ice);
}
.card p { color: var(--muted); margin: 10px 0 0; }
.rec-demo { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rec-step {
  padding: 9px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--border);
  font-size: 13px; color: var(--text); opacity: .35; transition: opacity .5s, border-color .5s, box-shadow .5s;
}
.rec-step b { color: var(--sky); margin-right: 6px; }
.rec-step code { color: var(--ice); }
.rec-step.on { opacity: 1; border-color: rgba(108,200,240,.4); box-shadow: 0 0 24px -6px rgba(108,200,240,.5); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-row strong { display: block; font: 600 34px var(--display); letter-spacing: -.03em; }
.stat-row span { font-size: 13px; color: var(--muted); }

/* ============ Tabs (shared) ============ */
.tabs {
  position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; border: 0; background: none; color: var(--muted); cursor: pointer; white-space: nowrap;
  font: 500 14px var(--font); padding: 10px 18px; border-radius: 999px; transition: color .3s;
}
.tab.active { color: #05070a; }
.tab-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px;
  background: linear-gradient(180deg, #fff, #dff3fc); box-shadow: 0 6px 24px -6px rgba(108,200,240,.7);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2d33; }
.url { flex: 1; min-width: 0; padding: 7px 14px; border-radius: 10px; background: #0a0b0e; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock { font-size: 11px; }
.caret { display: inline-block; width: 1px; height: 16px; background: var(--sky); margin-left: 1px; vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Steps ============ */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; z-index: 1; padding: 30px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.step-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 22px;
  font: 600 16px var(--display); background: var(--bg); border: 1px solid var(--border-2); color: var(--ice);
  box-shadow: 0 0 30px -6px rgba(108,200,240,.5);
}
.step p { color: var(--muted); margin: 10px 0 0; }
.steps-line { position: absolute; top: 57px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.steps-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, transparent, var(--sky), #fff); transition: width 1.8s var(--ease); }
.steps.in .steps-line span { width: 100%; }

/* ============ Numbers ============ */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 40px; padding-bottom: 20px; text-align: center; }
.numbers strong { display: block; font: 600 clamp(40px, 5vw, 64px) var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #7f8a99); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--muted); font-size: 14px; }
.footnote { color: var(--dim); font-size: 12px; margin: 0 24px; }

/* ============ Pricing ============ */
.billing { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.bill-label { color: var(--dim); font-size: 15px; font-weight: 500; transition: color .3s; cursor: pointer; }
.bill-label.active { color: var(--text); }
.bill-label em { font-style: normal; font-size: 12px; color: var(--sky); padding: 3px 8px; border-radius: 999px; background: rgba(108,200,240,.1); margin-left: 4px; }
.switch { width: 54px; height: 30px; border-radius: 999px; background: #1b1e24; border: 1px solid var(--border-2); position: relative; cursor: pointer; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease); box-shadow: 0 0 12px rgba(108,200,240,.6); }
.switch.on span { transform: translateX(24px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan-desc { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 26px; }
.price .cur { font-size: 22px; color: var(--muted); }
.price .amt { font: 600 56px/1 var(--display); letter-spacing: -.04em; display: inline-block; }
.price .amt.flip { animation: flip .5s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(14px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.price .per { color: var(--dim); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #cdd3dc; }
.plan li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.plan-pro { border-color: rgba(108,200,240,.35); background: linear-gradient(180deg, rgba(108,200,240,.09), rgba(255,255,255,.015)); box-shadow: 0 40px 100px -40px rgba(108,200,240,.45); }
.plan-badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; color: #000; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 0 24px; transition: border-color .3s, background .3s; }
details[open] { border-color: var(--border-2); background: var(--surface-2); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 500; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--sky); transition: transform .4s var(--ease); flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: var(--muted); animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

/* ============ CTA ============ */
.cta {
  width: min(1120px, calc(100% - 32px)); margin: 60px auto 120px; padding: 80px 24px; border-radius: 32px; text-align: center;
  position: relative; overflow: hidden; border: 1px solid var(--border-2);
  background: radial-gradient(ellipse at 50% 0%, rgba(108,200,240,.22), transparent 60%), var(--bg-2);
}
.cta-ghost { width: 84px; margin: 0 auto 24px; filter: drop-shadow(0 0 30px rgba(108,200,240,.5)); animation: floaty 5s ease-in-out infinite; }
.cta p { color: var(--muted); margin: 14px 0 30px; font-size: 18px; }
.cta-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid var(--border-2); }
.cta-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 15px var(--font); padding: 0 16px; }
.cta-form input::placeholder { color: var(--dim); }
.form-msg { min-height: 24px; color: var(--ice) !important; font-size: 14px !important; margin: 16px 0 0 !important; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 60px 24px 30px; }
.footer-inner { width: min(1120px, 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 14px; font-size: 13px; color: var(--text); font-weight: 600; }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .25s; }
.footer-cols a:hover { color: var(--text); }
.copy { text-align: center; color: var(--dim); font-size: 13px; margin: 50px 0 0; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in, .plan.reveal.in { transition: opacity 1s var(--ease), transform .5s var(--ease), border-color .4s; }

/* ============ Legal pages ============ */
.legal { width: min(760px, 100%); margin: 0 auto; padding: 140px 24px 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; }
  .hero-orb { width: 110vw; height: 110vw; right: -30vw; top: auto; bottom: 0; animation: none; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .ghost-stage { max-width: 420px; margin: 0 auto; width: 100%; }
  .bento, .plans, .steps { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .steps-line { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; padding: 8px 0; }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; padding-bottom: 8px; }
  .nav.open .nav-cta .btn { flex: 1; }
}
@media (max-width: 600px) {
  .section { padding: 80px 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .card, .plan { padding: 24px; }
  .stat-row { grid-template-columns: 1fr; }
  .float-chip { font-size: 11px; padding: 7px 10px; }
  .c2 { right: 0; }
  .c1 { left: 0; }
  .cta-form { flex-direction: column; border-radius: 20px; }
  .cta-form input { padding: 12px 14px; }
  .tab { padding: 9px 12px; font-size: 13px; }
  .footer-cols { gap: 36px; }
}
/* ============ Crypto ============ */
.ci {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 700 13px/1 var(--display); font-style: normal; color: #fff; flex: none;
}
.ci.btc { background: #f7931a; } .ci.eth { background: #627eea; } .ci.usdt { background: #26a17b; }
.ci.usdc { background: #2775ca; } .ci.sol { background: linear-gradient(135deg, #9945ff, #14f195); } .ci.ltc { background: #345d9d; }
.coins-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px auto 44px; }
.coin-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--muted); transition: border-color .3s, color .3s, transform .4s var(--ease); }
.coin-chip:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-2px); }
.coin-chip .ci { width: 22px; height: 22px; font-size: 11px; }

.crypto-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.crypto-copy .lead { max-width: 520px; }
.crypto-points { list-style: none; padding: 0; margin: 30px 0 34px; display: flex; flex-direction: column; gap: 14px; }
.crypto-points li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.crypto-points b { display: block; font-weight: 600; margin-bottom: 2px; }
.crypto-points span { color: var(--muted); font-size: 14px; }

.orbit { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.orbit::before { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: radial-gradient(circle, rgba(108,200,240,.28), rgba(108,200,240,.08) 45%, transparent 72%); }
.orbit-ghost { width: 30%; filter: drop-shadow(0 0 30px rgba(108,200,240,.35)); position: relative; z-index: 2; animation: floaty 6s ease-in-out infinite; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); animation: ring 18s linear infinite; }
.orbit-ring.o1 { inset: 22%; } .orbit-ring.o2 { inset: 8%; animation-duration: 28s; animation-direction: reverse; border-style: dashed; } .orbit-ring.o3 { inset: 0; animation-duration: 40s; }
.orbit-ring .ci { position: absolute; width: 40px; height: 40px; font-size: 18px; box-shadow: 0 0 24px rgba(255,255,255,.18); animation: counter 18s linear infinite; }
.orbit-ring.o2 .ci { animation-duration: 28s; animation-direction: normal; } .orbit-ring.o3 .ci { animation-duration: 40s; }
.orbit-ring .ci:nth-child(1) { top: -20px; left: calc(50% - 20px); }
.orbit-ring .ci:nth-child(2) { bottom: -20px; left: calc(50% - 20px); }
.orbit-ring .ci:nth-child(3) { top: calc(50% - 20px); left: -20px; }
.o2 .ci:nth-child(2) { bottom: auto; top: calc(50% - 20px); left: auto; right: -20px; }
@keyframes counter { to { transform: rotate(-360deg); } }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 80px; }
.flow-step { position: relative; padding: 24px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-2); }
.flow-step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 14px var(--display); color: #000; background: linear-gradient(180deg, #fff, var(--ice)); margin-bottom: 16px; box-shadow: 0 0 20px rgba(108,200,240,.5); }
.flow-step h3 { font-size: 17px; }
.flow-step p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; translate: 0 -50%; color: var(--sky); z-index: 2; font-size: 14px; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; transition: visibility 0s .45s; }
.modal.open { visibility: visible; pointer-events: auto; transition: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,4,6,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card {
  position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow-y: auto;
  padding: 26px; border-radius: 26px; border: 1px solid var(--border-2);
  background: radial-gradient(ellipse at 50% -10%, rgba(108,200,240,.16), transparent 55%), #0c0d11;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 80px -30px rgba(108,200,240,.4);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; transition: color .2s, background .2s; z-index: 2; }
.modal-x:hover { color: var(--text); background: var(--surface-2); }
.co-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-right: 40px; }
.co-head img { width: 44px; height: 44px; border-radius: 12px; mix-blend-mode: screen; }
.co-head strong { display: block; font: 600 18px var(--display); }
.co-head small { color: var(--muted); font-size: 13px; }
.co-steps { margin-left: auto; display: flex; gap: 5px; }
.co-steps i { width: 18px; height: 4px; border-radius: 4px; background: #252830; transition: background .4s, width .4s var(--ease); }
.co-steps i.on { background: var(--sky); width: 26px; }
.co-pane { display: none; }
.co-pane.active { display: block; animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(16px); } }
.co-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin: 18px 0 8px; font-weight: 600; }
.co-pane > .co-label:first-child { margin-top: 0; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--border); }
.seg button { flex: 1; border: 0; background: none; color: var(--muted); font: 500 14px var(--font); padding: 10px; border-radius: 10px; cursor: pointer; transition: background .3s, color .3s; }
.seg button em { font-style: normal; color: var(--sky); font-size: 12px; }
.seg button.on { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--border-2) inset; }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap button { flex: 1 1 auto; font-size: 13px; }
.coin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coin-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font: 600 14px var(--font); text-align: left; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.coin-opt small { display: block; color: var(--dim); font-weight: 500; font-size: 11px; }
.coin-opt:hover { transform: translateY(-2px); border-color: var(--border-2); }
.coin-opt.on { border-color: rgba(108,200,240,.6); background: rgba(108,200,240,.08); box-shadow: 0 0 24px -8px rgba(108,200,240,.6); }
.co-input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(0,0,0,.35); color: var(--text); font: 15px var(--font); padding: 0 14px; outline: 0; transition: border-color .3s, box-shadow .3s; }
.co-input:focus { border-color: rgba(108,200,240,.6); box-shadow: 0 0 0 4px rgba(108,200,240,.12); }
.co-err { color: #ff8a8a; font-size: 13px; min-height: 20px; margin: 8px 0 6px; }

.pay-box { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; }
.qr-wrap { position: relative; padding: 10px; border-radius: 16px; background: #fff; width: 150px; height: 150px; }
.qr-wrap #qr, .qr-wrap #qr img, .qr-wrap #qr canvas { width: 130px !important; height: 130px !important; }
.qr-coin { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30px; height: 30px; border: 3px solid #fff; }
.pay-info .co-label:first-child { margin-top: 0; }
.copy-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(0,0,0,.35); color: var(--text); font: 600 15px var(--font); cursor: pointer; text-align: left; transition: border-color .3s; }
.copy-row:hover { border-color: rgba(108,200,240,.5); }
.copy-row span { min-width: 0; overflow-wrap: anywhere; }
.copy-row.mono span { font: 500 12px ui-monospace, Consolas, monospace; color: var(--ice); }
.copy-row em { font-style: normal; font-size: 12px; color: var(--sky); flex: none; }
.muted-s { display: block; color: var(--dim); font-size: 12px; margin-top: 6px; }
.timer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.timer strong { font: 600 15px var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.timer-bar { flex-basis: 100%; height: 3px; border-radius: 3px; background: #1b1e24; overflow: hidden; }
.timer-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sky), #fff); transition: width 1s linear; }
.warn { padding: 12px 14px; border-radius: 12px; font-size: 13px; color: #ffd28a; background: rgba(255,190,90,.07); border: 1px solid rgba(255,190,90,.25); }
.warn b { color: #ffe2b0; }
.pay-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin: 16px 0; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #2a2d33; border-top-color: var(--sky); animation: spin .8s linear infinite; flex: none; }
.co-row { display: flex; gap: 10px; }
.co-row .btn-primary { flex: 1; }
.done { text-align: center; padding: 8px 0; }
.done h3 { font-size: 24px; margin: 18px 0 8px; }
.done p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.done .btn { margin-top: 14px; }
.done-ring { width: 76px; height: 76px; margin: 0 auto; }
.done-ring svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-ring circle { stroke: var(--sky); stroke-dasharray: 151; stroke-dashoffset: 151; filter: drop-shadow(0 0 8px var(--sky)); }
.done-ring path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; }
.co-pane.active .done-ring circle { animation: draw .7s var(--ease) forwards; }
.co-pane.active .done-ring path { animation: draw .5s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.copied { position: fixed; left: 50%; bottom: 30px; z-index: 120; translate: -50% 20px; opacity: 0; padding: 10px 18px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 14px; transition: opacity .3s, translate .4s var(--ease); pointer-events: none; }
.copied.show { opacity: 1; translate: -50% 0; }
body.lock { overflow: hidden; }

@media (max-width: 960px) {
  .crypto-grid { grid-template-columns: 1fr; text-align: center; }
  .crypto-copy .lead { margin-inline: auto; }
  .crypto-points { text-align: left; }
  .orbit { max-width: 340px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: 1fr; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-box { grid-template-columns: 1fr; justify-items: center; }
  .pay-info { width: 100%; }
  .modal-card { padding: 20px; }
  .co-row { flex-direction: column-reverse; }
}

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