@charset "UTF-8";
/* =========================================================
   bēon.live — landing page styles
   Bold / creative dark theme. Built from scratch, no framework.
   ========================================================= */

:root {
  --bg:            #07031A;
  --bg-2:          #0E0726;
  --bg-3:          #120A33;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-2:     rgba(255, 255, 255, 0.08);
  --border:        rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text:          #F4F1FF;
  --text-dim:      #B8B3D4;
  --text-mute:     #7D7899;

  --pink:          #FF2E88;
  --cyan:          #00F0FF;
  --lime:          #C2FF3D;
  --violet:        #8B5CF6;
  --yellow:        #FFE500;

  --grad-1: linear-gradient(90deg, #FF2E88 0%, #FFB546 100%);
  --grad-2: linear-gradient(90deg, #00F0FF 0%, #8B5CF6 100%);
  --grad-3: linear-gradient(90deg, #C2FF3D 0%, #00F0FF 100%);
  --grad-full: linear-gradient(120deg, #FF2E88 0%, #8B5CF6 50%, #00F0FF 100%);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-display: "Clash Display", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ------- Background layers ------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 70%);
  z-index: -3;
  pointer-events: none;
}
.bg-noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: 0.06;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -3;
  pointer-events: none;
}
.bg-glow--1 { width: 520px; height: 520px; top: -160px; left: -120px; background: #FF2E88; opacity: .35; }
.bg-glow--2 { width: 620px; height: 620px; top: 220px; right: -220px; background: #00F0FF; opacity: .28; }
.bg-glow--3 { width: 700px; height: 700px; top: 1400px; left: 30%; background: #8B5CF6; opacity: .22; }

/* ------- Typography helpers ------- */
.grad-1, .grad-2, .grad-3 {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-1 { background-image: var(--grad-1); }
.grad-2 { background-image: var(--grad-2); }
.grad-3 { background-image: var(--grad-3); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
/* Miniature brand mark as the eyebrow icon — gradient squircle + knockout play-triangle */
.eyebrow::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, #FF2E88 0%, #8B5CF6 55%, #00F0FF 100%);
  /* knockout triangle via clip-path-like mask using an inline SVG mask */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect width='16' height='16' fill='white'/><path d='M6 4.5 L11 8 L6 11.5 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect width='16' height='16' fill='white'/><path d='M6 4.5 L11 8 L6 11.5 Z' fill='black'/></svg>");
  -webkit-mask-size: cover;
  mask-size: cover;
  box-shadow: 0 0 12px rgba(255, 46, 136, .35);
  flex-shrink: 0;
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(100deg, #FF2E88 0%, #FFB546 100%);
  color: #0A0118;
  box-shadow: 0 10px 30px -10px rgba(255, 46, 136, .6), inset 0 0 0 1px rgba(255,255,255,.25);
}
.btn--primary:hover {
  box-shadow: 0 16px 40px -8px rgba(255, 46, 136, .8), inset 0 0 0 1px rgba(255,255,255,.4);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
}

.btn--xl {
  padding: 17px 28px;
  font-size: 16px;
}

.play-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-grid;
  place-items: center;
  padding-left: 3px;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(7,3,26,.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  position: relative;
}
.nav__logo-mark {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  transition: transform .35s var(--ease);
}
.nav__logo-mark svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 6px 14px rgba(255, 46, 136, .25));
}
.nav__logo-mark::after {
  /* halo that echoes the gradient */
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  background: conic-gradient(from 140deg at 50% 50%, rgba(255,46,136,.55), rgba(139,92,246,.35), rgba(0,240,255,.55), rgba(255,46,136,.55));
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity .35s var(--ease);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(-4deg) scale(1.04); }
.nav__logo:hover .nav__logo-mark::after { opacity: .7; }
.nav__logo-pulse {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C2FF3D;
  box-shadow: 0 0 0 0 rgba(194, 255, 61, .6);
  animation: logo-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes logo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(194, 255, 61, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(194, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 255, 61, 0); }
}
.nav__logo-text {
  display: inline-flex;
  align-items: baseline;
}
.nav__logo-text-1 {
  background: var(--grad-2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__logo-text-2 {
  color: var(--text);
}
.nav__logo-text-tld {
  color: var(--text-mute);
  font-weight: 500;
  margin-left: 1px;
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: 20px;
  font-size: 15px;
  color: var(--text-dim);
}
.nav__links a {
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.nav__burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav__burger span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Giant faint logo-mark echo behind the hero — gradient squircle silhouette */
  content: '';
  position: absolute;
  top: -80px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 140px;
  background:
    linear-gradient(135deg, rgba(255,46,136,.10) 0%, rgba(139,92,246,.05) 55%, rgba(0,240,255,.10) 100%);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect x='1' y='1' width='30' height='30' rx='8.5' fill='white'/><path d='M11.6 8.9 L23.2 16 L11.6 23.1 Z' fill='black'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect x='1' y='1' width='30' height='30' rx='8.5' fill='white'/><path d='M11.6 8.9 L23.2 16 L11.6 23.1 Z' fill='black'/></svg>");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  filter: blur(1px);
  pointer-events: none;
  z-index: -1;
  opacity: .7;
  animation: hero-logo-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-logo-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-20px, 30px, 0) rotate(-6deg); }
}
.hero__container {
  text-align: center;
  position: relative;
}

.hero__tag {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero__tag b { color: var(--text); font-weight: 600; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #32EF7E;
  box-shadow: 0 0 0 0 rgba(50,239,126,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(50,239,126,.8); }
  70%  { box-shadow: 0 0 0 12px rgba(50,239,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(50,239,126,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 auto 28px;
  max-width: 14ch;
}

.hero__subtitle {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-dim);
}

.hero__ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.hero__meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 80px;
}

/* ---- Hero player ---- */
/* ---- Hero monitoring dashboard mock ---- */
.hero__dash {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  perspective: 1400px;
}
.dash__shadow {
  position: absolute; inset: 10% -6% -10% -6%;
  background: radial-gradient(ellipse at center, rgba(255,46,136,.30), rgba(0,240,255,.25) 45%, transparent 72%);
  filter: blur(70px);
  z-index: -1;
}
.dash__frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transform: rotateX(4deg);
  box-shadow:
    0 60px 100px -40px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.04);
}
.dash__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(10,4,30,.7);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #FF5E5E; }
.dot--yellow { background: #FFD156; }
.dot--green { background: #32EF7E; }
.dash__url { margin-left: 14px; opacity: .85; }

.dash__body {
  padding: 24px 28px 26px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(139,92,246,.22), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(0,240,255,.18), transparent 55%),
    linear-gradient(180deg, #0B0625 0%, #0A0218 100%);
}

.dash__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.dash__stream-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.01em;
}
.dash__stream-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
.dash__uptime b { color: var(--text); font-weight: 600; margin-left: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.pill--ok {
  color: #2FE08A;
  background: rgba(47,224,138,.10);
  border: 1px solid rgba(47,224,138,.32);
}
.pill__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2FE08A;
  box-shadow: 0 0 0 0 rgba(47,224,138,.6);
  animation: dash-pulse 1.8s ease-out infinite;
}
@keyframes dash-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,224,138,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(47,224,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,224,138,0); }
}
.dash__icon-btn {
  width: 32px; height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.dash__icon-btn--action {
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.dash__icon-btn--action:hover {
  background: rgba(255,255,255,.1);
  color: var(--text);
  border-color: var(--border-strong);
}
.dash__stream-actions {
  display: inline-flex;
  gap: 8px;
}
.dash__topbar-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(194,255,61,.08);
  border: 1px solid rgba(194,255,61,.3);
}
.dash__topbar-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: topbar-live-pulse 1.5s ease-in-out infinite;
}
@keyframes topbar-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}

/* ------- Dual-player strip inside the dashboard frame ------- */
.dash__players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 720px) {
  .dash__players { grid-template-columns: 1fr; }
}

.dash__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.dash__card {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  min-height: 106px;
  overflow: hidden;
}
.dash__card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--text-mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash__card-live {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255,46,136,.2);
  color: #ff8fbf;
  letter-spacing: .1em;
  border: 1px solid rgba(255,46,136,.4);
}
.dash__card-value {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.dash__card-value span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 500;
}
.dash__card-value--mix { font-size: 18px; }
.rec-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FF5E8A;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
}
.rec-dot {
  width: 9px; height: 9px;
  background: #FF2E88;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,46,136,.55);
  animation: dash-pulse-pink 1.6s ease-out infinite;
}
@keyframes dash-pulse-pink {
  0%   { box-shadow: 0 0 0 0 rgba(255,46,136,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,46,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,46,136,0); }
}
.dash__card-sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.dash__spark {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  width: calc(100% - 24px);
  height: 36px;
  pointer-events: none;
}

/* ---- Stream health (replaces mock "viewers by region") ---- */
.dash__health {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.dash__health-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dash__health-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
}
.dash__health-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.dash__health-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.health-row {
  display: grid;
  grid-template-columns: 14px 102px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.health-row__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  justify-self: center;
  animation: dash-pulse 2.4s ease-out infinite;
}
.health-row__dot--rtt    { background: #00F0FF; box-shadow: 0 0 10px rgba(0,240,255,.5);  animation-delay: 0s; }
.health-row__dot--loss   { background: #FF2E88; box-shadow: 0 0 10px rgba(255,46,136,.5); animation-delay: -.4s; }
.health-row__dot--fps    { background: #C2FF3D; box-shadow: 0 0 10px rgba(194,255,61,.5); animation-delay: -.9s; }
.health-row__dot--buffer { background: #8B5CF6; box-shadow: 0 0 10px rgba(139,92,246,.5); animation-delay: -1.3s; }
.health-row__name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .06em;
}
.health-row__bar {
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.health-row__bar em {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--grad-full);
  border-radius: 999px;
  position: relative;
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
  animation: health-breathe 4s ease-in-out infinite;
}
.health-row__bar em::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  animation: health-shine 3.4s linear infinite;
}
.health-row[data-level="warn"] .health-row__bar em { background: linear-gradient(90deg, #F5C518, #FF9E2C); }
.health-row[data-level="bad"]  .health-row__bar em { background: linear-gradient(90deg, #FF2E88, #FF4C4C); }
@keyframes health-breathe {
  0%,100% { opacity: .9; }
  50%     { opacity: 1; }
}
@keyframes health-shine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.health-row__val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  text-align: right;
  min-width: 68px;
  white-space: nowrap;
}
.health-row__val span { color: var(--text-mute); font-weight: 400; margin-left: 2px; font-size: 11px; }
.health-row[data-level="warn"] .health-row__val b { color: #F5C518; }
.health-row[data-level="bad"]  .health-row__val b { color: #FF4C4C; }

/* ---- Inline hero spec strip (replaces old floating chips) ---- */
.hero-chips {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-chips__item {
  background: rgba(15, 8, 40, .65);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hero-chips__label {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-chips__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .hero-chips { grid-template-columns: 1fr; }
}

/* ---- Player wall-clock overlay (UTC) — compare to burned-in stream time ---- */
/* Sits top-center so it reads side-by-side with the ffmpeg drawtext (top-left) */
.demo-tile__clock {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #EAF4FF;
  background: rgba(5, 8, 22, .78);
  border: 1px solid rgba(0, 240, 255, .35);
  padding: 3px 6px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .7);
  pointer-events: none;
  z-index: 3;
  user-select: none;
  white-space: nowrap;
  line-height: 1.1;
}
.demo-tile__clock::before {
  content: "YOU";
  display: inline-block;
  margin-right: 5px;
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(0, 240, 255, .15);
  color: #00F0FF;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  vertical-align: 1px;
}
.demo-tile__clock em {
  font-style: normal;
  color: var(--text-mute);
  font-weight: 500;
  font-size: 9px;
}

/* ==========================================================
   DUAL-PLAYER TILES (inside the hero dashboard)
   ========================================================== */
.demo-tile {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.demo-tile::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .35;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  background: linear-gradient(140deg, rgba(255,46,136,0.30), rgba(139,92,246,0.15) 40%, rgba(0,240,255,0.30));
  z-index: 0;
}
.demo-tile:hover::before { opacity: .7; }
.demo-tile--webrtc::before {
  background: linear-gradient(140deg, rgba(255,46,136,0.55), rgba(139,92,246,0.25));
}
.demo-tile--hls::before {
  background: linear-gradient(140deg, rgba(0,240,255,0.55), rgba(139,92,246,0.25));
}

.demo-tile__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}
.demo-tile__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.demo-tile__proto {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.demo-tile--webrtc .demo-tile__proto {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.demo-tile--hls .demo-tile__proto {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.demo-tile__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-tile__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-mute);
  flex-shrink: 0;
}
.demo-tile__pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.demo-tile__pill[data-state="live"] {
  color: var(--lime);
  border-color: rgba(194,255,61,0.35);
  background: rgba(194,255,61,0.08);
}
.demo-tile__pill[data-state="live"] .demo-tile__pill-dot {
  animation: tile-pulse 1.4s ease-out infinite;
}
.demo-tile__pill[data-state="loading"] {
  color: var(--yellow);
  border-color: rgba(255,229,0,0.3);
  background: rgba(255,229,0,0.08);
}
.demo-tile__pill[data-state="loading"] .demo-tile__pill-dot {
  animation: tile-loading 1s linear infinite;
}
.demo-tile__pill[data-state="offline"] { color: var(--text-mute); }
.demo-tile__pill[data-state="error"] {
  color: #FF6B8A;
  border-color: rgba(255,107,138,0.35);
  background: rgba(255,107,138,0.08);
}
@keyframes tile-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(194,255,61,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(194,255,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(194,255,61,0); }
}
@keyframes tile-loading {
  0%, 40% { opacity: 1; }
  70%, 100% { opacity: 0.3; }
}

/* ------- Stage ------- */
.demo-tile__stage {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(139,92,246,0.12), transparent 60%),
    #050210;
  overflow: hidden;
}
.demo-tile__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #050210;
  display: block;
}
.demo-tile__live-chip {
  position: absolute;
  top: 4px; right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(7,3,26,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--text);
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: 2;
}
.demo-tile[data-active="true"] .demo-tile__live-chip { opacity: 1; }

.demo-tile__latency {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(7,3,26,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  opacity: 0;
  transition: opacity .3s var(--ease), color .2s var(--ease);
  z-index: 2;
  letter-spacing: -0.01em;
}
.demo-tile__latency em {
  font-style: normal;
  font-size: 10px;
  color: var(--text-mute);
  margin-left: 3px;
}
.demo-tile__latency i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-right: 6px;
  opacity: .85;
}
.demo-tile[data-active="true"] .demo-tile__latency { opacity: 1; }
.demo-tile__latency[data-level="ok"]   { color: var(--lime);   border-color: rgba(194,255,61,0.35); }
.demo-tile__latency[data-level="warn"] { color: var(--yellow); border-color: rgba(255,229,0,0.3); }
.demo-tile__latency[data-level="bad"]  { color: #FF6B8A;       border-color: rgba(255,107,138,0.35); }

.demo-tile__overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(7,3,26,0.68) 0%, rgba(7,3,26,0.88) 100%);
  backdrop-filter: blur(6px);
  z-index: 3;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.demo-tile[data-active="true"] .demo-tile__overlay {
  opacity: 0;
  visibility: hidden;
}
.demo-tile__overlay-inner {
  max-width: 280px;
  text-align: center;
}
.demo-tile__overlay-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.demo-tile__overlay-sub {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.btn--sm {
  padding: 8px 14px !important;
  font-size: 12px !important;
}

/* ==========================================================
   TRUSTED / MARQUEE
   ========================================================== */
.trusted {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trusted__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 28px;
  font-family: var(--font-mono);
}
.trusted__marquee { overflow: hidden; position: relative; }
.trusted__marquee::before,
.trusted__marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.trusted__marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.trusted__marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.trusted__track {
  display: flex;
  gap: 72px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
.trusted__track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--text-dim);
  opacity: .55;
  transition: opacity .3s, color .3s;
}
.trusted__track span:hover { color: var(--text); opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   STATS
   ========================================================== */
.stats { padding: 80px 0 40px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.stats__grid::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-full);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .4;
  pointer-events: none;
}
.stat {
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.03em;
  background: var(--grad-full);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  color: var(--text-mute);
  font-size: 14px;
  max-width: 240px;
}
/* ==========================================================
   SECTION / SECTION HEAD
   ========================================================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt {
  background:
    radial-gradient(ellipse at top, rgba(139,92,246,.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0,240,255,.05), transparent 60%);
}
.section--dark {
  background: linear-gradient(180deg, #05021A, #0C0530);
}
.section__head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.section__lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================
   FEATURE GRID
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,46,136,.12), transparent 40%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(255,46,136,.25);
}
.feature:hover::before { opacity: 1; }

.feature--lg {
  grid-row: span 2;
  grid-column: span 1;
}
@media (min-width: 900px) {
  .feature--lg {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.feature__icon {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 14px;
  /* gradient-border squircle echoing the logo mark */
  background:
    linear-gradient(180deg, rgba(20,10,55,.9), rgba(12,6,38,.9)) padding-box,
    linear-gradient(135deg, #FF2E88 0%, #8B5CF6 55%, #00F0FF 100%) border-box;
  border: 1px solid transparent;
  display: grid; place-items: center;
  color: var(--cyan);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px -10px rgba(255, 46, 136, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature__icon::after {
  /* tiny live-dot in the corner — same accent as the logo */
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C2FF3D;
  opacity: .7;
  box-shadow: 0 0 6px rgba(194,255,61,.8);
}
.feature:hover .feature__icon {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 14px 34px -10px rgba(255, 46, 136, .55);
}
.feature__icon svg { width: 22px; height: 22px; }

.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -.02em;
}
.feature p {
  color: var(--text-dim);
  margin: 0;
  font-size: 15px;
}

.feature--cta {
  background:
    radial-gradient(ellipse at top right, rgba(255,46,136,.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
}
.feature__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--pink);
  font-weight: 600;
}
.feature__link span { transition: transform .25s var(--ease); }
.feature__link:hover span { transform: translateX(4px); }
.feature__soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--cyan);
  background: rgba(0,240,255,.10);
  border: 1px solid rgba(0,240,255,.28);
  border-radius: 999px;
  font-weight: 500;
}

.feature__chart { margin-top: 28px; }
.bar-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
  height: 140px;
}
.bar-chart__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.bar-chart__item span {
  width: 100%;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
}
.bar-chart__item em {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  font-style: normal;
}
.bar-chart__item--active span {
  background: var(--grad-1);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(255,46,136,.5);
}
.bar-chart__item--active em { color: var(--pink); font-weight: 600; }

/* ==========================================================
   USE CASES
   ========================================================== */
.usecase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.usecase-tab {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.02);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: all .25s var(--ease);
}
.usecase-tab:hover { color: var(--text); background: rgba(255,255,255,.06); }
.usecase-tab.is-active {
  background: var(--grad-1);
  color: #0A0118;
  border-color: transparent;
  font-weight: 600;
}

.usecase-panels { position: relative; }
.usecase-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fade-in .4s var(--ease);
}
.usecase-panel.is-active { display: grid; }
.usecase-panel__copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.usecase-panel__copy p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 24px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}
.ticks li {
  padding-left: 30px;
  position: relative;
  color: var(--text-dim);
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 40%, var(--lime) 25%, transparent 26%),
    rgba(194,255,61,.15);
  border: 1px solid rgba(194,255,61,.35);
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* use case visual tiles */
.usecase-panel__visual { display: grid; place-items: center; }
.mini-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  /* Calm, near-solid product surface — one soft accent from the top edge
     instead of competing neon radials. */
  background:
    radial-gradient(ellipse 130% 70% at 50% 0%, rgba(139, 92, 246, .16), transparent 72%),
    linear-gradient(180deg, #100726, #09041C);
  border: 1px solid var(--border-strong);
  padding: 46px 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Faux app-window chrome bar — the consistent frame across every vertical. */
.mini-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  background:
    radial-gradient(circle 3.2px at 16px 17px, #FF5F57 99%, transparent 100%),
    radial-gradient(circle 3.2px at 29px 17px, #FEBC2E 99%, transparent 100%),
    radial-gradient(circle 3.2px at 42px 17px, #28C840 99%, transparent 100%),
    rgba(255, 255, 255, .025);
  border-bottom: 1px solid var(--border);
  z-index: 2;
}
.mini-tile__badge {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.mini-tile__foot {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mini-tile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  margin: 20px 0;
}
.mini-tile__grid > div {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  animation: pulse-glow 3s ease-in-out infinite;
}
.mini-tile__grid > div:nth-child(2) { animation-delay: -1s; }
.mini-tile__grid > div:nth-child(3) { animation-delay: -2s; }
.mini-tile__grid > div:nth-child(4) { animation-delay: -1.5s; }
@keyframes pulse-glow {
  0%,100% { box-shadow: inset 0 0 0 1px rgba(255,46,136,.1); }
  50%     { box-shadow: inset 0 0 0 1px rgba(255,46,136,.5), 0 0 20px rgba(255,46,136,.25); }
}

.mini-tile__pins {
  display: grid;
  gap: 10px;
  flex: 1;
  justify-content: stretch;
  margin: 20px 0;
}
.mini-tile__pins span {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 500;
}

.mini-tile__angles {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  flex: 1;
  margin: 18px 0;
}
.mini-tile__angles > div {
  border-radius: 10px;
  background: linear-gradient(140deg, #1b0b4a, #05021A);
  border: 1px solid var(--border);
}
.mini-tile__angles > div:first-child { grid-row: span 2; background: linear-gradient(140deg, #ff2e88, #8b5cf6); }

.mini-tile__bid {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mini-tile__bid em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 14px;
  -webkit-text-fill-color: var(--lime);
  background: none;
  margin-left: 10px;
  vertical-align: middle;
  font-weight: 400;
}

.mini-tile__avatars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.mini-tile__avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-1);
  border: 2px solid #0A0118;
  margin-left: -8px;
}
.mini-tile__avatars span:nth-child(1) { margin-left: 0; background: var(--grad-2); }
.mini-tile__avatars span:nth-child(2) { background: var(--grad-3); }
.mini-tile__avatars span:nth-child(3) { background: var(--grad-1); }
.mini-tile__avatars span:nth-child(4) { background: linear-gradient(135deg, #FFE500, #FF2E88); }
.mini-tile__avatars span:nth-child(5) { background: linear-gradient(135deg, #8B5CF6, #00F0FF); }
.mini-tile__avatars em {
  margin-left: 10px;
  font-style: normal;
  font-size: 13px;
  color: var(--text-dim);
}
.mini-tile__captions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
}
.mini-tile__captions span {
  padding: 10px 14px;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* ==========================================================
   STEPS
   ========================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  /* gradient-border squircle in brand colors */
  background:
    linear-gradient(180deg, rgba(255,46,136,.12), rgba(0,240,255,.08)) padding-box,
    linear-gradient(135deg, #FF2E88 0%, #8B5CF6 55%, #00F0FF 100%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px -10px rgba(255, 46, 136, .45);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
  margin: 14px 0 10px;
}
.step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 18px;
}
.step code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--cyan);
  overflow-x: auto;
}

/* ==========================================================
   INFRA
   ========================================================== */
.infra {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.infra__copy .section__title {
  text-align: left;
}
.infra__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0 30px;
}
.infra__metrics > div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.infra__metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -.02em;
  background: var(--grad-2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.infra__metrics span {
  color: var(--text-mute);
  font-size: 13px;
}

.infra__map {
  aspect-ratio: 2 / 1;
  width: 100%;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center, rgba(139,92,246,.25), transparent 65%),
    linear-gradient(180deg, #0B0528 0%, #060117 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.infra__map svg {
  width: 100%; height: 100%;
}
.node {
  fill: var(--pink);
  filter: drop-shadow(0 0 8px rgba(255,46,136,.8));
  animation: node-pulse 2s ease-in-out infinite;
}
.node:nth-child(even) { fill: var(--cyan); filter: drop-shadow(0 0 8px rgba(0,240,255,.8)); animation-delay: -1s; }
.node:nth-child(3n)   { fill: var(--lime); filter: drop-shadow(0 0 8px rgba(194,255,61,.8)); animation-delay: -1.5s; }
@keyframes node-pulse {
  0%,100% { r: 4; opacity: 1; }
  50%     { r: 7; opacity: .6; }
}

/* ==========================================================
   PLANS
   ========================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan__head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.plan__head p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__price b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.03em;
}
.plan__price span {
  color: var(--text-mute);
  font-size: 13px;
}
.plan__cta { justify-content: center; }
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.plan__features li {
  padding-left: 26px;
  position: relative;
}
.plan__features li::before {
  content: "\2713";  /* ✓ as a unicode escape — encoding-independent */
  position: absolute; left: 0;
  color: var(--lime);
  font-weight: 700;
}
.plan--featured {
  background:
    radial-gradient(ellipse at top, rgba(255,46,136,.2), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.plan--featured::before {
  content: "";
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-full);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--grad-1);
  color: #0A0118;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ==========================================================
   USE-CASE SCENES
   Each vertical gets its own domain-specific mini-dashboard
   (roulette, live-shop card, scoreboard, auction bid, etc.)
   instead of the generic source → core → audience schematic.
   ========================================================== */
.scene {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
  min-width: 0;
  min-height: 0;
}

/* ---------- iGaming: live roulette + result ticker ---------- */
.scene--igaming { gap: 16px; }
.ig-roulette {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.ig-wheel {
  position: relative;
  width: 118px;
  height: 118px;
  flex-shrink: 0;
}
.ig-wheel::before {
  /* Spinning wheel graphic — 36 alternating red/black slices via repeating conic gradient */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      #C62828 0deg 10deg,
      #1a1a1a 10deg 20deg);
  border: 3px solid #D4A838;
  box-shadow:
    0 0 28px rgba(198, 40, 40, .35),
    inset 0 0 22px rgba(0, 0, 0, .75);
  animation: ig-spin 9s linear infinite;
}
.ig-wheel::after {
  /* Dark center hub */
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(139, 92, 246, .25), transparent 55%),
    radial-gradient(ellipse at center, #0a0428 0%, #050015 80%);
  border: 1px solid rgba(212, 168, 56, .6);
}
.ig-wheel__ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #888 85%);
  box-shadow: 0 0 10px rgba(255, 255, 255, .9);
  z-index: 2;
  animation: ig-ball 4.6s cubic-bezier(.3, .4, .4, 1) infinite;
}
.ig-wheel__hub {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}
.ig-wheel__hub em {
  position: absolute;
  top: 34%;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--lime);
  letter-spacing: .22em;
  font-style: normal;
  text-shadow: 0 0 8px rgba(194, 255, 61, .5);
}
.ig-wheel__hub b {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  animation: ig-result-flash 6s ease-in-out infinite;
}
@keyframes ig-spin {
  to { transform: rotate(-360deg); }
}
@keyframes ig-ball {
  0%   { transform: rotate(0deg) translateX(44px) rotate(0deg); }
  100% { transform: rotate(720deg) translateX(44px) rotate(-720deg); }
}
@keyframes ig-result-flash {
  0%, 85%, 100% { color: #fff; text-shadow: none; transform: scale(1); }
  90%, 94%      { color: #C2FF3D; text-shadow: 0 0 16px rgba(194, 255, 61, .8); transform: scale(1.08); }
}

.ig-feed { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ig-feed__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ig-feed__row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ig-r {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  min-width: 28px;
  text-align: center;
  animation: ig-pop 3.2s ease-out backwards;
  animation-iteration-count: infinite;
}
.ig-r--red   { background: linear-gradient(180deg, #E3342F, #9B1C1C); }
.ig-r--black { background: linear-gradient(180deg, #2D2D2D, #0A0A0A); }
.ig-r--green { background: linear-gradient(180deg, #1CB874, #0E6E42); }
.ig-r:nth-child(1) { animation-delay: 0s;  }
.ig-r:nth-child(2) { animation-delay: .3s; }
.ig-r:nth-child(3) { animation-delay: .6s; }
.ig-r:nth-child(4) { animation-delay: .9s; }
.ig-r:nth-child(5) { animation-delay: 1.2s; }
.ig-r:nth-child(6) { animation-delay: 1.5s; }
@keyframes ig-pop {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1); }
  50%      { transform: scale(1.2); filter: brightness(1.4); }
  55%      { transform: scale(1); filter: brightness(1); }
}
.ig-feed__bet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(194, 255, 61, .08);
  border: 1px solid rgba(194, 255, 61, .28);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .03em;
}
.ig-feed__bet b {
  color: var(--lime);
  font-weight: 700;
  margin-right: 4px;
}
.ig-bet-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(194, 255, 61, .8);
  animation: dash-pulse 1.8s ease-out infinite;
}

/* ---------- Live Commerce: product card + cart bubbles + orders/min ---------- */
.scene--commerce { gap: 10px; }
.com-live {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(194, 255, 61, .08);
  border: 1px solid rgba(194, 255, 61, .3);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: .02em;
}
.com-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(194, 255, 61, .8);
  animation: dash-pulse 1.4s ease-out infinite;
}
.com-live__watchers {
  margin-left: auto;
  font-style: normal;
  color: var(--lime);
  font-weight: 600;
}
.com-card {
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.com-card__art {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 30%, rgba(194, 255, 61, .6) 0%, transparent 45%),
    linear-gradient(135deg, #00F0FF 0%, #8B5CF6 55%, #FF2E88 100%);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .45);
  position: relative;
}
.com-card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%);
  animation: com-shine 3.6s ease-in-out infinite;
}
@keyframes com-shine {
  0%, 60% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}
.com-card__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.com-card__info b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.com-card__price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.com-card__stock {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  font-style: normal;
}
.com-card__bubbles {
  position: relative;
  width: 44px;
  height: 56px;
  align-self: stretch;
}
.com-card__bubbles span {
  position: absolute;
  right: 0;
  bottom: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lime), #7eef00);
  color: #0a0118;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  opacity: 0;
  box-shadow: 0 4px 12px -2px rgba(194, 255, 61, .45);
  animation: com-bubble 3.2s ease-out infinite;
}
.com-card__bubbles span:nth-child(1) { animation-delay: 0s;   }
.com-card__bubbles span:nth-child(2) { animation-delay: .8s;  }
.com-card__bubbles span:nth-child(3) { animation-delay: 1.6s; }
.com-card__bubbles span:nth-child(4) { animation-delay: 2.4s; }
@keyframes com-bubble {
  0%   { transform: translateY(6px) scale(.6); opacity: 0; }
  15%  { transform: translateY(0)    scale(1); opacity: 1; }
  70%  { transform: translateY(-40px) scale(1); opacity: 1; }
  100% { transform: translateY(-56px) scale(.7); opacity: 0; }
}
.com-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
}
.com-meter__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.com-meter__val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.com-meter__bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.com-meter__bar em {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  border-radius: inherit;
  animation: com-meter 4.2s cubic-bezier(.4, .2, .2, 1) infinite;
}
@keyframes com-meter {
  0%   { width: 22%; }
  50%  { width: 78%; }
  100% { width: 46%; }
}

/* ---------- Sports: scoreboard + live odds with up/down arrows ---------- */
.scene--sports { gap: 10px; }
.sp-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 6px 14px;
  padding: 16px 18px 12px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at center, rgba(0, 240, 255, .1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
}
.sp-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
.sp-team--away { justify-content: flex-end; }
.sp-team__badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, #00F0FF, #8B5CF6);
  box-shadow: 0 0 10px rgba(0, 240, 255, .45);
}
.sp-team--away .sp-team__badge {
  background: linear-gradient(135deg, #FF2E88, #FFB546);
  box-shadow: 0 0 10px rgba(255, 46, 136, .45);
}
.sp-score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.sp-score__num {
  font-style: normal;
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sp-score-tick 8s ease-in-out infinite;
}
.sp-score__num:last-of-type { animation-delay: -4s; }
.sp-score__sep { color: var(--text-mute); }
@keyframes sp-score-tick {
  0%, 92%, 100% { transform: translateY(0);    filter: brightness(1); }
  94%           { transform: translateY(-4px); filter: brightness(1.6); }
  98%           { transform: translateY(0); }
}
.sp-clock {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(0, 240, 255, .08);
  border: 1px solid rgba(0, 240, 255, .3);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sp-clock i { font-style: normal; opacity: .7; margin-right: 4px; }
.sp-odds {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
}
.sp-odds__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.sp-odd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .1em;
  font-style: normal;
}
.sp-odd > span { opacity: .7; }
.sp-odd b {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
  animation: sp-odds-flip 3.4s ease-in-out infinite;
}
.sp-odd:nth-child(3) b { animation-delay: -1.1s; }
.sp-odd:nth-child(4) b { animation-delay: -2.2s; }
.sp-odd i { font-style: normal; font-size: 9px; }
.sp-odd__down { color: #FF5E8A; animation: sp-arrow-blink 2s ease-in-out infinite; }
.sp-odd__up   { color: var(--lime); animation: sp-arrow-blink 2s ease-in-out infinite .5s; }
@keyframes sp-odds-flip {
  0%, 88%, 100% { transform: translateY(0);    opacity: 1; }
  92%           { transform: translateY(-4px); opacity: .2; }
  94%           { transform: translateY(4px);  opacity: .2; }
  96%           { transform: translateY(0);    opacity: 1; }
}
@keyframes sp-arrow-blink {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1;  filter: drop-shadow(0 0 6px currentColor); }
}

/* ---------- Auctions: headline bid + countdown timer ---------- */
.scene--auctions { gap: 12px; }
.au-lot {
  padding: 16px 20px 14px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 229, 0, .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 229, 0, .22);
  position: relative;
  overflow: hidden;
}
.au-lot::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255, 229, 0, .1) 0%, transparent 55%);
  pointer-events: none;
  animation: au-glow 5s ease-in-out infinite;
}
@keyframes au-glow {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .9; transform: scale(1.1); }
}
.au-lot__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.au-lot__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  margin: 6px 0 8px;
  position: relative;
  z-index: 1;
}
.au-lot__cur {
  font-size: 22px;
  color: var(--text-mute);
}
.au-lot__num {
  font-size: 34px;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #FFE500 0%, #FFA500 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: au-tick 3s ease-out infinite;
}
@keyframes au-tick {
  0%, 80%, 100% { transform: translateY(0)    scale(1);    filter: drop-shadow(0 0 0 transparent); }
  85%           { transform: translateY(-6px) scale(1.05); filter: drop-shadow(0 0 10px rgba(255, 229, 0, .7)); }
  92%           { transform: translateY(0)    scale(1); }
}
.au-lot__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}
.au-lot__delta {
  font-style: normal;
  color: var(--lime);
  font-weight: 600;
}
.au-lot__paddle b { color: var(--pink); font-weight: 700; }
.au-timer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 46, 136, .06);
  border: 1px solid rgba(255, 46, 136, .22);
}
.au-timer__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  align-self: center;
}
.au-timer__value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: .04em;
  animation: au-timer-flash 1s ease-in-out infinite;
}
@keyframes au-timer-flash {
  0%, 55%, 100% { opacity: 1; }
  75%           { opacity: .35; }
}
.au-timer__bar {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(255, 46, 136, .15);
  border-radius: 999px;
  overflow: hidden;
}
.au-timer__bar em {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--lime), #FFE500 60%, var(--pink));
  border-radius: inherit;
  transform-origin: left center;
  animation: au-timer-bar 7s linear infinite;
}
@keyframes au-timer-bar {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ---------- Events: attendee counter + streaming dots + live chat ---------- */
.scene--events { gap: 12px; }
.ev-counter {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at top left, rgba(139, 92, 246, .18), transparent 60%),
    rgba(255, 255, 255, .03);
  border: 1px solid rgba(139, 92, 246, .3);
  position: relative;
  overflow: hidden;
}
.ev-counter__value {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  background: linear-gradient(135deg, #B59CFF 0%, #FF2E88 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  align-self: center;
  animation: ev-count-up 4s ease-in-out infinite;
}
@keyframes ev-count-up {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 6px rgba(139, 92, 246, .3)); }
  50%      { transform: translateY(-2px); filter: drop-shadow(0 0 16px rgba(139, 92, 246, .6)); }
}
.ev-counter em {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--text-mute);
  text-transform: uppercase;
  font-style: normal;
  align-self: end;
}
.ev-counter__trend {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--lime);
}
.ev-counter__dots {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
}
.ev-counter__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 6px rgba(139, 92, 246, .8);
  animation: ev-dot 2.4s ease-in-out infinite;
}
.ev-counter__dots span:nth-child(1) { animation-delay: 0s;   }
.ev-counter__dots span:nth-child(2) { animation-delay: .2s;  }
.ev-counter__dots span:nth-child(3) { animation-delay: .4s;  }
.ev-counter__dots span:nth-child(4) { animation-delay: .6s;  }
.ev-counter__dots span:nth-child(5) { animation-delay: .8s;  }
.ev-counter__dots span:nth-child(6) { animation-delay: 1s;   }
.ev-counter__dots span:nth-child(7) { animation-delay: 1.2s; }
.ev-counter__dots span:nth-child(8) { animation-delay: 1.4s; }
@keyframes ev-dot {
  0%, 100% { transform: scale(.65); opacity: .45; }
  50%      { transform: scale(1.15); opacity: 1; }
}
.ev-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-chat__msg {
  display: flex;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-12px);
  animation: ev-msg 6.6s ease-out infinite;
}
.ev-chat__msg b {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  align-self: center;
  flex-shrink: 0;
}
.ev-chat__msg:nth-child(1) { animation-delay: 0s;   }
.ev-chat__msg:nth-child(2) { animation-delay: 2.2s; }
.ev-chat__msg:nth-child(3) { animation-delay: 4.4s; }
@keyframes ev-msg {
  0%   { opacity: 0; transform: translateX(-16px); }
  8%   { opacity: 1; transform: translateX(0); }
  28%  { opacity: 1; }
  40%  { opacity: .35; }
  100% { opacity: 0; transform: translateX(-16px); }
}

