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

:root {
  --bg: #050508;
  --bg-card: rgb(255 255 255 / 3%);
  --border: rgb(255 255 255 / 6%);
  --border-hover: rgb(255 255 255 / 12%);
  --text: #f0f0f2;
  --text-sec: #b0b0be;
  --text-dim: #7a7a8e;
  --accent: #e63226;
  --accent2: #ff4136;
  --magenta: #c2185b;
  --orange: #ff6d3a;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --green: #22c55e;
  --font: 'Sora', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --text-xs: clamp(0.6rem, 0.55rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  --text-3xl: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --text-hero: clamp(6rem, 4rem + 10vw, 14rem);
  --space-xs: clamp(8px, 1vw, 12px);
  --space-sm: clamp(16px, 2vw, 24px);
  --space-md: clamp(32px, 4vw, 48px);
  --space-lg: clamp(48px, 6vw, 80px);
  --space-xl: clamp(80px, 10vw, 140px);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  pointer-events: none;
  animation: curtainLift 1s ease 0.2s forwards;
}

@keyframes curtainLift {
  to {
    opacity: 0;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  animation: grainShift 0.5s steps(4) infinite;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-2px, 2px);
  }

  50% {
    transform: translate(2px, -2px);
  }

  75% {
    transform: translate(-2px, -2px);
  }

  100% {
    transform: translate(2px, 2px);
  }
}

.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(230 50 38 / 4%) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgb(198 24 60 / 8%) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgb(230 50 38 / 6%) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 60% 80%, rgb(255 109 58 / 5%) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgb(100 20 40 / 4%) 0%, transparent 70%);
  animation: bgShift 25s ease-in-out infinite alternate;
  will-change: transform;
  transition: background 1.5s ease;
}

@keyframes bgShift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(3%, -2%) rotate(1deg) scale(1.02);
  }

  66% {
    transform: translate(-2%, 3%) rotate(-0.5deg) scale(0.98);
  }

  100% {
    transform: translate(1%, -1%) rotate(0.5deg) scale(1.01);
  }
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  transform: perspective(600px) rotateX(5deg);
  transform-origin: center 60%;
  will-change: transform;
}

.scroll-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  transition: background 0.8s ease;
}

.floating-nav {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.floating-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-pill {
  padding: 16px 28px;
  background: rgb(5 5 8 / 60%);
  backdrop-filter: blur(30px) saturate(1.4);
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: 40px;
  width: 320px;
}

.nav-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgb(255 255 255 / 8%);
  border-radius: 2px;
}

.nav-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  width: 0%;
  transition:
    width 0.15s linear,
    background-color 0.6s ease,
    box-shadow 0.6s ease;
}

.nav-fill.complete {
  background: var(--green);
  box-shadow: 0 0 12px rgb(34 197 94 / 30%);
}

.nav-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  border: 2px solid rgb(255 255 255 / 10%);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.nav-marker.passed {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 6px rgb(230 50 38 / 30%);
}

.nav-marker.complete {
  background: var(--green) !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 6px rgb(34 197 94 / 30%) !important;
}

.nav-marker-label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-transform: uppercase;
}

.nav-marker:hover .nav-marker-label {
  opacity: 1;
}

