/* ============================================================================
   AveraChain — Landing. Design system em tokens (dark default + light).
   Display: Clash Display · Body: Satoshi · Mono/labels: JetBrains Mono.
   Acento: violeta (marca) → ciano elétrico (as conexões interchain).
   ========================================================================== */

:root {
  --ground: #07080e;
  --panel: #0d0f1c;
  --panel-2: #12142400;
  --card: #101324;
  --card-hi: #161a30;
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.16);

  --ink: #e9ebfa;
  --muted: #a2a7c4;
  --faint: #6a7096;

  --violet: #8b6bff;
  --violet-hi: #a98cff;
  --cyan: #35e3ff;
  --cyan-deep: #12b6e6;
  --magenta: #d46bff;
  --green: #46e0a0;

  --glow: 0 0 0 1px rgba(139, 107, 255, 0.25), 0 20px 60px -20px rgba(53, 227, 255, 0.35);
  --radius: 18px;

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --ground: #eef0f8;
  --panel: #ffffff;
  --card: #ffffff;
  --card-hi: #f5f6fc;
  --line: rgba(18, 20, 45, 0.10);
  --line-hi: rgba(18, 20, 45, 0.18);

  --ink: #14152b;
  --muted: #545a76;
  --faint: #8b90ab;

  --violet: #6a47f0;
  --violet-hi: #5a39d6;
  --cyan: #0891b2;
  --cyan-deep: #0e7490;
  --magenta: #a936d6;
  --green: #059669;

  --glow: 0 0 0 1px rgba(106, 71, 240, 0.18), 0 24px 60px -24px rgba(8, 145, 178, 0.28);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Aurora de fundo — atmosfera, ancorada ao acento */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 90vh;
  background:
    radial-gradient(60% 50% at 78% 0%, color-mix(in oklab, var(--violet) 30%, transparent), transparent 70%),
    radial-gradient(50% 45% at 12% 8%, color-mix(in oklab, var(--cyan) 22%, transparent), transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  z-index: -2;
  pointer-events: none;
}
:root[data-theme="light"] body::before { opacity: 0.4; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --------------------------------- type --------------------------------- */
.display { font-family: "Clash Display", "Satoshi", sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.grad {
  background: linear-gradient(100deg, var(--ink) 0%, var(--violet-hi) 55%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------------------------------- layout -------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }

/* --------------------------------- nav ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--ground) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
:root[data-theme="light"] .brand .logo-dark { display: none; }
:root[data-theme="light"] .brand .logo-light { display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.btn {
  --b: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 14.5px; padding: 11px 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan-deep));
  box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--cyan) 60%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px color-mix(in oklab, var(--cyan) 70%, transparent); }
.btn-ghost { color: var(--ink); background: color-mix(in oklab, var(--card-hi) 90%, transparent); border-color: var(--line-hi); }
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line-hi); background: var(--card); color: var(--muted); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--violet); transform: translateY(-1px); }

/* seletor de idioma */
.lang { position: relative; }
.lang-btn { width: auto; gap: 7px; padding: 0 11px; font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 600; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 172px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-hi); background: var(--card); box-shadow: 0 22px 44px -22px rgba(0,0,0,0.6); z-index: 60; display: flex; flex-direction: column; gap: 2px; animation: fade-in 0.2s ease-out; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; background: transparent; border: 0; cursor: pointer; color: var(--muted); font-size: 14px; font-family: "Satoshi", sans-serif; transition: color 0.15s, background 0.15s; }
.lang-menu button:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 7%, transparent); }
.lang-menu button.active { color: var(--ink); }
.lang-menu button.active::after { content: "✓"; margin-left: auto; color: var(--cyan); font-size: 12px; }

/* modal "em desenvolvimento" */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,4,10,0.72); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px; text-align: center; padding: 42px 32px 28px; border-radius: 24px;
  border: 1px solid var(--line-hi);
  background: radial-gradient(85% 100% at 50% 0%, color-mix(in oklab, var(--violet) 24%, transparent), transparent 60%), linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: 0 44px 100px -44px rgba(0,0,0,0.8); animation: pop 0.3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; border: 0; background: transparent; color: var(--faint); cursor: pointer; font-size: 15px; }