/* ---------- Education: lecture progress + classroom stats + Q&A ---------- */
.scene--edu { gap: 10px; }
.ed-lecture {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, .1), rgba(194, 255, 61, .05));
  border: 1px solid rgba(0, 240, 255, .22);
}
.ed-lecture__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}
.ed-lecture__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ed-lecture__head b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.ed-lecture__progress {
  display: grid;
  gap: 5px;
}
.ed-lecture__progress em {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(0, 240, 255, .55);
  width: 0;
  animation: ed-progress 6s cubic-bezier(.55, .1, .45, 1) infinite;
}
.ed-lecture__progress span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
}
@keyframes ed-progress {
  0%   { width: 0%; }
  60%  { width: 47%; }
  100% { width: 47%; }
}
.ed-room {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ed-stat {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  text-align: center;
}
.ed-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.ed-stat span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ed-stat--live b {
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ed-live-pulse 2s ease-in-out infinite;
}
@keyframes ed-live-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 240, 255, .25)); }
  50%      { filter: drop-shadow(0 0 14px rgba(0, 240, 255, .7)); }
}
.ed-question {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 46, 136, .06);
  border: 1px solid rgba(255, 46, 136, .22);
  font-size: 11px;
  color: var(--text-dim);
  animation: ed-q 5s ease-out infinite;
}
.ed-question em {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-1);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  color: #0a0118;
}
@keyframes ed-q {
  0%   { opacity: 0; transform: translateY(8px); }
  10%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

/* ---------- Mobile: tighten all scenes, collapse dense grids ---------- */
@media (max-width: 720px) {
  /* The single biggest mobile win: drop the 4:3 aspect-ratio lock on the
     use-case tile so scenes can use their natural height instead of being
     squeezed into a landscape box. Also tighten padding + typography. */
  .mini-tile {
    aspect-ratio: auto;
    padding: 44px 18px 20px;
    gap: 14px;
  }
  .mini-tile__badge { font-size: 11px; padding: 5px 10px; }
  .mini-tile__foot  { font-size: 11px; line-height: 1.45; }

  .scene { gap: 10px; margin: 12px 0; }

  /* iGaming — put wheel above the ticker */
  .ig-roulette { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .ig-wheel    { width: 104px; height: 104px; }
  .ig-feed     { width: 100%; text-align: center; }
  .ig-feed__row { justify-content: center; }

  /* Commerce — drop the bubble column, let bubbles float from the price */
  .com-card               { grid-template-columns: 48px 1fr; gap: 12px; padding: 10px 12px; }
  .com-card__art          { width: 48px; height: 48px; }
  .com-card__bubbles      { display: none; }

  /* Sports — smaller score, stretched odds row */
  .sp-board   { padding: 12px 14px 10px; }
  .sp-score   { font-size: 28px; gap: 6px; }
  .sp-team    { font-size: 12px; gap: 6px; }
  .sp-team__badge { width: 18px; height: 18px; }
  .sp-odds    { grid-template-columns: auto repeat(3, 1fr); gap: 8px; padding: 8px 12px; }

  /* Auctions — tighter padding, lot card shrinks */
  .au-lot        { padding: 12px 14px 10px; }
  .au-lot__num   { font-size: 28px; }
  .au-lot__meta  { font-size: 9px; }
  .au-timer__value { font-size: 18px; }

  /* Events — hide decorative dots on small screens, keep counter + chat */
  .ev-counter__dots { display: none; }
  .ev-counter       { padding: 12px 14px; }
  .ev-counter__value { font-size: 34px; }
  .ev-chat__msg     { font-size: 11px; padding: 6px 10px; }

  /* Education — stack stats 3×, keep Q&A compact */
  .ed-lecture       { padding: 12px 14px; }
  .ed-lecture__head b { font-size: 13px; }
  .ed-stat b        { font-size: 17px; }
  .ed-question      { padding: 7px 12px; font-size: 10.5px; }
}

/* Extra-narrow phones (≤460px). Knock everything down another notch so
   nothing wraps awkwardly or overflows. */
@media (max-width: 460px) {
  .mini-tile { padding: 42px 14px 16px; gap: 12px; border-radius: 18px; }
  .mini-tile__badge { font-size: 10px; letter-spacing: .02em; }
  .mini-tile__foot  { font-size: 10.5px; }

  /* iGaming */
  .ig-wheel       { width: 88px; height: 88px; }
  .ig-wheel__hub b { font-size: 22px; }
  .ig-r           { font-size: 10px; padding: 4px 6px; min-width: 24px; }
  .ig-feed__bet   { font-size: 9.5px; padding: 5px 8px; }

  /* Commerce */
  .com-live       { font-size: 10px; padding: 5px 10px; gap: 8px; }
  .com-card__info b { font-size: 13px; }
  .com-card__price { font-size: 16px; }
  .com-card__stock { font-size: 9.5px; }
  .com-meter__val { font-size: 16px; }

  /* Sports */
  .sp-board       { padding: 10px 12px; gap: 4px 10px; }
  .sp-score       { font-size: 24px; gap: 4px; }
  .sp-team b      { letter-spacing: .02em; }
  .sp-team__badge { width: 16px; height: 16px; }
  .sp-clock       { font-size: 9px; padding: 2px 9px; }
  .sp-odds        { padding: 7px 10px; gap: 6px; }
  .sp-odd b       { font-size: 13px; }

  /* Auctions */
  .au-lot__num    { font-size: 24px; }
  .au-lot__cur    { font-size: 18px; }
  .au-lot__label  { font-size: 9px; }
  .au-timer       { padding: 8px 12px; }
  .au-timer__value { font-size: 16px; }

  /* Events */
  .ev-counter          { padding: 10px 12px; }
  .ev-counter__value   { font-size: 30px; }
  .ev-chat             { gap: 5px; }
  .ev-chat__msg        { padding: 6px 10px; font-size: 10.5px; gap: 6px; }
  .ev-chat__msg b      { font-size: 9px; }

  /* Education */
  .ed-lecture          { padding: 10px 12px; }
  .ed-lecture__head b  { font-size: 12.5px; }
  .ed-lecture__num     { font-size: 9px; }
  .ed-lecture__progress span { font-size: 9.5px; }
  .ed-stat             { padding: 8px 6px; }
  .ed-stat b           { font-size: 16px; }
  .ed-stat span        { font-size: 8.5px; }
  .ed-question         { padding: 6px 10px; font-size: 10px; }
  .ed-question em      { width: 18px; height: 18px; font-size: 10px; }
}

/* ==========================================================
   PERKS (design-partner grid)
   ========================================================== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.perk:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.perk__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pink);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.perk h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.perk p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}
.perks-cta {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 900px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .perks-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   PRICING NOTE + INFRA MAP CAPTION
   ========================================================== */
.pricing__note {
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
  margin: 36px auto 0;
  max-width: 720px;
  line-height: 1.6;
}

/* ==========================================================
   PRICING CALCULATOR
   Two sliders + quality selector → live TB/mo + Growth vs
   Dedicated estimate. Breakeven visualised on a horizontal
   bar so visitors see where the plans cross over.
   ========================================================== */
.calc {
  margin: 60px auto 0;
  max-width: 1080px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 240, 255, .14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 46, 136, .12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -60px rgba(0, 0, 0, .8);
}
.calc__head { text-align: center; margin-bottom: 30px; }
.calc__head .eyebrow { margin-bottom: 12px; }
.calc__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.calc__head p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.55;
}
.calc__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ---- Inputs column ---- */
.calc__inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--border);
}
.calc__field {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 8px;
}
.calc__field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  align-self: center;
}
.calc__field-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.calc__field-value em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-mute);
  background: none;
  -webkit-text-fill-color: var(--text-mute);
  margin-left: 2px;
}
.calc__field input[type="range"] {
  grid-column: 1 / -1;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  accent-color: #00F0FF; /* fallback for browsers that honour it */
  background-image: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) var(--calc-fill, 0%), rgba(255, 255, 255, .08) var(--calc-fill, 0%));
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F0FF, #8B5CF6);
  border: 3px solid #07031A;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .6), 0 6px 16px -4px rgba(0, 240, 255, .6);
  cursor: grab;
  transition: transform .15s var(--ease);
}
.calc__field input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.calc__field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F0FF, #8B5CF6);
  border: 3px solid #07031A;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .6), 0 6px 16px -4px rgba(0, 240, 255, .6);
  cursor: grab;
}
.calc__field-range {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .08em;
}
.calc__field-range em { font-style: normal; }

