/* ===================================================================
   Crypto Key Hunt Lab — Global Stylesheet
   =================================================================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Surfaces */
  --bg-void: #05070d;
  --bg-base: #080b14;
  --bg-surface: #0d111c;
  --bg-surface-2: #121728;
  --bg-card: #10141f;
  --border-subtle: rgba(148, 163, 196, 0.12);
  --border-strong: rgba(148, 163, 196, 0.24);

  /* Accents */
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --gold: #fbbf24;
  --danger: #f87171;
  --success: #34d399;

  --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #22d3ee 100%);
  --grad-primary-hover: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #67e8f9 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --grad-text: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 50%, #67e8f9 100%);

  /* Text */
  --text-primary: #eef1f8;
  --text-secondary: #a9b1c7;
  --text-muted: #6b7590;
  --text-inverse: #05070d;

  /* Fonts */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii / shadow */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.25);
  --shadow-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.2);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

/* ---- Accessibility utility ---- */
.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;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* No global scroll-behavior:smooth — Lenis (js/main.js) and the explicit
   lenis.scrollTo() calls in initAnchorNav/initBackToTop already animate
   every in-page scroll interaction. Leaving this on meant the browser's
   own native animated jump to a #hash on initial page load (which nothing
   here controls) could still be mid-flight when the page first paints. */
html, body { height: 100%; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(139, 92, 246, 0.35); color: #fff; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-2); border-radius: 10px; border: 2px solid var(--bg-void); }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { position: relative; padding: 120px 0; }
.section-tight { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-tight { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
.eyebrow.violet { color: var(--violet-bright); background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.3); }
.eyebrow.violet::before { background: var(--violet-bright); box-shadow: 0 0 8px var(--violet-bright); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; }
p { color: var(--text-secondary); }
p.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 60ch; }

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

.mono { font-family: var(--font-mono); }

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  isolation: isolate;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 40px -6px rgba(139, 92, 246, 0.75); transform: translateY(-2px); }

.btn-outline {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--violet-bright); background: rgba(139, 92, 246, 0.08); transform: translateY(-2px); }

.btn-ghost { color: var(--text-secondary); padding: 15px 18px; }
.btn-ghost:hover { color: var(--text-primary); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-primary); }
.brand-mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  margin-top: -6px;
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-logo-full { height: 44px; width: auto; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name .brand-line { display: block; }
.brand-name .accent { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text-primary); background: rgba(139, 92, 246, 0.15); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--bg-surface); border-left: 1px solid var(--border-subtle);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 100px 24px 24px; gap: 6px;
    transform: translateX(100%); transition: transform 0.45s var(--ease-out);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -30px 0 60px rgba(0,0,0,0.5); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline.desktop-only { display: none; }
}

/* Narrow phones: the logo + "Get Started" + menu button don't all fit on one
   row at full size, which pushed the menu button off-screen entirely. */
@media (max-width: 420px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 0.92rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; margin-top: -3px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-primary.btn-sm { padding: 9px 13px; font-size: 0.78rem; }
  .nav-toggle { width: 36px; height: 36px; }
}
@media (max-width: 360px) {
  .container { padding-inline: 16px; }
}
.nav-scrim {
  position: fixed; inset: 0; background: rgba(2,3,8,0.6); backdrop-filter: blur(2px);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero-canvas-wrap { position: absolute; inset: 0; z-index: 0; }
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139,92,246,0.16), transparent 70%),
    linear-gradient(180deg, transparent 0%, var(--bg-void) 92%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; margin-inline: auto; max-width: 880px; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content p.lead { margin-inline: auto; font-size: 1.2rem; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--border-subtle); }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

@media (max-width: 640px) {
  .hero-stats { gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ---- Product cards (home) ---- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.product-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.product-card::after {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  filter: blur(40px);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card), var(--shadow-glow-violet); }
.product-card:hover::before, .product-card:hover::after { opacity: 1; }
.product-card.teal:hover { box-shadow: var(--shadow-card), var(--shadow-glow-cyan); }
.product-card.teal::after { background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 70%); }

