/* Web5 Nexus — storytelling product landing (CrossDEX/Ramp atmospheric system) */

:root {
  --nx-page-bg: #05070d;
  --nx-sky-top: #0a1224;
  --nx-sky-mid: #070b14;
  --nx-sky-bottom: #030509;
  --nx-glass-bg: rgba(12, 14, 20, 0.72);
  --nx-glass-well: rgba(255, 255, 255, 0.045);
  --nx-glass-border: rgba(210, 230, 255, 0.22);
  --nx-cta-gradient: linear-gradient(105deg, #ffffff 0%, #d4eeff 42%, #9fd4ff 100%);
  --nx-cta-text: #0c1a2a;
  --nx-panel-bg: rgba(16, 18, 26, 0.78);
  --nx-panel-radius: 18px;
  --nx-panel-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.45);
  --nx-panel-border: 1px solid rgba(200, 220, 255, 0.16);
  --nx-accent-icy: #9fd4ff;
  --nx-accent-emerald: #34d399;
  --nx-accent-warn: #e8b84a;
  --nx-accent-danger: #ef6f5e;
  --nx-text: #eef2f7;
  --nx-text-muted: rgba(220, 230, 245, 0.55);
  --nx-radius-glass: 28px;
  --nx-max: 1120px;
  --nx-nav-h: 88px;
  --font-sans: "Poppins", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nx-text);
  background: var(--nx-page-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-accent-icy); text-decoration: none; transition: color .15s ease; }
a:hover { color: #c8e8ff; }
button, input { font-family: inherit; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.nx-container {
  width: 100%;
  max-width: var(--nx-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* —— Page atmosphere —— */
.nx-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(70, 160, 255, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 80% 40%, rgba(40, 100, 200, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--nx-sky-top) 0%, var(--nx-sky-mid) 40%, var(--nx-sky-bottom) 100%);
}
.nx-page__stars {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 18% 28%, rgba(200,230,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 32% 8%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 46% 22%, rgba(180,210,255,.65), transparent),
    radial-gradient(1.5px 1.5px at 62% 14%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 74% 30%, rgba(200,230,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 88% 10%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 28% 58%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 55% 42%, rgba(200,230,255,.6), transparent),
    radial-gradient(1px 1px at 92% 44%, rgba(180,210,255,.55), transparent);
}
.nx-page__mist {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.nx-page__mist-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .45;
  will-change: transform;
  background: radial-gradient(ellipse at center, rgba(180,220,255,.4) 0%, rgba(120,180,255,.14) 42%, transparent 72%);
}
.nx-page__mist-cloud--a {
  top: -8%; left: -20%;
  width: min(72vw, 640px); height: min(28vh, 220px);
  animation: nx-mist-a 38s ease-in-out infinite;
}
.nx-page__mist-cloud--b {
  top: 20%; right: -18%;
  width: min(58vw, 520px); height: min(22vh, 180px);
  opacity: .32;
  animation: nx-mist-b 52s ease-in-out infinite;
}
@keyframes nx-mist-a {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(14vw, 3vh, 0) scale(1.06); }
}
@keyframes nx-mist-b {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-12vw, 2vh, 0); }
}
.nx-page__content { position: relative; z-index: 2; }

/* —— Floating orbs + cursor glow —— */
.nx-floaters {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.nx-floater {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  will-change: transform;
}
.nx-floater--1 {
  width: 280px; height: 280px;
  top: 12%; left: 8%;
  background: radial-gradient(circle, rgba(159,212,255,.55), transparent 70%);
  animation: nx-bob 11s ease-in-out infinite;
}
.nx-floater--2 {
  width: 220px; height: 220px;
  top: 48%; right: 6%;
  background: radial-gradient(circle, rgba(52,211,153,.28), transparent 70%);
  animation: nx-bob 14s ease-in-out infinite reverse;
}
.nx-floater--3 {
  width: 180px; height: 180px;
  bottom: 18%; left: 35%;
  background: radial-gradient(circle, rgba(120,180,255,.35), transparent 70%);
  animation: nx-bob 17s ease-in-out infinite;
}
@keyframes nx-bob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.08); }
}
.nx-cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle, rgba(159,212,255,.14) 0%, transparent 68%);
  transition: opacity .35s ease;
  will-change: transform;
}
.nx-cursor-glow.is-on { opacity: 1; }

/* —— Floating translucent pill nav —— */
.nx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  pointer-events: none;
}
.nx-nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100%, 920px);
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(12, 16, 28, 0.45);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(210, 230, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(80, 160, 255, 0.12);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background .35s ease;
}
.nx-nav.is-scrolled .nx-nav__pill {
  background: rgba(8, 12, 22, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(90, 180, 255, 0.16);
}
.nx-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nx-text);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.02em;
  padding: 4px 6px;
  border-radius: 999px;
  transition: transform .25s ease;
}
.nx-nav__brand:hover { transform: scale(1.03); color: var(--nx-text); }
.nx-nav__logo-frame {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.nx-nav__logo-frame img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
}
.nx-nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.nx-nav__links a {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--nx-text-muted);
  font-size: .84rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nx-nav__links a:hover {
  color: var(--nx-text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.nx-nav__links a.is-active {
  color: var(--nx-cta-text);
  background: var(--nx-cta-gradient);
  box-shadow: 0 4px 16px rgba(120, 200, 255, 0.35);
}
.nx-nav__actions { display: none; align-items: center; gap: 8px; }
.nx-btn--nav {
  padding: 10px 18px !important;
  box-shadow: 0 4px 18px rgba(120, 200, 255, 0.4) !important;
}
.nx-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(200, 220, 255, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--nx-text);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.nx-nav__toggle:hover {
  background: rgba(159, 212, 255, 0.12);
  transform: scale(1.05);
}
.nx-nav__toggle span {
  display: block; width: 16px; height: 2px; background: currentColor; position: relative;
  border-radius: 2px;
}
.nx-nav__toggle span::before,
.nx-nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .25s ease;
}
.nx-nav__toggle span::before { top: -5px; }
.nx-nav__toggle span::after { top: 5px; }
.nx-mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  z-index: 99;
  background: rgba(10, 14, 24, 0.88);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(210, 230, 255, 0.18);
  border-radius: 24px;
  padding: 14px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  animation: nx-menu-in .3s cubic-bezier(.22,1,.36,1);
}
@keyframes nx-menu-in {
  from { opacity: 0; transform: translateY(-10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.nx-mobile-menu.is-open { display: flex; }
.nx-mobile-menu a {
  color: var(--nx-text);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease;
}
.nx-mobile-menu a:hover {
  background: rgba(159, 212, 255, 0.1);
  transform: translateX(4px);
}
.nx-mobile-menu a.is-active {
  color: #dff1ff;
  background: rgba(159, 212, 255, 0.12);
}
.nx-mobile-menu .nx-btn { margin-top: 8px; text-align: center; }
@media (min-width: 960px) {
  .nx-nav__links, .nx-nav__actions { display: flex; }
  .nx-nav__toggle { display: none; }
  .nx-mobile-menu { display: none !important; }
}

/* —— Buttons —— */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.nx-btn--primary {
  background: var(--nx-cta-gradient);
  color: var(--nx-cta-text) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.35),
    0 4px 24px rgba(120,200,255,.55),
    0 0 40px rgba(90,180,255,.28);
}
.nx-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.nx-btn--primary:hover::after { transform: translateX(120%); }
.nx-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  color: var(--nx-cta-text) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.45),
    0 10px 32px rgba(120,200,255,.75),
    0 0 48px rgba(90,180,255,.4);
}
.nx-btn--primary:active { transform: translateY(-1px) scale(.98); }
.nx-btn--ghost {
  background: rgba(255,255,255,.05);
  color: var(--nx-text) !important;
  border: 1px solid rgba(200, 220, 255, 0.2);
  backdrop-filter: blur(8px);
}
.nx-btn--ghost:hover {
  background: rgba(159, 212, 255, 0.12);
  border-color: rgba(159, 212, 255, 0.4);
  color: var(--nx-text) !important;
  transform: translateY(-2px);
}
.nx-btn--sm { padding: 8px 16px; font-size: .8rem; }