.calc__field--quality { grid-template-columns: 1fr; }

/* Hint labels that split the inputs column into "estimate from audience"
   and "or set volume directly". */
.calc__inputs-hint {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.calc__inputs-hint--or {
  text-align: center;
  color: var(--text-dim);
  opacity: .8;
  margin-top: 2px;
}
/* The "or set volume directly" field reads as the resolved answer — give it
   a faint cyan frame so it feels connected to the output. */
.calc__field--volume {
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: rgba(0, 240, 255, .04);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .18) inset;
}
.calc__field--volume .calc__field-value { font-size: 24px; }

/* 1 PB+ "let's talk" state — hide the $ / unit decorations so "Contact us"
   and "Custom" read cleanly in the big number slots. */
.calc.is-contact .calc__metric-value span,
.calc.is-contact .calc__metric-value em,
.calc.is-contact .calc__plan-price span,
.calc.is-contact .calc__plan-price em { display: none; }
.calc.is-contact .calc__plan-price { font-size: 22px; color: var(--text); }
.calc.is-contact .calc__metric-value { font-size: clamp(28px, 3vw, 38px); }
.calc__quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border);
}
.calc__q {
  padding: 10px 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.calc__q:hover { color: var(--text); }
.calc__q.is-on {
  background: linear-gradient(180deg, rgba(0, 240, 255, .18), rgba(0, 240, 255, .06));
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .45) inset, 0 0 16px -4px rgba(0, 240, 255, .4);
}

