@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body.alive {
  --cyan: #00CFFF;
  --magenta: #FF00D4;
  --pink: #e11d48;
  --blue: #0099cc;
  --bg: #060d18;
  --surface: rgba(10, 18, 32, 0.78);
  --surface-elevated: rgba(14, 24, 42, 0.88);
  --line: rgba(0, 207, 255, 0.12);
  --text: #eef2f8;
  --muted: #8b9cb3;
  --glow-cyan: rgba(0, 207, 255, 0.35);
  --glow-magenta: rgba(255, 0, 212, 0.3);
  --grad: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta), var(--pink));
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ── wallpaper video layer ── */
.alive-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.alive-wall {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 88vh;
  overflow: hidden;
}

.alive-wall-video {
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 118%;
  min-width: 100%;
  height: 105%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.47;
  filter: saturate(0.92) contrast(1.08);
  -webkit-mask-image:
    radial-gradient(ellipse 94% 82% at 50% 38%, rgba(0,0,0,0.98) 22%, rgba(0,0,0,0.48) 62%, transparent 82%),
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.46) 45%, rgba(0,0,0,0.14) 74%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 94% 82% at 50% 38%, rgba(0,0,0,0.98) 22%, rgba(0,0,0,0.48) 62%, transparent 82%),
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.46) 45%, rgba(0,0,0,0.14) 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.alive-wall-artifacts {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.alive-wall-art {
  position: absolute;
  animation: alive-wall-drift 18s ease-in-out infinite;
}
.alive-wall-art--1 { top: 18%; left: 12%; animation-duration: 22s; }
.alive-wall-art--2 { top: 32%; right: 18%; animation-duration: 26s; animation-delay: -6s; }
.alive-wall-art--3 { top: 48%; left: 28%; animation-duration: 20s; animation-delay: -3s; }
@keyframes alive-wall-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.35; }
  50% { transform: translate(14px, -20px) rotate(12deg); opacity: 0.65; }
}

.alive-wall-orb--1 { display: none; }
.alive-wall-orb--2 { display: none; }

.alive-wall-smoke {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg,
      rgba(88, 28, 135, 0.102) 0%,
      rgba(88, 28, 135, 0.03) 7%,
      transparent 16%,
      transparent 84%,
      rgba(255, 0, 212, 0.03) 93%,
      rgba(255, 0, 212, 0.068) 100%),
    linear-gradient(180deg,
      transparent 0%,
      transparent 55%,
      rgba(6, 13, 24, 0.085) 68%,
      rgba(88, 28, 135, 0.136) 81%,
      rgba(255, 0, 212, 0.068) 91%,
      rgba(6, 13, 24, 0.75) 100%);
  pointer-events: none;
}

.alive-wall-feather {
  position: absolute;
  inset: 0;
  z-index: 4;
  box-shadow:
    inset 72px 0 56px -48px rgba(88, 28, 135, 0.09),
    inset -72px 0 56px -48px rgba(255, 0, 212, 0.07),
    inset 0 0 68px 36px rgba(6, 13, 24, 0.64),
    inset 0 -44px 60px 14px rgba(6, 13, 24, 0.61);
  pointer-events: none;
}

.alive-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg) 92%);
}

/* ── floating artifacts ── */
.alive-artifacts {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.alive-art {
  position: absolute;
  opacity: 0.35;
  animation: alive-drift 22s ease-in-out infinite;
}
.alive-art--1 { top: 12%; left: 4%; animation-duration: 26s; }
.alive-art--2 { top: 58%; right: 6%; animation-duration: 30s; animation-delay: -8s; }
.alive-art--3 { bottom: 22%; left: 8%; animation-duration: 18s; animation-delay: -4s; }
.alive-art--4 { top: 28%; right: 12%; animation-duration: 24s; animation-delay: -12s; opacity: 0.22; }

@keyframes alive-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(18px, -24px) rotate(8deg); }
  66% { transform: translate(-12px, 16px) rotate(-6deg); }
}

.alive-orb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: alive-pulse-glow 6s ease-in-out infinite;
}
.alive-orb-glow--cyan {
  width: 280px; height: 280px;
  top: 8%; left: -4%;
  background: var(--glow-cyan);
  animation-delay: 0s;
}
.alive-orb-glow--magenta {
  width: 220px; height: 220px;
  top: 35%; right: -2%;
  background: var(--glow-magenta);
  animation-delay: -2s;
}
.alive-orb-glow--pink {
  width: 180px; height: 180px;
  bottom: 15%; left: 30%;
  background: rgba(225, 29, 72, 0.18);
  animation-delay: -4s;
}

@keyframes alive-pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.12); }
}

.alive-spark {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

/* ── pulse cards (alive glow on sides) ── */
.alive-pulse-card {
  position: relative;
  overflow: hidden;
}
.alive-pulse-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,207,255,0.4), transparent 40%, rgba(255,0,212,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  animation: alive-border-pulse 4s ease-in-out infinite;
}
@keyframes alive-border-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.55; }
}
.alive-pulse-card:hover::before { opacity: 0.75; animation: none; }

.alive-pip {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px var(--glow-cyan);
  animation: alive-blink 2s ease infinite;
}
@keyframes alive-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── nav ── */
.alive-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(6, 13, 24, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.alive-nav.alive-scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 13, 24, 0.88);
}
.alive-logo img { height: 28px; display: block; }
.alive-links { display: flex; gap: 28px; }
.alive-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.alive-links a:hover { color: var(--text); }
.alive-nav-end { display: flex; align-items: center; gap: 14px; }
.alive-login { font-size: 14px; color: var(--muted); }
.alive-login:hover { color: var(--text); }

.alive-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  background-size: 200% 100%;
  border-radius: 8px;
  border: none;
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.25), 0 0 40px rgba(255, 0, 212, 0.12);
  animation: alive-cta-shift 6s ease infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.alive-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 207, 255, 0.4), 0 0 50px rgba(255, 0, 212, 0.2);
}
.alive-cta--lg { padding: 14px 28px; font-size: 15px; }
@keyframes alive-cta-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.alive-ghost {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.alive-ghost:hover { border-color: var(--cyan); color: var(--text); }

/* ── hero ── */
.alive-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "copy visual"
    "cluster visual";
  gap: 40px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 28px 48px;
  min-height: 85vh;
}

.alive-copy { grid-area: copy; display: flex; flex-direction: column; }
.alive-visual { grid-area: visual; }
.alive-root-cluster { grid-area: cluster; }

.alive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  border: 1px solid rgba(0, 207, 255, 0.25);
  border-radius: 4px;
  background: rgba(0, 207, 255, 0.06);
  margin-bottom: 20px;
}

.alive-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.alive-accent {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: alive-cta-shift 8s ease infinite;
}

