/* ============================================================
   EAV WALLET — Coinbase-inspired design system, EAV palette
   - 4px spacing base, 96px section bands
   - Pill CTAs (radius 100px), 24px card radius, full-circle icons
   - Display weight 400 with negative letter-spacing
   - Dark canvas (#08090d) with EAV green (#00f08a) as single accent
   - Layered product-UI mockups, hairline dividers, soft elevation
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2-variations"),
       url("fonts/InterVariable.woff2") format("woff2");
}

:root {
  /* === Canvas & surfaces (EAV dark) === */
  --canvas: #08090d;
  --surface-soft: #0c0e14;
  --surface-strong: #15171f;
  --surface-elev: #1f222d;
  --surface-overlay: rgba(255, 255, 255, 0.04);

  /* === Hairlines === */
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.04);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* === Text === */
  --ink: #f8fafc;
  --ink-soft: #d6dae3;
  --body: #a7adbb;
  --muted: #7c828a;
  --muted-soft: #5b616e;
  --on-accent: #042818;

  /* === Accent (EAV green replaces Coinbase blue) === */
  --accent: #00f08a;
  --accent-active: #0cc978;
  --accent-soft: rgba(0, 240, 138, 0.12);
  --accent-glow: rgba(0, 240, 138, 0.28);

  /* === Semantic === */
  --semantic-up: #00f08a;
  --semantic-down: #ff5a67;

  /* === Brand secondaries (illustrative only — never as button fills) === */
  --violet: #6f5cff;
  --blue: #4f7cff;
  --yellow: #f8c52e;

  /* === Spacing (4px base) === */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-base: 16px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-3xl: 64px;
  --space-section: 96px;

  /* === Radius === */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --radius-full: 9999px;

  /* === Type === */
  --font-sans: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* === Elevation (Coinbase: one soft tier only) === */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.42);
  --shadow-mockup: 0 32px 80px rgba(0, 0, 0, 0.5);

  /* === Motion === */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 520ms;

  /* === Layout === */
  --shell-max: 1200px;
  --shell-pad: clamp(20px, 4vw, 32px);
  --header-height: 64px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--accent); color: var(--on-accent); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  padding-inline: var(--shell-pad);
  margin-inline: auto;
}

main, header, footer, section { width: 100%; max-width: 100%; }

.section-band {
  padding-block: var(--space-section);
}

section:not(.hero):not(.section-band) {
  padding-block: var(--space-section);
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-out);
}
.skip-link:focus-visible { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* ============================================================
   TYPOGRAPHY (Coinbase scale)
   - Display weight stays at 400 (institutional calm)
   ============================================================ */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1.0;
}
h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.022em;
  line-height: 1.06;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p { margin: 0; color: var(--body); line-height: 1.5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.eyebrow.muted {
  background: var(--surface-overlay);
  color: var(--ink-soft);
}
.eyebrow i { width: 14px; height: 14px; }

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  align-items: flex-start;
}
.section-heading.centered {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}
.section-heading p {
  font-size: 18px;
  color: var(--body);
  max-width: 620px;
}

/* ============================================================
   BUTTONS (pill universal)
   ============================================================ */
.button {
  --btn-h: 48px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
  will-change: transform;
}
.button i { width: 16px; height: 16px; flex-shrink: 0; }

.button.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.button.primary:hover { background: var(--accent-active); transform: translateY(-1px); }
.button.primary:active { transform: translateY(0); }

.button.secondary {
  background: var(--surface-strong);
  color: var(--ink);
  border-color: var(--hairline);
}
.button.secondary:hover {
  background: var(--surface-elev);
  border-color: var(--hairline-strong);
}

.button.outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.button.outline:hover { background: var(--surface-overlay); }

.button.large {
  --btn-h: 56px;
  --btn-px: 32px;
  font-size: 16px;
}

.button.ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  height: auto;
}
.button.ghost:hover { color: var(--accent-active); }

/* ============================================================
   HEADER — premium crypto-site treatment
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--hairline-soft);
  transition: border-color var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 138, 0.32), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(6, 7, 11, 0.94);
}
.site-header.is-scrolled::after { opacity: 1; }

/* === Live ticker strip === */
.ticker-strip {
  position: relative;
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-soft);
  background: linear-gradient(180deg, rgba(0, 240, 138, 0.04), transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 0 18px;
  height: 100%;
  white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  will-change: transform;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  flex-shrink: 0;
}
.ticker-item img,
.ticker-item svg,
.ticker-item i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ticker-item img { border-radius: 50%; }
.ticker-item span {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.ticker-item strong {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.ticker-item em.up { font-style: normal; color: var(--semantic-up); font-weight: 600; font-size: 11px; }
.ticker-item em.down { font-style: normal; color: var(--semantic-down); font-weight: 600; font-size: 11px; }
.ticker-item em.pulse {
  width: 8px; height: 8px;
  background: var(--token-lavender);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--token-lavender);
  animation: pulseDot 1.6s ease-out infinite;
  font-style: normal;
}
.ticker-token strong { color: var(--token-pink); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* === Main nav === */
.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.brand:hover { opacity: 0.85; }
.brand img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.nav-links > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
  position: relative;
}
.nav-links > a:hover,
.nav-trigger:hover { background: var(--surface-overlay); color: var(--ink); }
.nav-trigger i { width: 14px; height: 14px; transition: transform var(--duration-base) var(--ease-out); }
.nav-group.is-open .nav-trigger i { transform: rotate(180deg); }
.nav-group.is-open .nav-trigger,
.nav-group:hover .nav-trigger { background: var(--surface-overlay); color: var(--ink); }

.nav-link-token {
  position: relative;
  color: var(--token-pink) !important;
}
.nav-link-token::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: var(--token-lavender);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--token-lavender);
  animation: pulseDot 2s ease-out infinite;
}

.nav-group { position: relative; }

/* === Standard dropdown === */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 320px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: linear-gradient(180deg, #14161e 0%, #0e1015 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 240, 138, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 220ms var(--ease-out),
              transform 220ms var(--ease-out),
              visibility 0s linear 220ms;
  z-index: 60;
}
.nav-group.is-open .nav-dropdown,
.nav-group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
/* invisible bridge so the dropdown stays open between trigger and dropdown */
.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out);
}
.nav-dropdown a:hover { background: var(--surface-overlay); }
.nav-dropdown a i {
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-dropdown a span { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown a strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.nav-dropdown a small { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* === Mega menu === */
.nav-dropdown-mega {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  padding: 14px;
  min-width: 720px;
  left: 50%;
  transform: translate(-50%, -8px);
}
.nav-group.is-open .nav-dropdown-mega,
.nav-group:hover .nav-dropdown-mega {
  transform: translate(-50%, 0);
}
.nav-mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
}
.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-mega-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 8px 12px 6px;
}
.nav-mega-col a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: background var(--duration-fast) var(--ease-out);
}
.nav-mega-col a:hover { background: var(--surface-overlay); }
.nav-mega-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--accent);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.nav-mega-col a:hover .nav-mega-icon {
  background: var(--accent-soft);
  border-color: rgba(0, 240, 138, 0.32);
}
.nav-mega-icon i, .nav-mega-icon svg { width: 18px; height: 18px; }
.nav-mega-text { display: flex !important; flex-direction: column; gap: 2px; }
.nav-mega-text strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-mega-text small { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Featured card on right of mega menu */
.nav-mega-feature {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 70% 0%, rgba(167, 139, 250, 0.18), transparent 60%),
    linear-gradient(165deg, #1a1525 0%, #0e1015 100%);
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.nav-mega-feature-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--token-glow), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.nav-mega-feature-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(167, 139, 250, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.32);
  color: var(--token-pink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-radius: var(--radius-pill);
}
.nav-mega-feature img {
  position: relative;
  z-index: 1;
  width: 60px !important;
  height: 60px !important;
  margin-top: 4px !important;
  filter: drop-shadow(0 8px 24px var(--token-glow));
  animation: coinFloat3D 5s var(--ease-in-out) infinite;
}
.nav-mega-feature strong {
  position: relative;
  z-index: 1;
  font-size: 18px !important;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-mega-feature small {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.nav-mega-feature-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 5px 10px;
  background: var(--token-lavender);
  color: #1a0a2e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.nav-mega-feature-cta i, .nav-mega-feature-cta svg { width: 11px; height: 11px; }
.nav-mega-feature:hover .nav-mega-feature-cta {
  background: var(--token-pink);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface-overlay);
}
.lang-switch button {
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--accent); color: var(--on-accent); }

.nav-login {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.nav-login:hover { background: var(--surface-overlay); color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.nav-cta i { width: 14px; height: 14px; }
.nav-cta:hover { background: var(--accent-active); transform: translateY(-1px); }

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-overlay);
  color: var(--ink);
}
.mobile-menu-button i { width: 20px; height: 20px; }

/* === Mobile menu panel === */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base);
  z-index: 60;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mobile-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