/* ---- Output column ---- */
.calc__output {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 46, 136, .06), rgba(0, 240, 255, .02)),
    rgba(0, 0, 0, .28);
  border: 1px solid var(--border);
}
.calc__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.calc__metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.calc__metric-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.2vw, 52px);
  letter-spacing: -.025em;
  line-height: 1;
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc__metric-value em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: none;
  -webkit-text-fill-color: var(--text-mute);
  margin-left: 8px;
}
.calc__metric-value em i {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 2px;
}

.calc__plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc__plan {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.calc__plan.is-winner {
  border-color: rgba(194, 255, 61, .55);
  box-shadow: 0 0 0 1px rgba(194, 255, 61, .3) inset, 0 0 24px -6px rgba(194, 255, 61, .35);
  transform: translateY(-2px);
}
.calc__plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.calc__plan-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -.01em;
}
.calc__plan-name i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  vertical-align: middle;
}
.calc__plan-rate {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  text-align: right;
}
.calc__plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc__plan-price span { color: var(--text-mute); margin-right: 2px; font-weight: 700; }
.calc__plan-price em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: .04em;
}
.calc__plan.is-winner .calc__plan-price {
  background: var(--grad-3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc__reco {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(194, 255, 61, .08);
  border: 1px solid rgba(194, 255, 61, .28);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  letter-spacing: .02em;
}
.calc__reco[data-reco="growth"] {
  background: rgba(0, 240, 255, .08);
  border-color: rgba(0, 240, 255, .3);
}
.calc__reco[data-reco="starter"] {
  background: rgba(139, 92, 246, .1);
  border-color: rgba(139, 92, 246, .3);
}
.calc__reco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(194, 255, 61, .8);
  animation: dash-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
.calc__reco[data-reco="growth"] .calc__reco-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, .8);
}
.calc__reco[data-reco="starter"] .calc__reco-dot {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(139, 92, 246, .8);
}
.calc__reco b {
  font-weight: 600;
  color: var(--text);
}