.nav-wordmark {
  position: fixed;
  top: 32px;
  left: 40px;
  z-index: 100;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / 35%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.nav-wordmark.visible {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.labs-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgb(230 50 38 / 6%);
  border-bottom: 1px solid rgb(230 50 38 / 10%);
  text-decoration: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.labs-banner:hover {
  background: rgb(230 50 38 / 10%);
}

.labs-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.labs-banner-text {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.labs-banner-sep {
  color: rgb(255 255 255 / 15%);
  font-size: var(--text-xs);
}

.labs-banner-desc {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.labs-banner-arrow {
  width: 12px;
  height: 12px;
  color: var(--text-dim);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.labs-banner:hover .labs-banner-arrow {
  transform: translateX(2px);
  color: var(--accent);
}

.nav-labs {
  position: fixed;
  top: 32px;
  right: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.nav-labs.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-labs-text {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s ease;
}

.nav-labs-arrow {
  width: 12px;
  height: 12px;
  color: var(--accent);
  opacity: 0.6;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.nav-labs:hover .nav-labs-text {
  color: var(--accent2);
  text-shadow: 0 0 20px rgb(230 50 38 / 30%);
}

.nav-labs:hover .nav-labs-arrow {
  transform: translateX(2px);
  opacity: 1;
}

main {
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(230 50 38 / 12%), transparent);
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  inset: -15px 0;
  background: linear-gradient(90deg, transparent, rgb(230 50 38 / 3%), transparent);
  filter: blur(10px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.word-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.word-reveal.visible span {
  opacity: 1;
  transform: translateY(0);
}

.word-reveal.sec-title span,
.word-reveal.next-title span {
  background: linear-gradient(180deg, #fff 20%, #666 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  text-align: center;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}

.venue-backdrop {
  position: absolute;
  inset: -30%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: perspective(1400px) rotateX(55deg) rotateZ(-15deg);
  transform-origin: center 60%;
  animation: blueprintDrift 30s ease-in-out infinite alternate;
}

@keyframes blueprintDrift {
  0% {
    transform: perspective(1400px) rotateX(55deg) rotateZ(-15deg) translateY(0);
  }

  50% {
    transform: perspective(1400px) rotateX(53deg) rotateZ(-13deg) translateY(-12px);
  }

  100% {
    transform: perspective(1400px) rotateX(57deg) rotateZ(-17deg) translateY(8px);
  }
}

.venue-blueprint {
  width: 160%;
  height: 160%;
  overflow: visible;
}

.bp-cam {
  animation: bpCamPulse 3s ease-in-out infinite;
}

@keyframes bpCamPulse {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.85;
  }
}

.bp-cam-glow {
  animation: bpCamPulse 3s ease-in-out infinite;
}

.venue-orbit-0 {
  animation: venueOrbit0 18s ease-in-out infinite alternate;
}

.venue-orbit-1 {
  animation: venueOrbit1 22s ease-in-out infinite alternate;
}

.venue-orbit-2 {
  animation: venueOrbit2 20s ease-in-out infinite alternate;
}

.venue-orbit-3 {
  animation: venueOrbit3 24s ease-in-out infinite alternate;
}

@keyframes venueOrbit0 {
  0% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(8px, -5px);
  }

  66% {
    transform: translate(-4px, 6px);
  }

  100% {
    transform: translate(5px, 3px);
  }
}

@keyframes venueOrbit1 {
  0% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-6px, 7px);
  }

  66% {
    transform: translate(5px, -3px);
  }

  100% {
    transform: translate(-3px, -6px);
  }
}

@keyframes venueOrbit2 {
  0% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(7px, 4px);
  }

  66% {
    transform: translate(-6px, -5px);
  }

  100% {
    transform: translate(-2px, 7px);
  }
}

@keyframes venueOrbit3 {
  0% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-5px, -6px);
  }

  66% {
    transform: translate(4px, 5px);
  }

  100% {
    transform: translate(6px, -4px);
  }
}

.ring-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(230 50 38 / 6%) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgb(230 50 38 / 30%);
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-400px) translateX(var(--drift));
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.82;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
  position: relative;
}

.hero-title .title-main {
  background: linear-gradient(180deg, #fff 20%, #555 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-title::after {
  content: 'SOAR';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgb(255 255 255 / 12%) 45%,
    rgb(255 255 255 / 25%) 50%,
    rgb(255 255 255 / 12%) 55%,
    transparent 60%
  );
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: lightSweep 5s ease-in-out 2s infinite;
}

@keyframes lightSweep {
  0%,
  100% {
    background-position: 200% 0;
  }

  50% {
    background-position: -200% 0;
  }
}

.hero-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-sec);
  max-width: 520px;
  line-height: 1.8;
  margin: 0 auto 52px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.hero-metrics {
  display: flex;
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}