/* === Mobile menu (rock-solid, no nested flex chains) === */
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #15171f;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 100;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
}
.mobile-panel.is-open { transform: translateX(0); }

.mobile-section {
  display: block;
  margin-bottom: 18px;
}
.mobile-label {
  display: block;
  padding: 0 12px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c828a;
}
.mobile-section a,
.mobile-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  margin-bottom: 4px;
  border-radius: 12px;
  color: #f8fafc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  min-height: 56px;
}
.mobile-section a:hover,
.mobile-section a:active {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-section a i,
.mobile-section a svg,
.mobile-cta i,
.mobile-cta svg {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #00f08a;
  stroke: #00f08a;
}
.mobile-section a > span {
  display: block;
  flex: 1;
  min-width: 0;
}
.mobile-section a strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
}
.mobile-section a small {
  display: block;
  font-size: 12px;
  color: #a7adbb;
  line-height: 1.35;
  margin-top: 2px;
}

.mobile-cta {
  justify-content: center;
  margin: 8px 0 0;
  padding: 14px 20px;
  background: #00f08a;
  color: #042818;
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  min-height: 52px;
}
.mobile-cta i, .mobile-cta svg {
  color: #042818;
  stroke: #042818;
  width: 18px;
  height: 18px;
}
.mobile-cta span { color: #042818; font-weight: 700; }

.lang-switch-mobile { display: none; }

body.is-menu-open { overflow: hidden; }

/* ============================================================
   HERO BAND
   - Coinbase signature: dark hero with layered product-UI mockup stack
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 140px);
  background: radial-gradient(ellipse 1200px 600px at 80% 0%, rgba(0, 240, 138, 0.08), transparent 60%),
              radial-gradient(ellipse 1000px 500px at 0% 100%, rgba(111, 92, 255, 0.06), transparent 60%),
              var(--canvas);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 800px 600px at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 800px 600px at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 640px;
}
.hero-copy h1 {
  font-size: clamp(40px, 6.6vw, 80px);
  letter-spacing: -0.028em;
  line-height: 0.98;
}
.hero-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--body);
  line-height: 1.55;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-xs);
}
.hero-actions .button { --btn-h: 52px; --btn-px: 28px; font-size: 16px; }

.official-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: var(--space-xs);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.official-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.official-strip img { width: 18px; height: 18px; opacity: 0.85; }
.official-strip .logo-only img { width: 36px; height: auto; opacity: 0.95; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-base);
}
.trust-row > div { display: flex; flex-direction: column; gap: 4px; }
.trust-row strong { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.trust-row span { font-size: 13px; color: var(--muted); }

/* === Hero visual: layered phone stack (Coinbase mockup pattern) === */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.08;
  perspective: 1600px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  --scroll-tilt-x: 0deg;
  --scroll-tilt-y: 0deg;
}
.phone-stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt-x) + var(--scroll-tilt-x))) rotateY(calc(var(--tilt-y) + var(--scroll-tilt-y)));
  transition: transform var(--duration-slow) var(--ease-out);
}
.phone {
  position: absolute;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-mockup);
  transition: transform var(--duration-slow) var(--ease-out);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-main {
  width: 58%;
  aspect-ratio: 709 / 1600;
  top: 4%;
  left: 50%;
  transform: translate3d(calc(-50% + var(--shift-x)), var(--shift-y), 60px);
  z-index: 3;
}
.phone-side {
  width: 42%;
  aspect-ratio: 709 / 1600;
  z-index: 2;
  filter: brightness(0.85);
}
.phone-side.top {
  top: 0;
  left: -2%;
  transform: translate3d(calc(var(--shift-x) * 0.6), calc(var(--shift-y) * 0.4 - 12px), 20px) rotate(-6deg);
}
.phone-side.bottom {
  bottom: 0;
  right: -4%;
  transform: translate3d(calc(var(--shift-x) * 0.4), calc(var(--shift-y) * 0.4 + 12px), 20px) rotate(6deg);
}

/* === Floating product cards (Coinbase: floating mockup chips) === */
.floating-card {
  position: absolute;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateZ(80px);
  animation: floatY 6s var(--ease-in-out) infinite;
}
.balance-card {
  top: 14%;
  left: -4%;
  min-width: 200px;
  animation-delay: -1s;
}
.balance-card span { font-size: 12px; color: var(--muted); font-weight: 500; }
.balance-card strong { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.balance-card small { font-size: 12px; color: var(--semantic-up); font-weight: 600; }

.pix-card {
  bottom: 16%;
  right: -2%;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  animation-delay: -3s;
}
.pix-card img { width: 24px; height: 24px; }
.pix-card span { font-size: 14px; font-weight: 600; color: var(--ink); }

@keyframes floatY {
  0%, 100% { transform: translateZ(80px) translateY(0); }
  50% { transform: translateZ(80px) translateY(-8px); }
}

/* === Coin orbit (subtle background motif) === */
.coin-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.coin {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  animation: coinFloat 7s var(--ease-in-out) infinite;
}
.coin.btc { top: 52%; left: -6%; animation-delay: -1s; }
.coin.eth { top: 8%; right: 4%; animation-delay: -3s; }
.coin.sol { bottom: 4%; left: 14%; animation-delay: -5s; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

/* ============================================================
   HOW IT WORKS — 3 steps with connecting line
   ============================================================ */
.howto-section {
  position: relative;
  background: var(--canvas);
  padding-block: var(--space-section);
  overflow: hidden;
  isolation: isolate;
}
.howto-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 700px 540px at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 700px 540px at 50% 50%, #000 0%, transparent 75%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.howto-section .shell { position: relative; z-index: 1; }

.howto-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.howto-line {
  position: absolute;
  top: 36px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: var(--hairline);
  border-radius: var(--radius-pill);
  overflow: hidden;
  z-index: 0;
}
.howto-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-active));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out);
  box-shadow: 0 0 12px var(--accent-glow);
}
.howto-section .reveal.is-visible ~ * .howto-line-fill,
.howto-steps:has(.reveal.is-visible) .howto-line-fill {
  transform: scaleX(1);
}

.howto-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}
.howto-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 138, 0.32);
  background: var(--surface-elev);
}