.alive-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 28px;
}
.alive-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.alive-int-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.alive-int-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.alive-int-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.alive-int-icons img {
  opacity: 0.7;
  filter: invert(1) brightness(0.95);
  transition: opacity 0.25s, filter 0.35s, transform 0.25s;
}
.alive-int-icons img:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}
.mp-strip-icon[data-mp="amazon"]:hover { filter: invert(55%) sepia(90%) saturate(1200%) hue-rotate(360deg) brightness(1.05); }
.mp-strip-icon[data-mp="ebay"]:hover { filter: invert(32%) sepia(95%) saturate(2500%) hue-rotate(340deg) brightness(1.05); }
.mp-strip-icon[data-mp="shopify"]:hover { filter: invert(62%) sepia(45%) saturate(600%) hue-rotate(73deg) brightness(1.05); }
.mp-strip-icon[data-mp="walmart"]:hover { filter: invert(45%) sepia(98%) saturate(1500%) hue-rotate(186deg) brightness(1.05); }
.mp-strip-icon[data-mp="etsy"]:hover { filter: invert(55%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(1.05); }
.mp-strip-icon[data-mp="tiktok"]:hover { filter: invert(70%) sepia(80%) saturate(5000%) hue-rotate(140deg) brightness(1.05); }

/* ── visual / stage — free floating orb ── */
.alive-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  background: transparent;
  overflow: visible;
}

.alive-visual .hero-cursor-light {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: min(74vh, 580px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    circle 240px at var(--cursor-x, 50%) var(--cursor-y, 50%),
    rgba(0, 207, 255, 0.28) 0%,
    rgba(255, 0, 212, 0.08) 35%,
    transparent 68%
  );
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, black 72%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, black 72%, transparent 100%);
}

.alive-visual:hover .hero-cursor-light { opacity: 1; }

.alive-stage--free {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  max-height: min(74vh, 580px);
  width: 100%;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.hero-orb-system {
  position: absolute;
  inset: 0;
  --orbit-r: clamp(165px, 41%, 250px);
}

.hero-orb-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 34%;
  aspect-ratio: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.hero-orb-core.is-morphed-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  pointer-events: none;
}

.hero-orb-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.hero-orb-reactor {
  position: relative;
  width: 72%;
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-orb-burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-orb-spin-cluster.is-exploded .hero-orb-burst,
.hero-orb-spin-cluster.is-revealed .hero-orb-burst {
  opacity: 1;
}

.hero-orb-spin-cluster {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.hero-orb-system.is-charging .hero-orbit-spin {
  animation: none;
}

.hero-orb-system.is-charging .hero-node-upright {
  animation: none;
}

.hero-orb-spin-cluster.is-exploded .hero-orbit-spin,
.hero-orb-spin-cluster.is-exploded .hero-orb-spin-wrap {
  opacity: 0;
  filter: blur(10px) brightness(1.6);
  pointer-events: none;
  transition: opacity 0.28s ease, filter 0.28s ease;
}

.hero-orb-spin-cluster.is-revealed .hero-orbit-spin {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-orb-spin-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 0 24px var(--glow-cyan)) drop-shadow(0 0 40px var(--glow-magenta));
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.hero-orb-spin-wrap.is-exploded {
  opacity: 0;
  filter: blur(10px) brightness(1.6);
  pointer-events: none;
}

.hero-orb-img {
  width: 88%;
  grid-area: 1 / 1;
  object-fit: contain;
  animation: alive-orb-breathe 4s ease-in-out infinite;
}

.hero-orb-reactor.is-spinning .hero-orb-img {
  animation: none;
}

.hero-orb-play-reveal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.15);
  pointer-events: none;
  z-index: 9;
}

.hero-orb-play-reveal.is-visible {
  visibility: visible;
  pointer-events: auto;
  animation: sx-play-reveal 0.75s cubic-bezier(0.22, 1.28, 0.36, 1) forwards;
}

@keyframes sx-play-reveal {
  0% {
    opacity: 0;
    transform: scale(0.12);
    filter: blur(14px) brightness(2);
  }
  55% {
    opacity: 1;
    transform: scale(1.14);
    filter: blur(0) brightness(1.35);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

.sx-play-icon {
  width: 118%;
  height: 118%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(0, 207, 255, 0.55)) drop-shadow(0 0 36px rgba(255, 0, 212, 0.45));
  animation: sx-play-pulse 2.4s ease-in-out infinite;
}

@keyframes sx-play-pulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(0, 207, 255, 0.5)) drop-shadow(0 0 32px rgba(255, 0, 212, 0.4)); }
  50% { filter: drop-shadow(0 0 28px rgba(0, 207, 255, 0.75)) drop-shadow(0 0 52px rgba(255, 0, 212, 0.6)) brightness(1.08); }
}

.hero-orb-reactor.is-revealed .hero-orb-spin-wrap {
  display: none;
}

.hero-orbit-spin {
  position: absolute;
  inset: 0;
  z-index: 2;
  animation: alive-orbit-spin 110s linear infinite;
}

.hero-orbit-arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 40deg));
  transform-origin: 0 0;
}

.hero-orbit-arm .hero-node {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) translateY(calc(-1 * var(--orbit-r)));
  pointer-events: auto;
  z-index: 5;
}

.hero-node-upright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: alive-node-upright 110s linear infinite;
}

@keyframes alive-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes alive-node-upright {
  from { transform: rotate(calc(-1 * var(--i) * 40deg)); }
  to { transform: rotate(calc(-1 * var(--i) * 40deg - 360deg)); }
}

.hero-orb-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-cn {
  fill: none;
  stroke-width: 0.55;
  stroke-linecap: round;
  opacity: 0.5;
  transition: opacity 0.5s ease, stroke-width 0.45s ease;
}

.hero-cn--active {
  opacity: 0.95;
  stroke-width: 0.7;
}

.hero-cn-group:has(.hero-cn--active) .hero-cn-trail {
  opacity: 0.48;
}

.hero-cn-trail {
  fill: none;
  stroke: #00CFFF;
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0;
  filter: url(#lineNeonGlow);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-cn-trail.is-lit {
  opacity: 0.92;
  stroke: url(#gTrailGrad);
}

.hero-cn-trail.is-fade {
  opacity: 0.35;
}

.hero-data-dot {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-orb-spin-wrap .hero-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 207, 255, 0.2);
  animation: alive-orb-spin 20s linear infinite;
  transition: opacity 0.45s ease, border-color 0.4s, box-shadow 0.4s;
}

.hero-orb-reactor.is-spinning .hero-orb-spin-wrap .hero-orb-ring {
  animation: none;
}

.hero-orb-ring-2 { inset: -12%; border-color: rgba(255, 0, 212, 0.15); animation-duration: 28s; animation-direction: reverse; }
.hero-orb-ring-3 { inset: -24%; border-color: rgba(0, 207, 255, 0.08); animation-duration: 36s; }
@keyframes alive-orb-spin { to { transform: rotate(360deg); } }
@keyframes alive-orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hero-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: default;
}