.metric {
  background: rgb(255 255 255 / 3%);
  backdrop-filter: blur(10px);
  padding: 28px 44px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric:first-child {
  border-radius: 16px 0 0 16px;
}

.metric:last-child {
  border-radius: 0 16px 16px 0;
}

.metric:hover {
  background: rgb(230 50 38 / 5%);
  border-color: rgb(230 50 38 / 15%);
}

.metric-val {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-sec) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sports {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

.hero-sport {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-sec);
  padding: 6px 16px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 20px;
  cursor: default;
  transition: all 0.35s ease;
}

.hero-sport:hover,
.hero-sport.active {
  color: rgb(230 50 38 / 90%);
  border-color: rgb(230 50 38 / 35%);
  background: rgb(230 50 38 / 6%);
}

.venue-group {
  transition:
    opacity 0.4s ease,
    filter 0.4s ease;
}

.venue-backdrop.has-focus .venue-group {
  opacity: 0.15;
  filter: blur(1px);
}

.venue-backdrop.has-focus .venue-group.venue-highlight {
  opacity: 1;
  filter: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.6s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgb(230 50 38 / 50%), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.sec-head {
  margin-bottom: var(--space-md);
}

.sec-tag {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.sec-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 20%, #666 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-desc {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-sec);
  max-width: 640px;
  line-height: 1.85;
}

.system-intro {
  padding: var(--space-lg) 48px var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto var(--space-md);
  max-width: 680px;
  padding: 0 var(--space-sm);
}

.pillar-tab {
  font-family: var(--mono);
  font-size: var(--text-xs);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 1;
}

.pillar-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-sec);
}

.pillar-tab.active {
  background: color-mix(in srgb, var(--tab-color) 15%, transparent);
  border-color: color-mix(in srgb, var(--tab-color) 30%, transparent);
  color: var(--text);
}

.pillar-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  gap: 60px;
  position: relative;
}

.pillar-panel::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.06;
  left: 30%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
  transition: background 0.8s ease;
  pointer-events: none;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.pillar-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 520px;
}

.pillar-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  pointer-events: none;
}

.pillar-visual.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.visual-svg {
  width: 100%;
  max-width: 880px;
  height: auto;
}

.array-ring {
  fill: none;
  stroke: rgb(230 50 38 / 12%);
  stroke-width: 1;
}

.array-fov {
  stroke: rgb(230 50 38 / 6%);
  stroke-width: 0.5;
  fill: rgb(230 50 38 / 1.5%);
  transition: all 0.4s ease;
  pointer-events: none;
}

.array-fov.highlight {
  stroke: rgb(230 50 38 / 25%);
  fill: rgb(230 50 38 / 4%);
}

.cam-node {
  fill: rgb(230 50 38 / 50%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cam-node:hover,
.cam-node.highlight {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgb(230 50 38 / 60%));
}

.cam-pair-line {
  stroke: rgb(255 255 255 / 0%);
  stroke-width: 0.8;
  stroke-dasharray: 4 3;
  transition: stroke 0.4s ease;
  pointer-events: none;
}

.cam-pair-line.highlight {
  stroke: rgb(230 50 38 / 35%);
}

.cam-label {
  font-family: var(--mono);
  font-size: 7px;
  fill: var(--text-dim);
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.3s ease;
}

.cam-label.highlight {
  fill: var(--text);
}

.array-center-label {
  font-family: var(--mono);
  font-size: 8px;
  fill: var(--text-dim);
  text-anchor: middle;
  letter-spacing: 0.15em;
  transition: fill 0.3s ease;
}

.array-center-ring {
  fill: none;
  stroke: rgb(255 255 255 / 5%);
  stroke-width: 0.5;
  stroke-dasharray: 3 3;
  transition: stroke 0.3s ease;
}

.array-center-ring.flash {
  stroke: rgb(230 50 38 / 35%);
  stroke-width: 1;
}

.array-center-label.flash {
  fill: var(--accent);
}

.array-fov.active {
  stroke: rgb(230 50 38 / 20%);
  fill: rgb(230 50 38 / 7%);
}

.cam-node.active {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgb(230 50 38 / 60%));
}

.cam-pair-line.active {
  stroke: rgb(230 50 38 / 30%);
}

.cam-label.active {
  fill: var(--accent);
}