.howto-step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  align-self: flex-start;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 240, 138, 0.16), transparent 70%),
    var(--surface-elev);
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  color: var(--accent);
}
.howto-step-num::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(0, 240, 138, 0.24);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.howto-step:hover .howto-step-num::before { opacity: 1; }
.howto-step-num span {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid var(--surface-strong);
}
.howto-step-num i {
  width: 28px;
  height: 28px;
}

.howto-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.howto-step p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}
.howto-step-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 6px 12px;
  align-self: flex-start;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 138, 0.20);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.howto-step-meta i { width: 12px; height: 12px; }

@media (max-width: 1100px) {
  .howto-steps { grid-template-columns: 1fr; gap: 16px; }
  .howto-line { display: none; }
}

/* ============================================================
   PROOF STRIP — large mono numbers
   ============================================================ */
.proof-section {
  padding-block: var(--space-3xl);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 1000px 400px at 50% 100%, rgba(0, 240, 138, 0.04), transparent 70%),
    var(--surface-soft);
  position: relative;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
  position: relative;
}
.proof-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--space-xl) * -0.5);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--hairline);
}
.proof-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.proof-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 60%, rgba(248, 250, 252, 0.3) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-num em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.7em;
  font-weight: 400;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  margin-left: 2px;
}
.proof-num-text { font-size: clamp(32px, 3.6vw, 48px); }
.proof-item small {
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  max-width: 220px;
}

@media (max-width: 720px) {
  .proof-item:not(:first-child)::before { display: none; }
}

/* ============================================================
   PRODUCT FEATURE GRID — clean uniform 4 cards
   ============================================================ */
.product-section { background: var(--canvas); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  padding: var(--space-xl);
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 138, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.feature-card:hover {
  border-color: rgba(0, 240, 138, 0.32);
  background: var(--surface-elev);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  align-self: flex-start;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.feature-icon-wrap img { width: 100%; height: 100%; }
.feature-card:hover .feature-icon-wrap {
  background: var(--accent-soft);
  border-color: rgba(0, 240, 138, 0.32);
}
.feature-icon-stack {
  width: auto;
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  flex-direction: row;
  gap: 0;
}
.feature-icon-stack img {
  width: 28px; height: 28px;
  padding: 4px;
  background: var(--surface-elev);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  margin-left: -8px;
}
.feature-icon-stack img:first-child { margin-left: 0; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS SECTION (cartões)
   ============================================================ */
.cards-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cards-visual {
  position: relative;
  aspect-ratio: 1 / 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-art { position: absolute; inset: 0; pointer-events: none; }
.cards-orbit {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid var(--hairline);
  opacity: 0.5;
}
.cards-orbit.one {
  width: 80%; aspect-ratio: 1;
  top: 10%; left: 10%;
}
.cards-orbit.two {
  width: 60%; aspect-ratio: 1;
  top: 20%; left: 20%;
  border-color: var(--hairline-strong);
}

.limit-panel {
  position: absolute;
  top: 12%;
  left: -2%;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  animation: floatY 6s var(--ease-in-out) infinite;
}
.limit-panel span { font-size: 12px; color: var(--muted); }
.limit-panel strong { font-family: var(--font-mono); font-size: 18px; color: var(--ink); }
.limit-panel > div {
  height: 6px;
  background: var(--surface-overlay);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.limit-panel > div i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-active));
  border-radius: var(--radius-pill);
}

.security-panel-mini {
  position: absolute;
  bottom: 10%;
  right: -2%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  animation: floatY 6s var(--ease-in-out) infinite;
  animation-delay: -3s;
}
.security-panel-mini i { width: 16px; height: 16px; color: var(--accent); }

/* === Card preview (premium card mock) === */
.card-preview {
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1.586 / 1;
  padding: 24px;
  background:
    linear-gradient(135deg, #1a1d28 0%, #0f1118 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-mockup);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  overflow: hidden;
  transform: rotate(-4deg);
  transition: transform var(--duration-slow) var(--ease-out);
}
.cards-visual:hover .card-preview { transform: rotate(0); }
.card-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(0, 240, 138, 0.18) 50%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  animation: sheen 6s var(--ease-in-out) infinite;
}
@keyframes sheen {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  40%, 60% { opacity: 0.6; }
  50% { transform: translateX(100%); }
}
.card-brand-row { display: flex; justify-content: space-between; align-items: center; }
.card-brand-row img { width: 64px; height: auto; }
.card-middle { display: flex; align-items: center; gap: 12px; }
.card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #d4b97c, #8b7239);
  border-radius: 4px;
  position: relative;
}
.card-chip::before, .card-chip::after {
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.2);
}
.card-chip::before { inset: 4px 0; height: 1px; top: 12px; }
.card-chip::after { inset: 0 14px; width: 1px; left: 17px; }
.card-middle i { width: 18px; height: 18px; color: var(--ink-soft); }
.card-number {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.card-bottom span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.card-bottom small { font-size: 9px; color: var(--muted); font-weight: 500; letter-spacing: 0.1em; }
.card-bottom img { width: 48px; height: auto; }

.cards-copy { display: flex; flex-direction: column; gap: var(--space-base); }
.cards-copy .eyebrow { align-self: flex-start; }
.cards-copy h2 { margin-bottom: 8px; }
.cards-copy > p { color: var(--body); font-size: 16px; max-width: 480px; }

.cards-feature-list { display: grid; gap: 4px; margin-top: var(--space-base); }
.cards-feature-list > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.cards-feature-list > div:last-child { border-bottom: 1px solid var(--hairline); }
.cards-feature-list i {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.cards-feature-list span { display: flex; flex-direction: column; gap: 2px; }
.cards-feature-list strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.cards-feature-list small { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   TOKEN SECTION (EAV7) — palette extracted from the EAV7 coin
   - Deep purple #6f33d8 (coin center)
   - Lavender   #a78bfa (mid accent)
   - Peach pink #ffcfc8 (coin symbol + rim text)
   ============================================================ */
:root {
  --token-pink: #ffcfc8;
  --token-pink-bright: #ffb3a8;
  --token-lavender: #a78bfa;
  --token-purple: #6f33d8;
  --token-purple-deep: #3d1a78;
  --token-glow: rgba(167, 139, 250, 0.36);
  --token-soft: rgba(167, 139, 250, 0.08);

  /* legacy aliases — keep for any previous reference */
  --gold: var(--token-lavender);
  --gold-warm: var(--token-pink);
  --gold-deep: var(--token-purple);
  --gold-glow: var(--token-glow);
  --gold-soft: var(--token-soft);
}

.token-section {
  position: relative;
  background:
    radial-gradient(ellipse 1200px 700px at 50% -10%, rgba(167, 139, 250, 0.06), transparent 60%),
    #06070b;
  overflow: hidden;
  isolation: isolate;
}
.token-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 560px at 78% 18%, rgba(167, 139, 250, 0.14), transparent 62%),
    radial-gradient(ellipse 700px 500px at 12% 82%, rgba(111, 51, 216, 0.10), transparent 65%),
    radial-gradient(ellipse 500px 400px at 88% 88%, rgba(0, 240, 138, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.token-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 700px 540px at 70% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 700px 540px at 70% 50%, #000 0%, transparent 75%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.token-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.token-copy { display: flex; flex-direction: column; gap: var(--space-base); }
.token-copy h2 { margin-bottom: 4px; }
.token-copy > p { font-size: 16px; color: var(--body); max-width: 520px; line-height: 1.6; }
.token-copy strong { color: var(--gold-warm); font-weight: 600; }

.token-title-grad {
  background: linear-gradient(95deg, var(--gold-warm) 0%, var(--gold) 38%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
}

/* === Premium official badge === */
.token-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px 7px 12px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.12), rgba(167, 139, 250, 0.04));
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: var(--radius-pill);
  color: var(--gold-warm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.06),
    0 8px 28px rgba(167, 139, 250, 0.10) inset;
}
.token-badge i { width: 13px; height: 13px; }
.token-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold-warm);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-warm);
  animation: pulseDotGold 1.8s ease-out infinite;
}
@keyframes pulseDotGold {
  0% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(167, 139, 250, 0); }
  100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); }
}