.hero-node-inner {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(6, 13, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.hero-node-inner img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: invert(1) brightness(0.95);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.hero-node-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.35s;
  white-space: nowrap;
}

.hero-node[data-node="shopify"] { --mp-color: #96BF48; --mp-filter: invert(62%) sepia(45%) saturate(600%) hue-rotate(73deg) brightness(1.1); }
.hero-node[data-node="amazon"] { --mp-color: #FF9900; --mp-filter: invert(55%) sepia(90%) saturate(1200%) hue-rotate(360deg) brightness(1.1); }
.hero-node[data-node="walmart"] { --mp-color: #0071CE; --mp-filter: invert(45%) sepia(98%) saturate(1500%) hue-rotate(186deg) brightness(1.1); }
.hero-node[data-node="etsy"] { --mp-color: #F56400; --mp-filter: invert(55%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(1.1); }
.hero-node[data-node="tiktok"] { --mp-color: #00f2ea; --mp-filter: invert(70%) sepia(80%) saturate(5000%) hue-rotate(140deg) brightness(1.1); }
.hero-node[data-node="ebay"] { --mp-color: #E53238; --mp-filter: invert(32%) sepia(95%) saturate(2500%) hue-rotate(340deg) brightness(1.1); }
.hero-node[data-node="google"] { --mp-color: #4285F4; --mp-filter: invert(48%) sepia(90%) saturate(2000%) hue-rotate(196deg) brightness(1.1); }
.hero-node[data-node="facebook"] { --mp-color: #1877F2; --mp-filter: invert(40%) sepia(95%) saturate(2500%) hue-rotate(196deg) brightness(1.1); }
.hero-node[data-node="woocommerce"] { --mp-color: #96588A; --mp-filter: invert(45%) sepia(30%) saturate(1200%) hue-rotate(260deg) brightness(1.1); }

.hero-node:hover .hero-node-inner,
.hero-node--active .hero-node-inner {
  border-color: var(--mp-color, var(--cyan));
  background: rgba(6, 13, 24, 0.72);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--mp-color, var(--cyan)) 25%, transparent),
    0 0 20px color-mix(in srgb, var(--mp-color, var(--cyan)) 45%, transparent);
}

.hero-node:hover .hero-node-inner img,
.hero-node--active .hero-node-inner img {
  filter: var(--mp-filter, none);
  transform: scale(1.08);
}

.hero-node:hover .hero-node-label,
.hero-node--active .hero-node-label {
  color: var(--mp-color, var(--cyan));
}

.hero-node--active .hero-node-inner {
  animation: alive-node-pulse 1.2s ease-in-out 2;
}
@keyframes alive-node-pulse {
  0%, 100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mp-color) 25%, transparent), 0 0 20px color-mix(in srgb, var(--mp-color) 45%, transparent); }
  50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mp-color) 15%, transparent), 0 0 32px color-mix(in srgb, var(--mp-color) 65%, transparent); }
}

.hero-metric-chip-anchor { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); z-index: 8; pointer-events: none; }
.hero-metric-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  padding: 5px 10px;
  background: rgba(6, 13, 24, 0.92);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 4px;
  animation: alive-chip 2.6s ease forwards;
  opacity: 0;
}
@keyframes alive-chip {
  0% { opacity: 0; transform: translateY(4px); }
  15%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}


/* ── root cluster (hero column) ── */

.alive-root-cluster {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 4px;
  padding: 14px 12px 12px;
  border-radius: 12px;
  background: rgba(8, 14, 26, 0.48);
  border: 1px solid rgba(0, 207, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: visible;
}

.alive-root-scroll-hint {
  display: none;
}

.alive-root-cluster-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.alive-root-cluster-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.alive-root-roi-inline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.alive-root-roi-inline b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.alive-root-roi-total {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.root-cluster-toast {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translate(-50%, -6px) scale(0.94);
  z-index: 12;
  max-width: min(300px, 92%);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(8, 14, 26, 0.52);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(255, 0, 212, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.root-cluster-toast.is-show {
  opacity: 1;
  transform: translate(-50%, -12px) scale(1);
}

.root-cluster-toast.is-away {
  animation: hero-rail-toast-cloud 0.88s ease-out forwards;
}

.root-cluster-toast-text {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(235, 242, 255, 0.94);
  text-align: center;
}

.alive-root-rack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 14px;
  padding: 8px 4px 6px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  perspective: 900px;
}
.alive-root-rack::-webkit-scrollbar { display: none; }

.alive-root-cables {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 10px;
  height: 20px;
  width: auto;
  transform: none;
  pointer-events: none;
  z-index: 0;
}

.alive-root-cable--live {
  animation: root-cable-pulse 2.8s ease-in-out infinite;
}

@keyframes root-cable-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.root-node {
  position: relative;
  z-index: 1;
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  height: 168px;
  min-height: 168px;
  padding: 16px 7px 14px;
  border-radius: 6px 6px 4px 4px;
  border: none;
  background:
    linear-gradient(108deg,
      #3d4a5c 0%,
      #252f3e 12%,
      #141c28 42%,
      #0c121a 68%,
      #1e2836 100%);
  box-shadow:
    inset 2px 0 3px rgba(255, 255, 255, 0.1),
    inset -5px 0 10px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    4px 8px 18px rgba(0, 0, 0, 0.45),
    8px 16px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  box-sizing: border-box;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.root-node[data-root="167"] { transform: rotateY(-8deg) translateZ(0); }
.root-node[data-root="165"] { transform: rotateY(-4deg) translateZ(0); }
.root-node[data-root="166"] { transform: rotateY(4deg) translateZ(0); }
.root-node[data-root="170"] { transform: rotateY(8deg) translateZ(0); }

.root-node:hover {
  transform: rotateY(0deg) translateY(-3px);
  box-shadow:
    inset 2px 0 3px rgba(255, 255, 255, 0.12),
    inset -5px 0 10px rgba(0, 0, 0, 0.45),
    6px 12px 24px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 157, 0.08);
}

.root-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6b7a8f 0%, #4a5568 35%, #343f4f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  z-index: 0;
  pointer-events: none;
}

.root-node::after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 8px;
  right: -3px;
  width: 5px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #0a0f16, #1a2230);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
}

.root-node--online {
  outline: 1px solid rgba(0, 207, 255, 0.12);
  outline-offset: -1px;
}

.root-node--offline {
  opacity: 0.78;
  filter: saturate(0.4) brightness(0.85);
}

.root-node-vent {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 16px;
  height: 32px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0.55) 2px,
    rgba(255, 255, 255, 0.04) 2px,
    rgba(255, 255, 255, 0.04) 3px
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 0;
}

.root-node-vent--recruit {
  opacity: 0.35;
}

.root-node-power {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 4px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease;
}

.root-node-power:hover {
  transform: scale(1.06);
}

.root-node-power.is-pressed {
  transform: scale(0.92);
}

.root-node-power.is-pressed .root-node-power-ring {
  opacity: 1;
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.45);
}

.root-node-power-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 207, 255, 0.45);
  animation: root-power-ring 2.6s ease-in-out infinite;
}

.root-node-power--off {
  color: rgba(140, 150, 170, 0.7);
}

.root-node-power--off .root-node-power-ring {
  border-color: rgba(140, 150, 170, 0.25);
  animation: none;
}

@keyframes root-power-ring {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); box-shadow: 0 0 10px rgba(0, 207, 255, 0.35); }
}

.root-node-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 5.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 2px;
}

.root-node-status--off {
  color: #ff5c7a;
}

.root-node-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: root-led-blink 2.2s ease-in-out infinite;
}

.root-node--offline .root-node-led {
  animation: root-led-off 3s ease-in-out infinite;
}

@keyframes root-led-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

@keyframes root-led-off {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.15; }
}

.root-node-id {
  position: relative;
  z-index: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.root-node-tasks {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  margin-bottom: 38px;
}

.root-node-tasks-label {
  display: block;
  font-size: 5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3px;
  text-align: left;
}

.root-node-bar {
  height: 7px;
  width: 100%;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 4px
  );
  overflow: hidden;
  margin-bottom: 2px;
}

.root-node-bar span {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 207, 255, 0.95) 0,
    rgba(0, 207, 255, 0.95) 2px,
    rgba(0, 150, 190, 0.45) 2px,
    rgba(0, 150, 190, 0.45) 4px
  );
  box-shadow: 0 0 8px rgba(0, 207, 255, 0.45);
  transition: width 0.8s ease;
}