.coverage-ring {
  fill: none;
  stroke: rgb(230 50 38 / 20%);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.coverage-ring.complete {
  stroke: rgb(230 50 38 / 50%);
  stroke-width: 2;
  transition:
    stroke 0.2s,
    stroke-width 0.2s;
}

.coverage-pulse {
  fill: none;
  stroke: rgb(230 50 38 / 40%);
  stroke-width: 1.5;
  opacity: 0;
}

.pillar-content {
  position: relative;
  height: 360px;
}

.pillar-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pillar-tag {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.pillar-heading {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 24px;
}

.pillar-metrics {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pillar-m-val {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
}

.pillar-m-label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.analytics-page {
  padding: var(--space-lg) 48px;
  max-width: 1200px;
  margin: 0 auto;
}

#analytics .sec-tag {
  color: var(--cyan);
}

#analytics .sec-tag::before {
  background: var(--cyan);
}

.analytics-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.analytics-visual {
  order: 2;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgb(6 182 212 / 8%);
  background: rgb(6 182 212 / 2%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.analytics-visual.active {
  opacity: 1;
  transform: scale(1);
}

.analytics-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.analytics-cards {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analytics-card {
  padding: 24px 28px;
  background: rgb(10 10 15 / 80%);
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.analytics-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.analytics-card:hover,
.analytics-card.card-active {
  border-color: rgb(6 182 212 / 18%);
  background: rgb(6 182 212 / 4%);
}

.analytics-card:hover::after,
.analytics-card.card-active::after {
  opacity: 1;
}

.analytics-card:nth-child(2)::after {
  background: #e63226;
}

.analytics-card:nth-child(3)::after {
  background: #0891b2;
}

.analytics-card:nth-child(4)::after {
  background: #6366f1;
}

.analytics-card:nth-child(2):hover,
.analytics-card:nth-child(2).card-active {
  border-color: rgb(230 50 38 / 18%);
  background: rgb(230 50 38 / 4%);
}

.analytics-card:nth-child(3):hover,
.analytics-card:nth-child(3).card-active {
  border-color: rgb(8 145 178 / 18%);
  background: rgb(8 145 178 / 4%);
}

.analytics-card:nth-child(4):hover,
.analytics-card:nth-child(4).card-active {
  border-color: rgb(99 102 241 / 18%);
  background: rgb(99 102 241 / 4%);
}

.analytics-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.analytics-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.analytics-card-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.analytics-m-val {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
}

.analytics-card:nth-child(2) .analytics-m-val {
  color: #e63226;
}

.analytics-card:nth-child(3) .analytics-m-val {
  color: #0891b2;
}

.analytics-card:nth-child(4) .analytics-m-val {
  color: #6366f1;
}

.analytics-m-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-card-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.75;
}

.broadcast-page {
  padding: var(--space-lg) 48px;
  max-width: 1200px;
  margin: 0 auto;
}

#broadcast .sec-tag {
  color: var(--indigo);
}

#broadcast .sec-tag::before {
  background: var(--indigo);
}

.broadcast-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.broadcast-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgb(99 102 241 / 12%);
  background: rgb(5 5 12 / 95%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.broadcast-viewport.active {
  opacity: 1;
  transform: scale(1);
}

.broadcast-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.viewport-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.viewport-hud > div {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.hud-tl {
  top: 14px;
  left: 16px;
}

.hud-tr {
  top: 14px;
  right: 16px;
  text-align: right;
}

.hud-bl {
  bottom: 14px;
  left: 16px;
}

.hud-br {
  bottom: 14px;
  right: 16px;
  text-align: right;
}

.hud-label {
  display: block;
  color: rgb(99 102 241 / 60%);
  font-weight: 500;
}

.hud-value {
  display: block;
  color: rgb(255 255 255 / 40%);
  font-weight: 400;
}

.hud-live {
  color: var(--green);
  text-shadow: 0 0 8px rgb(34 197 94 / 40%);
}

.hud-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(99 102 241 / 15%);
  border-radius: 50%;
}

.hud-crosshair::before,
.hud-crosshair::after {
  content: '';
  position: absolute;
  background: rgb(99 102 241 / 15%);
}

.hud-crosshair::before {
  width: 1px;
  height: 14px;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
}

.hud-crosshair::after {
  width: 14px;
  height: 1px;
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
}

.viewport-rec {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: recBlink 2s ease-in-out infinite;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

@keyframes recBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.broadcast-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.broadcast-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgb(10 10 18 / 80%);
  border: 1px solid rgb(255 255 255 / 4%);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  transition: all 0.5s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.broadcast-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--indigo);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.broadcast-card:hover,
.broadcast-card.card-active {
  border-color: rgb(99 102 241 / 20%);
  background: rgb(99 102 241 / 4%);
}

.broadcast-card:hover::after,
.broadcast-card.card-active::after {
  opacity: 1;
}

.broadcast-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--indigo);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.broadcast-card:hover .broadcast-card-icon,
.broadcast-card.card-active .broadcast-card-icon {
  opacity: 1;
}

.broadcast-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.broadcast-card-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.7;
}

.production-page {
  padding: var(--space-lg) 48px;
  max-width: 1200px;
  margin: 0 auto;
}

#production .sec-tag {
  color: var(--green);
}