.calc__breakeven {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc__breakeven-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  /* Cyan (Growth-cheaper zone) on the left, pink (Dedicated-cheaper zone) on
     the right. Crossover aligned to the breakeven marker — ~75% on the
     1 TB → 1 PB log scale, where 181 TB/mo sits. */
  background: linear-gradient(90deg,
    rgba(0, 240, 255, .35) 0%,
    rgba(0, 240, 255, .15) 73%,
    rgba(255, 46, 136, .15) 77%,
    rgba(255, 46, 136, .35) 100%);
  border: 1px solid var(--border);
  overflow: visible;
}
.calc__breakeven-fill { display: none; }
.calc__breakeven-line {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--text-mute);
  transform: translateX(-50%);
  opacity: .6;
}
.calc__breakeven-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -100%) rotate(45deg);
  background: var(--text-mute);
}
.calc__breakeven-marker {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #C2FF3D);
  box-shadow: 0 0 0 2px #07031A, 0 0 16px rgba(194, 255, 61, .8);
  transition: left .35s cubic-bezier(.2, .7, .3, 1);
}
.calc__breakeven-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .06em;
}
.calc__breakeven-switch { color: var(--text-dim); }
.calc__breakeven-switch b { color: var(--text); font-weight: 600; }

.calc__cta {
  margin-top: auto;
  justify-self: stretch;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
}