.root-node-bar--empty span {
  width: 0 !important;
  box-shadow: none;
}

.root-node-pct {
  display: block;
  font-size: 7px;
  color: rgba(200, 214, 232, 0.75);
  text-align: left;
}

.root-node-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 5.5px;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1.35;
}

.root-node-roi {
  position: relative;
  z-index: 2;
  font-size: 6.5px;
  font-weight: 600;
  color: rgba(57, 255, 180, 0.95);
  margin-top: auto;
  margin-bottom: 2px;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.35);
}

.root-node-roi--muted {
  color: var(--muted);
  font-weight: 500;
}

.root-node-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 8px;
  color: rgba(140, 160, 185, 0.55);
  margin-top: auto;
}

.root-node-base-glow {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #00ff9d, #39ffb4, #00ff9d, transparent);
  box-shadow:
    0 0 10px rgba(0, 255, 157, 0.75),
    0 0 22px rgba(0, 255, 157, 0.4),
    0 2px 8px rgba(0, 255, 157, 0.25);
  animation: root-base-glow 2.4s ease-in-out infinite;
  z-index: 3;
}

.root-node-base-glow--off {
  background: linear-gradient(90deg, transparent, rgba(255, 80, 100, 0.5), transparent);
  box-shadow: 0 0 8px rgba(255, 60, 90, 0.35);
  animation: none;
}

.root-node-base-glow--recruit {
  background: linear-gradient(90deg, transparent, rgba(0, 207, 255, 0.7), transparent);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.4);
  animation: root-base-glow 3s ease-in-out infinite;
}

@keyframes root-base-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.root-node--recruit {
  position: relative;
  text-decoration: none;
  color: inherit;
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  height: 168px;
  min-height: 168px;
  border: 1px dashed rgba(0, 207, 255, 0.28);
  background:
    linear-gradient(108deg,
      rgba(20, 32, 48, 0.9) 0%,
      rgba(10, 16, 26, 0.95) 50%,
      rgba(16, 24, 36, 0.9) 100%);
  justify-content: center;
  gap: 6px;
  transform: rotateY(9deg);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.root-node--recruit::before {
  background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
  opacity: 0.6;
}

.root-node--recruit:hover,
.root-node--recruit:focus-visible {
  border-color: rgba(0, 207, 255, 0.5);
  transform: rotateY(0deg) translateY(-3px);
  z-index: 4;
}

.root-node-recruit-tip {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  width: min(240px, 42vw);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(6, 12, 22, 0.72);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(0, 207, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: rgba(228, 236, 248, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 30;
}

.root-node--recruit:hover .root-node-recruit-tip,
.root-node--recruit:focus-visible .root-node-recruit-tip,
.root-node--recruit.is-tip-open .root-node-recruit-tip {
  opacity: 1;
  visibility: visible;
}

.root-node-recruit-hex {
  color: var(--cyan);
  opacity: 0.85;
}

.root-node-recruit-tag {
  position: relative;
  z-index: 2;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.alive-root-enterprise {
  position: relative;
  margin-top: 14px;
  padding-top: 12px;
}

.alive-root-enterprise-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff9d, #39ffb4, transparent);
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.55);
  border-radius: 2px;
}

.alive-root-enterprise-lead {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(210, 222, 238, 0.9);
  margin-bottom: 10px;
  max-width: 42ch;
}

.alive-root-enterprise-lead strong {
  color: var(--cyan);
  font-weight: 600;
}

.alive-root-enterprise-perks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-bottom: 12px;
}

.alive-root-enterprise-perks li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
}

.alive-root-enterprise-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00ff9d;
  box-shadow: 0 0 6px rgba(0, 255, 157, 0.6);
}

.alive-root-enterprise-cta {
  display: inline-flex;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.alive-root-enterprise-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.alive-root-enterprise-cta--ghost {
  color: var(--muted);
  font-weight: 500;
}

.alive-root-enterprise-cta--ghost:hover {
  color: rgba(210, 222, 238, 0.95);
  text-shadow: none;
}

.alive-root-enterprise-cta:hover {
  color: #39ffb4;
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.4);
}

/* ── sync rail (AXIS bot zigzag path) ── */

.alive-rail-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 4px 0 0;
}
.alive-rail-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