/* —— Reveal —— */
.nx-reveal {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.nx-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Hero —— */
.nx-hero {
  position: relative;
  padding: 120px 0 72px;
  min-height: calc(100vh - 24px);
  display: flex;
  align-items: center;
}
.nx-hero__layout {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .nx-hero__layout {
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
  }
}
.nx-hero__brand {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
  background: linear-gradient(105deg, #fff 0%, #d4eeff 40%, #9fd4ff 70%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nx-shine 8s linear infinite;
}
@keyframes nx-shine {
  to { background-position: 200% center; }
}
.nx-hero__kicker {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-accent-icy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(159, 212, 255, 0.1);
  border: 1px solid rgba(159, 212, 255, 0.2);
  animation: nx-kicker 3s ease-in-out infinite;
}
@keyframes nx-kicker {
  0%, 100% { box-shadow: 0 0 0 0 rgba(159,212,255,.0); }
  50% { box-shadow: 0 0 20px 2px rgba(159,212,255,.18); }
}
.nx-hero__headline {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--nx-text);
}
.nx-hero__sub {
  margin: 0 0 28px;
  max-width: 460px;
  color: var(--nx-text-muted);
  font-size: 1.02rem;
}
.nx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-hero__trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--nx-text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,220,255,.12);
}
.nx-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--nx-accent-emerald);
  box-shadow: 0 0 8px rgba(52,211,153,.7);
}

/* Product Engine: investor-facing hero system map */
.nx-engine {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 221, 255, .2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 43%, rgba(80, 176, 255, .14), transparent 42%),
    linear-gradient(155deg, rgba(28, 38, 53, .9), rgba(5, 9, 16, .97) 62%);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, .52),
    0 -14px 60px rgba(75, 171, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: transform .2s ease-out, box-shadow .35s ease;
  transform-style: preserve-3d;
}
.nx-engine::before {
  content: "";
  position: absolute;
  inset: -40% 30% 68% -20%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .1), transparent);
  transform: rotate(-7deg);
  pointer-events: none;
}
.nx-engine:hover {
  box-shadow:
    0 42px 100px rgba(0, 0, 0, .58),
    0 -18px 76px rgba(75, 171, 255, .28),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}
.nx-engine__topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px 12px;
  border-bottom: 1px solid rgba(184, 221, 255, .1);
  color: rgba(220, 235, 249, .58);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nx-engine__topbar span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(229, 244, 255, .82);
}
.nx-engine__topbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nx-accent-emerald);
  box-shadow: 0 0 12px rgba(52, 211, 153, .9);
  animation: nx-engine-status 2.4s ease-in-out infinite;
}
@keyframes nx-engine-status {
  50% { opacity: .45; box-shadow: 0 0 4px rgba(52, 211, 153, .4); }
}
.nx-engine__map {
  display: block;
  width: 100%;
  height: auto;
}
.nx-engine__input text,
.nx-engine__core text,
.nx-engine__telemetry text,
.nx-engine__product text {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
}
.nx-engine__input text {
  fill: rgba(218, 235, 249, .52);
  font-size: 10px;
}
.nx-engine__routes {
  stroke-width: 1.5;
  stroke-opacity: .24;
  stroke-dasharray: 5 7;
}
.nx-engine__route {
  transition: stroke .25s ease, stroke-opacity .25s ease, stroke-width .25s ease;
  animation: nx-engine-route 18s linear infinite;
}
.nx-engine__route--input {
  stroke-width: 2.5;
  stroke-opacity: .7;
  stroke-dasharray: 2 7;
}
@keyframes nx-engine-route {
  to { stroke-dashoffset: -120; }
}
.nx-engine__core {
  transform-box: fill-box;
  transform-origin: center;
  animation: nx-engine-core 4.2s ease-in-out infinite;
}
.nx-engine__core text {
  fill: rgba(213, 235, 251, .62);
  font-size: 9px;
}
.nx-engine__logo {
  filter: drop-shadow(0 0 5px rgba(180, 224, 255, .24));
}
@keyframes nx-engine-core {
  50% { transform: translateY(-3px); filter: drop-shadow(0 10px 18px rgba(105, 195, 255, .25)); }
}
.nx-engine__product {
  cursor: pointer;
  outline: none;
}
/* Animate an inner face so CSS transform never overrides SVG translate(...) */
.nx-engine__product-face {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22,1,.36,1), filter .28s ease;
}
.nx-engine__product-face > rect:first-child {
  fill: #111a28;
  stroke: rgba(159, 212, 255, .24);
  stroke-width: 1;
  transition: fill .25s ease, stroke .25s ease;
}
.nx-engine__product text {
  fill: rgba(218, 235, 249, .66);
  font-size: 8px;
}
.nx-engine__product circle {
  fill: #1c2a3b;
  stroke: rgba(159, 212, 255, .34);
  stroke-width: 1;
}
.nx-engine__product path,
.nx-engine__product rect:not(:first-child) {
  fill: none;
  stroke: rgba(196, 230, 255, .72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-engine__product .is-status {
  fill: var(--nx-accent-emerald);
  stroke: none;
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, .9));
}
.nx-engine__product:hover .nx-engine__product-face,
.nx-engine__product:focus .nx-engine__product-face,
.nx-engine__product.is-active .nx-engine__product-face {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)) drop-shadow(0 0 12px rgba(116, 196, 255, .18));
}
.nx-engine__product:hover .nx-engine__product-face > rect:first-child,
.nx-engine__product:focus .nx-engine__product-face > rect:first-child,
.nx-engine__product.is-active .nx-engine__product-face > rect:first-child {
  fill: #17263a;
  stroke: rgba(159, 212, 255, .7);
}
.nx-engine[data-active="auth"] .nx-engine__route--auth,
.nx-engine[data-active="router"] .nx-engine__route--router,
.nx-engine[data-active="swap"] .nx-engine__route--swap,
.nx-engine[data-active="ramp"] .nx-engine__route--ramp,
.nx-engine[data-active="audit"] .nx-engine__route--audit {
  stroke: #bce4ff;
  stroke-opacity: .95;
  stroke-width: 3;
}
.nx-engine__telemetry text {
  fill: rgba(194, 219, 240, .42);
  font-size: 8px;
}
.nx-engine__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px 18px;
  color: rgba(205, 224, 240, .46);
  font-size: .7rem;
}
.nx-engine__caption span {
  text-transform: uppercase;
  letter-spacing: .1em;
}
.nx-engine__caption strong {
  color: rgba(224, 241, 255, .82);
  font-weight: 500;
  text-align: right;
}