.calc__fine {
  margin: 24px auto 0;
  max-width: 820px;
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.6;
}

/* Calculator responsive: single column under 900px, tighter paddings on phones */
@media (max-width: 900px) {
  .calc { padding: 28px 22px; }
  .calc__body { grid-template-columns: 1fr; gap: 18px; }
  .calc__inputs,
  .calc__output { padding: 20px 18px; }
  .calc__plans { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calc { padding: 22px 16px; margin-top: 40px; }
  .calc__head { margin-bottom: 22px; }
  .calc__q { font-size: 10px; padding: 9px 4px; letter-spacing: .02em; }
  .calc__plan-price { font-size: 22px; }
  .calc__plan-rate  { font-size: 9.5px; }
  .calc__metric-value em { display: block; margin: 6px 0 0; }
  .calc__breakeven-legend { font-size: 9px; }
  .calc__fine { font-size: 11px; }
}
.infra__map-caption {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: .7;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.quote {
  margin: 0;
  padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform .3s var(--ease);
}
.quote:hover { transform: translateY(-4px); }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--text);
}
.quote figcaption {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 13px;
}
.quote figcaption b { font-weight: 600; }
.quote figcaption span { color: var(--text-mute); }

.quote--big {
  grid-row: span 2;
  background:
    radial-gradient(ellipse at bottom, rgba(255,46,136,.15), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.quote--big blockquote {
  font-size: 28px;
  line-height: 1.25;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq { max-width: 960px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: 48px; }
.faq__head p { color: var(--text-mute); font-size: 15px; }
.faq__head a { color: var(--cyan); border-bottom: 1px solid rgba(0,240,255,.3); }

.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: background .2s var(--ease);
}
.faq__item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--pink);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item > div {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.faq__item:hover { background: rgba(255,255,255,.05); }

/* ==========================================================
   FINAL CTA
   ========================================================== */
.final-cta {
  padding: 120px 0 100px;
  position: relative;
}
.final-cta__inner {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  padding: 80px 48px;
  text-align: center;
  isolation: isolate;
}
.final-cta__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,46,136,.5), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,240,255,.4), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(139,92,246,.3), transparent 60%),
    #0A0428;
}
.final-cta__bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.final-cta__content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.final-cta__content p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(10,4,30,.5);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  padding: 12px;
  border-radius: 999px;
}
.cta-form input, .cta-form select {
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  flex: 1;
  min-width: 160px;
  outline: 0;
}
.cta-form input::placeholder { color: var(--text-mute); }
.cta-form select {
  appearance: none;
  color: var(--text-mute);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23B8B3D4' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cta-form select option { background: #0A0428; }

/* Honeypot — kept reachable but visually hidden. Bots usually fill text
   inputs regardless; real users never see it. */
.cta-form__trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

/* Lives outside the pill form so the form stays pill-shaped. Slides in
   underneath only when there's something to say. */
.cta-form__msg {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  background: rgba(10, 4, 30, .5);
  border: 1px solid var(--border);
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}
.cta-form__msg[hidden] { display: none; }
.cta-form__msg[data-state="wait"] {
  border-color: rgba(0, 240, 255, .35);
  color: #8FF6FF;
}
.cta-form__msg[data-state="ok"] {
  border-color: rgba(194, 255, 61, .4);
  color: #DBFF7B;
  background: rgba(194, 255, 61, .06);
}
.cta-form__msg[data-state="err"] {
  border-color: rgba(255, 122, 154, .45);
  color: #FFB1C4;
  background: rgba(255, 46, 136, .06);
}

.final-cta__tiny {
  margin-top: 16px;
  font-size: 12px !important;
  color: var(--text-mute) !important;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(255,46,136,.04) 100%);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 16px 0 0;
  max-width: 320px;
}
.footer__addr { font-family: var(--font-mono); font-size: 12px !important; color: var(--text-mute); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--text); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature--lg { grid-column: span 2; grid-row: auto; }
  .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote--big { grid-row: auto; grid-column: span 2; }
  .infra { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .dash__metrics { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .dash__card { padding: 12px; min-height: 94px; }
  .dash__card-value { font-size: 22px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 20px 0 40px; }
  .hero__dash { margin-top: 40px; }
  .dash__body { padding: 18px 16px; }
  .dash__metrics { grid-template-columns: repeat(2, 1fr); }
  .dash__stream-name { font-size: 17px; }
  .health-row { grid-template-columns: 12px 86px 1fr auto; gap: 8px; }
  .health-row__val { min-width: 58px; }
  .hero-chips { grid-template-columns: 1fr; }

  .feature-grid, .plans, .steps { grid-template-columns: 1fr; }
  .feature--lg { grid-column: auto; }
  .stats__grid { grid-template-columns: 1fr; padding: 24px; }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  .usecase-panel { grid-template-columns: 1fr; gap: 28px; }
  .infra__metrics { grid-template-columns: 1fr; }

  .quote-grid { grid-template-columns: 1fr; }
  .quote--big { grid-column: auto; }

  .final-cta__inner { padding: 48px 20px; border-radius: 24px; }
  .cta-form { border-radius: var(--radius); }

  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