#production .sec-tag::before {
  background: var(--green);
}

.production-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  margin-bottom: var(--space-md);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgb(34 197 94 / 8%);
  background: rgb(34 197 94 / 1.5%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.production-visual-wrap.active {
  opacity: 1;
  transform: scale(1);
}

.production-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.production-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 35%);
  transition: opacity 0.6s ease;
  pointer-events: none;
  white-space: nowrap;
}

.production-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.production-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

.production-col-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.gain-icon {
  color: var(--green);
}

.change-icon {
  color: var(--orange);
}

.production-col-title {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.production-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.7;
  border-bottom: 1px solid rgb(255 255 255 / 2.5%);
}

.production-item:last-child {
  border-bottom: none;
}

.production-check {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(34 197 94 / 10%);
  margin-top: 2px;
}

.production-arrow {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pipeline-page {
  position: relative;
  padding: var(--space-lg) 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.pipeline-beam {
  position: relative;
  height: 3px;
  background: rgb(255 255 255 / 4%);
  border-radius: 2px;
  margin: var(--space-sm) 0 var(--space-md);
  overflow: hidden;
}

.pipeline-beam::after {
  content: '';
  position: absolute;
  width: 30%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--orange), transparent);
  animation: beamFlow 3s ease-in-out infinite;
  box-shadow:
    0 0 20px var(--accent),
    0 0 40px rgb(230 50 38 / 30%);
}

@keyframes beamFlow {
  0% {
    left: -30%;
  }

  100% {
    left: 100%;
  }
}

.pipeline-beam-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -28px;
  margin-bottom: var(--space-md);
}

.beam-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  position: relative;
}

.beam-label::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
}

.pip-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 28px 0;
  position: relative;
}

.pip-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 64px;
  bottom: -4px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.3;
  transition: opacity 0.6s ease;
}

.pip-step.pulse-active:not(:last-child)::after {
  opacity: 1;
}

.pip-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.pip-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgb(230 50 38 / 20%);
  background: rgb(230 50 38 / 3%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.5s var(--ease);
}

.pip-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: all 0.5s var(--ease);
  opacity: 0.5;
}

.pip-step.pulse-active .pip-dot {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgb(230 50 38 / 20%);
  background: rgb(230 50 38 / 8%);
}

.pip-step.pulse-active .pip-dot-inner {
  transform: scale(1.4);
  opacity: 1;
  box-shadow: 0 0 16px var(--accent);
}