/* Product stage (interactive hero visual) */
.nx-stage {
  position: relative;
  border-radius: var(--nx-radius-glass);
  background: linear-gradient(165deg, rgba(40,48,64,.55) 0%, rgba(12,14,20,.82) 42%, rgba(8,10,16,.9) 100%);
  border: 1px solid var(--nx-glass-border);
  box-shadow: var(--nx-panel-shadow),
    0 -18px 60px rgba(80,180,255,.28),
    0 0 80px rgba(60,150,255,.18);
  overflow: hidden;
  min-height: 420px;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
  transform-style: preserve-3d;
}
.nx-stage--try {
  max-width: 920px;
  min-height: 0;
  margin: 0 auto 26px;
}
.nx-stage:hover {
  box-shadow: var(--nx-panel-shadow),
    0 -22px 70px rgba(80,180,255,.38),
    0 0 100px rgba(60,150,255,.28);
}
.nx-stage.is-tilting {
  transition: transform .12s ease-out;
}
.nx-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
}
.nx-stage__tabs {
  display: flex;
  gap: 6px;
  padding: 14px 14px 0;
  overflow-x: auto;
}
.nx-stage__tab {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nx-text-muted);
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s cubic-bezier(.22,1,.36,1);
}
.nx-stage__tab:hover {
  color: var(--nx-text);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.nx-stage__tab.is-active {
  color: var(--nx-cta-text);
  background: var(--nx-cta-gradient);
  border-color: rgba(255,255,255,.25);
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(120,200,255,.35);
}
.nx-stage__body { padding: 18px 18px 20px; }
.nx-stage__panel { display: none; animation: nx-fade .35s ease; }
.nx-stage__panel.is-active { display: block; }
@keyframes nx-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.nx-stage__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.nx-stage__meta h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.nx-stage__meta p {
  margin: 2px 0 0;
  font-size: .78rem;
  color: var(--nx-text-muted);
}

/* Mini product UIs */
.nx-mini {
  border-radius: 18px;
  background: rgba(5, 7, 13, 0.55);
  border: 1px solid rgba(200, 220, 255, 0.12);
  padding: 14px;
}
.nx-mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--nx-glass-well);
  border: 1px solid rgba(200, 220, 255, 0.1);
  margin-bottom: 8px;
}
.nx-mini__label { font-size: .72rem; color: var(--nx-text-muted); font-weight: 500; }
.nx-mini__value { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.nx-mini__token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(159, 212, 255, 0.12);
  border: 1px solid rgba(159, 212, 255, 0.2);
  font-size: .8rem;
  font-weight: 600;
}
.nx-mini__swap {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--nx-cta-gradient);
  color: var(--nx-cta-text);
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  box-shadow: 0 4px 18px rgba(120,200,255,.4);
}
.nx-mini__swap:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(120,200,255,.55);
}
.nx-mini__swap:active { transform: scale(.97); }
.nx-mini__swap.is-busy { opacity: .7; pointer-events: none; animation: nx-pulse 1s ease infinite; }
@keyframes nx-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}
.nx-mini__status {
  margin-top: 10px;
  min-height: 1.2em;
  font-size: .78rem;
  color: var(--nx-accent-emerald);
  text-align: center;
}

.nx-nodes { display: flex; flex-direction: column; gap: 8px; }
.nx-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(200,220,255,.1);
  font-size: .85rem;
  transition: border-color .25s, background .25s;
}
.nx-node.is-live {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
}
.nx-node.is-dead {
  border-color: rgba(239, 111, 94, 0.35);
  background: rgba(239, 111, 94, 0.08);
  opacity: .7;
}
.nx-node__badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}
.nx-node.is-live .nx-node__badge { color: var(--nx-accent-emerald); }
.nx-node.is-dead .nx-node__badge { color: var(--nx-accent-danger); }

.nx-scan {
  text-align: center;
  padding: 20px 12px;
}
.nx-scan__ring {
  width: 110px; height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(159, 212, 255, 0.15);
  border-top-color: var(--nx-accent-icy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nx-accent-icy);
}
.nx-scan__ring.is-spinning { animation: nx-spin 1s linear infinite; }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx-scan__findings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin-top: 14px;
}
.nx-scan__findings div {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .78rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,220,255,.1);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}
.nx-scan__findings div.is-show { opacity: 1; transform: none; }
.nx-scan__findings .sev-high { border-color: rgba(239,111,94,.35); color: #ffb4aa; }
.nx-scan__findings .sev-med { border-color: rgba(232,184,74,.35); color: #f5d78a; }
.nx-scan__findings .sev-ok { border-color: rgba(52,211,153,.35); color: #9aecc8; }

/* —— Sections —— */
.nx-section { padding: 88px 0; }
.nx-section--tight { padding: 56px 0 88px; }
.nx-section__head {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}
.nx-section__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-accent-icy);
}
.nx-section__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.nx-section__desc {
  margin: 0;
  color: var(--nx-text-muted);
  font-size: 1rem;
}

/* Story: problem */
.nx-pain {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .nx-pain { grid-template-columns: repeat(2, 1fr); }
}
.nx-pain__item {
  text-align: left;
  padding: 22px 20px;
  border-radius: var(--nx-panel-radius);
  background: var(--nx-panel-bg);
  border: var(--nx-panel-border);
  box-shadow: var(--nx-panel-shadow);
  cursor: pointer;
  transition: border-color .25s, transform .35s cubic-bezier(.22,1,.36,1), background .25s, box-shadow .35s;
}
.nx-pain__item:hover,
.nx-pain__item.is-open {
  border-color: rgba(159, 212, 255, 0.4);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 32px rgba(90,180,255,.12);
}
.nx-pain__num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--nx-accent-icy);
}
.nx-pain__title {
  display: block;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.nx-pain__copy {
  display: block;
  margin: 0;
  font-size: .9rem;
  color: var(--nx-text-muted);
}
.nx-pain__more {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin .35s ease;
  margin: 0;
  font-size: .86rem;
  color: rgba(220, 230, 245, 0.72);
}
.nx-pain__item.is-open .nx-pain__more {
  max-height: 120px;
  margin-top: 12px;
}

.nx-result {
  margin-top: 28px;
  padding: 28px 24px;
  border-radius: var(--nx-radius-glass);
  background: linear-gradient(165deg, rgba(239,111,94,.08) 0%, rgba(12,14,20,.7) 60%);
  border: 1px solid rgba(239, 111, 94, 0.22);
  text-align: center;
}
.nx-result h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.nx-result p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--nx-text-muted);
  font-size: .95rem;
}
.nx-result__chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.nx-result__chips span {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  color: #ffb4aa;
  background: rgba(239, 111, 94, 0.1);
  border: 1px solid rgba(239, 111, 94, 0.22);
}