/* === Live ticker chip === */
.token-ticker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.token-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.10), transparent);
  transform: translateX(-100%);
  animation: tickerSweep 6s var(--ease-in-out) infinite;
}
@keyframes tickerSweep {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
.token-ticker-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-warm);
  text-transform: uppercase;
}
.pulse-gold { background: var(--gold-warm) !important; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.6) !important; animation: pulseDotGold 1.8s ease-out infinite !important; }
.token-ticker-body {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
}
.token-ticker-body strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.token-ticker-body span { font-size: 13px; color: var(--muted); }
.token-ticker-meta em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.token-ticker-meta i { width: 12px; height: 12px; color: var(--gold); }

/* === Premium stats cards === */
.token-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: var(--space-xs);
}
.token-stats > div {
  position: relative;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}
.token-stats > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}
.token-stats > div:hover {
  border-color: rgba(167, 139, 250, 0.28);
  transform: translateY(-3px);
}
.token-stats > div:hover::before { opacity: 1; }
.token-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
  color: var(--gold-warm);
  margin-bottom: 4px;
}
.token-stat-icon i { width: 18px; height: 18px; }
.token-stats strong { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.token-stats span { font-size: 12px; color: var(--muted); line-height: 1.4; }

.token-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Gold variant of primary CTA, used only in Token section */
.token-cta-gold {
  background: linear-gradient(135deg, var(--token-pink) 0%, var(--token-lavender) 50%, var(--token-purple) 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(60, 20, 120, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 207, 200, 0.4) inset,
    0 12px 32px rgba(167, 139, 250, 0.32);
  position: relative;
  overflow: hidden;
}
.token-cta-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-out);
  pointer-events: none;
}
.token-cta-gold:hover { transform: translateY(-2px); }
.token-cta-gold:hover::after { transform: translateX(100%); }

/* ============================================================
   TOKEN CARD — Premium showcase
   ============================================================ */
.token-card {
  position: relative;
  padding: 36px 32px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.07), transparent 60%),
    linear-gradient(165deg, #14141d 0%, #0a0b12 100%);
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(167, 139, 250, 0.06);
}
.token-card-glow {
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(from 180deg at 50% 50%,
      rgba(167, 139, 250, 0.0) 0deg,
      rgba(167, 139, 250, 0.18) 90deg,
      rgba(167, 139, 250, 0.0) 180deg,
      rgba(167, 139, 250, 0.10) 270deg,
      rgba(167, 139, 250, 0.0) 360deg);
  filter: blur(60px);
  animation: cardGlowSpin 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes cardGlowSpin {
  to { transform: rotate(360deg); }
}

/* === Coin stage with conic ring + particles === */
.token-coin-stage {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
}

.token-ring-conic {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0%,
    rgba(167, 139, 250, 0.6) 16%,
    rgba(255, 207, 200, 0.85) 22%,
    transparent 36%,
    transparent 64%,
    rgba(167, 139, 250, 0.5) 78%,
    rgba(255, 207, 200, 0.75) 84%,
    transparent 100%);
  mask: radial-gradient(circle at center, transparent 62%, #000 63%, #000 66%, transparent 67%);
  -webkit-mask: radial-gradient(circle at center, transparent 62%, #000 63%, #000 66%, transparent 67%);
  filter: blur(0.5px);
  animation: ringSpin 14s linear infinite;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.token-ring-dotted {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.20);
  animation: ringSpin 60s linear infinite reverse;
}

/* === Particles orbiting === */
.token-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.token-particles span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--gold-warm);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-warm), 0 0 4px #fff;
  animation: particleOrbit 9s linear infinite;
  animation-delay: calc(var(--i) * -1.5s);
  transform-origin: center;
}
@keyframes particleOrbit {
  from {
    transform: rotate(0deg) translateX(160px) rotate(0deg) scale(0.8);
    opacity: 0.4;
  }
  50% {
    opacity: 1;
    transform: rotate(180deg) translateX(160px) rotate(-180deg) scale(1.2);
  }
  to {
    transform: rotate(360deg) translateX(160px) rotate(-360deg) scale(0.8);
    opacity: 0.4;
  }
}

/* === The coin === */
.token-coin-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.token-coin-halo {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.42) 0%, rgba(167, 139, 250, 0.14) 30%, transparent 65%);
  filter: blur(36px);
  animation: pulseGlow 4s var(--ease-in-out) infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.12); opacity: 1; }
}
.token-coin {
  position: relative;
  z-index: 2;
  width: min(220px, 56%);
  height: auto;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5))
    drop-shadow(0 24px 60px rgba(167, 139, 250, 0.45));
  animation: coinFloat3D 7s var(--ease-in-out) infinite;
  transition: transform var(--duration-slow) var(--ease-out);
}
@keyframes coinFloat3D {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.token-coin-stage:hover .token-coin {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.04);
}

/* === Mirror reflection === */
.token-coin-mirror {
  position: relative;
  z-index: 1;
  width: min(220px, 56%);
  margin-top: -8px;
  height: 60px;
  overflow: hidden;
  mask: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 80%);
  -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 80%);
  pointer-events: none;
}
.token-coin-mirror img {
  width: 100%;
  height: auto;
  transform: scaleY(-1);
  filter: blur(2px) brightness(0.7);
  opacity: 0.55;
}

/* === Floating chip badges around coin === */
.token-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(20, 20, 28, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-warm);
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(167, 139, 250, 0.18);
  z-index: 4;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: floatY 6s var(--ease-in-out) infinite;
}
.token-float-chip i { width: 13px; height: 13px; }
.token-chip-sec { top: 12%; left: -2%; animation-delay: -1s; }
.token-chip-ai { top: 28%; right: -4%; animation-delay: -3s; }
.token-chip-defl { bottom: 14%; right: 2%; animation-delay: -5s; color: var(--semantic-up); border-color: rgba(0, 240, 138, 0.28); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 240, 138, 0.18); }

/* === Features list (refined) === */
.token-features-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.token-features-head span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.token-features-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hairline), transparent);
}
.token-features {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.token-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.token-features li i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: var(--gold-warm);
}

@media (max-width: 1100px) {
  .token-coin-stage { aspect-ratio: 1 / 0.78; }
  .token-coin, .token-coin-mirror { width: min(200px, 50%); }
  .token-particles span { animation-name: particleOrbitMobile; }
  @keyframes particleOrbitMobile {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg) scale(0.8); opacity: 0.4; }
    50% { opacity: 1; transform: rotate(180deg) translateX(120px) rotate(-180deg) scale(1.2); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg) scale(0.8); opacity: 0.4; }
  }
}