.alive-rail {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.hero-rail-track {
  position: relative;
  height: clamp(76px, 11vw, 96px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.hero-rail-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}

.hero-rail-trail {
  fill: none;
  stroke: url(#railTrailGrad);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}
.hero-rail-trail.is-active { opacity: 1; }
.hero-rail-trail.is-fade {
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.hero-rail-waypoints {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-rail-waypoint {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(circle at 38% 32%, rgba(18, 32, 52, 0.95), rgba(6, 13, 24, 0.88));
  border: 1px solid rgba(0, 207, 255, 0.32);
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.12), inset 0 0 8px rgba(0, 207, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hero-rail-waypoint:nth-child(even) {
  border-color: rgba(255, 0, 212, 0.32);
  box-shadow: 0 0 14px rgba(255, 0, 212, 0.1), inset 0 0 8px rgba(255, 0, 212, 0.06);
}
.hero-rail-waypoint img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}
.hero-rail-waypoint--hop {
  transform: translate(-50%, -50%) scale(1.18);
  border-color: rgba(0, 255, 200, 0.65);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.45);
}

.hero-rail-node {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
}

.hero-rail-sync-orb {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.hero-rail-sync-orb img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: alive-orb-breathe 3.6s ease-in-out infinite;
}
.hero-rail-sync-orb--left img {
  filter: drop-shadow(0 0 8px rgba(0, 207, 255, 0.65)) drop-shadow(0 0 16px rgba(0, 207, 255, 0.28));
}
.hero-rail-sync-orb--right img {
  filter: drop-shadow(0 0 8px rgba(255, 0, 212, 0.65)) drop-shadow(0 0 16px rgba(255, 0, 212, 0.28));
  animation-delay: -1.2s;
}

.hero-rail-sync-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 207, 255, 0.42);
  pointer-events: none;
  animation: hero-rail-sync-ping 2.6s ease-out infinite;
  opacity: 0;
}
.hero-rail-sync-orb--right .hero-rail-sync-ring {
  border-color: rgba(255, 0, 212, 0.42);
}
.hero-rail-sync-ring:nth-child(2) { animation-delay: 0.85s; }
.hero-rail-sync-ring:nth-child(3) { animation-delay: 1.7s; }
.hero-rail-sync-orb.is-burst .hero-rail-sync-ring {
  animation: hero-rail-sync-burst 1s ease-out forwards;
}
@keyframes hero-rail-sync-ping {
  0%   { transform: scale(0.72); opacity: 0.72; }
  70%  { opacity: 0.22; }
  100% { transform: scale(1.75); opacity: 0; }
}
@keyframes hero-rail-sync-burst {
  0%   { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero-rail-bubble-stack {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.hero-rail-bubble-stack--right { align-items: flex-end; }

.hero-rail-bubble {
  background: rgba(12, 22, 38, 0.95);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,207,255,0.1);
}
.hero-rail-bubble--alt { margin-left: 14px; }
.hero-rail-bubble-stack--right .hero-rail-bubble--alt { margin-left: 0; margin-right: 12px; }
.hero-rail-bubble.pop {
  animation: alive-bubble-pop 2s ease forwards;
}
.hero-rail-bubble--alt.pop {
  animation: alive-bubble-pop-alt 2.1s ease 0.12s forwards;
}
@keyframes alive-bubble-pop {
  0%   { opacity: 0; transform: translateY(8px); }
  18%  { opacity: 1; transform: translateY(0); }
  65%  { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes alive-bubble-pop-alt {
  0%   { opacity: 0; transform: translateY(10px) rotate(-2deg); }
  20%  { opacity: 1; transform: translateY(2px) rotate(1deg); }
  68%  { opacity: 1; transform: translateY(-4px) rotate(-1deg); }
  100% { opacity: 0; transform: translateY(-12px) rotate(2deg); }
}

.hero-rail-bubble-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-rail-bubble-icon[data-mp="shopify"] { filter: invert(62%) sepia(45%) saturate(600%) hue-rotate(73deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="amazon"] { filter: invert(55%) sepia(90%) saturate(1200%) hue-rotate(360deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="walmart"] { filter: invert(45%) sepia(98%) saturate(1500%) hue-rotate(186deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="etsy"] { filter: invert(55%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="tiktok"] { filter: invert(70%) sepia(80%) saturate(5000%) hue-rotate(140deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="ebay"] { filter: invert(32%) sepia(95%) saturate(2500%) hue-rotate(340deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="google"] { filter: invert(48%) sepia(90%) saturate(2000%) hue-rotate(196deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="facebook"] { filter: invert(40%) sepia(95%) saturate(2500%) hue-rotate(196deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="woocommerce"] { filter: invert(45%) sepia(30%) saturate(1200%) hue-rotate(260deg) brightness(1.2); }
.hero-rail-bubble-icon[data-mp="aliexpress"],
.hero-rail-bubble-icon[data-mp="temu"] { filter: none; }

.hero-rail-stop-toast {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, calc(-100% - 8px)) scale(0.94);
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(8, 14, 26, 0.48);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(0, 207, 255, 0.16);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  max-width: min(250px, 68vw);
  opacity: 0;
  pointer-events: none;
  filter: blur(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.hero-rail-stop-toast.is-show {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 13px)) scale(1);
}
.hero-rail-stop-toast.is-away {
  animation: hero-rail-toast-cloud 0.88s ease-out forwards;
  pointer-events: none;
}
@keyframes hero-rail-toast-cloud {
  0% {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 13px)) scale(1);
    filter: blur(0);
  }
  35% {
    opacity: 0.7;
    transform: translate(-50%, calc(-100% - 20px)) scale(1.03);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-100% - 34px)) scale(1.1);
    filter: blur(7px);
  }
}
.hero-rail-stop-toast-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15px;
  color: rgba(230, 240, 255, 0.92);
  font-family: 'IBM Plex Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-rail-stop-toast-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}
.hero-rail-stop-toast-icon[data-svg="happy"],
.hero-rail-stop-toast-icon[data-svg="money"],
.hero-rail-stop-toast-icon[data-svg="review"] { filter: none; }
.hero-rail-bubble-icon[data-svg="happy"],
.hero-rail-bubble-icon[data-svg="money"],
.hero-rail-bubble-icon[data-svg="review"] { filter: none; }
.hero-rail-stop-toast-icon[data-mp="shopify"] { filter: invert(62%) sepia(45%) saturate(600%) hue-rotate(73deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="amazon"] { filter: invert(55%) sepia(90%) saturate(1200%) hue-rotate(360deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="walmart"] { filter: invert(45%) sepia(98%) saturate(1500%) hue-rotate(186deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="etsy"] { filter: invert(55%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="tiktok"] { filter: invert(70%) sepia(80%) saturate(5000%) hue-rotate(140deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="ebay"] { filter: invert(32%) sepia(95%) saturate(2500%) hue-rotate(340deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="google"] { filter: invert(48%) sepia(90%) saturate(2000%) hue-rotate(196deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="facebook"] { filter: invert(40%) sepia(95%) saturate(2500%) hue-rotate(196deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="woocommerce"] { filter: invert(45%) sepia(30%) saturate(1200%) hue-rotate(260deg) brightness(1.2); }
.hero-rail-stop-toast-icon[data-mp="aliexpress"],
.hero-rail-stop-toast-icon[data-mp="temu"] { filter: none; }

.hero-rail-waypoint--stop {
  transform: translate(-50%, -50%) scale(1.22);
  border-color: rgba(255, 0, 212, 0.55);
  box-shadow: 0 0 22px rgba(255, 0, 212, 0.35);
}

.hero-rail-bubble-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.hero-rail-bot.cc2-axis-bot {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 76px;
  margin-left: 0;
  margin-top: 0;
  transform: translate(-50%, -68%) scale(0.48);
  transform-origin: 50% 68%;
  z-index: 5;
  will-change: left, top;
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.5));
  transition: transform 0.28s ease;
  pointer-events: none;
}
.hero-rail-bot.cc2-axis-bot.is-flipped {
  transform: translate(-50%, -68%) scale(0.48) scaleX(-1);
}
.hero-rail-bot.cc2-axis-bot.is-hop {
  transform: translate(-50%, calc(-68% - 5px)) scale(0.5);
}
.hero-rail-bot.cc2-axis-bot.is-flipped.is-hop {
  transform: translate(-50%, calc(-68% - 5px)) scale(0.5) scaleX(-1);
}
.hero-rail-bot .bot {
  width: 60px;
  height: 76px;
  animation: botFloat 2.8s ease-in-out infinite, botJiggle 11s ease-in-out infinite;
}

.hero-rail-radar {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 0; height: 0;
}
.hero-rail-radar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 120, 0.7);
  width: 36px; height: 36px;
  opacity: 0;
}
.hero-rail-radar-ring.ping { animation: alive-radar 1.1s ease-out forwards; }
.hero-rail-radar-ring:nth-child(2).ping { animation-delay: 0.18s; }
.hero-rail-radar-ring:nth-child(3).ping { animation-delay: 0.36s; }
@keyframes alive-radar {
  0%   { transform: translate(-50%,-50%) scale(0.5); opacity: 0.85; }
  100% { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}

@media (min-width: 960px) {
  .hero-rail-track {
    height: clamp(92px, 9vw, 108px);
  }
  .hero-rail-waypoint {
    width: 26px;
    height: 26px;
  }
  .hero-rail-waypoint img {
    width: 15px;
    height: 15px;
  }
  .hero-rail-track.is-dense .hero-rail-waypoint {
    width: 21px;
    height: 21px;
  }
  .hero-rail-track.is-dense .hero-rail-waypoint img {
    width: 12px;
    height: 12px;
  }
  .hero-rail-sync-orb {
    width: 38px;
    height: 38px;
  }
}

/* ── stats strip ── */
.alive-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: calc(100% - 56px);
  max-width: 1100px;
  margin: 0 auto 72px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.22), rgba(122, 92, 255, 0.14), rgba(255, 0, 212, 0.18));
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(0, 207, 255, 0.06);
}
.alive-strip-item {
  padding: 28px 16px;
  text-align: center;
  background: var(--surface-elevated);
  backdrop-filter: blur(14px);
}
.alive-strip-item b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 8px;
  text-shadow: 0 0 24px var(--glow-cyan), 0 0 48px rgba(0, 207, 255, 0.15);
}
.alive-strip-item span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.alive-strip-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ── pillars ── */
.alive-pillars {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.alive-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 207, 255, 0.05);
}
.alive-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.alive-section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 16px;
  background: var(--grad);
  border-radius: 2px;
  box-shadow: 0 0 14px var(--glow-cyan);
}
.alive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.alive-card {
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s, transform 0.35s ease, border-color 0.3s, box-shadow 0.35s ease;
}
.alive-card.alive-visible { opacity: 1; transform: none; }
.alive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 207, 255, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), 0 0 28px rgba(0, 207, 255, 0.08);
}
.alive-card-icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--glow-cyan));
}
.alive-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.alive-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── axis ── */
.alive-axis {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 28px 80px;
  overflow: visible;
}
.alive-axis-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.alive-axis-panel {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px 36px;
  border: 1px solid rgba(0, 207, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(0, 207, 255, 0.07), transparent 68%),
    var(--surface);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s, transform 0.7s;
  overflow: visible;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
}
.alive-axis-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.45);
  opacity: 0.85;
}
.alive-axis-panel.alive-pulse-card { overflow: visible; }
.alive-axis-panel.alive-visible { opacity: 1; transform: none; }

.alive-axis-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  margin: 32px auto 0;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 207, 255, 0.09), transparent 70%),
    rgba(8, 14, 26, 0.55);
  border: 1px solid rgba(0, 207, 255, 0.14);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.08s, transform 0.7s 0.08s;
}
.alive-axis-showcase.alive-visible {
  opacity: 1;
  transform: none;
}