.modal-x:hover { color: var(--ink); }
.modal-badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 14px 34px -12px color-mix(in oklab, var(--cyan) 70%, transparent); }
.modal-badge img { width: 60%; }
.modal-kicker { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.modal-card h3 { font-size: 26px; letter-spacing: -0.01em; margin: 10px 0 12px; }
.modal-card p { color: var(--muted); font-size: 15px; margin-bottom: 24px; max-width: 34ch; margin-left: auto; margin-right: auto; }
.modal-cta { width: 100%; justify-content: center; }
.modal-close-link { margin-top: 14px; background: none; border: 0; color: var(--faint); font-size: 13px; cursor: pointer; font-family: "Satoshi", sans-serif; }
.modal-close-link:hover { color: var(--muted); }

/* --------------------------------- hero --------------------------------- */
.hero { padding-top: clamp(36px, 5vw, 68px); padding-bottom: clamp(28px, 4vw, 52px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-hi); background: color-mix(in oklab, var(--card) 70%, transparent);
  font-size: 12.5px; color: var(--muted); margin-bottom: 24px;
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; margin-bottom: 22px; max-width: 14ch; }
.hero p.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; gap: 8px; align-items: center; }
.hero-note .nd { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* Orbe contido — as chains orbitam o núcleo "A", sem tocar no texto */
.hero-orb { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 500px; margin: 0 0 0 auto; }
.hero-orb #net { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-glow { position: absolute; inset: 12%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, color-mix(in oklab, var(--violet) 24%, transparent), transparent 60%); filter: blur(24px); }
:root[data-theme="light"] .orb-glow { background: radial-gradient(circle, color-mix(in oklab, var(--violet) 16%, transparent), transparent 62%); }
.orb-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 36px; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 44px color-mix(in oklab, var(--cyan) 65%, transparent), inset 0 2px 0 rgba(255,255,255,0.3);
  animation: corepulse 3.4s ease-in-out infinite;
}
.orb-core img { width: 58%; height: auto; }
@keyframes corepulse { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .orb-core { animation: none; } }

/* live metric ticker */
.ticker {
  margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line);
}
.ticker .cell { background: color-mix(in oklab, var(--card) 88%, transparent); padding: 20px 22px; }
.ticker .k { font-family: "JetBrains Mono", monospace; font-size: clamp(20px, 3vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.ticker .l { font-size: 12.5px; color: var(--faint); margin-top: 4px; letter-spacing: 0.02em; }
.ticker .k.v { color: var(--violet-hi); }
.ticker .k.c { color: var(--cyan); }
.ticker .k.g { color: var(--green); }

/* ------------------------------- chains bar ----------------------------- */
.chainsbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.chainsbar .lbl { text-align: center; font-size: 12px; color: var(--faint); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; font-family: "JetBrains Mono", monospace; }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll 34s linear infinite; }
.marquee.rev { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; justify-content: center; } }
.marquee .chip { display: flex; align-items: center; gap: 11px; color: var(--muted); font-weight: 600; font-size: 16px; opacity: 0.82; transition: opacity 0.2s; }
.marquee .chip:hover { opacity: 1; }
.marquee .chip img { width: 30px; height: 30px; border-radius: 50%; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ------------------------------- features ------------------------------- */
.head { margin-bottom: 52px; max-width: 64ch; }
.head h2 { font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0 16px; }
.head p { color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 16px; }
.grid.f { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); }

.card {
  --c1: var(--violet); --c2: var(--cyan);
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, var(--c1) 9%, transparent), transparent 45%),
    linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* textura de pontos sutil */
.card { background-blend-mode: normal; }
.card > * { position: relative; z-index: 2; }

/* spotlight que segue o cursor */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; opacity: 0;
  transition: opacity 0.4s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--c1) 26%, transparent), transparent 55%);
}
.card:hover::before { opacity: 1; }

/* borda em gradiente (mask) — aparece no hover */
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; opacity: 0;
  transition: opacity 0.4s; pointer-events: none;
  background: linear-gradient(130deg, var(--c1), transparent 42%, transparent 60%, var(--c2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px color-mix(in oklab, var(--c1) 55%, #000); }
.card:hover::after { opacity: 0.9; }

.card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  color: #fff; position: relative;
  background: linear-gradient(140deg, var(--c1), color-mix(in oklab, var(--c2) 70%, var(--c1)));
  box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--c1) 80%, transparent), inset 0 1px 0 rgba(255,255,255,0.25);
}
.card .ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 9px; font-family: "Clash Display", sans-serif; }
.card p { color: var(--muted); font-size: 14.5px; }
.card p b { color: var(--ink); font-weight: 700; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 18px; }
.card .t {
  font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted);
  background: color-mix(in oklab, var(--ink) 6%, transparent); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px; transition: color 0.2s, border-color 0.2s;
}
.card:hover .t { color: var(--cyan); border-color: color-mix(in oklab, var(--cyan) 40%, transparent); }