@media (max-width: 720px) {
  .token-card { padding: 28px 22px 24px; }
  .token-coin-stage { aspect-ratio: 1 / 0.74; }
  .token-coin, .token-coin-mirror { width: min(170px, 56%); }
  .token-particles span { animation-name: particleOrbitMobileSm; }
  @keyframes particleOrbitMobileSm {
    from { transform: rotate(0deg) translateX(100px) rotate(0deg) scale(0.8); opacity: 0.4; }
    50% { opacity: 1; transform: rotate(180deg) translateX(100px) rotate(-180deg) scale(1.2); }
    to { transform: rotate(360deg) translateX(100px) rotate(-360deg) scale(0.8); opacity: 0.4; }
  }
  .token-float-chip { font-size: 11px; padding: 6px 10px; }
  .token-features { grid-template-columns: 1fr; }
  .token-ticker { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
}

/* ============================================================
   TRADERS SECTION
   ============================================================ */
.traders-section { background: var(--surface-soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.traders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.traders-copy { display: flex; flex-direction: column; gap: var(--space-base); }
.traders-copy h2 { margin-bottom: 8px; }
.traders-copy > p { color: var(--body); font-size: 16px; max-width: 480px; }

.trader-tools { display: grid; gap: 4px; margin-top: var(--space-base); }
.trader-tools > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-areas:
    "icon title"
    "icon desc";
  gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}
.trader-tools > div:last-child { border-bottom: 1px solid var(--hairline); }
.trader-tools i { grid-area: icon; width: 22px; height: 22px; color: var(--accent); margin-top: 4px; }
.trader-tools strong { grid-area: title; font-size: 15px; font-weight: 600; color: var(--ink); }
.trader-tools span { grid-area: desc; font-size: 13px; color: var(--muted); line-height: 1.5; }

.traders-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trade-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(0, 240, 138, 0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.trade-phone {
  position: relative;
  margin: 0;
  width: 64%;
  aspect-ratio: 720 / 1625;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-mockup);
  z-index: 2;
}
.trade-phone img { width: 100%; height: 100%; object-fit: cover; }

.trade-float {
  position: absolute;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  animation: floatY 6s var(--ease-in-out) infinite;
}
.trade-live { top: 10%; left: -2%; min-width: 180px; animation-delay: -1s; }
.trade-live-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--semantic-up);
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--semantic-up);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 240, 138, 0.6);
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 138, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0, 240, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 240, 138, 0); }
}
.trade-live strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.trade-live small { font-family: var(--font-mono); font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.trade-live em {
  display: inline-flex; align-items: center; gap: 4px;
  font-style: normal; font-size: 12px; font-weight: 600; color: var(--semantic-up);
}
.trade-live em i { width: 12px; height: 12px; }

.trade-pct { bottom: 16%; right: -4%; min-width: 140px; animation-delay: -3s; }
.trade-pct strong { font-size: 12px; font-weight: 600; color: var(--ink); }
.trade-pct small { font-family: var(--font-mono); font-size: 14px; color: var(--semantic-up); font-weight: 600; }
.trade-spark { width: 100%; height: 28px; }
.trade-spark svg { width: 100%; height: 100%; }

.trade-book { bottom: 4%; left: -4%; min-width: 180px; animation-delay: -5s; }
.trade-book-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.trade-book ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.trade-book li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.trade-book li.ask span { color: var(--semantic-down); }
.trade-book li.bid span { color: var(--semantic-up); }
.trade-book li b { color: var(--ink-soft); font-weight: 500; }

/* ============================================================
   ASSETS MATRIX — premium with per-asset color tints
   ============================================================ */
.assets-section { background: var(--canvas); }
.assets-grid { display: flex; flex-direction: column; align-items: center; }
.asset-matrix-wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}
.asset-matrix {
  display: flex;
  flex-direction: column;
}
.matrix-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr) 1.2fr;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: background var(--duration-fast) var(--ease-out);
}
.matrix-row:last-child { border-bottom: 0; }

/* Asset-specific color tints */
.matrix-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--row-color, transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.matrix-row:not(.matrix-head):hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--row-color, transparent) 6%, transparent), transparent 70%);
}
.matrix-row:not(.matrix-head):hover::before { opacity: 1; }

.matrix-asset-brl { --row-color: #00f08a; }
.matrix-asset-btc { --row-color: #f7931a; }
.matrix-asset-eth { --row-color: #627eea; }
.matrix-asset-sol { --row-color: #9945ff; }

.matrix-head {
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 28px;
}
.matrix-head span:first-child { padding-left: 0; }
.matrix-head > span:not(:first-child):not(:last-child) {
  text-align: center;
  justify-self: center;
}
.matrix-head > span:last-child {
  text-align: right;
  justify-self: flex-end;
}

.matrix-asset {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.matrix-asset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: color-mix(in srgb, var(--row-color) 12%, var(--surface-overlay));
  border: 1px solid color-mix(in srgb, var(--row-color) 24%, var(--hairline));
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.matrix-row:hover .matrix-asset-icon {
  background: color-mix(in srgb, var(--row-color) 20%, var(--surface-overlay));
  transform: scale(1.06);
}
.matrix-asset-icon img { width: 100%; height: 100%; }
.matrix-asset-name { display: flex; flex-direction: column; gap: 1px; }
.matrix-asset-name strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.matrix-asset-name small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.matrix-row > i {
  width: 18px; height: 18px;
  justify-self: center;
  color: var(--accent);
  padding: 4px;
  background: var(--accent-soft);
  border-radius: 50%;
  box-sizing: content-box;
}
.matrix-row > i[data-lucide="minus"] {
  color: var(--muted);
  background: var(--surface-overlay);
}

.matrix-status {
  justify-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.matrix-status-live {
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 138, 0.24);
  color: var(--accent);
}
.matrix-status-live .pulse-dot { width: 5px; height: 5px; }
.matrix-status-soon {
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  color: var(--muted);
}

@media (max-width: 720px) {
  .matrix-row { grid-template-columns: 1.4fr repeat(4, 1fr) auto; padding: 14px 16px; gap: 8px; }
  .matrix-asset-icon { width: 32px; height: 32px; padding: 6px; }
  .matrix-asset-name strong { font-size: 13px; }
  .matrix-asset-name small { font-size: 10px; }
  .matrix-status { font-size: 9px; padding: 3px 8px; }
  .matrix-status-soon span:not(.pulse-dot) { display: none; }
}

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.security-section { background: var(--surface-soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.security-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.security-grid .section-heading { margin-bottom: 0; }

.security-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.security-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(248, 197, 46, 0.08);
  border-bottom: 1px solid var(--hairline);
}
.security-alert i { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.security-alert div { display: flex; flex-direction: column; gap: 4px; }
.security-alert strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.security-alert span { font-size: 13px; color: var(--body); line-height: 1.5; }

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-top: 1px solid var(--hairline);
  transition: background var(--duration-fast) var(--ease-out);
}
.security-item:first-of-type { border-top: 0; }
.security-item:hover { background: var(--surface-overlay); }
.security-item i { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.security-item div { display: flex; flex-direction: column; gap: 4px; }
.security-item strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.security-item span { font-size: 13px; color: var(--body); line-height: 1.5; }

.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  border-top: 1px solid var(--hairline);
  background: var(--surface-soft);
}
.compliance-row span {
  padding: 6px 12px;
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ============================================================
   APP SECTION — Interactive showcase
   ============================================================ */
.app-section {
  position: relative;
  background:
    radial-gradient(ellipse 1200px 700px at 50% -10%, rgba(0, 240, 138, 0.05), transparent 65%),
    #06070b;
  overflow: hidden;
  isolation: isolate;
}
.app-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 25% 60%, rgba(0, 240, 138, 0.07), transparent 70%),
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(111, 92, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.app-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 700px 540px at 35% 55%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 700px 540px at 35% 55%, #000 0%, transparent 75%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.app-section .shell { position: relative; z-index: 1; }

.lang-disclaimer {
  display: none;
  max-width: 640px;
  margin: -12px auto var(--space-xl);
  padding: 12px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 138, 0.24);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}
html:not([lang^="pt"]) .lang-disclaimer { display: block; }

/* === Layout === */
.app-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* === Left: phone stage === */
.app-showcase-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-stage-glow {
  position: absolute;
  inset: 8% 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0, 240, 138, 0.20), transparent 60%);
  filter: blur(48px);
  pointer-events: none;
  animation: pulseGlow 5s var(--ease-in-out) infinite;
}
.app-stage-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.app-stage-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 138, 0.18);
}
.app-stage-rings span:nth-child(1) { width: 78%; aspect-ratio: 1; animation: ringPulse 4s var(--ease-in-out) infinite; }
.app-stage-rings span:nth-child(2) { width: 92%; aspect-ratio: 1; opacity: 0.6; animation: ringPulse 4s var(--ease-in-out) 0.6s infinite; }
.app-stage-rings span:nth-child(3) { width: 106%; aspect-ratio: 1; opacity: 0.3; animation: ringPulse 4s var(--ease-in-out) 1.2s infinite; }
@keyframes ringPulse {
  0% { transform: scale(0.92); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: scale(1.04); opacity: 0; }
}

/* === Realistic phone device === */
.app-phone-device {
  position: relative;
  z-index: 2;
  width: min(310px, 76%);
  aspect-ratio: 9 / 19.5;
  background:
    linear-gradient(145deg, #2a2d36 0%, #15171f 50%, #0a0c12 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.06) inset,
    0 0 0 0.5px rgba(0, 0, 0, 0.6),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 240, 138, 0.10);
}
.app-phone-button {
  position: absolute;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(0,0,0,0.4));
  border-radius: 2px;
}
.app-phone-power { right: -2px; top: 28%; width: 3px; height: 56px; }
.app-phone-vol-up { left: -2px; top: 22%; width: 3px; height: 36px; }
.app-phone-vol-down { left: -2px; top: 32%; width: 3px; height: 56px; }

.app-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset;
}
.app-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 4;
}
.app-phone-notch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a3340, #000);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.app-phone-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.app-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out);
  pointer-events: none;
}
.app-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.app-phone-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  mix-blend-mode: overlay;
  opacity: 0;
  z-index: 5;
}
.app-showcase-stage:hover .app-phone-shine {
  opacity: 1;
  animation: phoneShine 1.4s var(--ease-out);
}
@keyframes phoneShine {
  from { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Tap indicator that pulses on screen change */
.app-phone-tap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 138, 0.5), transparent 70%);
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}
.app-phone-tap.is-tapping {
  animation: tapPulse 700ms var(--ease-out);
}
@keyframes tapPulse {
  0% { transform: scale(0.4); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Mirror reflection of the phone */
.app-phone-mirror {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 70px;
  background: linear-gradient(180deg, rgba(0, 240, 138, 0.18) 0%, transparent 80%);
  filter: blur(16px);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  transition: opacity 600ms var(--ease-out);
}
.app-showcase-stage:hover .app-phone-mirror { opacity: 1; }

/* === Floating stage chips (per-screen contextual groups) === */
.app-chip-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
  z-index: 3;
}
.app-chip-group.is-active { opacity: 1; }

.app-stage-chip {
  position: absolute;
  padding: 12px 16px;
  background: rgba(18, 20, 28, 0.92);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: auto;
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  transition: transform 480ms var(--ease-out), opacity 360ms var(--ease-out);
}
.app-chip-group.is-active .app-stage-chip {
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: floatY 6s var(--ease-in-out) infinite 480ms;
}
.app-stage-chip span:first-child:not(strong):not(em) {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.app-stage-chip strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.app-stage-chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--semantic-up);
}