.product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px -6px rgba(139,92,246,0.6);
}
.product-card.teal .product-icon { background: linear-gradient(135deg, #22d3ee, #0ea5e9); box-shadow: 0 8px 24px -6px rgba(34,211,238,0.6); }
.product-icon svg { width: 28px; height: 28px; color: #fff; }

.product-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.product-tag { font-family: var(--font-mono); font-size: 0.78rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; display: block; }
.product-card.teal .product-tag { color: var(--violet-bright); }
.product-card p { margin-bottom: 24px; }
.product-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-secondary); }
.product-features svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.product-card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-primary); }
.product-card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.product-card:hover .product-card-link svg { transform: translateX(4px); }

/* ---- Generic feature cards / grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-surface-2); }
.card .icon-box {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 18px;
}
.card .icon-box svg { width: 22px; height: 22px; color: var(--violet-bright); }
.card.cyan .icon-box { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.25); }
.card.cyan .icon-box svg { color: var(--cyan); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ---- Steps / how it works ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px; display: block;
}
.step h4 { font-size: 1.02rem; margin-bottom: 8px; color: var(--text-primary); font-family: var(--font-display); }
.step p { font-size: 0.9rem; }
.step-connector { display: none; }
@media (min-width: 961px) {
  .steps { position: relative; }
}

/* ---- Stats band ---- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 48px 0; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.stat-item .label { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(139,92,246,0.14), rgba(34,211,238,0.08));
  border: 1px solid var(--border-strong);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 100%, rgba(139,92,246,0.3), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { margin-inline: auto; margin-bottom: 32px; }
.cta-band .hero-actions { margin-bottom: 0; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border-subtle); padding: 64px 0 32px; background: var(--bg-base); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 16px 0 20px; font-size: 0.9rem; max-width: 32ch; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease-out); }
.socials a:hover { border-color: var(--violet-bright); background: rgba(139,92,246,0.12); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; color: var(--text-secondary); }
.socials a:hover svg { color: var(--violet-bright); }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-muted); margin-top: 20px; line-height: 1.7; max-width: 100%; }

/* ---- Reveal-on-scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: 168px 0 80px; position: relative; overflow: hidden; }
.page-hero .glow-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  filter: blur(60px); top: -220px; right: -100px; pointer-events: none;
}
.breadcrumb { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---- Legal content pages ---- */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.legal-toc a { font-family: var(--font-mono); font-size: 0.8rem; padding: 8px 14px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); color: var(--text-secondary); }
.legal-toc a:hover { color: var(--text-primary); border-color: var(--violet-bright); }
.legal-content { max-width: 760px; }
.legal-content .updated { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); margin-bottom: 44px; }
.legal-content h2 { font-size: 1.5rem; margin: 52px 0 16px; scroll-margin-top: 100px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.08rem; margin: 26px 0 10px; color: var(--text-primary); }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px 22px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { color: var(--text-secondary); margin-bottom: 8px; }
.legal-content li::marker { color: var(--text-muted); }
.legal-content strong { color: var(--text-primary); }
.legal-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .callout {
  background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-lg); padding: 20px 24px; margin: 24px 0;
}
.legal-content .callout p:last-child { margin-bottom: 0; }
.legal-content .placeholder { color: var(--text-muted); font-style: italic; }

/* ---- One-pager anchor sections ---- */
.section-glow { position: relative; overflow: hidden; }
#home, #wallet-retreiver, #argus, #about, #pricing, #demo, #faq, #contact { scroll-margin-top: 90px; }

/* ---- Product-path flows (shown/hidden based on hero choice) ---- */
.product-flow.flow-hidden { display: none; }

/* ---- Badges / pills ---- */
.pill { display: inline-block; padding: 5px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; background: rgba(139,92,246,0.12); color: var(--violet-bright); border: 1px solid rgba(139,92,246,0.25); }
.pill.cyan { background: rgba(34,211,238,0.1); color: var(--cyan); border-color: rgba(34,211,238,0.25); }
.pill.gold { background: rgba(251,191,36,0.1); color: var(--gold); border-color: rgba(251,191,36,0.28); }