.pip-num {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.pip-h {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pip-desc {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.8;
  max-width: 540px;
}

.pip-callout {
  margin-top: 12px;
  padding: 14px 18px;
  background: rgb(255 255 255 / 2%);
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: var(--text-sm);
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 540px;
}

.pip-callout strong {
  color: var(--text);
  font-weight: 500;
}

.latency-clock {
  margin-top: var(--space-md);
  padding: 28px 32px;
  background: rgb(255 255 255 / 2%);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.latency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  gap: 12px;
}

.latency-title {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.latency-total {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  transition:
    color 0.4s var(--ease),
    text-shadow 0.4s var(--ease);
  flex-shrink: 0;
  text-align: right;
}

.latency-total.climax {
  color: var(--green);
  text-shadow: 0 0 20px rgb(34 197 94 / 30%);
}

.latency-total .ms-unit {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 2px;
}

.latency-stages {
  display: flex;
  gap: 2px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.latency-bar-seg {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  cursor: default;
  transform-origin: left;
  transition:
    transform 0.8s var(--ease),
    opacity 0.3s ease,
    filter 0.3s ease;
}

.latency-bar-seg:hover {
  filter: brightness(1.3);
}

.latency-bar-seg .seg-time {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: rgb(255 255 255 / 70%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.latency-bar-seg:hover .seg-time {
  opacity: 1;
}

.latency-labels {
  display: flex;
  gap: 2px;
}

.latency-label-item {
  font-family: var(--mono);
  font-size: 0.5rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.05em;
}

.latency-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: rgb(255 255 255 / 40%);
  border-radius: 2px;
  filter: blur(1px);
  animation: latencyPulseMove 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes latencyPulseMove {
  0% {
    left: 0;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 4px);
    opacity: 0;
  }
}

.latency-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-left: 12px;
  opacity: 0;
  transition: opacity 0.6s ease;
  vertical-align: middle;
}

.latency-live-badge.active {
  opacity: 1;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 0.4;
    box-shadow: 0 0 4px var(--accent);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 12px var(--accent);
  }
}

.latency-traveler {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 3px;
  background: rgb(255 255 255 / 80%);
  border-radius: 2px;
  z-index: 10;
  opacity: 0;
  box-shadow:
    0 0 10px rgb(255 255 255 / 60%),
    0 0 20px rgb(255 255 255 / 20%);
  pointer-events: none;
  transition: left 0.05s linear;
}

.latency-bar-seg.stage-active {
  opacity: 1 !important;
  filter: brightness(1.5) saturate(1.2) !important;
}

.latency-bar-seg.stage-active .seg-time {
  opacity: 1;
}

.latency-bar-seg.stage-passed {
  opacity: 0.75 !important;
  filter: brightness(1) !important;
}

.latency-bar-seg.stage-pending {
  opacity: 0.35 !important;
  filter: brightness(0.65) !important;
}

.latency-frame-counter {
  text-align: center;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.frame-num {
  color: var(--text-sec);
  font-weight: 600;
}

.invest-page {
  padding: var(--space-lg) 48px;
  max-width: 960px;
  margin: 0 auto;
}

.build-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--space-md);
}

.build-card {
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
  transition: all 0.5s var(--ease);
  perspective: 800px;
}

.build-card:hover {
  background: linear-gradient(135deg, rgb(230 50 38 / 15%), rgb(255 255 255 / 4%));
}

.build-card-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 32px 40px;
  background: rgb(10 10 15 / 80%);
  backdrop-filter: blur(20px);
  border-radius: 19px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.15s ease-out,
    background 0.5s ease,
    backdrop-filter 0.5s ease;
}

.build-card-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.build-card:hover .build-card-inner::before {
  opacity: 1;
}

.build-card:nth-child(1) .build-card-inner::before {
  background: var(--accent);
}

.build-card:nth-child(2) .build-card-inner::before {
  background: var(--magenta);
}

.build-card:nth-child(3) .build-card-inner::before {
  background: var(--orange);
}

.build-card:nth-child(4) .build-card-inner::before {
  background: var(--green);
}

.build-card-label {
  font-size: 1.05rem;
  font-weight: 500;
}

.build-card-sub {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin-top: 5px;
  font-weight: 300;
}

.build-card-val {
  font-family: var(--mono);
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.build-total {
  text-align: center;
  padding: var(--space-md);
  position: relative;
  border-radius: 24px;
  border: 1px solid rgb(34 197 94 / 12%);
  overflow: hidden;
}

.build-total::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(34 197 94 / 4%), rgb(34 197 94 / 2%), transparent);
  pointer-events: none;
}

.build-total-label {
  font-size: var(--text-lg);
  font-weight: 500;
  position: relative;
  margin-bottom: 8px;
}