.app-chip-tl { top: 8%; left: -6%; min-width: 160px; }
.app-chip-br { bottom: 18%; right: -6%; min-width: 160px; }
.app-chip-group.is-active .app-chip-br { animation-delay: 720ms; }

.app-chip-pill {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  min-width: 0 !important;
}
.app-chip-pill img { width: 20px; height: 20px; flex-shrink: 0; }
.app-chip-pill i, .app-chip-pill svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.app-chip-pill span,
.app-chip-pill strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-family: inherit !important;
}

/* === Right: info panel === */
.app-showcase-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
}

.app-info-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.app-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  line-height: 1;
}
.app-counter span {
  font-size: 72px;
  font-weight: 500;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 55%, rgba(248, 250, 252, 0.2) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  display: inline-block;
  transition: opacity 200ms var(--ease-out), transform 320ms var(--ease-out);
}
.app-counter em {
  font-style: normal;
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
}

.app-dots {
  display: inline-flex;
  gap: 6px;
  padding-bottom: 8px;
}
.app-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hairline-strong);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              width var(--duration-base) var(--ease-out);
}
.app-dot:hover { background: var(--ink-soft); transform: scale(1.2); }
.app-dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--accent-glow);
}

.app-info-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}
.app-info-title {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  display: block;
  transition: opacity 200ms var(--ease-out), transform 320ms var(--ease-out);
}
.app-info-desc {
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
  max-width: 460px;
  margin: 0;
  transition: opacity 200ms var(--ease-out) 60ms, transform 320ms var(--ease-out) 60ms;
}
.app-info-content.is-changing .app-info-title,
.app-info-content.is-changing .app-info-desc {
  opacity: 0;
  transform: translateY(10px);
}
.app-counter span.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.app-progress {
  position: relative;
  height: 4px;
  background: var(--hairline);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.app-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-active) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 14px var(--accent-glow), 0 0 6px var(--accent);
  will-change: width;
}
.app-progress-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-glow);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.app-progress-bar.is-active::after { opacity: 1; }

.app-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.app-nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.app-nav:hover {
  background: var(--surface-elev);
  border-color: var(--hairline-strong);
  transform: translateY(-1px);
}
.app-nav:active { transform: translateY(0) scale(0.96); }
.app-nav i, .app-nav svg { width: 18px; height: 18px; }
.app-play {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
  position: relative;
}
.app-play:hover { background: var(--accent-active); }
.app-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.app-icon-pause {
  display: inline-flex;
  gap: 3px;
}
.app-icon-pause span {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: currentColor;
  border-radius: 1px;
}
.app-icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}
.app-play.is-paused .app-icon-pause {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}
.app-play.is-paused .app-icon-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.app-auto-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-left: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 138, 0.24);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.app-auto-hint.is-paused {
  background: var(--surface-overlay);
  border-color: var(--hairline);
  color: var(--muted);
}
.app-auto-hint-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.6s ease-out infinite;
}
.app-auto-hint.is-paused .app-auto-hint-dot { animation: none; box-shadow: none; }