/* ---- Two column layout ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split.reverse .split-media { order: 0; } }

.split-media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-surface));
  padding: 4px;
  box-shadow: var(--shadow-card);
}
.media-frame .inner { border-radius: calc(var(--radius-lg) - 4px); overflow: hidden; background: var(--bg-void); aspect-ratio: 16/11; position: relative; }

.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-list .item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .item .dot {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.28);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.feature-list .item .dot svg { width: 16px; height: 16px; color: var(--violet-bright); }
.feature-list .item h4 { font-size: 1rem; font-family: var(--font-display); margin-bottom: 4px; color: var(--text-primary); }
.feature-list .item p { font-size: 0.92rem; }

/* ---- Code / terminal decorative block ---- */
.terminal { border-radius: var(--radius-md); background: #080a12; border: 1px solid var(--border-subtle); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border-subtle); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3f52; }
.terminal-bar span:nth-child(1) { background: #ef4444; }
.terminal-bar span:nth-child(2) { background: #f59e0b; }
.terminal-bar span:nth-child(3) { background: #22c55e; }
.terminal-body { padding: 20px; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.9; }
.terminal-body .prompt { color: var(--cyan); }
.terminal-body .ok { color: var(--success); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .out { color: var(--text-secondary); }

/* ---- Argus interactive demo widget ----
   Colors here are pulled directly from the real Argus PyQt5 app's
   dashboard/theme.py (not the site's own brand tokens) so this preview is
   an accurate miniature of the actual product, not just a themed mockup. */
/* This widget has more content than the generic 16/11 mockup frame was sized
   for (topbar, stats, signal card, chart, positions) — override to a fixed
   min-height instead so nothing gets clipped by .media-frame's overflow:hidden. */
.media-frame .inner.argus-demo { aspect-ratio: auto; min-height: 460px; }
.argus-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  height: 100%;
  font-family: 'Segoe UI', var(--font-body);
  background: #0d0f16;
}
.argus-demo__topbar { display: flex; align-items: center; justify-content: space-between; }
.argus-demo__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem; color: #e8eaf0; }
.argus-demo__dot { width: 8px; height: 8px; border-radius: 50%; background: #5c6377; transition: background 0.3s ease, box-shadow 0.3s ease; }
.argus-demo__dot.on { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

.argus-demo__toggle {
  font-family: inherit; font-weight: 600; font-size: 0.78rem;
  padding: 7px 16px; border-radius: 8px; border: none; cursor: pointer;
  background: #6366f1; color: #fff; transition: background 0.25s ease;
}
.argus-demo__toggle:hover { background: #7678f5; }
.argus-demo__toggle.stop { background: transparent; border: 1px solid #343a52; color: #e8eaf0; }
.argus-demo__toggle.stop:hover { border-color: #6366f1; }

.argus-demo__status { font-family: var(--font-mono); font-size: 0.7rem; color: #5c6377; transition: color 0.3s ease; }
.argus-demo__status.active { color: #22c55e; }

.argus-demo__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.argus-demo__stat { background: #151822; border: 1px solid #262b3d; border-radius: 10px; padding: 10px 12px; }
.argus-demo__stat-label { display: block; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: #5c6377; margin-bottom: 4px; }
.argus-demo__stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; color: #e8eaf0; }

.argus-demo__card-label { font-size: 0.6rem; letter-spacing: 0.08em; color: #5c6377; margin-bottom: 6px; }

.argus-demo__signal { background: #151822; border: 1px solid #262b3d; border-radius: 10px; padding: 12px 14px; }
.argus-demo__signal-value { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; color: #8b93a7; transition: color 0.3s ease; }
.argus-demo__signal-value.buy { color: #22c55e; }
.argus-demo__signal-value.sell { color: #ef4444; }
.argus-demo__confidence { height: 5px; border-radius: 999px; background: #11141d; overflow: hidden; }
.argus-demo__confidence-fill { height: 100%; width: 0%; background: #6366f1; transition: width 0.6s ease, background 0.3s ease; }

.argus-demo__chart { width: 100%; height: 66px; display: block; }

.argus-demo__positions { background: #151822; border: 1px solid #262b3d; border-radius: 10px; padding: 10px 14px; }
.argus-demo__positions-empty { font-size: 0.76rem; color: #5c6377; }
.argus-demo__position-row { display: none; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; color: #e8eaf0; }
.argus-demo__position-row.show { display: flex; }
.argus-demo__dir { font-weight: 700; color: #22c55e; }
.argus-demo__dir.sell { color: #ef4444; }
.argus-demo__pnl { font-weight: 700; }
.argus-demo__pnl.pos { color: #22c55e; }
.argus-demo__pnl.neg { color: #ef4444; }

.argus-demo__disclaimer { font-size: 0.64rem; color: #5c6377; text-align: center; margin-top: auto; }

@media (max-width: 480px) {
  .argus-demo { padding: 16px; gap: 10px; }
  .argus-demo__stat-value { font-size: 0.78rem; }
}

/* ---- Wallet Retreiver interactive demo widget ----
   Colors/labels pulled directly from the real Tkinter app (see
   reference/wallet-retreiver-app) — window bg #1e1e1e, green start/select
   #2ecc71, red stop #e74c3c, cyan status #00bfff, bright-green speed
   readout #00ff7f. This shows the tool's real behavior (scanning many
   candidate keys, not reconstructing one specific known wallet), so
   "Found" stays at zero throughout — that's the honest outcome, not a bug. */
.media-frame .inner.wallet-demo { aspect-ratio: auto; min-height: 460px; }
.wallet-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  height: 100%;
  font-family: Helvetica, Arial, var(--font-body);
  background: #1e1e1e;
}
.wallet-demo__topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-demo__brand { font-weight: 700; font-size: 0.92rem; color: #ffffff; }

.wallet-demo__toggle {
  font-family: inherit; font-weight: 700; font-size: 0.76rem;
  padding: 8px 14px; border-radius: 6px; border: none; cursor: pointer;
  background: #2ecc71; color: #000; white-space: nowrap;
  transition: background 0.25s ease;
}
.wallet-demo__toggle:hover { background: #27ae60; }
.wallet-demo__toggle.stop { background: #e74c3c; color: #fff; }
.wallet-demo__toggle.stop:hover { background: #c0392b; }

.wallet-demo__status { font-family: var(--font-mono); font-size: 0.74rem; color: #888; transition: color 0.3s ease; }
.wallet-demo__status.active { color: #00bfff; }

.wallet-demo__coins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wallet-demo__coin {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; border-radius: 8px; border: none; cursor: pointer;
  background: #444; color: #fff; font-weight: 700; font-size: 0.68rem;
  transition: background 0.25s ease;
}
.wallet-demo__coin:hover { background: #555; }
.wallet-demo__coin.active { background: #2ecc71; color: #000; }
.wallet-demo__coin.active:hover { background: #27ae60; }
.wallet-demo__coin-glyph { font-size: 1.1rem; }

.wallet-demo__row { display: flex; align-items: center; gap: 10px; }
.wallet-demo__thread-label { font-size: 0.78rem; color: #ffffff; }
.wallet-demo__thread-input {
  width: 56px; background: #2a2a2a; border: 1px solid #3a3a3a; border-radius: 6px;
  color: #fff; font-family: inherit; font-size: 0.78rem; padding: 5px 8px;
}

.wallet-demo__stats { display: flex; flex-direction: column; gap: 4px; }
.wallet-demo__stat-row { display: flex; align-items: baseline; gap: 8px; font-size: 0.72rem; }
.wallet-demo__stat-row.hidden { display: none; }
.wallet-demo__stat-coin { font-weight: 700; color: #ccc; width: 40px; flex-shrink: 0; }
.wallet-demo__stat-value { color: #fff; font-family: var(--font-mono); font-size: 0.68rem; }

.wallet-demo__speed {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; color: #00ff7f;
}

.wallet-demo__disclaimer { font-size: 0.64rem; color: #888; text-align: center; margin-top: auto; }

@media (max-width: 480px) {
  .wallet-demo { padding: 16px; gap: 10px; }
  .wallet-demo__coin { font-size: 0.6rem; }
}

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
@media (max-width: 760px) { .pricing-grid.cols-2 { grid-template-columns: 1fr; max-width: 440px; } }

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured { border-color: rgba(139,92,246,0.5); background: linear-gradient(160deg, rgba(139,92,246,0.1), var(--bg-card) 60%); box-shadow: var(--shadow-glow-violet); }
.price-card .badge-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; background: var(--grad-primary); color: #fff; }
.price-card .plan-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.price-card .plan-desc { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 20px; min-height: 40px; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price-card .price .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--text-primary); }
.price-card .price .period { color: var(--text-muted); font-size: 0.9rem; }
.price-card .plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.price-card .plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); }
.price-card .plan-features svg { width: 16px; height: 16px; color: var(--teal); margin-top: 3px; flex-shrink: 0; }
.price-card .plan-features li.disabled { color: var(--text-muted); opacity: 0.6; }
.price-card .plan-features li.disabled svg { color: var(--text-muted); }

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin-inline: auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.open { border-color: rgba(139,92,246,0.4); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; }
.faq-question h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.faq-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--bg-surface-2); display: flex; align-items: center; justify-content: center; position: relative; transition: background 0.3s ease; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--text-secondary); transition: transform 0.35s var(--ease-out), background 0.3s ease; }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon { background: var(--grad-primary); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-answer-inner { padding: 0 26px 24px; }
.faq-answer-inner p { font-size: 0.94rem; }
.faq-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-subtle); font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: all 0.3s ease; }
.filter-chip.active, .filter-chip:hover { color: #fff; background: var(--grad-primary); border-color: transparent; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.field input, .field textarea, .field select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet-bright); background: var(--bg-surface-2);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.field.error input, .field.error textarea { border-color: var(--danger); }
.field-error-msg { font-size: 0.78rem; color: var(--danger); display: none; }
.field.error .field-error-msg { display: block; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b93a7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.contact-panel { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 40px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .check svg { width: 30px; height: 30px; color: var(--success); }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .dot { width: 42px; height: 42px; border-radius: 12px; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .dot svg { width: 19px; height: 19px; color: var(--cyan); }
.contact-info-item h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-primary); margin-bottom: 3px; }
.contact-info-item p { font-size: 0.88rem; }

/* ---- Demo page ---- */
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-surface));
  box-shadow: var(--shadow-card), var(--shadow-glow-violet);
}
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.video-frame .plyr {
  --plyr-color-main: var(--violet-bright);
  --plyr-video-background: transparent;
  --plyr-menu-background: var(--bg-surface-2);
  --plyr-menu-color: var(--text-primary);
  width: 100%; height: 100%; border-radius: 0;
}
.video-frame .plyr video { border-radius: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; cursor: pointer;
}
.video-placeholder .eyebrow { margin-bottom: 0; }
.play-btn { width: 84px; height: 84px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(139,92,246,0.5); animation: play-pulse 2.4s ease-out infinite; transition: transform 0.3s var(--ease-out); }
.video-placeholder:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
@keyframes play-pulse { 0% { box-shadow: 0 0 0 0 rgba(139,92,246,0.45); } 70% { box-shadow: 0 0 0 26px rgba(139,92,246,0); } 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); } }
.video-placeholder .vp-label { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.05em; }

.demo-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.demo-tab { padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border-subtle); font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); transition: all 0.3s ease; }
.demo-tab.active { color: #fff; background: var(--grad-primary); border-color: transparent; box-shadow: 0 6px 20px -6px rgba(139,92,246,0.6); }
.demo-tab:not(.active):hover { border-color: var(--border-strong); color: var(--text-primary); }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

.timeline-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-subtle); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item .ts { font-family: var(--font-mono); font-size: 0.82rem; color: var(--cyan); padding-top: 2px; }
.timeline-item h4 { font-family: var(--font-display); font-size: 0.98rem; color: var(--text-primary); margin-bottom: 4px; }
.timeline-item p { font-size: 0.88rem; }

/* ---- Logo strip ---- */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.7; }
.trust-strip .t-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); }
.trust-strip svg { width: 16px; height: 16px; }

/* ---- Misc ---- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); margin: 0; }
.center { text-align: center; }
.mt-lg { margin-top: 64px; }
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-surface-2); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 500; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); border-color: var(--violet-bright); }
.back-to-top svg { width: 18px; height: 18px; color: var(--text-primary); }

.risk-banner { display: flex; gap: 14px; padding: 18px 22px; background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.25); border-radius: var(--radius-md); }
.risk-banner svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.risk-banner p { font-size: 0.86rem; color: var(--text-secondary); }
.risk-banner strong { color: var(--text-primary); }

/* ===================================================================
   MOTION SYSTEM — smooth scroll, custom cursor, grain, marquee,
   kinetic text, magnetic buttons. Loaded on every page via main.js.
   =================================================================== */

/* ---- Lenis smooth-scroll scaffolding ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Custom cursor (fine-pointer devices only) ---- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.06);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), opacity 0.3s ease;
}
.cursor-ring.hovering { width: 68px; height: 68px; background: rgba(139, 92, 246, 0.12); border-color: rgba(34, 211, 238, 0.7); }
.cursor-ring.clicking { width: 30px; height: 30px; }
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor .faq-question, body.has-custom-cursor .filter-chip, body.has-custom-cursor .demo-tab { cursor: none; }
body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select { cursor: auto; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---- Persistent scroll-linked background scene (coins, $, chart lines) ---- */
#bg-scene-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---- Film-grain overlay ---- */
.grain-overlay {
  position: fixed; inset: -10%;
  width: 120%; height: 120%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(8) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -2%); }
  30% { transform: translate(2%, 1%); }
  50% { transform: translate(-2%, 2%); }
  70% { transform: translate(1%, -1%); }
  90% { transform: translate(-1%, 2%); }
}

/* ---- Marquee band ---- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
  background: var(--bg-base);
}
.marquee__track { display: inline-flex; align-items: center; animation: marquee-scroll 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee__item .dot-sep { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright); flex-shrink: 0; }
.marquee__item.accent { color: var(--text-primary); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Kinetic split-text headline reveals ---- */
[data-kinetic] { overflow: visible; }
[data-kinetic] .kinetic-line { overflow: hidden; display: block; }
[data-kinetic] .kinetic-word { display: inline-block; will-change: transform, opacity; }

/* ---- Magnetic buttons ---- */
[data-magnetic] { will-change: transform; }

/* ===================================================================
   SPLIT-SCREEN HERO — draggable divider revealing each product
   =================================================================== */
.split-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  perspective: 1800px;
  background: var(--bg-void);
}

.split-hero__scene {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}
.split-hero.dragging .split-hero__scene { transition: none; }

.split-hero__panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  will-change: clip-path;
}
.split-hero__panel--wallet {
  clip-path: inset(0 calc(100% - var(--split, 50) * 1%) 0 0);
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(139,92,246,0.22), transparent 65%),
    linear-gradient(160deg, #0d0a1a 0%, var(--bg-void) 70%);
}
.split-hero__panel--argus {
  clip-path: inset(0 0 0 calc(var(--split, 50) * 1%));
  background:
    radial-gradient(60% 60% at 70% 70%, rgba(34,211,238,0.2), transparent 65%),
    linear-gradient(200deg, #071418 0%, var(--bg-void) 70%);
}
.split-hero__panel { transition: clip-path 0.6s var(--ease-out); }
.split-hero.dragging .split-hero__panel { transition: none; }

.split-hero__content {
  position: relative;
  width: min(560px, 86vw);
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 440px;
  will-change: transform;
  transition: transform 0.6s var(--ease-out);
}
.split-hero.dragging .split-hero__content { transition: none; }
@media (max-width: 760px) {
  .split-hero__content { min-height: 380px; }
}

.split-hero__icon {
  width: 66px; height: 66px; margin: 0 auto 24px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px -6px currentColor;
}
.split-hero__panel--wallet .split-hero__icon { background: var(--grad-primary); color: rgba(139,92,246,0.6); }
.split-hero__panel--argus .split-hero__icon { background: linear-gradient(135deg, #22d3ee, #0ea5e9); color: rgba(34,211,238,0.6); }
.split-hero__icon svg { width: 32px; height: 32px; color: #fff; }

/* Reserve a fixed 2-line box and vertically center whatever's inside it, so a
   one-line title ("Argus") and a two-line title ("Wallet / Retreiver") still
   end at the exact same Y — everything below (tagline, CTA) stays aligned.
   The centering lives on this wrapper, not the heading itself, so the
   heading's own text flow (line breaks, kinetic word-split spans) is untouched. */
.split-hero__title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  min-height: 2.06em;
  margin-bottom: 16px;
}
.split-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: inherit;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

/* "Wallet" stays put; "Retreiver" is collapsed by default so the resting
   title reads as a single word — same as "Argus" — for a matched, seamless
   center state. Revealing it pushes "Wallet" up into the top-line position
   automatically, since the title is vertically centered in its box (see
   .split-hero__title-box above): a taller two-line block re-centers itself.
   Progress is scrubbed live from JS (see applyVisuals) in lockstep with the
   drag itself, not toggled by a class after the fact — no separate CSS
   transition here, so it can't fall behind or double-animate against it. */
.split-hero__title-line { display: block; }
.split-hero__title-line--sub {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
}

.split-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}
.split-hero__tagline {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 44ch;
  margin: 0 auto 30px;
}
.split-hero__cta { display: inline-flex; margin-top: auto; }
.split-hero__panel--wallet .split-hero__cta.btn-primary { box-shadow: 0 8px 30px -8px rgba(139,92,246,0.6); }
.split-hero__panel--argus .split-hero__cta.btn-primary { box-shadow: 0 8px 30px -8px rgba(34,211,238,0.6); }

/* Divider — doubles as a bottom-anchored pull tab when a side is fully revealed */
.split-hero__divider {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--split, 50) * 1%);
  width: 0;
  z-index: 30;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 14px;
  padding-bottom: 96px;
  touch-action: none;
  cursor: grab;
}
.split-hero__divider:active { cursor: grabbing; }
.split-hero__divider::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5), transparent);
  box-shadow: 0 0 24px rgba(139,92,246,0.6);
}
.split-hero__handle {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(10, 12, 20, 0.75);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 30px -6px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  flex-shrink: 0;
}
.split-hero__divider:hover .split-hero__handle,
.split-hero__divider:active .split-hero__handle { transform: scale(1.1); border-color: var(--violet-bright); }
.split-hero__handle svg { width: 15px; height: 15px; color: var(--text-primary); }
.split-hero__hint {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  opacity: 1; transition: opacity 0.4s ease;
}

/* Fully-revealed state — the divider stays put at the edge as a pull tab.
   Anchor the hint/handle to the outer edge instead of centering them on the
   (now edge-positioned) divider, otherwise half the label renders offscreen. */
.split-hero.revealed-wallet .split-hero__panel--argus,
.split-hero.revealed-argus .split-hero__panel--wallet {
  opacity: 0; transition: opacity 0.5s ease, clip-path 0.6s var(--ease-out);
}
.split-hero.dragging .split-hero__hint { opacity: 0; }

.split-hero.revealed-argus .split-hero__divider { align-items: flex-start; }
.split-hero.revealed-argus .split-hero__hint,
.split-hero.revealed-argus .split-hero__handle { margin-left: 22px; }

.split-hero.revealed-wallet .split-hero__divider { align-items: flex-end; }
.split-hero.revealed-wallet .split-hero__hint,
.split-hero.revealed-wallet .split-hero__handle { margin-right: 22px; }

.split-hero__scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.split-hero__scroll-cue svg { width: 14px; height: 14px; animation: scroll-cue-bounce 1.8s ease-in-out infinite; }
@keyframes scroll-cue-bounce { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } }

@media (max-width: 760px) {
  .split-hero__title-box { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .split-hero__tagline { font-size: 0.92rem; }
  .split-hero__content { width: 90vw; }
  .split-hero__handle { width: 52px; height: 52px; }
  .split-hero__divider { padding-bottom: 76px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain-overlay { animation: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