.build-total-val {
  font-family: var(--mono);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  position: relative;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
}

.build-total-sub {
  font-size: var(--text-sm);
  color: var(--text-sec);
  font-weight: 300;
  position: relative;
}

.next-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 48px var(--space-lg);
  position: relative;
}

.next-page::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(230 50 38 / 5%) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.next-tag {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.next-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 20%, #666 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.next-desc {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-sec);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.timeline {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  width: 100%;
  margin-bottom: var(--space-md);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(230 50 38 / 25%), transparent);
}

.timeline-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin: 11px auto 20px;
  box-shadow: 0 0 12px rgb(230 50 38 / 35%);
  position: relative;
}

.timeline-num {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}

.timeline-h {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-p {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 300;
}

.cta-btn {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  padding: 18px 56px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgb(230 50 38 / 20%);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgb(230 50 38 / 35%);
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgb(255 255 255 / 15%));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn:hover::after {
  opacity: 1;
}

.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta .cta-btn {
  padding: 14px 36px;
  font-size: 0.8rem;
  border-radius: 12px;
}

.nav-wordmark:hover {
  color: rgb(255 255 255 / 60%);
  text-shadow: 0 0 20px rgb(230 50 38 / 30%);
}

.pipeline-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ambient-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.build-card .card-shine {
  position: absolute;
  inset: 0;
  border-radius: 19px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.build-card:hover .card-shine {
  opacity: 1;
}

.svg-conn-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.svg-conn-path {
  fill: none;
  stroke: rgb(230 50 38 / 10%);
  stroke-width: 1;
  stroke-linecap: round;
}

body.scroll-fast .grain {
  opacity: 0.05;
  transition: opacity 0.2s ease;
}

body.scroll-fast .section-divider {
  height: 2px;
  box-shadow: 0 0 30px rgb(230 50 38 / 15%);
}

body.scroll-fast .bg-mesh {
  opacity: 0.6;
}

@media (width <= 1024px) {
  .analytics-showcase {
    grid-template-columns: 1fr;
  }

  .analytics-visual {
    min-height: 380px;
  }

  .broadcast-showcase {
    grid-template-columns: 1fr;
  }

  .broadcast-viewport {
    aspect-ratio: 16 / 9;
  }

  .production-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillar-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 clamp(20px, 4vw, 48px);
  }

  .pillar-visual-col {
    display: none;
  }

  .hero-metrics {
    flex-wrap: wrap;
    justify-content: center;
  }

  .timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    flex: 0 0 45%;
  }
}