/* watermark numérico grande atrás */
.card .wm {
  position: absolute; z-index: 0; right: 16px; bottom: -14px; font-family: "Clash Display", sans-serif;
  font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -0.04em;
  color: color-mix(in oklab, var(--ink) 5%, transparent); user-select: none; pointer-events: none;
}

/* ---- bento spans ---- */
.card.tall { grid-column: span 3; grid-row: span 2; }
.card.mid { grid-column: span 3; }
.card.sm { grid-column: span 2; }
.card.accent { --c1: var(--violet); --c2: var(--cyan); }

/* visual do card-herói (IA): órbitas + nós pulsando */
.hero-visual { position: relative; flex: 1; min-height: 190px; margin-top: 8px; }
.orbit {
  position: absolute; left: 26px; top: 50%; transform: translateY(-50%); aspect-ratio: 1; height: 78%;
  border-radius: 50%; border: 1px solid var(--line);
}
.orbit.o2 { height: 54%; left: 44px; border-color: color-mix(in oklab, var(--violet) 24%, transparent); }
.orbit.o3 { height: 30%; left: 62px; border-color: color-mix(in oklab, var(--cyan) 30%, transparent); }
.orbit .sat { position: absolute; width: 12px; height: 12px; border-radius: 50%; top: -6px; left: calc(50% - 6px);
  background: linear-gradient(var(--violet), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.orbit.spin { animation: spin 14s linear infinite; }
.orbit.o2.spin { animation-duration: 9s; animation-direction: reverse; }
.orbit.o3.spin { animation-duration: 6s; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit.spin { animation: none; } }
.hero-core {
  position: absolute; left: 50px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); display: grid; place-items: center; color: #fff;
  font-family: "Clash Display"; font-weight: 800; font-size: 22px;
  box-shadow: 0 0 30px color-mix(in oklab, var(--cyan) 70%, transparent);
}
.hero-core img { width: 60%; height: auto; }
.hero-visual .pill {
  position: absolute; right: 4px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted);
  background: color-mix(in oklab, var(--card-hi) 90%, transparent); border: 1px solid var(--line); padding: 5px 10px; border-radius: 8px;
  display: inline-flex; gap: 7px; align-items: center; white-space: nowrap;
}
.hero-visual .pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero-visual .pill.p1 { top: 8%; } .hero-visual .pill.p2 { top: 46%; } .hero-visual .pill.p3 { top: 82%; }

/* ---------------------------- how / flow (trilho) ----------------------- */
.rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rail-track { position: absolute; left: 9%; right: 9%; top: 31px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-fill { position: absolute; inset: 0 100% 0 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--green)); transition: right 1.5s var(--ease) 0.25s; }
.rail.in .rail-fill { right: 0; }
@media (prefers-reduced-motion: reduce) { .rail-fill { right: 0; transition: none; } }
.rstep { position: relative; }
.rnode {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; position: relative;
  font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 24px;
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 14px 32px -12px var(--c1), inset 0 1px 0 rgba(255,255,255,0.3);
}
.rnode svg { width: 30px; height: 30px; position: absolute; right: -9px; bottom: -9px; padding: 6px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--c2); }
.rstep h3 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.rstep p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.rstep .rmeta { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--faint); }

/* ------------------------------ pontes (rotas) -------------------------- */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  background: radial-gradient(120% 130% at 100% 0%, color-mix(in oklab, var(--c1) 11%, transparent), transparent 50%), linear-gradient(180deg, var(--card-hi), var(--card));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.route:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--c1) 45%, transparent); box-shadow: 0 26px 50px -30px color-mix(in oklab, var(--c1) 60%, #000); }
.r-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.r-name { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 18px; }
.r-tag { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--c2); background: color-mix(in oklab, var(--c1) 15%, transparent); border: 1px solid color-mix(in oklab, var(--c1) 30%, transparent); padding: 3px 10px; border-radius: 999px; }
.lane { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lane .chip { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-hi); background: var(--card); flex-shrink: 0; padding: 0; }
.wire { position: relative; flex: 1; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-hi) 0 6px, transparent 6px 12px); }
.pkt { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 12px var(--c2); animation: travel 2.6s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pkt { animation: none; left: calc(50% - 4px); } }
.r-foot { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--faint); }
.route.ghost { display: flex; flex-direction: column; justify-content: center; border-style: dashed; background: transparent; }
.route.ghost .r-mark { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 26px; color: var(--c1); border: 1px dashed color-mix(in oklab, var(--c1) 45%, transparent); margin-bottom: 15px; }
.route.ghost .r-name { margin-bottom: 8px; }
.route.ghost p { color: var(--muted); font-size: 14px; }