.alive-axis-orb {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}

.alive-axis-orb--bot {
  width: 104px;
  height: 104px;
  overflow: visible;
  margin-top: 0;
  position: relative;
  z-index: 2;
  border-color: rgba(0, 207, 255, 0.28);
  background: radial-gradient(circle at 50% 42%, rgba(0, 207, 255, 0.1), rgba(6, 13, 24, 0.4) 72%);
  box-shadow: 0 0 48px rgba(0, 207, 255, 0.14), inset 0 0 32px rgba(0, 207, 255, 0.06);
}

.alive-axis-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 207, 255, 0.35);
  animation: alive-orb-spin 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.alive-axis-orb--bot .cc2-axis-bot {
  position: relative;
  z-index: 3;
  width: 72px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transform: scale(1.45);
  transform-origin: 50% 72%;
  filter: drop-shadow(0 10px 28px rgba(0, 207, 255, 0.4));
}

.alive-axis-orb--bot .cc2-axis-bot .bot {
  transform: none;
}

.alive-axis-orb img { width: 60px; filter: drop-shadow(0 0 16px var(--glow-cyan)); }

.bot { --eye: #3ee0ff; position: relative; width: 60px; height: 76px; flex-shrink: 0; transform-origin: 50% 90%;
  animation: botFloat 3.6s ease-in-out infinite, botJiggle 9s ease-in-out infinite; }
.bot[data-state="warn"] { --eye: #fbbf24; }
.bot[data-state="critical"] { --eye: #f87171; }
.bot[data-state="success"] { --eye: #34d399; }
.bot[data-state="scanning"] { --eye: #60a5fa; }
.bot[data-state="thinking"] { --eye: #a78bfa; }
.bot-ant { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); width: 3px; height: 9px; border-radius: 2px; background: linear-gradient(#8294ac, #3a4658); z-index: 3; }
.bot-ant-dot { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--eye); animation: botAnt 1.8s ease-in-out infinite; }
.bot-head { position: relative; width: 52px; height: 40px; margin: 7px auto 0; border-radius: 16px 16px 13px 13px;
  background: linear-gradient(140deg, #74859e 0%, #3c4a5e 26%, #4f5d74 46%, #262f40 70%, #5a6884 100%);
  border: 1px solid rgba(190,210,240,.28); box-shadow: inset 0 2px 3px rgba(255,255,255,.22), inset 0 -4px 6px rgba(0,0,0,.45), 0 5px 11px rgba(0,0,0,.5); }
.bot-ear { position: absolute; top: 13px; width: 5px; height: 15px; border-radius: 3px; background: linear-gradient(#566480, #232c3b); border: 1px solid rgba(190,210,240,.2); }
.bot-ear--l { left: -4px; } .bot-ear--r { right: -4px; }
.bot-shine { position: absolute; top: 4px; left: 9px; right: 17px; height: 9px; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.4), transparent); filter: blur(.5px); pointer-events: none; }
.bot-shine--sm { top: 3px; height: 6px; }
.bot-visor { position: absolute; top: 12px; left: 7px; right: 7px; height: 19px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 150% at 50% 25%, #0c1c2e, #02060c 75%); border: 1px solid rgba(60,110,150,.5);
  box-shadow: inset 0 0 10px rgba(0,0,0,.75), inset 0 1px 2px rgba(120,180,255,.18);
  display: flex; align-items: center; justify-content: center; gap: 9px; animation: botLook 7s ease-in-out infinite; }
.bot-eye { width: 10px; height: 10px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 6px var(--eye), 0 0 13px var(--eye);
  animation: botGlow 2s ease-in-out infinite, botBlink 4.6s ease-in-out infinite; }
.bot-visor-glare { position: absolute; top: 2px; left: 4px; width: 18px; height: 6px; border-radius: 50%; background: linear-gradient(180deg, rgba(160,200,255,.35), transparent); transform: rotate(-8deg); pointer-events: none; }
.bot-body { position: relative; width: 46px; height: 27px; margin: 3px auto 0; border-radius: 11px 11px 14px 14px;
  background: linear-gradient(140deg, #647288 0%, #2d3747 50%, #495774 100%);
  border: 1px solid rgba(190,210,240,.24); box-shadow: inset 0 2px 3px rgba(255,255,255,.16), inset 0 -3px 6px rgba(0,0,0,.42), 0 6px 13px rgba(0,0,0,.45); display: grid; place-items: center; }
.bot-core { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #d6f3ff, var(--eye) 58%, #0a3a5c); box-shadow: 0 0 9px var(--eye), inset 0 0 4px rgba(255,255,255,.5); animation: botGlow 2.4s ease-in-out infinite; }
@keyframes botFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes botJiggle { 0%,86%,100% { transform: rotate(0deg); } 89% { transform: rotate(-5deg); } 92% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } 98% { transform: rotate(1deg); } }
@keyframes botBlink { 0%,93%,100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } 97.5% { transform: scaleY(1); } }
@keyframes botGlow { 0%,100% { opacity: .88; filter: brightness(1); } 50% { opacity: 1; filter: brightness(1.45); } }
@keyframes botLook { 0%,28%,100% { transform: translateX(0); } 42%,56% { transform: translateX(3px); } 70%,84% { transform: translateX(-3px); } }
@keyframes botAnt { 0%,100% { opacity: .6; box-shadow: 0 0 4px var(--eye); } 50% { opacity: 1; box-shadow: 0 0 11px var(--eye); } }
.bot[data-state="scanning"] .bot-visor { animation-duration: 2.2s; }
.bot[data-state="scanning"] .bot-eye, .bot[data-state="critical"] .bot-eye { animation-duration: 1s, 4.6s; }

.alive-axis-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  display: flex; align-items: center; gap: 6px;
  color: var(--cyan);
}

.axis-chat { width: 100%; max-width: 100%; min-height: 44px; }
.axis-chat-msg {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  background: rgba(0, 0, 0, 0.32);
  border-radius: 0 8px 8px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.axis-chat-msg--visible { opacity: 1; transform: none; }

.axis-chat-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.axis-chat-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: invert(72%) sepia(85%) saturate(2200%) hue-rotate(162deg) brightness(1.12);
}

.axis-chat-icon img[data-mp="shopify"] { filter: invert(62%) sepia(45%) saturate(600%) hue-rotate(73deg) brightness(1.15); }
.axis-chat-icon img[data-mp="amazon"] { filter: invert(55%) sepia(90%) saturate(1200%) hue-rotate(360deg) brightness(1.15); }
.axis-chat-icon img[data-mp="walmart"] { filter: invert(45%) sepia(98%) saturate(1500%) hue-rotate(186deg) brightness(1.15); }
.axis-chat-icon img[data-mp="etsy"] { filter: invert(55%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(1.15); }
.axis-chat-icon img[data-mp="tiktok"] { filter: invert(70%) sepia(80%) saturate(5000%) hue-rotate(140deg) brightness(1.15); }
.axis-chat-icon img[data-mp="ebay"] { filter: invert(32%) sepia(95%) saturate(2500%) hue-rotate(340deg) brightness(1.15); }
.axis-chat-icon img[data-mp="google"] { filter: invert(48%) sepia(90%) saturate(2000%) hue-rotate(196deg) brightness(1.15); }
.axis-chat-icon img[data-mp="facebook"] { filter: invert(40%) sepia(95%) saturate(2500%) hue-rotate(196deg) brightness(1.15); }
.axis-chat-icon img[data-mp="woocommerce"] { filter: invert(45%) sepia(30%) saturate(1200%) hue-rotate(260deg) brightness(1.15); }

.axis-chat-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}

.axis-chat-text::after { content: '|'; color: var(--cyan); animation: alive-blink 0.7s step-end infinite; }
.axis-chat-text.axis-done::after { display: none; }
.axis-typing-indicator { display: flex; gap: 4px; padding: 6px; opacity: 0; transition: opacity 0.25s; }
.axis-typing-indicator.axis-typing-visible { opacity: 1; }
.axis-typing-indicator span {
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  animation: alive-typing 1s ease infinite;
}
.axis-typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.axis-typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes alive-typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.alive-axis-right h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.alive-axis-right p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── final ── */
.alive-final {
  position: relative;
  z-index: 2;
  padding: 0 28px 88px;
  max-width: 760px;
  margin: 0 auto;
}
.alive-final-box {
  text-align: center;
  padding: 52px 32px;
  border: 1px solid rgba(0, 207, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(0, 207, 255, 0.1), transparent 62%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 0, 212, 0.06), transparent 55%),
    var(--surface);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.7s, transform 0.7s;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 40px rgba(0, 207, 255, 0.06);
}
.alive-final-box.alive-visible { opacity: 1; transform: none; }
.alive-final-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 22px;
}

.alive-foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 28px 44px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-top: 1px solid transparent;
  background: linear-gradient(180deg, transparent, rgba(6, 13, 24, 0.6));
}
.alive-foot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 207, 255, 0.35), rgba(255, 0, 212, 0.25), transparent);
}