/* Solution path */
.nx-path {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .nx-path { grid-template-columns: repeat(3, 1fr); }
}
.nx-path__step {
  padding: 24px 20px;
  border-radius: var(--nx-panel-radius);
  background: var(--nx-panel-bg);
  border: var(--nx-panel-border);
  box-shadow: var(--nx-panel-shadow);
  transition: border-color .25s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.nx-path__step:hover {
  border-color: rgba(159, 212, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0,0,0,.45), 0 0 36px rgba(90,180,255,.14);
}
.nx-path__icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(159, 212, 255, 0.1);
  border: 1px solid rgba(159, 212, 255, 0.18);
  font-size: .85rem;
  font-weight: 700;
  color: var(--nx-accent-icy);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nx-path__step:hover .nx-path__icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--nx-cta-gradient);
  color: var(--nx-cta-text);
  border-color: transparent;
}
.nx-path__step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}
.nx-path__step p {
  margin: 0;
  font-size: .9rem;
  color: var(--nx-text-muted);
}

/* Supported blockchain directory */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nx-chains {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(73, 164, 246, .13), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 14, .1), rgba(7, 13, 23, .62));
  border-block: 1px solid rgba(200, 220, 255, .08);
}
.nx-chains::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -260px;
  top: 12%;
  border: 1px solid rgba(159, 212, 255, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(159, 212, 255, .018),
    0 0 0 140px rgba(159, 212, 255, .012);
  pointer-events: none;
}
.nx-chains__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}
.nx-chains__header .nx-section__head {
  margin-bottom: 0;
}
.nx-chains__signal {
  position: relative;
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
}
.nx-chains__orbit {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(159, 212, 255, .27);
  border-radius: 50%;
  box-shadow: inset 0 0 35px rgba(90, 180, 255, .08);
  animation: nx-chain-orbit 12s linear infinite;
}
.nx-chains__orbit::before,
.nx-chains__orbit::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(159, 212, 255, .16);
  border-radius: 50%;
}
.nx-chains__orbit::before { inset: 17px; }
.nx-chains__orbit::after { inset: -12px; }
.nx-chains__core {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.nx-chains__core img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(180, 224, 255, .2));
}
.nx-chains__signal i {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nx-accent-emerald);
  box-shadow: 0 0 13px rgba(52, 211, 153, .9);
}
.nx-chains__signal i:nth-of-type(1) { top: 13px; left: 71px; }
.nx-chains__signal i:nth-of-type(2) { right: 15px; bottom: 38px; }
.nx-chains__signal i:nth-of-type(3) { left: 18px; bottom: 34px; }
@keyframes nx-chain-orbit {
  to { transform: rotate(360deg); }
}
.nx-chains__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 20px;
  border: 1px solid rgba(185, 220, 250, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}
.nx-chains__stats > div {
  padding: 18px 22px;
  border-right: 1px solid rgba(185, 220, 250, .1);
}
.nx-chains__stats > div:last-child { border-right: 0; }
.nx-chains__stats strong,
.nx-chains__stats span {
  display: block;
}
.nx-chains__stats strong {
  color: var(--nx-text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -.025em;
}
.nx-chains__stats span {
  margin-top: 2px;
  color: var(--nx-text-muted);
  font-size: .72rem;
}
.nx-chains__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.nx-chains__filters {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(185, 220, 250, .13);
  border-radius: 999px;
  background: rgba(4, 8, 14, .46);
}
.nx-chains__filters button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--nx-text-muted);
  background: transparent;
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nx-chains__filters button:hover {
  color: var(--nx-text);
  transform: translateY(-1px);
}
.nx-chains__filters button.is-active {
  color: var(--nx-cta-text);
  background: var(--nx-cta-gradient);
  box-shadow: 0 4px 15px rgba(90, 180, 255, .3);
}
.nx-chains__search {
  width: min(240px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(185, 220, 250, .13);
  border-radius: 999px;
  background: rgba(4, 8, 14, .46);
}
.nx-chains__search:focus-within {
  border-color: rgba(159, 212, 255, .48);
  box-shadow: 0 0 0 3px rgba(90, 180, 255, .08);
}
.nx-chains__search svg {
  width: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--nx-text-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.nx-chains__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--nx-text);
  background: transparent;
  font: inherit;
  font-size: .78rem;
}
.nx-chains__search input::placeholder { color: rgba(203, 220, 236, .42); }
.nx-chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 12px;
  min-height: 140px;
}
.nx-chain-grid__loading {
  grid-column: 1 / -1;
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--nx-text-muted);
  font-size: .82rem;
}
.nx-chain-card {
  position: relative;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 14px;
  border: 1px solid rgba(185, 220, 250, .12);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)),
    rgba(7, 12, 20, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .25s ease, background .25s ease, box-shadow .3s ease;
}
.nx-chain-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: rgba(159, 212, 255, .42);
  background: linear-gradient(150deg, rgba(111, 194, 255, .1), rgba(255, 255, 255, .02));
  box-shadow: 0 18px 35px rgba(0, 0, 0, .3), 0 0 25px rgba(90, 180, 255, .08);
}
.nx-chain-card--more {
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  border-style: dashed;
  border-color: rgba(159, 212, 255, .28);
  background:
    linear-gradient(150deg, rgba(90, 180, 255, .1), rgba(255, 255, 255, .02)),
    rgba(7, 12, 20, .55);
}
.nx-chain-card--more:hover {
  border-color: rgba(159, 212, 255, .55);
}
.nx-chain-card__more-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #9fd4ff;
  background: rgba(111, 194, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(159, 212, 255, .18);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}