/* === Thumbnails === */
.app-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: var(--space-base);
}
.app-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.app-thumb:hover {
  background: var(--surface-strong);
  border-color: var(--hairline-strong);
}
.app-thumb.is-active {
  background: var(--surface-strong);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px rgba(0, 0, 0, 0.4);
}
.app-thumb.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 200px 80px at 0% 50%, rgba(0, 240, 138, 0.10), transparent 70%);
  pointer-events: none;
}
.app-thumb-num {
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.app-thumb.is-active .app-thumb-num { color: var(--accent); }
.app-thumb-frame {
  flex-shrink: 0;
  width: 36px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.app-thumb-frame img { width: 100%; height: 100%; object-fit: cover; }
.app-thumb-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.app-thumb-meta strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-thumb-meta small {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .app-showcase { grid-template-columns: 1fr; }
  .app-showcase-stage { aspect-ratio: 1 / 1.1; max-width: 540px; margin-inline: auto; }
  .app-showcase-info { max-width: 540px; margin-inline: auto; width: 100%; }
  .app-thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .app-phone-device { width: min(260px, 70%); }
  .app-counter span { font-size: 48px; }
  .app-info-title { font-size: 22px; }
  .app-thumbs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app-chip-balance { left: -2%; padding: 10px 14px; min-width: 140px; }
  .app-chip-balance strong { font-size: 16px; }
  .app-chip-pix { left: 0; }
  .app-chip-coin { right: 0; }
  .app-thumb { padding: 8px; gap: 10px; }
  .app-thumb-frame { width: 32px; }
}

/* ============================================================
   DOWNLOAD / WAITLIST
   ============================================================ */
.download-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.download-copy { display: flex; flex-direction: column; gap: var(--space-base); }
.download-copy > p { font-size: 16px; color: var(--body); max-width: 480px; }

.waitlist {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  padding: 32px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
}

.store-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  opacity: 0.65;
  cursor: not-allowed;
}
.store-button img { width: 24px; height: 24px; }
.store-button span { display: flex; flex-direction: column; gap: 0; line-height: 1.2; }
.store-button small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.store-button > span > span { font-size: 14px; font-weight: 600; color: var(--ink); }

.qr-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 12px);
  gap: 2px;
  flex-shrink: 0;
}
.qr-grid span {
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-radius: 1px;
}
.qr-grid span:nth-child(odd) { background: var(--ink-soft); }
.qr-grid span:nth-child(3n) { background: transparent; }
.qr-block p { font-size: 12px; color: var(--muted); margin: 0; }

.waitlist label { font-size: 14px; font-weight: 600; color: var(--ink); }

.input-row {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.input-row:focus-within { border-color: var(--accent); }
.input-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: 0;
}
.input-row input::placeholder { color: var(--muted); }
.input-row button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}
.input-row button:hover { background: var(--accent-active); }
.input-row button i { width: 14px; height: 14px; }

.launch-note { font-size: 12px; color: var(--muted); margin: 0; }

/* ============================================================
   FOOTER — premium 5-column layout
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--canvas) 0%, #04050a 100%);
  border-top: 1px solid var(--hairline);
}

/* Main footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding-block: clamp(48px, 6vw, 72px);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}
.footer-logo { display: inline-flex; }
.footer-logo img { height: 28px; width: auto; }
.footer-about {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}

.footer-newsletter { display: flex; flex-direction: column; gap: 8px; }
.footer-newsletter-form {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.footer-newsletter-form:focus-within { border-color: var(--accent); }
.footer-newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: 0;
}
.footer-newsletter-form input::placeholder { color: var(--muted); }
.footer-newsletter-form button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.footer-newsletter-form button:hover { background: var(--accent-active); transform: translateX(1px); }
.footer-newsletter-form button i { width: 14px; height: 14px; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.footer-socials a i, .footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  background: var(--accent-soft);
  border-color: rgba(0, 240, 138, 0.32);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--body);
  font-weight: 500;
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--ink); transform: translateX(2px); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: var(--space-lg);
  border-top: 1px solid var(--hairline);
}
.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-overlay);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.trust-tag:hover { background: var(--surface-strong); border-color: var(--hairline-strong); }
.trust-tag i { width: 13px; height: 13px; color: var(--accent); }
.trust-tag img { width: 14px; height: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: var(--space-lg);
  border-top: 1px solid var(--hairline-soft);
  font-size: 12px;
  color: var(--muted);
}
.footer-copy { font-weight: 500; }
.footer-bottom-meta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  max-width: calc(100% - 32px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: 13px; color: var(--body); margin: 0; }
.cookie-banner p strong { color: var(--ink); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-accept {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}
.cookie-accept:hover { background: var(--accent-active); }

/* ============================================================
   BACK-TO-TOP
   ============================================================ */
.back-home {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.back-home.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-home:hover { background: var(--surface-elev); }
.back-home i { width: 18px; height: 18px; }

/* ============================================================
   SUBSCRIBED TOAST
   ============================================================ */
.subscribed-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.subscribed-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.subscribed-toast i { width: 16px; height: 16px; }

/* ============================================================
   REVEAL ANIMATIONS (Coinbase: subtle, slow)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.proof-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.proof-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.proof-grid .reveal:nth-child(4) { transition-delay: 240ms; }

.feature-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.feature-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.feature-grid .reveal:nth-child(4) { transition-delay: 240ms; }

.screen-rail .reveal:nth-child(2) { transition-delay: 60ms; }
.screen-rail .reveal:nth-child(3) { transition-delay: 120ms; }
.screen-rail .reveal:nth-child(4) { transition-delay: 180ms; }
.screen-rail .reveal:nth-child(5) { transition-delay: 240ms; }
.screen-rail .reveal:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   GLOBAL RESPONSIVE — consolidated breakpoints
   ============================================================ */

/* === Tablet landscape & below === */
@media (max-width: 1200px) {
  .nav-dropdown-mega { min-width: 600px; grid-template-columns: 1fr 200px; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .token-grid, .traders-grid, .security-grid, .download-grid { grid-template-columns: 1fr; }
  .matrix-row { grid-template-columns: 1.6fr repeat(4, 1fr) auto; padding: 14px 18px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 24px; }
}

/* === Tablet portrait & mobile menu trigger === */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .nav-login, .nav-cta { display: none; }
  .lang-switch:not(.lang-switch-mobile) { display: none; }
  .lang-switch-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
    margin-top: 8px;
  }
  .lang-switch-mobile button { height: 40px; font-size: 13px; }
  .ticker-strip { height: 28px; }
  .ticker-item { font-size: 11px; gap: 6px; }
  .ticker-track { gap: 24px; padding: 0 14px; }
}