/* ── orb morph video player ── */
body.alive-video-active .alive-wall-video {
  opacity: 0.1 !important;
  transition: opacity 0.65s ease;
}

body.alive-video-active .hero-orbit-spin {
  opacity: 0.25;
  filter: blur(1px);
  transition: opacity 0.5s, filter 0.5s;
}

.alive-video-portal {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
}

.alive-video-portal:not([hidden]) {
  pointer-events: auto;
}

.alive-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 24, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.alive-video-portal.is-open .alive-video-backdrop,
.alive-video-portal.is-closing .alive-video-backdrop {
  opacity: 1;
}

.alive-video-shell {
  position: fixed;
  left: var(--morph-x, 50%);
  top: var(--morph-y, 50%);
  width: var(--morph-size, 88px);
  height: var(--morph-size, 88px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
  transition:
    left 0.68s cubic-bezier(0.32, 1.12, 0.54, 1),
    top 0.68s cubic-bezier(0.32, 1.12, 0.54, 1),
    width 0.68s cubic-bezier(0.32, 1.12, 0.54, 1),
    height 0.68s cubic-bezier(0.32, 1.12, 0.54, 1),
    border-radius 0.68s cubic-bezier(0.32, 1.12, 0.54, 1);
}

.alive-video-portal.is-open .alive-video-shell {
  left: 50%;
  top: 50%;
  width: min(820px, 90vw);
  height: min(461px, 50.6vw);
  border-radius: 14px;
}

.alive-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #060d18;
  border: 1px solid rgba(0, 207, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 0, 212, 0.18),
    0 0 36px rgba(0, 207, 255, 0.3),
    0 0 72px rgba(255, 0, 212, 0.18),
    0 28px 90px rgba(0, 0, 0, 0.7);
}

.alive-video-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 207, 255, 0.14) 0%, transparent 42%, rgba(255, 0, 212, 0.12) 100%),
    radial-gradient(circle at 30% 20%, rgba(0, 207, 255, 0.1), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease 0.28s;
}

.alive-video-portal.is-open .alive-video-glow { opacity: 1; }

.alive-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.5s ease 0.22s, transform 0.68s cubic-bezier(0.32, 1.1, 0.54, 1);
}

.alive-video-portal.is-open .alive-video-player {
  opacity: 1;
  transform: scale(1);
}

.alive-video-portal.is-closing .alive-video-player {
  opacity: 0;
  transform: scale(0.92);
  transition-delay: 0s;
  transition-duration: 0.35s;
}

.alive-video-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%);
  opacity: 0;
}

.alive-video-portal.is-open .alive-video-shine {
  animation: alive-video-shine 5s ease-in-out infinite;
}

@keyframes alive-video-shine {
  0%, 100% { opacity: 0; transform: translateX(-25%); }
  45% { opacity: 0.9; transform: translateX(25%); }
}

.alive-video-chrome {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s;
  z-index: 4;
}

.alive-video-portal.is-open .alive-video-chrome {
  opacity: 1;
  transform: none;
}

.alive-video-portal.is-closing .alive-video-chrome {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 0s;
}

.alive-video-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 207, 255, 0.4);
  background: rgba(6, 13, 24, 0.9);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.alive-video-btn:hover {
  border-color: var(--magenta);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.4);
}