/* -------------------------------- copiloto ------------------------------ */
.copilot { display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; }
.cp-l h2 { font-size: clamp(28px, 3.8vw, 42px); margin: 14px 0 14px; }
.cp-l p { color: var(--muted); margin-bottom: 24px; max-width: 46ch; }
.cp-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cp-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.cp-list li b { color: var(--ink); font-weight: 600; }
.cp-list .ck { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; margin-top: 1px; background: linear-gradient(135deg, var(--violet), var(--cyan)); position: relative; }
.cp-list .ck::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.cp-r { position: relative; }

/* ---------------------- browser frame + showcase (telas reais) ---------- */
.browser {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-hi); background: #0c0e1a;
  box-shadow: 0 44px 90px -44px rgba(0,0,0,0.75);
}
.br-bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.07); }
.br-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.br-bar i:nth-child(1) { background: #ff5f57; } .br-bar i:nth-child(2) { background: #febc2e; } .br-bar i:nth-child(3) { background: #28c840; }
.br-url { margin-left: 10px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: #7a80a4; background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-view { line-height: 0; background: #0a0c17; }
.br-view img { width: 100%; display: block; transition: opacity 0.3s var(--ease); }
.browser-float { box-shadow: 0 44px 90px -44px rgba(0,0,0,0.75), 0 0 0 1px var(--line); }

.showcase { position: relative; }
.showcase::before {
  content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; top: 8%; height: 62%; border-radius: 50%;
  background: radial-gradient(60% 60% at 30% 40%, color-mix(in oklab, var(--violet) 40%, transparent), transparent 70%),
              radial-gradient(60% 60% at 75% 60%, color-mix(in oklab, var(--cyan) 34%, transparent), transparent 70%);
  filter: blur(60px); opacity: 0.55;
}
:root[data-theme="light"] .showcase::before { opacity: 0.32; }
.showcase .browser { max-width: 1040px; margin: 0 auto; }
.sc-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.sc-tab {
  font-family: "JetBrains Mono", monospace; font-size: 13px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sc-tab:hover { color: var(--ink); border-color: var(--line-hi); }
.sc-tab.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--cyan-deep)); }