.nx-chain-card__more-hint {
  color: rgba(194, 231, 255, .55);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.nx-chain-card__logo {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.nx-chain-card__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .3));
}
.nx-chain-card__fallback {
  display: none;
  color: var(--nx-accent-icy);
  font-size: .72rem;
  font-weight: 700;
}
.nx-chain-card__logo.is-fallback img { display: none; }
.nx-chain-card__logo.is-fallback .nx-chain-card__fallback { display: block; }
.nx-chain-card__name {
  max-width: 100%;
  color: rgba(230, 241, 251, .88);
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-chain-card__badges {
  min-height: 17px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nx-chain-card__badge {
  padding: 3px 6px;
  border-radius: 999px;
  color: rgba(194, 231, 255, .78);
  background: rgba(104, 190, 255, .09);
  border: 1px solid rgba(104, 190, 255, .13);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nx-chain-card__badge.is-live {
  color: #8ce9c3;
  background: rgba(52, 211, 153, .08);
  border-color: rgba(52, 211, 153, .16);
}
.nx-chains__empty {
  margin: 28px 0 0;
  color: var(--nx-text-muted);
  text-align: center;
}
@media (max-width: 720px) {
  .nx-chains__header { grid-template-columns: 1fr; }
  .nx-chains__signal { display: none; }
  .nx-chains__stats { grid-template-columns: 1fr; }
  .nx-chains__stats > div {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 220, 250, .1);
  }
  .nx-chains__stats > div:last-child { border-bottom: 0; }
  .nx-chains__toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .nx-chains__filters {
    width: 100%;
    overflow-x: auto;
  }
  .nx-chains__filters button { flex: 0 0 auto; }
  .nx-chains__search { width: 100%; }
  .nx-chain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Start steps */
.nx-start {
  display: grid;
  gap: 0;
  counter-reset: start;
}
.nx-start__row {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(200, 220, 255, 0.1);
  align-items: center;
}
@media (min-width: 720px) {
  .nx-start__row { grid-template-columns: 56px 1fr auto; }
}
.nx-start__row:last-child { border-bottom: 0; }
.nx-start__num {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--nx-cta-text);
  background: var(--nx-cta-gradient);
}
.nx-start__copy h3 { margin: 0 0 4px; font-size: 1.05rem; }
.nx-start__copy p { margin: 0; color: var(--nx-text-muted); font-size: .9rem; }

/* Product grid */
.nx-grid { display: grid; gap: 14px; }
.nx-grid--2 { grid-template-columns: 1fr; }
.nx-grid--spaced { margin-top: 20px; }
.nx-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .nx-grid--2, .nx-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .nx-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.nx-card {
  background: var(--nx-panel-bg);
  backdrop-filter: blur(16px);
  border-radius: var(--nx-panel-radius);
  box-shadow: var(--nx-panel-shadow);
  border: var(--nx-panel-border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
  will-change: transform;
}
.nx-card:hover {
  border-color: rgba(159, 212, 255, 0.4);
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.18),
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(90, 180, 255, 0.15);
}
.nx-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(159, 212, 255, 0.1);
  border: 1px solid rgba(159, 212, 255, 0.18);
  display: grid;
  place-items: center;
  padding: 10px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s ease;
}
.nx-card:hover .nx-card__icon {
  transform: rotate(-8deg) scale(1.1);
  background: rgba(159, 212, 255, 0.18);
}
.nx-card__icon img {
  width: 20px; height: 20px;
  filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(700%) hue-rotate(176deg);
}
.nx-card__title { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.nx-card__desc { margin: 0; flex: 1; font-size: .88rem; color: var(--nx-text-muted); }
.nx-card__pkg {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  color: var(--nx-accent-icy);
  background: rgba(159, 212, 255, 0.08);
  border: 1px solid rgba(159, 212, 255, 0.14);
  border-radius: 8px;
  padding: 6px 10px;
  overflow-x: auto;
  white-space: nowrap;
}
.nx-card__footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nx-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nx-badge--live {
  background: rgba(52, 211, 153, 0.14);
  color: var(--nx-accent-emerald);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.nx-badge--soon {
  background: rgba(255,255,255,.05);
  color: var(--nx-text-muted);
  border: 1px solid rgba(255,255,255,.1);
}

/* Code lab */
.nx-lab {
  border-radius: var(--nx-radius-glass);
  background: var(--nx-panel-bg);
  border: var(--nx-panel-border);
  box-shadow: var(--nx-panel-shadow);
  overflow: hidden;
}
.nx-lab__tabs {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(200, 220, 255, 0.08);
}
.nx-lab__tab {
  border: none;
  background: transparent;
  color: var(--nx-text-muted);
  font-size: .8rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
}
.nx-lab__tab.is-active {
  color: var(--nx-text);
  background: rgba(159, 212, 255, 0.1);
}
.nx-lab__code {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: .8rem;
  line-height: 1.55;
  color: #c8d9ea;
  background: rgba(3, 5, 10, 0.65);
}
.nx-lab__code .cm { color: #6b7c90; }
.nx-lab__code .kw { color: #9fd4ff; }
.nx-lab__code .st { color: #9aecc8; }
.nx-lab__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid rgba(200, 220, 255, 0.08);
}
.nx-lab__foot p { margin: 0; font-size: .82rem; color: var(--nx-text-muted); }

/* Coming soon */
.nx-soon {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .nx-soon { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .nx-soon { grid-template-columns: repeat(2, 1fr); } }
.nx-soon__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    rgba(8, 12, 20, .55);
  border: 1px solid rgba(200, 220, 255, 0.12);
}
.nx-soon__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.nx-soon__item h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(232, 242, 252, .92);
}
.nx-soon__item p {
  margin: 0;
  color: var(--nx-text-muted);
  font-size: .82rem;
  line-height: 1.55;
}

/* FAQ */
.nx-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.nx-faq__item {
  border-radius: 14px;
  background: var(--nx-panel-bg);
  border: var(--nx-panel-border);
  overflow: hidden;
}
.nx-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 550;
  font-size: .98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nx-faq__item summary::-webkit-details-marker { display: none; }
.nx-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(159, 212, 255, 0.1);
  color: var(--nx-accent-icy);
}
.nx-faq__item[open] summary::after { content: "–"; }
.nx-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--nx-text-muted);
  font-size: .92rem;
}

/* CTA */
.nx-cta-band {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--nx-radius-glass);
  background: linear-gradient(165deg, rgba(40,48,64,.55) 0%, rgba(12,14,20,.85) 100%);
  border: 1px solid rgba(200, 220, 255, 0.16);
  box-shadow: var(--nx-panel-shadow);
  position: relative;
  overflow: hidden;
}
.nx-cta-band::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  top: -80px; right: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,212,255,.2), transparent 70%);
  animation: nx-bob 10s ease-in-out infinite;
  pointer-events: none;
}
.nx-cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -.03em;
}
.nx-cta-band p { margin: 0 0 24px; color: var(--nx-text-muted); }
.nx-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.nx-footer {
  padding: 64px 0 40px;
  border-top: 1px solid rgba(200, 220, 255, 0.08);
  margin-top: 24px;
}
.nx-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .nx-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.nx-footer__logo-frame {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.nx-footer__logo-frame img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nx-footer__brand p {
  margin: 0;
  font-size: .88rem;
  color: var(--nx-text-muted);
  max-width: 280px;
}
.nx-footer__col h4 {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}
.nx-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nx-footer__col a { color: rgba(245, 247, 250, 0.55); font-size: .9rem; }
.nx-footer__col a:hover { color: var(--nx-text); }
.nx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 220, 255, 0.08);
  font-size: .82rem;
  color: var(--nx-text-muted);
}
.nx-footer__socials { display: flex; gap: 16px; }
body.nx-menu-open { overflow: hidden; }