@media (width <= 768px) {
  .floating-nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0;
  }

  .nav-pill {
    width: 100%;
    border-radius: 0;
    padding: 12px 20px;
    background: rgb(5 5 8 / 85%);
    border: none;
    border-bottom: 1px solid rgb(255 255 255 / 4%);
  }

  .nav-marker {
    width: 9px;
    height: 9px;
  }

  .nav-marker-label {
    display: none;
  }

  .nav-wordmark {
    display: none;
  }

  .nav-labs {
    display: none;
  }

  .labs-banner-desc {
    display: none;
  }

  .labs-banner-sep {
    display: none;
  }

  .hero {
    padding: 0 20px;
    justify-content: flex-start;
    padding-top: 12vh;
  }

  .venue-blueprint {
    width: 500px;
    height: 500px;
  }

  .hero-sports {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-sport {
    font-size: 0.55rem;
    padding: 5px 12px;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 12px;
  }

  .metric {
    padding: 18px 24px;
    flex: 1 1 calc(50% - 4px);
    border-radius: 12px !important;
  }

  .metric-val {
    font-size: 1.3rem;
  }

  .system-intro,
  .analytics-page,
  .broadcast-page,
  .production-page,
  .pipeline-page,
  .invest-page {
    padding: var(--space-md) 20px;
  }

  .production-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .production-visual-wrap {
    aspect-ratio: 4 / 3;
    max-height: 400px;
  }

  .broadcast-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .broadcast-card {
    padding: 18px 20px;
  }

  .analytics-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .analytics-visual {
    min-height: 360px;
  }

  .analytics-card {
    padding: 20px;
  }

  .analytics-card-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pillar-panel {
    grid-template-columns: 1fr !important;
    padding: 0 20px !important;
  }

  .pillar-visual-col {
    display: none !important;
  }

  .pillar-tabs {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pillar-tab {
    padding: 8px 14px;
    font-size: 0.6rem;
  }

  .pillar-content {
    height: 320px;
  }

  .pip-step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .pip-step:not(:last-child)::after {
    left: 14px;
    top: 60px;
  }

  .pip-dot {
    width: 28px;
    height: 28px;
  }

  .latency-clock {
    padding: 20px;
  }

  .latency-total {
    font-size: 1.1rem;
  }

  .latency-bar-seg .seg-time {
    font-size: 0.45rem;
    opacity: 1;
  }

  .latency-label-item {
    font-size: 0.4rem;
  }

  .build-card-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }

  .build-card-val {
    text-align: left;
  }

  .next-page {
    padding: var(--space-md) 20px;
  }

  .svg-conn-lines {
    display: none !important;
  }

  main {
    overflow: hidden;
  }

  .timeline-step {
    flex: 0 0 100%;
  }

  .cta-btn {
    padding: 16px 44px;
    font-size: 0.82rem;
    width: 100%;
    max-width: 340px;
    min-height: 48px;
  }

  .floating-cta {
    display: none !important;
  }

  #mainCta {
    opacity: 1 !important;
    transform: none !important;
  }

  .viewport-hud > div {
    font-size: 7px;
  }

  .hud-tl {
    top: 8px;
    left: 10px;
  }

  .hud-tr {
    top: 8px;
    right: 10px;
  }

  .hud-bl {
    bottom: 8px;
    left: 10px;
  }

  .hud-br {
    bottom: 8px;
    right: 10px;
  }

  .hud-crosshair {
    width: 32px;
    height: 32px;
  }

  .production-label {
    font-size: 8px;
    bottom: 10px;
  }

  .broadcast-visual-wrap {
    max-height: 380px;
  }

  .cursor-glow {
    display: none;
  }

  .particle:nth-child(n + 16) {
    display: none;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .scroll-line {
    height: 32px;
  }
}

@media (width <= 390px) {
  .metric {
    padding: 14px 18px;
  }

  .metric-val {
    font-size: 1.1rem;
  }

  .build-card-inner {
    padding: 24px 20px;
  }

  .production-visual-wrap {
    max-height: 320px;
  }

  .broadcast-visual-wrap {
    max-height: 300px;
  }

  .analytics-visual {
    min-height: 280px;
  }

  .hero-sport {
    font-size: 0.5rem;
    padding: 4px 10px;
  }

  .viewport-hud > div {
    font-size: 6px;
  }

  .hud-crosshair {
    display: none;
  }

  .pillar-tab {
    padding: 6px 10px;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }

  .pillar-content {
    height: 300px;
  }

  .interact-gate-label {
    font-size: 0.55rem;
    padding: 6px 14px;
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .hero,
  .system-intro,
  .analytics-page,
  .broadcast-page,
  .production-page,
  .pipeline-page,
  .invest-page,
  .next-page {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }

  .reveal,
  .reveal-scale,
  .word-reveal span {
    opacity: 1 !important;
    transform: none !important;
  }

  .pillar-slide {
    transition-duration: 0.2s !important;
  }
}

@media (hover: none) {
  .build-card:active {
    background: linear-gradient(135deg, rgb(230 50 38 / 12%), rgb(255 255 255 / 4%));
  }

  .nav-marker {
    width: 12px;
    height: 12px;
  }

  .nav-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }

  .pip-dot,
  .timeline-dot {
    min-width: 44px;
    min-height: 44px;
  }
}

.interact-gate {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.interact-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(5 5 8 / 40%);
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.interact-gate-label {
  position: relative;
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  background: rgb(5 5 8 / 80%);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.interact-gate:hover .interact-gate-label {
  border-color: var(--border-hover);
  color: var(--text-sec);
}

.interact-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgb(255 255 255 / 8%);
  border-radius: 3px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-legal-sep {
  color: var(--border-hover);
}