/* chips de rede do swap (com logo) */
.sw-chips { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.sw-chip {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: "Satoshi", sans-serif; font-weight: 600; font-size: 14px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sw-chip img { width: 24px; height: 24px; border-radius: 50%; }
.sw-chip:hover { color: var(--ink); border-color: var(--line-hi); }
.sw-chip.active { color: var(--ink); border-color: color-mix(in oklab, var(--violet) 50%, transparent); background: color-mix(in oklab, var(--violet) 13%, var(--card)); }

/* assistant / terminal mock — SEMPRE escuro (como um bloco de código), nos dois temas */
.term { position: absolute; inset: 0; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: #0a0c17; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 30px 60px -30px rgba(0,0,0,0.7); }
.term .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.term .bar i:nth-child(1) { background: #ff5f57; } .term .bar i:nth-child(2) { background: #febc2e; } .term .bar i:nth-child(3) { background: #28c840; }
.term .bar b { margin-left: 8px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: #6a7096; font-weight: 500; }
.term .body { padding: 16px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; line-height: 1.7; overflow: hidden; color: #aab0d0; }
.term .u { color: #46e3ff; }
.term .a { color: #aab0d0; display: block; margin-bottom: 4px; }
.term .a b { color: #f2f3ff; }
.term .hl { color: #b49cff; }
.term .g { color: #46e0a0; }
.term .cur { display: inline-block; width: 8px; height: 15px; background: #46e3ff; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --------------------------------- CTA ---------------------------------- */
.cta {
  border-radius: 28px; padding: clamp(46px, 7vw, 84px) clamp(28px, 5vw, 64px); text-align: center;
  border: 1px solid var(--line-hi); position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 0%, color-mix(in oklab, var(--violet) 28%, transparent), transparent 60%),
    linear-gradient(180deg, var(--card-hi), var(--card));
}
.cta h2 { font-size: clamp(32px, 5.4vw, 60px); margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 0 auto 30px; }
.cta .hero-cta { justify-content: center; }

/* -------------------------------- footer -------------------------------- */
footer { border-top: 1px solid var(--line); padding: 46px 0 60px; }
footer .row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer .brand img { height: 28px; }
footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
footer .col h5 { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
footer .col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 9px; transition: color 0.2s; }
footer .col a:hover { color: var(--ink); }
footer .fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* ------------------------------ reveal anim ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------------ responsive ------------------------------ */
/* tablet */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-orb { max-width: 340px; margin: 4px auto 0; }
  .hero h1 { max-width: 18ch; }
  .hero p.lead { max-width: 54ch; }
  .grid.f { grid-template-columns: repeat(2, 1fr); }
  .card.tall, .card.mid, .card.sm { grid-column: span 1; grid-row: auto; }
  .card.tall .hero-visual { min-height: 150px; }
  .rail { grid-template-columns: 1fr; gap: 20px; }
  .rail-track { display: none; }
  .routes { grid-template-columns: repeat(2, 1fr); }
  .copilot { grid-template-columns: 1fr; gap: 26px; }
  .ticker { grid-template-columns: repeat(2, 1fr); }
}
/* celular grande: tudo em 1 coluna (fim do aperto dos cards) */
@media (max-width: 720px) {
  .section { padding: clamp(48px, 12vw, 84px) 0; }
  .grid.f { grid-template-columns: 1fr; }
  .card.tall .hero-visual { min-height: 180px; }
  .routes { grid-template-columns: 1fr; }
  .head h2 { font-size: clamp(28px, 8vw, 40px); }
  .head p { font-size: 16.5px; }
}
/* celular */
@media (max-width: 640px) {
  .nav .wrap { height: 60px; gap: 8px; }
  .nav-links { display: none; }
  .nav-right { gap: 8px; }
  .brand img { height: 25px; }
  .nav-x { display: none; }
  .btn-sm { padding: 8px 12px; font-size: 13px; }
  .lang-btn { padding: 0 9px; font-size: 12.5px; }
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 50px); max-width: 22ch; }
  .hero p.lead { font-size: 16px; }
  .ticker { grid-template-columns: 1fr; }
  .cell { padding: 16px 18px; }
  .card { padding: 22px; }
  .subnav .wrap { height: 58px; gap: 8px; }
  .subnav .nav-right { gap: 8px; }
  .cta h2 { font-size: clamp(28px, 9vw, 44px); }
  .article { padding: 40px 20px; }
}
/* celular pequeno */
@media (max-width: 400px) {
  #lang-cur { display: none; }
  .btn-sm { padding: 8px 11px; }
  .brand img { height: 23px; }
}

/* ============================ BLOG / ARTIGOS ============================= */
.subnav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: color-mix(in oklab, var(--ground) 72%, transparent); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.subnav .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.subnav .back:hover { color: var(--ink); }

/* Lista do blog */
.blog-head { max-width: 62ch; margin: 0 auto clamp(36px,6vw,64px); text-align: center; }
.blog-head h1 { font-size: clamp(34px,5vw,58px); margin: 14px 0 16px; }
.blog-head p { color: var(--muted); font-size: 18px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post {
  display: flex; flex-direction: column; padding: 26px; border-radius: 18px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-hi), var(--card));
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.post:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: 0 26px 50px -32px rgba(0,0,0,0.7); }
.post .cat { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.post h2 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: 14.5px; flex: 1; }
.post .more { margin-top: 16px; color: var(--violet-hi); font-weight: 600; font-size: 14px; }

/* Artigo */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px,7vw,72px) 24px; }
.article .cat { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.article h1 { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: clamp(30px,4.6vw,50px); line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 18px; text-wrap: balance; }
.article .lede { font-size: clamp(17px,2vw,20px); color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.article .meta { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--faint); margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.prose { font-size: 17px; line-height: 1.75; color: color-mix(in oklab, var(--ink) 88%, var(--muted)); }
.prose h2 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: clamp(23px,3vw,30px); letter-spacing: -0.01em; color: var(--ink); margin: 42px 0 14px; }
.prose h3 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 20px; color: var(--ink); margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--violet-hi); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--cyan); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--violet); background: color-mix(in oklab, var(--violet) 8%, transparent); border-radius: 0 12px 12px 0; color: var(--muted); }
.prose code { font-family: "JetBrains Mono", monospace; font-size: 0.9em; background: color-mix(in oklab, var(--ink) 8%, transparent); padding: 2px 6px; border-radius: 6px; }
.article-cta { margin: 40px 0 0; padding: 26px; border-radius: 18px; border: 1px solid var(--line-hi); background: radial-gradient(80% 120% at 20% 0%, color-mix(in oklab,var(--violet) 20%,transparent), transparent 60%), linear-gradient(180deg,var(--card-hi),var(--card)); text-align: center; }
.article-cta h3 { font-family: "Clash Display", sans-serif; font-size: 22px; margin-bottom: 8px; }
.article-cta p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.faq { margin-top: 44px; }
.faq h2 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 26px; margin-bottom: 18px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; background: var(--card); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { color: var(--muted); font-size: 15px; padding: 12px 0; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