/* —— Hand-authored SVG system shared across sections —— */
.nx-hero {
  isolation: isolate;
}
.nx-hero > .nx-container {
  position: relative;
  z-index: 2;
}
.nx-hero-schematic {
  position: absolute;
  z-index: 0;
  inset: 20px 50% auto;
  width: min(1500px, 112vw);
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.48;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 75%, transparent 100%);
}
.nx-hero-schematic__orbits {
  stroke-opacity: 0.16;
  stroke-width: 1;
}
.nx-hero-schematic__orbits ellipse:nth-child(1) {
  stroke-dasharray: 8 16;
  animation: nx-orbit-dash 26s linear infinite;
}
.nx-hero-schematic__orbits ellipse:nth-child(2) {
  stroke-dasharray: 3 11;
  animation: nx-orbit-dash 18s linear infinite reverse;
}
.nx-hero-schematic__orbits path {
  stroke-opacity: 0.12;
}
.nx-hero-schematic__nodes circle:first-child {
  fill: rgba(8, 14, 24, 0.82);
  stroke: rgba(159, 212, 255, 0.36);
}
.nx-hero-schematic__nodes .is-core {
  fill: #9fd4ff;
  filter: drop-shadow(0 0 7px rgba(159, 212, 255, 0.8));
}
.nx-hero-schematic__nodes .is-live {
  fill: #34d399;
  filter: drop-shadow(0 0 7px rgba(52, 211, 153, 0.75));
}
.nx-hero-schematic__nodes text {
  fill: rgba(220, 230, 245, 0.52);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.nx-hero-schematic__nodes > g {
  animation: nx-schematic-node 5s ease-in-out infinite;
}
.nx-hero-schematic__nodes > g:nth-child(2) { animation-delay: -1s; }
.nx-hero-schematic__nodes > g:nth-child(3) { animation-delay: -2s; }
.nx-hero-schematic__nodes > g:nth-child(4) { animation-delay: -3s; }
.nx-hero-schematic__nodes > g:nth-child(5) { animation-delay: -4s; }
@keyframes nx-orbit-dash {
  to { stroke-dashoffset: -240; }
}
@keyframes nx-schematic-node {
  0%, 100% { opacity: 0.52; }
  50% { opacity: 1; }
}

.nx-result {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: center;
  text-align: left;
  overflow: hidden;
}
.nx-result__content {
  position: relative;
  z-index: 2;
}
.nx-result__content > p {
  margin: 0;
}
.nx-result__chips {
  justify-content: flex-start;
}
.nx-fragment-map {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  overflow: visible;
}
.nx-fragment-map__vendors rect,
.nx-fragment-map__app rect {
  fill: #101824;
  stroke: rgba(200, 220, 255, 0.18);
}
.nx-fragment-map__vendors circle {
  fill: rgba(239, 111, 94, 0.18);
  stroke: rgba(239, 111, 94, 0.62);
}
.nx-fragment-map__vendors text,
.nx-fragment-map__app text,
.nx-fragment-map__glue text {
  fill: rgba(220, 230, 245, 0.58);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.nx-fragment-map__wires path {
  animation: nx-fragment-wire 2.8s linear infinite;
}
.nx-fragment-map__wires path:nth-child(2) { animation-delay: -0.6s; }
.nx-fragment-map__wires path:nth-child(3) { animation-delay: -1.2s; }
.nx-fragment-map__wires path:nth-child(4) { animation-delay: -1.8s; }
@keyframes nx-fragment-wire {
  to { stroke-dashoffset: -44; }
}
.nx-fragment-map__glue path:first-child {
  fill: rgba(239, 111, 94, 0.08);
  stroke: rgba(239, 111, 94, 0.45);
}
.nx-fragment-map__glue path:nth-child(2) {
  stroke: #ef6f5e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-fragment-map__output {
  fill: none;
  stroke: #9fd4ff;
  stroke-width: 2;
  stroke-dasharray: 5 7;
  animation: nx-fragment-wire 2s linear infinite;
}
.nx-fragment-map__app path {
  fill: none;
  stroke: rgba(159, 212, 255, 0.5);
  stroke-width: 4;
  stroke-linecap: round;
}
.nx-fragment-map__app circle:nth-of-type(1) { fill: #ef6f5e; }
.nx-fragment-map__app circle:nth-of-type(2) { fill: #e8b84a; }
.nx-fragment-map__app circle:nth-of-type(3) { fill: #34d399; }

.nx-path__icon {
  width: 54px;
  height: 54px;
  padding: 10px;
}
.nx-path__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.nx-path__icon svg rect,
.nx-path__icon svg path:not(.is-accent) {
  fill: none;
  stroke: #9fd4ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-path__icon svg .is-accent {
  fill: rgba(52, 211, 153, 0.2);
  stroke: #34d399;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-path__step:hover .nx-path__icon svg {
  animation: nx-icon-draw 0.55s cubic-bezier(.22, 1, .36, 1);
}
@keyframes nx-icon-draw {
  0% { transform: scale(0.88) rotate(4deg); opacity: 0.5; }
  100% { transform: none; opacity: 1; }
}

.nx-start {
  position: relative;
}
.nx-start::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, #9fd4ff, #34d399, rgba(159, 212, 255, 0.12));
  box-shadow: 0 0 12px rgba(159, 212, 255, 0.28);
}
.nx-start__row {
  position: relative;
}
.nx-start__num {
  position: relative;
  z-index: 2;
}

.nx-card__visual {
  width: calc(100% + 44px);
  height: 88px;
  margin: -22px -22px 3px;
  border-bottom: 1px solid rgba(200, 220, 255, 0.09);
  background:
    radial-gradient(circle at 50% 50%, rgba(90, 180, 255, 0.1), transparent 58%),
    rgba(4, 8, 14, 0.32);
  border-radius: var(--nx-panel-radius) var(--nx-panel-radius) 0 0;
  overflow: hidden;
}
.nx-card__visual-grid {
  fill: none;
  stroke: rgba(159, 212, 255, 0.06);
  stroke-width: 1;
}
.nx-card__visual .is-surface {
  fill: rgba(20, 31, 46, 0.92);
  stroke: rgba(159, 212, 255, 0.24);
  stroke-width: 1.5;
}
.nx-card__visual .is-ice {
  fill: #9fd4ff;
  filter: drop-shadow(0 0 7px rgba(159, 212, 255, 0.75));
}
.nx-card__visual .is-green {
  fill: rgba(52, 211, 153, 0.3);
  stroke: #34d399;
  stroke-width: 1.5;
}
.nx-card__visual .is-soft-node {
  fill: rgba(159, 212, 255, 0.16);
  stroke: rgba(159, 212, 255, 0.35);
}
.nx-card__visual .is-route,
.nx-card__visual .is-arrow,
.nx-card__visual .is-line,
.nx-card__visual .is-soft,
.nx-card__visual .is-symbol,
.nx-card__visual .is-check {
  fill: none;
  stroke: #9fd4ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-card__visual .is-soft {
  stroke: rgba(159, 212, 255, 0.34);
  stroke-width: 3;
}
.nx-card__visual .is-symbol,
.nx-card__visual .is-check {
  stroke: #9aecc8;
}
.nx-card__visual .is-shield {
  fill: rgba(52, 211, 153, 0.08);
  stroke: rgba(52, 211, 153, 0.62);
  stroke-width: 2;
}
.nx-card__visual .is-scan-line {
  fill: none;
  stroke: #9fd4ff;
  stroke-width: 2;
  stroke-dasharray: 6 8;
  animation: nx-card-scan 2s linear infinite;
}
.nx-card:hover .nx-card__visual .is-route {
  stroke-dasharray: 5 6;
  animation: nx-card-route 1.1s linear infinite;
}
.nx-card:hover .nx-card__visual .is-ice,
.nx-card:hover .nx-card__visual .is-green {
  animation: nx-card-node 0.8s ease-in-out infinite alternate;
}
@keyframes nx-card-route {
  to { stroke-dashoffset: -22; }
}
@keyframes nx-card-scan {
  0% { transform: translateY(-22px); opacity: 0; }
  25%, 75% { opacity: 1; }
  100% { transform: translateY(22px); opacity: 0; }
}
@keyframes nx-card-node {
  to { transform: scale(1.14); transform-origin: center; }
}

@media (max-width: 720px) {
  .nx-hero-schematic {
    width: 180vw;
    left: 58%;
    opacity: 0.3;
  }
  .nx-result {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nx-result__chips {
    justify-content: center;
  }
  .nx-fragment-map {
    justify-self: center;
  }
  .nx-engine {
    border-radius: 24px;
  }
  .nx-engine__topbar span:last-child {
    display: none;
  }
  .nx-engine__caption {
    display: block;
    padding-inline: 16px;
  }
  .nx-engine__caption span {
    display: none;
  }
  .nx-engine__caption strong {
    display: block;
    text-align: center;
  }
  .nx-stage--try {
    margin-inline: -4px;
  }
}
@media (max-width: 560px) {
  .nx-start::before {
    display: none;
  }
}

/* —— Scroll-driven product system map —— */
.nx-flow {
  position: relative;
  min-height: 320vh;
  border-block: 1px solid rgba(200, 220, 255, 0.08);
  background:
    radial-gradient(ellipse 50% 45% at 72% 45%, rgba(49, 125, 205, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.28), rgba(7, 12, 21, 0.72));
}
.nx-flow__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 40px;
  overflow: hidden;
}
.nx-flow__layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: 28px;
}
.nx-flow__copy {
  position: relative;
  z-index: 4;
}
.nx-flow__copy h2 {
  max-width: 430px;
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.nx-flow__intro {
  max-width: 380px;
  margin: 0 0 28px;
  color: var(--nx-text-muted);
  font-size: 0.94rem;
}
.nx-flow__steps {
  position: relative;
  min-height: 185px;
}
.nx-flow__step {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-content: start;
  max-width: 400px;
  padding: 17px;
  border: 1px solid rgba(200, 220, 255, 0.11);
  border-radius: 18px;
  background: rgba(9, 14, 23, 0.54);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.22, 1, .36, 1),
    border-color 0.3s ease;
}
.nx-flow__step.is-active {
  opacity: 1;
  transform: none;
  border-color: rgba(159, 212, 255, 0.3);
}
.nx-flow__step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--nx-cta-text);
  background: var(--nx-cta-gradient);
  box-shadow: 0 6px 20px rgba(120, 200, 255, 0.28);
  font-size: 0.75rem;
  font-weight: 700;
}
.nx-flow__step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.nx-flow__step p {
  margin: 0;
  color: var(--nx-text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.nx-flow__graphic {
  position: relative;
  min-width: 0;
  perspective: 1100px;
}
.nx-system-map {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  transform: rotateX(1.5deg) rotateY(-1.5deg);
  transform-origin: 50% 60%;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease-out;
}
.nx-map-route {
  fill: none;
  stroke: #9fd4ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.16;
  transition:
    stroke-dashoffset 0.25s linear,
    opacity 0.35s ease,
    stroke-width 0.35s ease;
}
.nx-map-route--base {
  stroke: #9fd4ff;
  stroke-width: 1;
  stroke-dasharray: 5 9;
  stroke-dashoffset: 0;
  opacity: 0.13;
}
.nx-map-route.is-active {
  opacity: 0.92;
  stroke-width: 3;
  filter: url("#nx-blue-glow");
}
.nx-map-node {
  opacity: 0.2;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(.22, 1, .36, 1),
    filter 0.45s ease;
}
.nx-map-node.is-active {
  opacity: 1;
  transform: none;
}
.nx-map-node.is-current {
  filter: url("#nx-blue-glow") drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35));
  animation: nx-map-current 2.4s ease-in-out infinite;
}
@keyframes nx-map-current {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.nx-map-status {
  opacity: 0.38;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.nx-flow[data-step="3"] .nx-map-status {
  opacity: 1;
  transform: none;
}
.nx-map-packet {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nx-flow.is-visible .nx-map-packet {
  opacity: 1;
}
.nx-flow__legend {
  position: absolute;
  right: 4%;
  bottom: 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 9px 12px;
  border: 1px solid rgba(200, 220, 255, 0.1);
  border-radius: 12px;
  background: rgba(5, 8, 14, 0.68);
  backdrop-filter: blur(12px);
  color: rgba(220, 230, 245, 0.48);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nx-flow__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nx-flow__legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
}
.nx-flow__legend .is-ice { background: #9fd4ff; box-shadow: 0 0 7px rgba(159, 212, 255, 0.8); }
.nx-flow__legend .is-green { background: #34d399; box-shadow: 0 0 7px rgba(52, 211, 153, 0.7); }
.nx-flow__legend .is-grid { background: rgba(159, 212, 255, 0.25); }

@media (max-width: 900px) {
  .nx-flow {
    min-height: auto;
  }
  .nx-flow__sticky {
    position: relative;
    min-height: auto;
    padding: 90px 0 70px;
  }
  .nx-flow__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nx-flow__copy h2,
  .nx-flow__intro {
    max-width: 620px;
  }
  .nx-flow__steps {
    min-height: 175px;
  }
  .nx-flow__step {
    max-width: none;
  }
  .nx-flow__graphic {
    max-width: 720px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .nx-flow__sticky {
    padding: 80px 0 54px;
  }
  .nx-flow__steps {
    min-height: 210px;
  }
  .nx-flow__graphic {
    margin-inline: -18px;
  }
  .nx-flow__legend {
    display: none;
  }
  .nx-system-map {
    min-width: 540px;
    width: 118%;
    transform: translateX(-8%);
  }
}

/* —— Playful extras —— */
.nx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #9fd4ff, #34d399, #9fd4ff);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(159, 212, 255, 0.6);
  pointer-events: none;
  transition: width .1s linear;
}
.nx-sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 150;
  overflow: hidden;
}
.nx-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-accent-icy);
  box-shadow: 0 0 10px rgba(159, 212, 255, 0.9);
  animation: nx-spark-fly .9s cubic-bezier(.22,1,.36,1) forwards;
}
.nx-spark:nth-child(odd) { background: #34d399; box-shadow: 0 0 10px rgba(52,211,153,.9); }
.nx-spark:nth-child(3n) { background: #fff; width: 5px; height: 5px; }
@keyframes nx-spark-fly {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0); }
}

.nx-page__stars {
  animation: nx-twinkle 5s ease-in-out infinite;
}
@keyframes nx-twinkle {
  0%, 100% { opacity: .65; }
  50% { opacity: .9; }
}

.nx-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(200, 220, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nx-marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 14px 0;
  animation: nx-marquee 28s linear infinite;
}
.nx-marquee__track span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(220, 230, 245, 0.45);
  white-space: nowrap;
}
.nx-marquee__track span::before {
  content: "✦";
  margin-right: 40px;
  color: rgba(159, 212, 255, 0.5);
}
@keyframes nx-marquee {
  to { transform: translateX(-50%); }
}

.nx-mini__row {
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
}
.nx-mini__swap--spaced { margin-top: 12px; }
.nx-mini__row:hover {
  transform: scale(1.02);
  border-color: rgba(159, 212, 255, 0.28);
  background: rgba(159, 212, 255, 0.06);
}
.nx-mini__value.is-pop {
  animation: nx-pop .45s cubic-bezier(.22,1,.36,1);
  color: var(--nx-accent-emerald);
}
@keyframes nx-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.nx-node.is-hop {
  animation: nx-hop .5s cubic-bezier(.22,1,.36,1);
}
@keyframes nx-hop {
  0% { transform: translateX(0); }
  30% { transform: translateX(8px) scale(1.02); }
  100% { transform: translateX(0); }
}
.nx-node.is-shake {
  animation: nx-shake .4s ease;
}
@keyframes nx-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.nx-pain__num {
  transition: transform .3s cubic-bezier(.22,1,.36,1), color .2s;
  display: inline-block;
}
.nx-pain__item:hover .nx-pain__num,
.nx-pain__item.is-open .nx-pain__num {
  transform: rotate(-8deg) scale(1.15);
  color: #c8e8ff;
}

.nx-card {
  --rx: 0deg;
  --ry: 0deg;
}
.nx-card.is-tilt {
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px) scale(1.02);
}

.nx-soon__item {
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
  cursor: default;
}
.nx-soon__item:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  border-color: rgba(159, 212, 255, 0.25);
  background: rgba(159, 212, 255, 0.06);
}