/* === Mobile (< 720px) === */
@media (max-width: 720px) {
  :root { --space-section: 56px; --shell-pad: 18px; }

  /* Header */
  .ticker-strip { display: none; }
  .brand img { height: 24px; }
  .nav { gap: 12px; min-height: 56px; }

  /* Headings */
  .hero-copy h1 { font-size: clamp(34px, 9vw, 44px); }
  h2 { font-size: clamp(28px, 7vw, 36px); }

  /* Hero — portrait container that fits the phone-main, no floating clutter */
  .hero { padding-block: clamp(40px, 8vw, 64px); }
  .hero-visual {
    aspect-ratio: 7 / 12;
    max-width: 280px;
    width: 100%;
  }
  .phone-side { display: none; }
  .coin-orbit { display: none; }
  .floating-card { display: none; } /* hide Saldo + PIX cards on mobile (overlap phone screen) */
  .phone-main { width: 80%; }
  .official-strip { gap: 10px 14px; font-size: 12px; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0 0; }
  .trust-row strong { font-size: 14px; }
  .trust-row span { font-size: 11px; }

  /* How it works */
  .howto-section { padding-block: var(--space-section); }
  .howto-step { padding: 20px; }
  .howto-step-num { width: 60px; height: 60px; }
  .howto-step-num i { width: 24px; height: 24px; }

  /* Product feature grid */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }

  /* Cards section */
  .cards-section .cards-visual { aspect-ratio: 1 / 0.78; }
  .card-preview { width: min(260px, 80%); padding: 18px; transform: rotate(-2deg); }
  .card-preview .card-number { font-size: 16px; }
  .limit-panel { top: 4%; left: -2%; min-width: 150px; padding: 10px 14px; }
  .security-panel-mini { bottom: 4%; right: -2%; padding: 8px 12px; font-size: 12px; }

  /* Token features and stats already 1col in token block; ensure card chips don't overflow */
  .token-card { padding: 24px 18px; }
  .token-float-chip { font-size: 10px; padding: 5px 10px; }
  .token-float-chip i, .token-float-chip svg { width: 11px; height: 11px; }
  .token-chip-sec { left: 0; }
  .token-chip-ai { right: 0; top: 30%; }
  .token-chip-defl { right: 4%; bottom: 12%; }

  /* Traders — hide one of the floating chips, simplify */
  .traders-visual { aspect-ratio: 1 / 1; }
  .trade-phone { width: 56%; }
  .trade-live { top: 6%; left: 0; padding: 10px 14px; min-width: 140px; }
  .trade-live strong { font-size: 12px; }
  .trade-live small { font-size: 13px; }
  .trade-live em { font-size: 11px; }
  .trade-pct { bottom: 18%; right: 0; min-width: 110px; padding: 8px 12px; }
  .trade-pct strong { font-size: 11px; }
  .trade-pct small { font-size: 12px; }
  .trade-book { display: none; }

  /* Assets matrix — compress columns */
  .matrix-row {
    grid-template-columns: 1.3fr repeat(4, 1fr) auto;
    padding: 12px 14px;
    gap: 6px;
    font-size: 12px;
  }
  .matrix-head { padding: 10px 14px; }
  .matrix-asset { gap: 8px; }
  .matrix-asset-icon { width: 30px; height: 30px; padding: 5px; }
  .matrix-asset-name strong { font-size: 12px; }
  .matrix-asset-name small { font-size: 9px; }
  .matrix-row > i { width: 14px; height: 14px; padding: 3px; }
  .matrix-status { font-size: 9px; padding: 3px 7px; gap: 4px; }
  .matrix-status-soon span:not(.pulse-dot) { display: none; }

  /* Security */
  .security-alert, .security-item { padding: 16px 18px; }
  .compliance-row { padding: 16px 18px; }
  .compliance-row span { font-size: 11px; padding: 5px 10px; }

  /* App showcase — phone smaller, info compact */
  .app-showcase { gap: 24px; }
  .app-showcase-stage { aspect-ratio: 1 / 1; max-width: 100%; }
  .app-phone-device { width: min(220px, 70%); padding: 9px; border-radius: 36px; }
  .app-phone-screen { border-radius: 28px; }
  .app-phone-notch { width: 70px; height: 18px; top: 6px; }
  .app-info-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .app-counter span { font-size: 56px; }
  .app-counter em { font-size: 18px; }
  .app-info-title { font-size: 22px; }
  .app-info-content { min-height: 96px; }
  .app-controls { gap: 6px; flex-wrap: wrap; }
  .app-nav { width: 40px; height: 40px; }
  .app-auto-hint { margin-left: 0; font-size: 10px; padding: 5px 10px; }
  .app-thumbs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app-thumb { padding: 8px; gap: 10px; }
  .app-thumb-frame { width: 30px; }
  .app-thumb-meta strong { font-size: 11px; }
  .app-thumb-meta small { font-size: 10px; }
  .app-stage-chip { padding: 8px 12px; }
  .app-chip-balance { left: -2%; min-width: 130px; }
  .app-chip-balance strong { font-size: 14px; }
  .app-chip-balance span { font-size: 10px; }
  .app-chip-pix { left: -2%; bottom: 22%; }
  .app-chip-coin { right: -2%; top: 22%; }

  /* Download / waitlist */
  .store-buttons { grid-template-columns: 1fr; }
  .waitlist { padding: 22px; }
  .input-row { padding: 4px; }
  .input-row input { font-size: 14px; height: 42px; }
  .input-row button { padding: 0 18px; height: 42px; font-size: 13px; }

  /* Footer 5-col → 2-col + brand spans */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 40px; }
  .footer-brand-col { grid-column: span 2; max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-xl);
    bottom: 12px;
  }
  .cookie-accept { width: 100%; }

  /* Back-to-top — smaller on mobile */
  .back-home { width: 40px; height: 40px; bottom: 16px; right: 16px; }
}

/* === Small phones (< 480px) === */
@media (max-width: 480px) {
  :root { --shell-pad: 16px; --space-section: 48px; }

  .hero-copy h1 { font-size: clamp(30px, 9.5vw, 38px); line-height: 1.02; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { --btn-h: 46px; --btn-px: 22px; font-size: 14px; }
  .button { font-size: 14px; }

  .official-strip { gap: 8px 12px; font-size: 11px; }
  .official-strip span { gap: 4px; }
  .official-strip img { width: 16px; height: 16px; }
  .official-strip .logo-only img { width: 28px; }

  .trust-row { grid-template-columns: 1fr; gap: 6px; }

  .hero-visual { max-width: 240px; }
  .phone-main { width: 84%; }

  /* Eyebrow + section heading */
  .eyebrow { padding: 5px 10px; font-size: 11px; }
  .section-heading { gap: 12px; margin-bottom: 32px; }
  .section-heading p { font-size: 15px; }

  /* Howto */
  .howto-step h3 { font-size: 18px; }
  .howto-step p { font-size: 13px; }

  /* Cards */
  .card-preview { width: min(240px, 84%); padding: 16px; }

  /* Token */
  .token-coin-stage { aspect-ratio: 1 / 0.7; }
  .token-coin, .token-coin-mirror { width: min(150px, 56%); }
  .token-ticker { padding: 12px 14px; }
  .token-ticker-body strong { font-size: 18px; }
  .token-stats > div { padding: 14px; }

  /* Traders chips compact */
  .traders-visual { aspect-ratio: 1 / 0.95; }
  .trade-phone { width: 60%; }
  .trade-live { padding: 8px 12px; min-width: 120px; }
  .trade-pct { padding: 6px 10px; min-width: 95px; }

  /* Assets matrix — drop cols visually with hover-only details */
  .matrix-row { grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 4px; padding: 10px 12px; }
  .matrix-asset-icon { width: 26px; height: 26px; padding: 4px; }
  .matrix-asset-name small { display: none; }
  .matrix-row > i { width: 12px; height: 12px; padding: 2px; }

  /* App showcase even smaller */
  .app-phone-device { width: min(190px, 64%); border-radius: 32px; padding: 8px; }
  .app-phone-screen { border-radius: 24px; }
  .app-phone-notch { width: 60px; height: 16px; }
  .app-counter span { font-size: 44px; }
  .app-info-title { font-size: 20px; }
  .app-info-desc { font-size: 14px; }
  .app-thumbs { grid-template-columns: 1fr; }
  .app-stage-chip { padding: 7px 10px; }
  .app-chip-balance { min-width: 120px; }
  .app-chip-balance strong { font-size: 13px; }

  /* Footer — single column */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-col { grid-column: span 1; }
  .footer-newsletter-form input { font-size: 13px; }

  /* Mobile panel */
  .mobile-panel { width: min(320px, 92vw); padding: 20px; }

  /* Cookie */
  .cookie-banner p { font-size: 12px; }
}

/* === Touch devices: disable hover-based dropdown opening === */
@media (hover: none) {
  .nav-group:hover .nav-dropdown,
  .nav-group:hover .nav-dropdown-mega { opacity: 0; visibility: hidden; }
  .nav-group.is-open .nav-dropdown,
  .nav-group.is-open .nav-dropdown-mega { opacity: 1; visibility: visible; }
}

/* === Prevent any horizontal overflow on body === */
html, body { max-width: 100%; }