/* ── responsive ── */
@media (max-width: 1024px) {
  .alive-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "copy"
      "visual"
      "cluster";
    padding-top: 88px;
    gap: 24px;
    min-height: auto;
  }
  .alive-visual {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .alive-stage--free {
    max-width: min(100%, 480px);
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
  }
  .alive-strip { grid-template-columns: repeat(2, 1fr); }
  .alive-grid { grid-template-columns: 1fr; }
  .alive-links { display: none; }
  .alive-video-portal.is-open .alive-video-shell {
    width: min(820px, 94vw);
    height: min(461px, 52.8vw);
  }
  .alive-video-chrome {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 640px) {
  html { overflow-x: clip; }
  body.alive { overflow-x: clip; }

  .alive-artifacts { display: none; }

  .alive-nav {
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .alive-logo img { height: 24px; }
  .alive-nav-end { gap: 8px; }
  .alive-login { font-size: 13px; padding: 8px 4px; }
  .alive-cta { padding: 9px 14px; font-size: 13px; min-height: 44px; }

  .alive-hero {
    padding: 80px 16px 24px;
    padding-top: max(80px, calc(64px + env(safe-area-inset-top)));
    min-height: auto;
    gap: 20px;
  }
  .alive-badge { margin-bottom: 14px; }
  .alive-title { font-size: clamp(28px, 8.2vw, 40px); margin-bottom: 14px; }
  .alive-lead { font-size: 15px; max-width: none; line-height: 1.6; margin-bottom: 20px; }
  .alive-actions { margin-bottom: 18px; }
  .alive-int-row { gap: 10px; }
  .alive-int-icons { gap: 8px; }
  .alive-int-icons img { width: 22px; height: 22px; }
  .alive-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .alive-cta--lg,
  .alive-ghost {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .alive-visual {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }
  .alive-stage--free {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1;
    max-height: min(84vw, 320px);
    margin: 0 auto;
  }
  .hero-orb-system { --orbit-r: clamp(76px, 26vw, 108px); }
  .hero-orb-core { width: 40%; }
  .hero-node-inner { width: 28px; height: 28px; }
  .hero-node-inner img { width: 14px; height: 14px; }
  .hero-node-label { display: none; }
  .hero-node-upright { gap: 0; }
  .hero-rail-bubble-stack { display: none; }
  .alive-rail-wrap { padding: 0; width: 100%; margin: 0; }
  .alive-rail-label { font-size: 8px; }
  .hero-rail-track { height: clamp(68px, 20vw, 82px); }
  .hero-rail-bot.cc2-axis-bot { transform: translate(-50%, -68%) scale(0.42); }
  .hero-rail-bot.cc2-axis-bot.is-flipped { transform: translate(-50%, -68%) scale(0.42) scaleX(-1); }
  .hero-rail-bot.cc2-axis-bot.is-hop { transform: translate(-50%, calc(-68% - 4px)) scale(0.44); }
  .hero-rail-bot.cc2-axis-bot.is-flipped.is-hop { transform: translate(-50%, calc(-68% - 4px)) scale(0.44) scaleX(-1); }
  .hero-rail-sync-orb { width: 30px; height: 30px; }
  .hero-rail-sync-orb img { width: 18px; height: 18px; }
  .hero-rail-waypoint { width: 20px; height: 20px; }
  .hero-rail-waypoint img { width: 12px; height: 12px; }

  .alive-root-cluster {
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(8, 14, 26, 0.62);
    border: 1px solid rgba(0, 207, 255, 0.1);
  }
  .alive-root-cluster-head,
  .alive-root-rack,
  .root-cluster-toast {
    display: none !important;
  }
  .alive-root-enterprise {
    margin-top: 0;
    padding-top: 0;
  }
  .alive-root-enterprise-glow { display: none; }
  .alive-root-enterprise-lead,
  .alive-root-enterprise-perks { display: none; }
  .alive-root-enterprise-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .alive-strip {
    width: calc(100% - 24px);
    margin: 0 12px 48px;
    gap: 1px;
    padding: 1px;
    grid-template-columns: repeat(3, 1fr);
  }
  .alive-strip-nodes { display: none; }
  .alive-strip-item { padding: 12px 8px; }
  .alive-strip-item b { font-size: 28px; }
  .alive-strip-item span { font-size: 10px; }

  .alive-root-cluster::before {
    content: 'Enterprise';
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
  }
  .alive-pillars,
  .alive-axis,
  .alive-final { padding-left: 16px; padding-right: 16px; }
  .alive-axis-showcase { margin-top: 24px; padding: 22px 18px 18px; max-width: 100%; }
  .alive-axis-panel { padding: 28px 22px 24px; }
  .alive-axis-eyebrow { margin-bottom: 14px; }
  .alive-section-title { max-width: none; }
  .alive-section-title::after { width: 40px; margin-top: 12px; }
  .alive-axis-orb--bot { width: 87px; height: 87px; margin-top: 0; }
  .alive-axis-orb--bot .cc2-axis-bot { transform: scale(1.23); }
  .alive-final-box { padding: 28px 20px; }
  .alive-foot {
    padding: 20px 16px max(32px, env(safe-area-inset-bottom));
  }

  .alive-wall-video {
    width: 100%;
    height: 100%;
    left: 0;
    transform: none;
  }

  .alive-spark { display: none; }

  .alive-video-portal.is-open .alive-video-shell {
    width: 94vw;
    height: 52.5vw;
    min-height: 200px;
    max-height: 56vh;
  }
  .alive-video-chrome {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
  }
}

@media (max-width: 519px) {
  .alive-rail-wrap {
    padding: 0;
    margin-top: 2px;
  }
  .alive-rail-label {
    font-size: 7px;
    letter-spacing: 0.12em;
    margin-bottom: 5px;
  }
  .hero-rail-track {
    height: 54px;
  }
  .hero-rail-bot.cc2-axis-bot {
    transform: translate(-50%, -68%) scale(0.36);
  }
  .hero-rail-bot.cc2-axis-bot.is-flipped {
    transform: translate(-50%, -68%) scale(0.36) scaleX(-1);
  }
  .hero-rail-bot.cc2-axis-bot.is-hop {
    transform: translate(-50%, calc(-68% - 3px)) scale(0.38);
  }
  .hero-rail-bot.cc2-axis-bot.is-flipped.is-hop {
    transform: translate(-50%, calc(-68% - 3px)) scale(0.38) scaleX(-1);
  }
  .hero-rail-sync-orb {
    width: 26px;
    height: 26px;
  }
  .hero-rail-sync-orb img {
    width: 16px;
    height: 16px;
  }
  .hero-rail-waypoint {
    width: 17px;
    height: 17px;
  }
  .hero-rail-waypoint img {
    width: 10px;
    height: 10px;
  }
  .hero-rail-stop-toast {
    max-width: min(200px, 64vw);
    padding: 3px 7px;
    gap: 4px;
  }
  .hero-rail-stop-toast-text {
    font-size: 8px;
  }
  .hero-rail-stop-toast-icon {
    width: 14px;
    height: 14px;
  }
  .hero-rail-bubble {
    padding: 4px 8px;
  }
  .hero-rail-bubble-text {
    font-size: 9px;
  }
  .hero-rail-bubble-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 390px) {
  .hero-orb-system { --orbit-r: clamp(66px, 22vw, 90px); }
  .hero-orb-core { width: 42%; }
  .alive-title { font-size: 26px; }
  .alive-stage--free { max-height: min(80vw, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-rail-bot.cc2-axis-bot { animation: none; }
  .hero-rail-stop-toast.is-away { animation: none; opacity: 0; }
  .root-node-led,
  .root-node-power-ring,
  .root-node-base-glow,
  .alive-root-cable--live { animation: none; }
  .root-cluster-toast.is-away { animation: none; opacity: 0; }
  .alive-wall-video { display: none; }
  .hero-orbit-spin { animation: none; }
  .hero-orbit-arm .hero-node-upright { animation: none; }
  .alive-video-shell { transition: none !important; }
  .alive-video-player { transition: none !important; }
  .bot, .bot-visor, .bot-eye, .bot-core, .bot-ant-dot { animation: none !important; }
  .alive-axis-orb--bot .cc2-axis-bot { transform: scale(1.12); }
}