.nx-start__num {
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nx-start__row:hover .nx-start__num {
  transform: scale(1.12) rotate(-6deg);
}

.nx-btn.is-ripple {
  position: relative;
}
.nx-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: nx-ripple .55s ease-out forwards;
  pointer-events: none;
}
@keyframes nx-ripple {
  to { transform: scale(2.6); opacity: 0; }
}

.nx-stage__panel.is-active {
  animation: nx-panel-bounce .4s cubic-bezier(.22,1,.36,1);
}
@keyframes nx-panel-bounce {
  0% { opacity: 0; transform: translateY(12px) scale(.98); }
  70% { transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}

.nx-reveal.is-in .nx-card,
.nx-reveal.is-in .nx-pain__item,
.nx-reveal.is-in .nx-path__step,
.nx-reveal.is-in .nx-soon__item {
  animation: nx-stagger-in .55s cubic-bezier(.22,1,.36,1) both;
}
.nx-reveal.is-in .nx-card:nth-child(1),
.nx-reveal.is-in .nx-pain__item:nth-child(1),
.nx-reveal.is-in .nx-path__step:nth-child(1),
.nx-reveal.is-in .nx-soon__item:nth-child(1) { animation-delay: .04s; }
.nx-reveal.is-in .nx-card:nth-child(2),
.nx-reveal.is-in .nx-pain__item:nth-child(2),
.nx-reveal.is-in .nx-path__step:nth-child(2),
.nx-reveal.is-in .nx-soon__item:nth-child(2) { animation-delay: .1s; }
.nx-reveal.is-in .nx-card:nth-child(3),
.nx-reveal.is-in .nx-pain__item:nth-child(3),
.nx-reveal.is-in .nx-path__step:nth-child(3),
.nx-reveal.is-in .nx-soon__item:nth-child(3) { animation-delay: .16s; }
.nx-reveal.is-in .nx-card:nth-child(4),
.nx-reveal.is-in .nx-pain__item:nth-child(4),
.nx-reveal.is-in .nx-soon__item:nth-child(4) { animation-delay: .22s; }
.nx-reveal.is-in .nx-soon__item:nth-child(5) { animation-delay: .28s; }
.nx-reveal.is-in .nx-soon__item:nth-child(6) { animation-delay: .34s; }
.nx-reveal.is-in .nx-soon__item:nth-child(7) { animation-delay: .4s; }
.nx-reveal.is-in .nx-soon__item:nth-child(8) { animation-delay: .46s; }
@keyframes nx-stagger-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.nx-nav__pill:hover {
  transform: translateY(-1px) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  .nx-page__mist-cloud,
  .nx-floater,
  .nx-scan__ring.is-spinning,
  .nx-reveal,
  .nx-stage__panel,
  .nx-hero__brand,
  .nx-hero-schematic__orbits ellipse,
  .nx-hero-schematic__nodes > g,
  .nx-fragment-map__wires path,
  .nx-fragment-map__output,
  .nx-card__visual .is-scan-line,
  .nx-mini__swap.is-busy,
  .nx-marquee__track,
  .nx-engine__core,
  .nx-engine__route,
  .nx-engine__topbar i,
  .nx-chains__orbit,
  .nx-page__stars,
  .nx-reveal.is-in .nx-card,
  .nx-reveal.is-in .nx-pain__item,
  .nx-reveal.is-in .nx-path__step,
  .nx-reveal.is-in .nx-soon__item { animation: none !important; transition: none !important; }
  .nx-reveal { opacity: 1; transform: none; }
  .nx-cursor-glow,
  .nx-progress,
  .nx-sparks,
  .nx-engine__packets,
  .nx-hero-schematic__packets { display: none !important; }
}
