:root {
  --bg: #eef1f6;
  --bg-soft: #f7f9fc;
  --text: #0d1524;
  --muted: #566072;
  --line: rgba(13, 21, 36, .12);
  --blue: #0b3a88;
  --blue-light: #2f8cff;
  --card: rgba(255, 255, 255, .82);
  --card-strong: #ffffff;
  --shadow: 0 20px 60px rgba(13, 34, 80, .12);
  --ribbon-height: 32px;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-glow {
  position: fixed;
  inset: -20% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47,140,255,.32), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 39;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 34px rgba(13, 34, 80, .10);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(47,140,255,.35)); }
.brand span { font-size: 15px; }

.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.header-cta, .primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
}
.header-cta, .primary-btn {
  background: linear-gradient(120deg, #8b2fd6 0%, #e0396b 58%, #ffcf5c 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  box-shadow: 0 16px 36px rgba(139,47,214,.34);
}
.header-cta:hover, .primary-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 44px rgba(224,57,107,.4); }
.metamask-btn { gap: 10px; cursor: pointer; border: 0; background: linear-gradient(135deg, #ff9d54, #e2761b); color: #fff; box-shadow: 0 16px 36px rgba(226,118,27,.34); }
.metamask-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 44px rgba(226,118,27,.42); }
.metamask-btn .mm-fox { filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.mm-status { display: block; margin-top: 12px; min-height: 18px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mm-status.ok { color: #0f9d58; }
.mm-status.err { color: #d33; }
.secondary-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}
.menu-button { display: none; color: var(--text); background: transparent; border: 0; font-size: 25px; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .65;
  transform: scale(1.02);
}
.video-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 42%, rgba(47,140,255,.12), transparent 40%),
    linear-gradient(90deg, rgba(238,241,246,.92) 0%, rgba(238,241,246,.62) 46%, rgba(238,241,246,.30) 100%),
    linear-gradient(180deg, rgba(238,241,246,.30) 0%, var(--bg) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47,140,255,.10);
  border: 1px solid rgba(47,140,255,.28);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #0f9d58; box-shadow: 0 0 0 6px rgba(15,157,88,.16); }
.hero h1, .section-copy h2, .section-heading h2, .cta-card h2 {
  margin: 0;
  line-height: .96;
  letter-spacing: -.06em;
  font-size: clamp(48px, 7vw, 92px);
}
.hero h1 span { background: linear-gradient(120deg, #2f8cff, #0b3a88); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p, .section-copy p, .cta-card p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #2a3546; font-size: 14px; font-weight: 600; }
.trust-row span::before { content: "✓"; color: #0f9d58; font-weight: 900; margin-right: 8px; }

.hero-card {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbital-logo {
  position: relative;
  width: min(400px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbital-logo img { width: 76%; z-index: 3; filter: drop-shadow(0 30px 60px rgba(0,0,0,.7)); animation: float 5s ease-in-out infinite; }
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(13,21,36,.14);
  box-shadow: inset 0 0 40px rgba(47,140,255,.18), 0 0 50px rgba(47,140,255,.16);
  animation: spin 16s linear infinite;
}
.ring-2 { inset: 34px; border-style: dashed; animation-duration: 22s; animation-direction: reverse; }
.ring-3 { inset: 72px; border-color: rgba(47,140,255,.38); animation-duration: 12s; }
.wallet-panel {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: min(380px, 92vw);
  background: rgba(255,255,255,.92);
  color: #0c1220;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.52);
}
.wallet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: #596170; }
.wallet-top strong { color: #111827; }
.balance { font-size: 48px; font-weight: 800; letter-spacing: -.05em; margin: 16px 0; }
.wallet-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.wallet-actions button { border: 0; border-radius: 14px; padding: 13px 8px; background: #eef2f7; font-weight: 800; color: #172032; }
.activity-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid #e5e8ee; gap: 12px; }
.activity-item strong, .activity-item span { font-weight: 850; }
.activity-item small { display: block; color: #687385; margin-top: 4px; }

/* ── Live network band ─────────────────────────────────────────────────── */
.live-band-wrap { padding: 0; }
.live-band { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; justify-content: center;
  background: linear-gradient(180deg, #050409 0%, #06060b 55%, #08060e 100%); background-size: 100% 100%;
  color: #fff; border-radius: 0; padding: 40px 34px 26px; box-shadow: none; position: relative; overflow: hidden; }
.live-band::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(90,160,255,.10), transparent); transform: skewX(-18deg);
  animation: liveSheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes liveShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes liveSheen { 0% { left: -60%; } 55%,100% { left: 130%; } }
.live-band > * { position: relative; z-index: 1; }
.live-title { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #8fb6ff; }
.live-title .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #37ffb5; box-shadow: 0 0 0 5px rgba(55,255,181,.18); animation: pulse 2s infinite; }
.live-stat { display: flex; flex-direction: column; line-height: 1.15; }
.live-stat b { font-size: 26px; font-weight: 850; letter-spacing: -.02em; }
.live-stat span { font-size: 12px; color: #a8bbd8; font-weight: 600; margin-top: 2px; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* ── Liquid flow background (Solana-style) ────────────────────────────── */
.tx-light-stream {
  position: relative;
  min-height: clamp(260px, 34vw, 430px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(60,20,10,.55) 0%, rgba(10,6,14,0) 60%),
    radial-gradient(90% 70% at 12% 8%, rgba(48,26,58,.42) 0%, rgba(8,6,12,0) 55%),
    linear-gradient(180deg, #06060b 0%, #08060e 45%, #050409 100%);
  isolation: isolate;
}
/* soft top/bottom/side fade so the waves melt into the page */
.tx-light-stream::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,4,9,.92) 0%, rgba(5,4,9,0) 22%, rgba(5,4,9,0) 70%, rgba(5,4,9,.96) 100%),
    linear-gradient(90deg, #05040a 0%, transparent 12%, transparent 88%, #05040a 100%);
}
.tx-light-stream::after { content: none; }

/* drifting liquid glow pools */
.lq-blob {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .5;
  mix-blend-mode: screen;
  will-change: transform;
}
.lq-blob-1 {
  width: 46vw; height: 46vw; left: -6vw; top: -16vw;
  background: radial-gradient(circle, rgba(56,150,255,.85) 0%, rgba(56,150,255,0) 68%);
  animation: lqDrift1 19s ease-in-out infinite;
}
.lq-blob-2 {
  width: 40vw; height: 40vw; right: -8vw; top: -8vw;
  background: radial-gradient(circle, rgba(255,44,58,.8) 0%, rgba(255,44,58,0) 68%);
  animation: lqDrift2 24s ease-in-out infinite;
}
.lq-blob-3 {
  width: 52vw; height: 52vw; left: 28vw; bottom: -34vw;
  background: radial-gradient(circle, rgba(90,200,255,.7) 0%, rgba(90,200,255,0) 66%);
  animation: lqDrift3 27s ease-in-out infinite;
}
@keyframes lqDrift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(8vw,4vw,0) scale(1.14); }
}
@keyframes lqDrift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1.05); }
  50% { transform: translate3d(-7vw,6vw,0) scale(.9); }
}
@keyframes lqDrift3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-6vw,-5vw,0) scale(1.18); }
}

/* fast light-speed streaks flowing left → right */
.lq-streaks {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  filter: brightness(1.25) saturate(1.1);
}
.lq-streak {
  position: absolute;
  left: 0;
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0%, var(--c) 55%, rgba(255,250,235,1) 96%, #fff 100%);
  box-shadow: 0 0 var(--g) var(--c), 0 0 calc(var(--g) * 2) var(--c);
  mix-blend-mode: screen;
  transform: translateX(-40vw);
  animation: streakFly var(--d) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}
.lq-streak::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: clamp(4px, calc(var(--h) * 2.2), 12px);
  height: clamp(4px, calc(var(--h) * 2.2), 12px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--c), 0 0 22px var(--c);
  transform: translateY(-50%);
}
@keyframes streakFly {
  0%   { transform: translateX(-40vw); opacity: 0; }
  7%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(165vw); opacity: 0; }
}
/* streak variants: --y row, --w length, --h thickness, --c colour, --g glow, --d speed, --delay phase */
.lq-streak:nth-child(1)  { --y: 14%; --w: 30vw; --h: 2px; --c: rgba(56,150,255,.95); --g: 10px; --d: 1.15s; --delay: -.2s; }
.lq-streak:nth-child(2)  { --y: 22%; --w: 46vw; --h: 3px; --c: rgba(255,44,58,.9);  --g: 14px; --d: 1.5s;  --delay: -.9s; }
.lq-streak:nth-child(3)  { --y: 30%; --w: 24vw; --h: 2px; --c: rgba(90,200,255,.95); --g: 9px;  --d: .95s;  --delay: -.5s; }
.lq-streak:nth-child(4)  { --y: 38%; --w: 56vw; --h: 4px; --c: rgba(56,150,255,.92); --g: 18px; --d: 1.75s; --delay: -1.3s; }
.lq-streak:nth-child(5)  { --y: 46%; --w: 20vw; --h: 2px; --c: rgba(255,44,58,.95);  --g: 9px;  --d: .8s;   --delay: -.3s; }
.lq-streak:nth-child(6)  { --y: 54%; --w: 40vw; --h: 3px; --c: rgba(90,200,255,.9);  --g: 13px; --d: 1.35s; --delay: -1s; }
.lq-streak:nth-child(7)  { --y: 62%; --w: 28vw; --h: 2px; --c: rgba(56,150,255,.95); --g: 10px; --d: 1.05s; --delay: -.7s; }
.lq-streak:nth-child(8)  { --y: 70%; --w: 52vw; --h: 4px; --c: rgba(255,44,58,.9);   --g: 17px; --d: 1.65s; --delay: -1.5s; }
.lq-streak:nth-child(9)  { --y: 78%; --w: 22vw; --h: 2px; --c: rgba(90,200,255,.95); --g: 9px;  --d: .9s;   --delay: -.4s; }
.lq-streak:nth-child(10) { --y: 86%; --w: 36vw; --h: 3px; --c: rgba(56,150,255,.92); --g: 12px; --d: 1.25s; --delay: -.8s; }
.lq-streak:nth-child(11) { --y: 10%; --w: 44vw; --h: 3px; --c: rgba(255,44,58,.92);  --g: 14px; --d: 1.45s; --delay: -1.1s; }
.lq-streak:nth-child(12) { --y: 18%; --w: 18vw; --h: 2px; --c: rgba(90,200,255,.95); --g: 8px;  --d: .75s;  --delay: -.15s; }
.lq-streak:nth-child(13) { --y: 26%; --w: 60vw; --h: 4px; --c: rgba(56,150,255,.9);  --g: 19px; --d: 1.85s; --delay: -1.6s; }
.lq-streak:nth-child(14) { --y: 34%; --w: 26vw; --h: 2px; --c: rgba(255,44,58,.95);  --g: 10px; --d: 1s;    --delay: -.6s; }
.lq-streak:nth-child(15) { --y: 42%; --w: 38vw; --h: 3px; --c: rgba(90,200,255,.9);  --g: 12px; --d: 1.3s;  --delay: -1s; }
.lq-streak:nth-child(16) { --y: 50%; --w: 16vw; --h: 2px; --c: rgba(56,150,255,.98); --g: 8px;  --d: .7s;   --delay: -.25s; }
.lq-streak:nth-child(17) { --y: 58%; --w: 48vw; --h: 3px; --c: rgba(255,44,58,.9);   --g: 15px; --d: 1.55s; --delay: -1.2s; }
.lq-streak:nth-child(18) { --y: 66%; --w: 30vw; --h: 2px; --c: rgba(90,200,255,.95); --g: 10px; --d: 1.1s;  --delay: -.5s; }
.lq-streak:nth-child(19) { --y: 74%; --w: 20vw; --h: 2px; --c: rgba(56,150,255,.95); --g: 9px;  --d: .85s;  --delay: -.35s; }
.lq-streak:nth-child(20) { --y: 82%; --w: 54vw; --h: 4px; --c: rgba(255,44,58,.92);  --g: 18px; --d: 1.7s;  --delay: -1.4s; }
.lq-streak:nth-child(21) { --y: 90%; --w: 24vw; --h: 2px; --c: rgba(90,200,255,.95); --g: 9px;  --d: .95s;  --delay: -.55s; }
.lq-streak:nth-child(22) { --y: 6%;  --w: 34vw; --h: 3px; --c: rgba(56,150,255,.9);  --g: 12px; --d: 1.2s;  --delay: -.75s; }
.lq-streak:nth-child(23) { --y: 48%; --w: 42vw; --h: 3px; --c: rgba(255,44,58,.9);   --g: 14px; --d: 1.4s;  --delay: -1.05s; }
.lq-streak:nth-child(24) { --y: 30%; --w: 14vw; --h: 2px; --c: rgba(90,200,255,.98); --g: 8px;  --d: .65s;  --delay: -.1s; }
.lq-streak:nth-child(25) { --y: 64%; --w: 58vw; --h: 4px; --c: rgba(56,150,255,.9);  --g: 19px; --d: 1.9s;  --delay: -1.7s; }
.lq-streak:nth-child(26) { --y: 40%; --w: 22vw; --h: 2px; --c: rgba(255,44,58,.95);  --g: 9px;  --d: .8s;   --delay: -.45s; }

@media (prefers-reduced-motion: reduce) {
  .lq-blob, .lq-streak { animation: none !important; }
}
/* (legacy tx-ray light-stream styles removed — replaced by liquid flow above) */


/* ── Rich features section ─────────────────────────────────────────────── */
.features-rich { position: relative; z-index: 1; width: min(1160px, calc(100% - 56px)); margin: 0 auto; padding: 76px 0 40px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.04em; margin: 10px 0 14px; line-height: 1.02; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { display: flex; flex-direction: column; background: var(--card-strong); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: 0 10px 30px rgba(13,34,80,.06); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(13,34,80,.12); }
.feat-ic { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.ic-blue { background: rgba(47,140,255,.12); } .ic-green { background: rgba(15,157,88,.12); }
.ic-orange { background: rgba(226,118,27,.12); } .ic-purple { background: rgba(120,80,220,.12); }
.ic-navy { background: rgba(11,58,136,.12); } .ic-teal { background: rgba(8,145,178,.12); }
.feat h3 { font-size: 20px; margin: 0 0 10px; letter-spacing: -.02em; }
.feat p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.feat p b { color: var(--text); }

/* ── Architecture diagram ──────────────────────────────────────────────── */
.arch { margin-top: 44px; background: linear-gradient(135deg, #ffffff, rgba(47,140,255,.05)); border: 1px solid var(--line);
  border-radius: 14px; padding: 40px 34px; box-shadow: var(--shadow); text-align: center; }
.arch-head h3 { font-size: clamp(24px, 3.5vw, 36px); letter-spacing: -.03em; margin: 8px 0 28px; }
.arch-flow { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 12px; }
.arch-node { flex: 1 1 180px; max-width: 230px; background: #fff; border: 1px solid rgba(47,140,255,.28); border-radius: 10px; padding: 20px 16px; box-shadow: 0 12px 30px rgba(13,34,80,.08); }
.arch-node b { display: block; font-size: 18px; color: var(--blue); margin-bottom: 6px; }
.arch-node span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.arch-arrow { display: flex; align-items: center; font-size: 26px; color: var(--blue-light); font-weight: 800; }
.arch-note { color: var(--muted); font-size: 15px; margin: 26px 0 0; }

/* Animated signal flowing through the pipeline (TxFabric → Prism → Skyfall → Cascade) */
.arch-flow > .arch-node { animation: flowPulse 4.4s ease-in-out infinite; }
.arch-flow > .arch-node:nth-child(1) { animation-delay: 0s; }
.arch-flow > .arch-node:nth-child(3) { animation-delay: 1.1s; }
.arch-flow > .arch-node:nth-child(5) { animation-delay: 2.2s; }
.arch-flow > .arch-node:nth-child(7) { animation-delay: 3.3s; }
.arch-flow > .arch-arrow { animation: arrowFlow 4.4s ease-in-out infinite; }
.arch-flow > .arch-arrow:nth-child(2) { animation-delay: .55s; }
.arch-flow > .arch-arrow:nth-child(4) { animation-delay: 1.65s; }
.arch-flow > .arch-arrow:nth-child(6) { animation-delay: 2.75s; }
@keyframes flowPulse {
  0%, 22%, 100% { transform: translateY(0); border-color: rgba(47,140,255,.28); box-shadow: 0 12px 30px rgba(13,34,80,.08); background:#fff; }
  8% { transform: translateY(-7px); border-color: var(--blue-light); box-shadow: 0 22px 48px rgba(47,140,255,.42); background:#f2f8ff; }
}
@keyframes arrowFlow {
  0%, 100% { opacity: .35; transform: scale(1); color: var(--blue-light); }
  50% { opacity: 1; transform: scale(1.25); color: var(--blue); }
}
.arch-node.lit b, .arch-flow > .arch-node b { transition: color .3s; }
@media (prefers-reduced-motion: reduce) {
  .arch-flow > .arch-node, .arch-flow > .arch-arrow { animation: none; }
}
@media (max-width: 720px){
  .feat-grid { grid-template-columns: 1fr; }
  .arch-arrow { transform: rotate(90deg); }
  .live-band { gap: 12px 24px; padding: 22px; }
  .live-stat b { font-size: 22px; }
}

/* ── Mega-menu dropdowns ───────────────────────────────────────────────── */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > .nav-top, .nav-links > .nav-top { color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-item > .nav-top:hover, .nav-links > .nav-top:hover { color: var(--text); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(13,34,80,.16);
  padding: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 30; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover bridge */
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { color: var(--text); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; text-align: left; }
.dropdown a:hover { background: rgba(47,140,255,.09); color: var(--blue); }

/* ── Rich footer ───────────────────────────────────────────────────────── */
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; max-width: 1160px; margin: 0 auto; padding: 0 8px 30px; }
.footer-brand .brand { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 240px; margin: 14px 0 0; line-height: 1.6; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-social .social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.footer-social .social:hover { transform: translateY(-2px); text-decoration: none; }
.footer-social .tg { background: #2aabee; box-shadow: 0 8px 20px rgba(42,171,238,.32); }
.footer-social .dc { background: #5865f2; box-shadow: 0 8px 20px rgba(88,101,242,.32); }
.footer-col h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; font-weight: 800; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; font-weight: 500; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  max-width: 1160px; margin: 0 auto; padding: 22px 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 860px){ .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px){ .footer-cols { grid-template-columns: 1fr; } }

/* ── Download meta ─────────────────────────────────────────────────────── */
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.dl-meta b { color: var(--text); font-weight: 700; margin-right: 4px; }
.dl-sum { font-family: ui-monospace, Menlo, monospace; }
.dl-warn { margin-top: 12px; font-size: 12px; color: #0c1220; background: linear-gradient(90deg,#b18aff 0%,#5aa9ff 55%,#a3f0ff 100%); padding: 8px 12px; display: inline-block; }

/* ── Testnet ribbon + dev tags ─────────────────────────────────────────── */
.testnet-ribbon { position: fixed; top: 0; left: 0; right: 0; z-index: 40; min-height: var(--ribbon-height); text-align: center; font-size: 13px; font-weight: 700;
  color: #5c4300; background: linear-gradient(90deg,#ffe9b3,#ffd980,#ffe9b3); padding: 7px 14px; letter-spacing: .01em; }
@media (max-width: 560px){ .testnet-ribbon { font-size: 11px; padding: 6px 10px; } }
.tag-dev { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #c47f00; background: rgba(196,127,0,.12); border: 1px solid rgba(196,127,0,.3); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
/* offset the fixed header so it connects to the ribbon without floating */
body:has(.testnet-ribbon) .site-header { top: var(--ribbon-height); }

/* ── Comparison chart ──────────────────────────────────────────────────── */
.compare { padding: 70px 0 30px; }
.tps-chart { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; }
.bar-label { font-weight: 700; font-size: 15px; color: var(--text); text-align: right; }
.bar-track { background: rgba(13,21,36,.06); border-radius: 10px; height: 40px; overflow: hidden; }
.bar { height: 100%; width: 0; background: var(--c, var(--blue-light)); border-radius: 10px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 14px; color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; transition: width 1.3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 6px 16px rgba(13,34,80,.14); }
.bar span { text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.bar-row.featured .bar-label { color: var(--blue); font-weight: 850; }
.bar-row.featured .bar { box-shadow: 0 10px 26px rgba(47,140,255,.4); }
/* Bars animate left→right only when the chart is properly in view (.run),
   staggered so they visibly "race" one after another. */
.tps-chart.run .bar { width: var(--w); }
.tps-chart.run .bar-row:nth-child(1) .bar { transition-delay: .05s; }
.tps-chart.run .bar-row:nth-child(2) .bar { transition-delay: .20s; }
.tps-chart.run .bar-row:nth-child(3) .bar { transition-delay: .35s; }
.tps-chart.run .bar-row:nth-child(4) .bar { transition-delay: .50s; }
.tps-chart.run .bar-row:nth-child(5) .bar { transition-delay: .68s; }
/* small bars: keep number readable outside the bar */
.bar[style*="--w:1%"] span, .bar[style*="--w:2%"] span, .bar[style*="--w:3%"] span { position: relative; right: -34px; color: var(--muted); text-shadow: none; }
.chart-note { max-width: 720px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.6; }

.compare-table { max-width: 900px; margin: 44px auto 0; }
.compare-table table { width: 100%; border-collapse: collapse; background: var(--card-strong); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 700; }
.compare-table thead th { background: rgba(13,21,36,.03); font-weight: 800; }
.compare-table th.hi, .compare-table td.hi { background: rgba(47,140,255,.08); color: var(--blue); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td.hi b { color: var(--blue); }

/* ── Roadmap timeline ──────────────────────────────────────────────────── */
.roadmap-band { padding: 60px 0 50px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; padding-top: 40px; }
.tl-line { position: absolute; top: 46px; left: 6%; right: 6%; height: 3px; background: rgba(13,21,36,.10); border-radius: 3px; }
.tl-progress { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg,#0f9d58,#2f8cff); border-radius: 3px; transition: width 1.6s ease .3s; }
.reveal.visible .tl-progress, .timeline.visible .tl-progress { width: 12%; }
.tl-step { text-align: center; position: relative; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid rgba(13,21,36,.18); margin: 0 auto 18px; position: relative; z-index: 1; transition: all .4s; }
.tl-step.done .tl-dot { border-color: #0f9d58; background: #0f9d58; box-shadow: 0 0 0 6px rgba(15,157,88,.15); }
.tl-when { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--blue); text-transform: uppercase; }
.tl-step h4 { font-size: 18px; margin: 6px 0 8px; letter-spacing: -.01em; }
.tl-step p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.tl-step.done h4 { color: #0f9d58; }
.rm-cta { text-align: center; margin-top: 40px; }

@media (max-width: 720px){
  .timeline { grid-template-columns: 1fr; gap: 8px; padding-top: 10px; }
  .tl-line { display: none; }
  .tl-step { text-align: left; padding: 14px 0 14px 34px; border-left: 2px solid rgba(13,21,36,.12); }
  .tl-dot { position: absolute; left: -10px; top: 16px; margin: 0; }
  .bar-row { grid-template-columns: 80px 1fr; gap: 10px; }
  .bar-label { font-size: 13px; }
  .compare-table { overflow-x: auto; }
}

/* ── Authentic WCAHT plugin-wallet preview ─────────────────────────────── */
.wcaht-wallet { padding: 18px 18px 20px; color: #0c1220; }
.ww-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ww-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; }
.ww-brand img { width: 26px; height: 26px; object-fit: contain; }
.ww-net { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #0f9d58; background: rgba(15,157,88,.10); padding: 5px 10px; border-radius: 999px; }
.ww-dot { width: 7px; height: 7px; border-radius: 50%; background: #0f9d58; display: inline-block; }
.ww-account { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; color: #2a3546; background: #f1f4f8; border: 1px solid #e3e8ef; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.ww-account b { color: #8a94a6; }
.ww-balance-label { text-align: center; font-size: 11px; letter-spacing: .12em; color: #8a94a6; font-weight: 800; }
.ww-balance { text-align: center; font-size: 26px; font-weight: 850; letter-spacing: -.02em; margin: 4px 0 2px; line-height: 1.15; }
.ww-balance small { font-size: 15px; font-weight: 800; color: #2a3546; }
.ww-sub { text-align: center; font-size: 12px; color: #8a94a6; margin-bottom: 14px; }
.ww-addr { text-align: center; font-size: 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #59627a; background: #f1f4f8; border: 1px solid #e3e8ef; border-radius: 999px; padding: 8px 12px; margin: 0 auto 18px; width: max-content; max-width: 100%; }
.ww-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.ww-act { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #2a3546; }
.ww-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.ww-ic.send { background: rgba(226,118,27,.12); color: #e2761b; }
.ww-ic.recv { background: rgba(15,157,88,.12); color: #0f9d58; }
.ww-ic.refr { background: rgba(47,140,255,.12); color: #2f8cff; }
.ww-ic.dash { background: rgba(120,80,220,.12); color: #7850dc; }
.ww-status { text-align: center; font-size: 11px; color: #8a94a6; background: #f6f8fb; border: 1px solid #eceff4; border-radius: 10px; padding: 8px; margin-bottom: 14px; }
.ww-recent { font-size: 11px; letter-spacing: .1em; color: #8a94a6; font-weight: 800; margin-bottom: 6px; }
.ww-tx { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid #eef1f5; }
.ww-tx strong { font-size: 13px; font-weight: 800; }
.ww-tx small { display: block; color: #8a94a6; font-size: 11px; margin-top: 3px; }
.ww-tx span { font-weight: 850; font-size: 14px; }
.ww-tx span.pos { color: #0f9d58; }
.pending strong::after { content: ""; display: inline-block; width: 13px; height: 13px; margin-left: 8px; border: 2px solid #111; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }

.stats, .split-section, .download-section, .features, .cta-section { position: relative; z-index: 1; width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 70px 0; }
.stat-card, .feature-card, .terminal-card, .cta-card {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.stat-card { padding: 28px; }
.stat-card span, .feature-card span { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stat-card strong { display: block; font-size: 42px; margin-top: 10px; letter-spacing: -.04em; }
.stat-card p, .feature-card p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }

.split-section { display: grid; grid-template-columns: 1fr .85fr; gap: 38px; align-items: center; padding: 80px 0; }
.section-copy h2, .section-heading h2, .cta-card h2 { font-size: clamp(36px, 5vw, 62px); }
.terminal-card { padding: 28px; min-height: 300px; background: #0b1526; border-color: rgba(47,140,255,.22); }
.terminal-dots { display: flex; gap: 8px; margin-bottom: 25px; }
.terminal-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.35); }
.terminal-card code { color: #d8e8ff; font-size: 18px; line-height: 2; }
.terminal-card b { color: #78b5ff; }

.download-section { padding: 80px 0; }
.download-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, rgba(47,140,255,.08) 60%, #ffffff);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.download-logo {
  width: 164px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(47,140,255,.24);
}
.download-logo img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(11,58,136,.28));
}
.download-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .96;
  letter-spacing: -.06em;
}
.download-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.install-steps {
  display: grid;
  gap: 10px;
}
.install-steps span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(47,140,255,.07);
  border: 1px solid var(--line);
  color: #2a3546;
  font-weight: 700;
  font-size: 13px;
}

/* ── Hero "Download Wallet" dropdown (Windows / macOS / extension / web) ── */
.dl-dropdown { position: relative; display: inline-flex; }
.dl-toggle { cursor: pointer; }
.dl-caret { font-size: 11px; margin-left: 7px; opacity: .85; transition: transform .18s ease; }
.dl-dropdown.open .dl-caret { transform: rotate(180deg); }
.dl-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 272px; padding: 8px;
  background: rgba(13, 21, 37, .98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .55);
  backdrop-filter: blur(14px);
  display: none; flex-direction: column; gap: 3px;
}
.dl-dropdown.open .dl-menu { display: flex; animation: dlIn .16s ease; }
@keyframes dlIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dl-item {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 12px; border-radius: 10px;
  color: #e8eef7; text-decoration: none; transition: background .14s ease;
}
.dl-item:hover, .dl-item:focus-visible { background: rgba(47, 140, 255, .16); outline: none; }
.dl-ic { width: 26px; height: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.dl-ic svg { display: block; }
.dl-txt { display: flex; flex-direction: column; line-height: 1.28; }
.dl-txt b { font-size: 14px; font-weight: 700; }
.dl-txt small { font-size: 12px; color: #93a4bd; }
.dl-txt em { color: #f0a24b; font-style: normal; }
.dl-note {
  padding: 8px 12px; margin-top: 2px; font-size: 12px; color: #f0a24b;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
/* Header (top-right) variant: drop the menu aligned to the button's right edge. */
.dl-dropdown-right .dl-menu { left: auto; right: 0; }
.header-cta.dl-toggle { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 560px) { .dl-menu { min-width: 240px; } }

.features { padding: 80px 0; }
.section-heading { text-align: center; margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px; min-height: 230px; }
.feature-card h3 { margin: 28px 0 10px; font-size: 23px; }
.cta-section { padding: 70px 0 100px; }
.cta-card { text-align: center; padding: 56px 26px; overflow: hidden; position: relative; }
.cta-card::before { content: ""; position: absolute; inset: -30% 20%; background: radial-gradient(circle, rgba(47,140,255,.24), transparent 62%); pointer-events: none; }
.cta-card > * { position: relative; }
.cta-card img { width: 110px; filter: drop-shadow(0 20px 45px rgba(47,140,255,.35)); }
.cta-card p { margin-inline: auto; }
.center { justify-content: center; }
.footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 48px; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.02); } }

@media (max-width: 920px) {
  .site-header { height: auto; min-height: var(--header-height); padding: 14px 18px; }
  body:has(.testnet-ribbon) .site-header { top: var(--ribbon-height); }
  .nav-links, .header-cta { display: none; }
  .menu-button { display: block; }
  .site-header.open .nav-links { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 18px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(13,34,80,.12); max-height: 70vh; overflow-y: auto; }
  .site-header.open .nav-item { display: block; width: 100%; }
  .site-header.open .nav-item > .nav-top { display: block; font-weight: 800; color: var(--text); padding: 6px 0 2px; }
  .site-header.open .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; background: transparent; }
  .site-header.open .dropdown::before { display: none; }
  .site-header.open .dropdown a { padding: 6px 0; }
  .hero { padding-top: 105px; }
  .hero-grid, .split-section { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-logo { width: 140px; }
  .hero-card { min-height: 500px; }
  .wallet-panel { position: relative; right: auto; bottom: auto; margin-top: -30px; }
  .stats, .feature-grid { grid-template-columns: 1fr; }
  .tx-light-stream { min-height: 300px; }
}

@media (max-width: 560px) {
  .hero { padding-inline: 18px; }
  .hero h1 { font-size: 44px; }
  .hero p, .section-copy p, .cta-card p { font-size: 16px; }
  .tx-light-stream { min-height: 240px; }
  .wallet-actions { grid-template-columns: repeat(2, 1fr); }
  .balance { font-size: 40px; }
  .footer { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   DARK HERO THEME + ANIMATED BACKGROUND  (v: dark-1)
   Scoped to the hero / header / ribbon so the rest of the page is untouched.
   ═══════════════════════════════════════════════════════════════════════ */

/* Testnet ribbon → dark */
.testnet-ribbon {
  background: linear-gradient(90deg, #0a0d14 0%, #10141d 50%, #0a0d14 100%);
  color: #ffd66b;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Header → dark translucent glass */
.site-header {
  background: rgba(8, 10, 16, .72);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
.site-header .brand span { color: #f4f7ff; }
.nav-links { color: #aab4c6; }
.nav-links a:hover, .site-header .nav-top:hover { color: #ffffff; }
.menu-button { color: #eaf0ff; }

/* ── Hero: near-black canvas with an animated background ──────────────── */
.hero { background: #05070d; }

/* dim the existing hero video so it reads as a subtle moving underlay */
.hero-video { opacity: .34; mix-blend-mode: luminosity; transform: scale(1.06); filter: saturate(1.05) brightness(.78); }

/* dark wash over the video */
.video-shade {
  background:
    radial-gradient(circle at 74% 42%, rgba(80,190,255,.22), transparent 34%),
    radial-gradient(circle at 80% 58%, rgba(212,96,255,.18), transparent 28%),
    linear-gradient(90deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,.72) 44%, rgba(5,7,13,.34) 100%),
    linear-gradient(180deg, rgba(5,7,13,.46) 0%, #05070d 100%);
}

/* animated aurora layer (drifting colour pools) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 16% 28%, rgba(56,150,255,.28), transparent 60%),
    radial-gradient(38% 50% at 84% 20%, rgba(126,87,255,.24), transparent 62%),
    radial-gradient(48% 60% at 62% 92%, rgba(20,200,168,.2), transparent 60%),
    radial-gradient(34% 46% at 72% 56%, rgba(245,94,255,.18), transparent 64%);
  background-size: 190% 190%;
  filter: blur(34px);
  animation: heroAurora 20s ease-in-out infinite;
}
@keyframes heroAurora {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* animated particle grid drifting diagonally */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(rgba(125,175,255,.16) 1px, transparent 1.5px);
  background-size: 34px 34px;
  animation: heroParticles 28s linear infinite;
}
@keyframes heroParticles {
  from { background-position: 0 0; }
  to   { background-position: 340px 680px; }
}

/* keep hero content above the animated layers */
.hero-grid { z-index: 2; }

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(24px);
  opacity: .95;
  will-change: transform, opacity;
}

.hero-glow-a {
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  right: 16%;
  top: 24%;
  background:
    radial-gradient(circle at 50% 50%, rgba(120,240,255,.92) 0%, rgba(120,240,255,.3) 24%, rgba(120,240,255,0) 66%);
  box-shadow:
    0 0 55px rgba(120,240,255,.55),
    0 0 120px rgba(120,240,255,.4),
    0 0 220px rgba(120,240,255,.2);
  animation: heroGlowFloatA 9.5s ease-in-out infinite;
}

.hero-glow-b {
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  right: 4%;
  bottom: 6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(211,100,255,.78) 0%, rgba(211,100,255,.26) 22%, rgba(211,100,255,0) 68%);
  box-shadow:
    0 0 55px rgba(211,100,255,.46),
    0 0 120px rgba(211,100,255,.32),
    0 0 220px rgba(211,100,255,.18);
  animation: heroGlowFloatB 11.5s ease-in-out infinite;
}

.hero-glow-c {
  width: min(16vw, 220px);
  height: min(16vw, 220px);
  left: 57%;
  top: 41%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.92) 0%, rgba(147,224,255,.42) 24%, rgba(147,224,255,0) 72%);
  box-shadow:
    0 0 35px rgba(255,255,255,.42),
    0 0 90px rgba(147,224,255,.34);
  animation: heroGlowPulse 6.2s ease-in-out infinite;
}

.hero-grid-spark {
  position: absolute;
  inset: 8% 6% 8% 42%;
  opacity: .5;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 58%, rgba(126,232,255,.22) 0 1.4px, transparent 2.6px),
    radial-gradient(circle at 48% 86%, rgba(209,116,255,.18) 0 1.4px, transparent 2.6px);
  background-size: 140px 140px, 180px 180px, 210px 210px;
  animation: heroSparkDrift 18s linear infinite;
}

@keyframes heroGlowFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .88; }
  50% { transform: translate3d(18px, -12px, 0) scale(1.08); opacity: 1; }
}

@keyframes heroGlowFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .76; }
  50% { transform: translate3d(-22px, 14px, 0) scale(1.12); opacity: .96; }
}

@keyframes heroGlowPulse {
  0%, 100% { transform: scale(.96); opacity: .72; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes heroSparkDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-36px, 28px, 0); }
}

/* ── Hero copy recolour ──────────────────────────────────────────────── */
.hero h1 { color: #f4f7ff; }
.hero h1 span {
  background: linear-gradient(120deg, #7fe9d0 0%, #5aa9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: #aeb9cc; }
.hero .eyebrow {
  background: rgba(56,150,255,.12);
  border-color: rgba(56,150,255,.34);
  color: #9fc3ff;
}
.hero .trust-row { color: #c4cde0; }
.hero .secondary-btn {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  color: #eaf0ff;
}
.hero .secondary-btn:hover { background: rgba(255,255,255,.10); }
.hero .mm-status { color: #aeb9cc; }

/* orbital rings tuned for the dark canvas */
.hero .ring { border-color: rgba(140,180,255,.18); }
.hero .ring-3 { border-color: rgba(90,169,255,.42); }
.hero .orbital-logo::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(118,236,255,.34) 0%, rgba(118,236,255,.12) 28%, rgba(118,236,255,0) 72%);
  box-shadow:
    0 0 70px rgba(118,236,255,.38),
    0 0 140px rgba(118,236,255,.22);
  animation: heroCoreGlow 7.5s ease-in-out infinite;
}

@keyframes heroCoreGlow {
  0%,100% { transform: scale(.94); opacity: .78; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ── Wallet preview card → dark ──────────────────────────────────────── */
.hero .wallet-panel {
  background: rgba(15, 19, 27, .94);
  color: #e8ecf5;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 30px 90px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.03),
    0 0 120px rgba(118,236,255,.13),
    0 0 90px rgba(205,104,255,.12);
}
.hero .wallet-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139,226,255,.34), rgba(255,255,255,.04) 34%, rgba(202,105,255,.28) 72%, rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero .wcaht-wallet { color: #e8ecf5; }
.hero .ww-brand { color: #f4f7ff; }
.hero .ww-net { color: #37d99a; background: rgba(55,217,154,.12); }
.hero .ww-dot { background: #37d99a; }
.hero .ww-account {
  color: #d5ddec;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.hero .ww-account b { color: #7f8aa0; }
.hero .ww-balance-label { color: #7f8aa0; }
.hero .ww-balance { color: #ffffff; }
.hero .ww-balance small { color: #c4cde0; }
.hero .ww-sub { color: #7f8aa0; }
.hero .ww-addr {
  color: #9aa6bd;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.hero .ww-act { color: #c4cde0; }
.hero .ww-status {
  color: #9aa6bd;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.hero .ww-recent { color: #7f8aa0; }
.hero .ww-tx { border-top: 1px solid rgba(255,255,255,.07); }
.hero .ww-tx small { color: #7f8aa0; }
.hero .pending strong::after { border-color: #eaf0ff; border-top-color: transparent; }

/* mobile menu panel -> dark */
@media (max-width: 920px) {
  .site-header.open .nav-links {
    background: rgba(6, 8, 13, .995);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 34px rgba(0,0,0,.5);
    color: #dbe6ff;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    z-index: 45;
  }
  .site-header.open .nav-item > .nav-top,
  .site-header.open .nav-links > .nav-top {
    color: #f6f9ff;
  }
  .site-header.open .dropdown a {
    color: #b9c7df;
  }
  .site-header.open .dropdown a:hover,
  .site-header.open .nav-links > .nav-top:hover,
  .site-header.open .nav-item > .nav-top:hover {
    color: #ffffff;
  }
}

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero-glow, .hero-grid-spark, .hero .orbital-logo::before { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATION ADDITIONS  (v: anim-1)
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. Pulsing ring on the hero eyebrow green dot */
.pulse-dot {
  animation: pulseRing 2.4s ease-in-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0    rgba(15,157,88,.70); }
  70%  { box-shadow: 0 0 0 10px rgba(15,157,88, 0); }
  100% { box-shadow: 0 0 0 0    rgba(15,157,88, 0); }
}

/* 2. Animated gradient shift on hero h1 highlight text */
.hero h1 span {
  background-size: 200% auto;
  animation: heroTextShift 5s ease-in-out infinite;
}
@keyframes heroTextShift {
  0%,100% { background-position: 0%   center; }
  50%     { background-position: 100% center; }
}

/* 3. Shimmer sweep on primary / CTA / MetaMask buttons */
.primary-btn,
.header-cta {
  position: relative;
  overflow: hidden;
}
.primary-btn::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.26) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
  border-radius: inherit;
}
.primary-btn:hover::after,
.header-cta:hover::after {
  animation: btnShimmer .55s ease forwards;
}
.metamask-btn {
  position: relative;
  overflow: hidden;
}
.metamask-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.26) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
  border-radius: inherit;
}
.metamask-btn:hover::after {
  animation: btnShimmer .55s ease forwards;
}
@keyframes btnShimmer {
  from { transform: translateX(-130%); }
  to   { transform: translateX(160%);  }
}

/* 4. Wallet panel entrance slide-up on page load */
.hero-card .wallet-panel {
  animation: walletSlideIn .9s cubic-bezier(.2,.8,.2,1) .55s both;
}
@keyframes walletSlideIn {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* 5. Additional stagger delays for feat-grid cards 4-6 */
.feat-grid .feat:nth-child(4) { transition-delay: .32s; }
.feat-grid .feat:nth-child(5) { transition-delay: .42s; }
.feat-grid .feat:nth-child(6) { transition-delay: .52s; }

/* 6. Subtle pulsing glow on the CTA card */
.cta-card {
  animation: ctaGlow 4s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%,100% { box-shadow: var(--shadow); }
  50%     { box-shadow: var(--shadow), 0 0 52px rgba(47,140,255,.20); }
}

/* 7. Live-band stat numbers pop in when band scrolls into view */
.live-band.in-view .live-stat b {
  animation: statPop .45s ease both;
}
.live-band.in-view .live-stat:nth-child(2) b { animation-delay: .05s; }
.live-band.in-view .live-stat:nth-child(3) b { animation-delay: .14s; }
.live-band.in-view .live-stat:nth-child(4) b { animation-delay: .23s; }
.live-band.in-view .live-stat:nth-child(5) b { animation-delay: .32s; }
.live-band.in-view .live-stat:nth-child(6) b { animation-delay: .41s; }
@keyframes statPop {
  from { opacity: 0; transform: translateY(8px) scale(.88); }
  to   { opacity: 1; transform: translateY(0)   scale(1);  }
}

/* 8. Blinking cursor after terminal-card code */
.terminal-card code::after {
  content: "▋";
  color: #78b5ff;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0; }
}

/* Reduced-motion: disable all added animations */
@media (prefers-reduced-motion: reduce) {
  .pulse-dot,
  .hero h1 span,
  .cta-card,
  .hero-card .wallet-panel,
  .terminal-card code::after { animation: none !important; }
  .primary-btn::after,
  .header-cta::after,
  .metamask-btn::after { display: none; }
  .live-band.in-view .live-stat b { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PURE EVM COMPATIBILITY STRIP  (v: pure-evm-1)
   ═══════════════════════════════════════════════════════════════════════ */
.evm-strip {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #07090f 0%, #0f1424 50%, #07090f 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 22px 24px;
  overflow: hidden;
}
.evm-strip::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(126,232,255,.10), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: evmSheen 9s ease-in-out infinite;
}
@keyframes evmSheen {
  0%   { left: -60%; }
  60%,100% { left: 130%; }
}
.evm-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 30px;
  flex-wrap: wrap;
}
.evm-strip-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.evm-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 999px;
  background: linear-gradient(120deg, #b18aff 0%, #5aa9ff 55%, #a3f0ff 100%);
  color: #05070d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  box-shadow: 0 10px 26px rgba(90,169,255,.35);
}
.evm-tagline {
  color: #aeb9cc;
  font-size: 14px;
  font-weight: 600;
  max-width: 440px;
  line-height: 1.45;
}
.evm-logos {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.evm-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4cde0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .85;
  transition: opacity .2s, transform .2s, color .2s;
}
.evm-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #ffffff;
}
.evm-logo.evm-text {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
}
.evm-logo.evm-text:hover {
  background: rgba(126,232,255,.10);
  border-color: rgba(126,232,255,.32);
}
@media (max-width: 860px) {
  .evm-strip-inner { justify-content: center; text-align: center; }
  .evm-strip-title { justify-content: center; }
  .evm-tagline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .evm-strip::before { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PURE EVM SHOWCASE VIDEO  (v: video-1)
   ═══════════════════════════════════════════════════════════════════════ */
.evm-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 8px 0;
  padding: 0;
}
.evm-showcase-inner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.evm-showcase-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  background: transparent;
}
@media (max-width: 720px) {
  .evm-showcase { margin: 6px 0; }
  .evm-showcase-inner { border-radius: 0; }
}
