/*
 * Nuraforce Liquid Lens V5 hero
 * Four chapters share one stage: launch, platform, product ecosystem, delivery.
 * The WebGL canvas remains the environmental backplate; all scene geometry is
 * transform-only HTML/SVG so the product story remains fast and accessible.
 */

:root {
  --v5-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v5-spring: cubic-bezier(0.34, 1.48, 0.54, 1);
  --v5-scene-fade: 560ms;
  --v5-stage-height: clamp(510px, calc(100svh - 174px), 610px);
  --v5-core-size: 164px;
  --v5-cube-size: 94px;
  --v5-perspective: 1050px;
}

.hero-v5 .hero__shell {
  grid-template-columns: minmax(420px, 0.84fr) minmax(590px, 1.16fr);
  gap: clamp(28px, 3.4vw, 58px);
}

.hero-v5 .hero__copy {
  max-width: 620px;
}

.hero-v5 h1 {
  max-width: 640px;
  letter-spacing: -0.068em;
}

.hero-v5 h1 span {
  background: linear-gradient(112deg, var(--text-primary) 2%, #b7b1ff 42%, #6de5ff 78%, #9cffce 112%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme="light"] .hero-v5 h1 span {
  background-image: linear-gradient(112deg, #17213c 2%, #5c4bd3 40%, #087f9b 78%, #087a50 112%);
}

.hero-v5 .hero__support {
  display: flex;
  margin-top: clamp(16px, 2.1vh, 24px);
}

.hero-stage-v5 {
  --glint-x: 68%;
  --glint-y: 15%;
  height: var(--v5-stage-height);
  min-height: 500px;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
}

.hero-stage-v5 .liquid-stage-canvas {
  opacity: 0.76;
}

.has-liquid-webgl .hero-stage-v5 .liquid-stage-canvas {
  opacity: 0.9;
}

.liquid-stage--v5 {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: 52px minmax(0, 1fr) 36px;
  transform: none !important;
}

.liquid-stage--v5::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at var(--glint-x) var(--glint-y), rgba(117, 232, 255, 0.15), transparent 27%),
    radial-gradient(circle at 48% 53%, rgba(112, 88, 255, 0.11), transparent 37%),
    linear-gradient(180deg, rgba(4, 8, 23, 0.08), rgba(4, 8, 23, 0.28));
  content: "";
  pointer-events: none;
}

.liquid-stage--v5 .liquid-stage__topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 7px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.liquid-stage--v5 .liquid-stage__topbar > span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.liquid-stage--v5 .liquid-stage__topbar > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-mint) 76%, transparent);
}

.liquid-stage--v5 .liquid-stage__topbar > strong {
  color: var(--text-tertiary);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 220ms ease, transform 420ms var(--v5-ease);
}

.hero-sequence__controls {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.hero-sequence__controls button {
  display: inline-flex;
  min-width: 0;
  min-height: 32px;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 0;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sequence__controls button:hover {
  color: var(--text-primary);
}

.hero-sequence__controls button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.hero-sequence__controls svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.hero-sequence__controls .sequence-icon--play {
  display: none;
}

.rocket-status,
.cube-focus,
.delivery-panel {
  isolation: isolate;
}

.rocket-status > *,
.cube-focus > *,
.delivery-panel > * {
  position: relative;
  z-index: 2;
}

.hero-stage-v5[data-sequence-mode="paused"] .sequence-icon--pause {
  display: none;
}

.hero-stage-v5[data-sequence-mode="paused"] .sequence-icon--play {
  display: block;
}

.liquid-stage--v5 .liquid-stage__footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: linear-gradient(180deg, transparent, rgba(4, 7, 19, 0.18));
}

.liquid-stage--v5 .liquid-stage__footer span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.liquid-stage--v5 .liquid-stage__footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-cyan) 72%, transparent);
}

.liquid-stage--v5 .liquid-stage__footer span:nth-child(1) i { background: var(--accent-mint); }
.liquid-stage--v5 .liquid-stage__footer span:nth-child(3) i { background: var(--accent-violet); }

/* Shared scene field */
.hero-sequence {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  perspective: var(--v5-perspective);
  perspective-origin: 50% 45%;
}

.hero-sequence::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 184, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 184, 255, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 48%, #000 7%, transparent 72%);
  content: "";
  opacity: 0.68;
  pointer-events: none;
}

.hero-sequence__atmosphere,
.hero-sequence__atmosphere i {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-sequence__atmosphere {
  z-index: 0;
  inset: 0;
}

.hero-sequence__atmosphere i:nth-child(1) {
  top: 13%;
  left: 15%;
  width: 43%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(119, 91, 255, 0.16), transparent 69%);
  animation: v5-atmosphere-a 12s ease-in-out infinite alternate;
}

.hero-sequence__atmosphere i:nth-child(2) {
  right: 9%;
  bottom: 7%;
  width: 38%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(53, 210, 255, 0.14), transparent 69%);
  animation: v5-atmosphere-b 14s ease-in-out infinite alternate;
}

.hero-sequence__atmosphere i:nth-child(3) {
  top: 48%;
  left: 52%;
  width: 68%;
  height: 28%;
  border: 1px solid rgba(126, 200, 255, 0.08);
  transform: translate(-50%, -50%) rotate(-9deg);
}

.hero-scene {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.965);
  transition:
    opacity var(--v5-scene-fade) ease,
    transform 760ms var(--v5-ease),
    visibility 0s linear var(--v5-scene-fade);
  visibility: hidden;
}

.hero-sequence[data-sequence-scene="rocket"] .hero-scene--rocket,
.hero-sequence[data-sequence-scene="stack"] .hero-scene--stack,
.hero-sequence[data-sequence-scene="cubes"] .hero-scene--cubes,
.hero-sequence[data-sequence-scene="production"] .hero-scene--production {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
  visibility: visible;
}

.hero-scene__caption {
  position: absolute;
  z-index: 12;
  top: 18px;
  left: 20px;
  display: grid;
  gap: 2px;
}

.hero-scene__caption span {
  color: var(--accent-cyan);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scene__caption strong {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: -0.015em;
}

/* Scene 1 — launch */
.hero-scene--rocket {
  --rocket-scene-duration: 6200ms;
}

.rocket-launch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-scene--rocket .rocket-corridor {
  position: absolute;
  z-index: 1;
  top: 60%;
  left: 50%;
  width: min(64%, 460px);
  aspect-ratio: 1;
  opacity: 0.32;
  transform: translate(-50%, -50%) rotateX(72deg);
  transform-style: preserve-3d;
}

.hero-scene--rocket .rocket-corridor::before,
.hero-scene--rocket .rocket-corridor i {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(110, 215, 255, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.hero-scene--rocket .rocket-corridor::before { width: 84%; height: 84%; border-style: dashed; }
.hero-scene--rocket .rocket-corridor i:nth-child(1) { width: 62%; height: 62%; }
.hero-scene--rocket .rocket-corridor i:nth-child(2) { width: 40%; height: 40%; border-color: rgba(149, 116, 255, 0.22); }
.hero-scene--rocket .rocket-corridor i:nth-child(3) { width: 17%; height: 17%; background: radial-gradient(circle, rgba(104, 229, 255, 0.15), transparent 68%); }

.hero-sequence[data-sequence-scene="rocket"] .rocket-corridor,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-corridor {
  animation: v5-corridor-live var(--rocket-scene-duration) ease both;
}

.hero-scene--rocket .rocket-flight {
  position: absolute;
  z-index: 6;
  top: 46%;
  left: 50%;
  width: 150px;
  height: 260px;
  transform: translate(-50%, -50%);
  transform-origin: 50% 58%;
}

.hero-scene--rocket .nura-rocket {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 22px 26px rgba(5, 8, 35, 0.4)) drop-shadow(0 0 14px rgba(87, 201, 255, 0.18));
}

.hero-scene--rocket .nura-rocket__highlight,
.hero-scene--rocket .nura-rocket__keel,
.hero-scene--rocket .nura-rocket__seam {
  fill: none;
  stroke-linecap: round;
}

.hero-scene--rocket .nura-rocket__highlight {
  stroke: rgba(255, 255, 255, 0.56);
  stroke-width: 1.5;
}

.hero-scene--rocket .nura-rocket__keel {
  stroke: rgba(171, 242, 255, 0.3);
  stroke-width: 1;
}

.hero-scene--rocket .nura-rocket__seam {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-linecap: round;
}

.hero-scene--rocket .nura-rocket__engine-rim {
  fill: rgba(139, 240, 255, 0.76);
  filter: drop-shadow(0 3px 5px rgba(87, 202, 255, 0.62));
}

.hero-scene--rocket .nura-rocket__brand {
  position: absolute;
  z-index: 5;
  top: 29.4%;
  left: 50%;
  width: 23%;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(28, 22, 112, 0.56));
  transform: translateX(-50%);
}

.hero-scene--rocket .rocket-exhaust {
  position: absolute;
  z-index: 2;
  top: 81.5%;
  left: 50%;
  width: 48%;
  height: 52%;
  opacity: 0.82;
  transform: translateX(-50%) scale(0.86, 0.76);
  transform-origin: 50% 0;
}

.hero-scene--rocket .rocket-engine-glow,
.hero-scene--rocket .rocket-flame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 0;
}

.hero-scene--rocket .rocket-engine-glow {
  z-index: 4;
  top: -10%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 255, 255, 0.98), rgba(95, 229, 255, 0.52) 27%, rgba(120, 83, 255, 0.25) 52%, transparent 72%);
  opacity: 0.76;
}

.hero-scene--rocket .rocket-flame {
  top: 2%;
  border-radius: 48% 48% 58% 58%;
  clip-path: polygon(13% 0, 87% 0, 69% 72%, 50% 100%, 31% 72%);
}

.hero-scene--rocket .rocket-flame--outer {
  z-index: 1;
  width: 62%;
  height: 100%;
  background: linear-gradient(180deg, rgba(205, 139, 255, 0.82), rgba(116, 67, 255, 0.72) 30%, rgba(78, 147, 255, 0.4) 62%, transparent 100%);
  filter: drop-shadow(0 8px 8px rgba(112, 71, 255, 0.38));
}

.hero-scene--rocket .rocket-flame--main {
  z-index: 2;
  width: 39%;
  height: 78%;
  background: linear-gradient(180deg, rgba(246, 253, 255, 0.96), rgba(126, 226, 255, 0.95) 24%, rgba(82, 135, 255, 0.72) 63%, rgba(109, 67, 255, 0.08) 100%);
  box-shadow: 0 0 12px rgba(92, 211, 255, 0.55);
}

.hero-scene--rocket .rocket-flame--core {
  z-index: 3;
  width: 17%;
  height: 53%;
  background: linear-gradient(180deg, #ffffff, rgba(206, 252, 255, 0.98) 38%, rgba(109, 226, 255, 0.18) 100%);
  box-shadow: 0 0 9px rgba(218, 252, 255, 0.84);
}

.hero-scene--rocket .rocket-smoke-v2 {
  --smoke-field-scale: 1;
  position: absolute;
  z-index: 5;
  top: 67%;
  left: 50%;
  width: 530px;
  height: 198px;
  isolation: isolate;
  pointer-events: none;
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(var(--smoke-field-scale));
  transform-origin: 50% 36%;
}

.hero-scene--rocket .rocket-smoke-v2__field {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-scene--rocket .rocket-smoke-v2__layer--rear {
  z-index: 1;
}

.hero-scene--rocket .rocket-smoke-v2__layer--mid {
  z-index: 2;
}

.hero-scene--rocket .rocket-smoke-v2__layer--plumes {
  z-index: 3;
}

.hero-scene--rocket .rocket-smoke-v2__layer--core {
  z-index: 4;
}

.hero-scene--rocket .rocket-smoke-v2__layer--wisps {
  z-index: 5;
}

.hero-scene--rocket .rocket-smoke-v2__bank--rear {
  transform-origin: 300px 185px;
  filter: drop-shadow(0 4px 14px rgba(45, 52, 95, 0.12));
}

.hero-scene--rocket .rocket-smoke-v2__bank--left {
  transform-origin: 205px 160px;
  filter: drop-shadow(0 2px 8px rgba(35, 42, 85, 0.14));
}

.hero-scene--rocket .rocket-smoke-v2__bank--right {
  transform-origin: 385px 150px;
  filter: drop-shadow(0 2px 8px rgba(35, 42, 85, 0.14));
}

.hero-scene--rocket .rocket-smoke-v2__crease {
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.hero-scene--rocket .rocket-smoke-v2__plume--left {
  transform-origin: 275px 105px;
  filter: drop-shadow(0 0 7px rgba(135, 235, 255, 0.28));
}

.hero-scene--rocket .rocket-smoke-v2__plume--right {
  transform-origin: 325px 110px;
  filter: drop-shadow(0 0 7px rgba(135, 235, 255, 0.24));
}

.hero-scene--rocket .rocket-smoke-v2__core {
  transform-origin: 300px 42px;
  filter: drop-shadow(0 0 12px rgba(115, 225, 255, 0.7));
}

.hero-scene--rocket .rocket-smoke-v2__core-glow {
  transform-origin: 300px 62px;
  mix-blend-mode: screen;
}

.hero-scene--rocket .rocket-smoke-v2__wisp--1 { transform-origin: 58px 116px; }
.hero-scene--rocket .rocket-smoke-v2__wisp--2 { transform-origin: 530px 100px; }
.hero-scene--rocket .rocket-smoke-v2__wisp--3 { transform-origin: 415px 32px; }
.hero-scene--rocket .rocket-smoke-v2__wisp--4 { transform-origin: 100px 192px; }
.hero-scene--rocket .rocket-smoke-v2__wisp--5 { transform-origin: 468px 58px; }

.hero-scene--rocket .rocket-trail {
  position: absolute;
  z-index: 3;
  top: 6%;
  left: 50%;
  width: 90px;
  height: 60%;
  transform: translateX(-50%);
}

.hero-scene--rocket .rocket-trail__beam {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(112, 213, 255, 0.48) 38%, rgba(146, 112, 255, 0.62) 72%, rgba(217, 251, 255, 0.82));
  box-shadow: 0 0 12px rgba(91, 207, 255, 0.46);
  opacity: 0.28;
  transform: translateX(-50%) scaleY(0.42);
  transform-origin: 50% 100%;
}

.hero-scene--rocket .rocket-trail i {
  --particle-delay: 2800ms;
  --particle-drift: 0px;
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(215, 252, 255, 0.92);
  box-shadow: 0 0 8px rgba(104, 218, 255, 0.72);
  opacity: 0;
}

.hero-scene--rocket .rocket-trail i:nth-of-type(1) { --particle-delay: 3300ms; --particle-drift: -20px; left: 36%; bottom: 16%; width: 5px; height: 5px; }
.hero-scene--rocket .rocket-trail i:nth-of-type(2) { --particle-delay: 3500ms; --particle-drift: 17px; left: 61%; bottom: 28%; }
.hero-scene--rocket .rocket-trail i:nth-of-type(3) { --particle-delay: 3700ms; --particle-drift: -12px; left: 43%; bottom: 43%; width: 3px; height: 3px; }
.hero-scene--rocket .rocket-trail i:nth-of-type(4) { --particle-delay: 3900ms; --particle-drift: 23px; left: 58%; bottom: 57%; width: 3px; height: 3px; }

.hero-sequence[data-sequence-scene="rocket"] .rocket-flight,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-flight {
  animation: v5-rocket-flight var(--rocket-scene-duration) linear both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-exhaust,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-exhaust {
  animation: v5-rocket-thrust var(--rocket-scene-duration) ease-in both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-flame--outer,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-flame--outer {
  animation: v5-flame-outer 150ms ease-in-out infinite alternate;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-flame--main,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-flame--main {
  animation: v5-flame-main 115ms ease-in-out infinite alternate-reverse;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-flame--core,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-flame--core {
  animation: v5-flame-core 86ms ease-in-out infinite alternate;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-engine-glow,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-engine-glow {
  animation: v5-engine-glow 260ms ease-in-out infinite alternate;
}

.hero-sequence[data-sequence-scene="rocket"] .nura-rocket__engine-rim,
.hero-sequence[data-sequence-outgoing="rocket"] .nura-rocket__engine-rim {
  animation: v5-engine-rim var(--rocket-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2 {
  animation: v5-smoke-v2-field var(--rocket-scene-duration) linear both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__bank--rear,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__bank--rear {
  animation: v5-smoke-v2-rear var(--rocket-scene-duration) cubic-bezier(0.18, 0.7, 0.24, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__bank--left,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__bank--left {
  animation: v5-smoke-v2-mid-left var(--rocket-scene-duration) cubic-bezier(0.18, 0.7, 0.24, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__bank--right,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__bank--right {
  animation: v5-smoke-v2-mid-right var(--rocket-scene-duration) cubic-bezier(0.18, 0.7, 0.24, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__plume--left,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__plume--left {
  animation: v5-smoke-v2-plume-left var(--rocket-scene-duration) cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__plume--right,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__plume--right {
  animation: v5-smoke-v2-plume-right var(--rocket-scene-duration) cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__core,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__core {
  animation: v5-smoke-v2-core var(--rocket-scene-duration) cubic-bezier(0.15, 0.8, 0.25, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__core-glow,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__core-glow {
  animation: v5-smoke-v2-core-glow var(--rocket-scene-duration) cubic-bezier(0.15, 0.8, 0.25, 1) both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__wisp--1,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__wisp--1 {
  animation: v5-smoke-v2-wisp-1 var(--rocket-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__wisp--2,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__wisp--2 {
  animation: v5-smoke-v2-wisp-2 var(--rocket-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__wisp--3,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__wisp--3 {
  animation: v5-smoke-v2-wisp-3 var(--rocket-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__wisp--4,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__wisp--4 {
  animation: v5-smoke-v2-wisp-4 var(--rocket-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-smoke-v2__wisp--5,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-smoke-v2__wisp--5 {
  animation: v5-smoke-v2-wisp-5 var(--rocket-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-trail__beam,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-trail__beam {
  animation: v5-rocket-trail var(--rocket-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-trail i,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-trail i {
  animation: v5-rocket-particle 1900ms ease-in var(--particle-delay) both;
}

.hero-scene--rocket .rocket-status {
  --lens-blur: 8px;
  position: absolute;
  z-index: 8;
  bottom: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 8px;
  align-items: center;
  width: min(310px, calc(100% - 42px));
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 8px;
  transform: translateX(-50%);
}

.hero-scene--rocket .rocket-status > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
}

.hero-scene--rocket .rocket-status b {
  color: var(--accent-mint);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-sequence[data-sequence-scene="rocket"] .rocket-status,
.hero-sequence[data-sequence-outgoing="rocket"] .rocket-status {
  animation: v5-status-in var(--rocket-scene-duration) var(--v5-ease) both;
}

/* Scene 2 — Nuraforce Connected Platform */
.hero-scene--stack {
  --stack-scene-duration: 5400ms;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.platform-connect {
  position: relative;
  width: min(840px, 94%);
  height: min(440px, 92%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optical Strike FX */
.platform-strike-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, rgba(180, 235, 255, 0.95) 25%, rgba(0, 180, 255, 0.4) 55%, transparent 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.platform-strike-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 50%;
  border: 2px solid rgba(130, 230, 255, 0.9);
  box-shadow: 0 0 24px rgba(0, 220, 255, 0.6), inset 0 0 18px rgba(160, 100, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 19;
}

/* Core Node Stage & Brand Assembly */
.platform-core-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.platform-core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 154px;
  height: 154px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
}

.platform-orb-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), rgba(60, 130, 255, 0.08) 55%, rgba(160, 60, 255, 0.06) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.35),
    inset -3px -3px 8px rgba(4, 8, 28, 0.35),
    0 16px 36px rgba(3, 7, 24, 0.32),
    0 0 28px rgba(0, 210, 255, 0.25);
  opacity: 0;
  transform: scale(0.85);
}

.platform-orb-specular {
  position: absolute;
  top: 14px;
  left: 24px;
  width: 44px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(-32deg);
  pointer-events: none;
}

.platform-orb-inner-glow {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.platform-orb-tracer {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  pointer-events: none;
  overflow: visible;
  transform: rotate(-90deg);
}

.platform-orb-tracer-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5px;
}

.platform-orb-tracer-path {
  fill: none;
  stroke: var(--accent-cyan, #00f0ff);
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-dasharray: 453;
  stroke-dashoffset: 453;
  filter: drop-shadow(0 0 8px rgba(0, 230, 255, 0.85));
}

.platform-bolt-assembly {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-bolt-part {
  position: absolute;
  width: 96px;
  height: 84px;
  overflow: visible;
}

.platform-bolt-part--upper {
  clip-path: polygon(-1.3% -1.49%, 101.3% -1.49%, 101.3% 28.27%, 79.01% 28.27%, 70.4% 36.46%, 63.36% 36.46%, 59.32% 36.46%, 51.11% 50%, 34.94% 53.57%, 19.56% 71.43%, -1.3% 71.43%, -1.3% -1.49%);
  -webkit-clip-path: polygon(-1.3% -1.49%, 101.3% -1.49%, 101.3% 28.27%, 79.01% 28.27%, 70.4% 36.46%, 63.36% 36.46%, 59.32% 36.46%, 51.11% 50%, 34.94% 53.57%, 19.56% 71.43%, -1.3% 71.43%, -1.3% -1.49%);
}

.platform-bolt-part--lower {
  clip-path: polygon(-1.3% 77.38%, 19.56% 77.38%, 33.9% 63.99%, 46.94% 58.04%, 58.67% 50.6%, 65.19% 40.18%, 76.92% 28.27%, 101.3% 28.27%, 101.3% 101.49%, -1.3% 101.49%, -1.3% 77.38%);
  -webkit-clip-path: polygon(-1.3% 77.38%, 19.56% 77.38%, 33.9% 63.99%, 46.94% 58.04%, 58.67% 50.6%, 65.19% 40.18%, 76.92% 28.27%, 101.3% 28.27%, 101.3% 101.49%, -1.3% 101.49%, -1.3% 77.38%);
}

.platform-bolt-trail {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.platform-bolt-trail--upper {
  top: -12px;
  right: -18px;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d2ff);
  transform: rotate(-35deg);
  box-shadow: 0 0 10px #00d2ff;
}

.platform-bolt-trail--lower {
  bottom: -12px;
  left: -18px;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, transparent);
  transform: rotate(-35deg);
  box-shadow: 0 0 10px #a855f7;
}

.platform-bolt-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-bolt-full {
  position: absolute;
  width: 96px;
  height: 84px;
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(0, 180, 255, 0.45));
}

/* SVG Connector Links */
.platform-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.platform-link-stem {
  fill: none;
  stroke: rgba(100, 210, 255, 0.55);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.6));
}

.platform-link-spine {
  fill: none;
  stroke: rgba(120, 180, 255, 0.55);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  filter: drop-shadow(0 0 6px rgba(100, 160, 255, 0.5));
}

.platform-link-branch {
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
}

.platform-link-branch--1 { stroke: rgba(0, 240, 255, 0.65); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6)); }
.platform-link-branch--2 { stroke: rgba(0, 255, 170, 0.65); filter: drop-shadow(0 0 6px rgba(0, 255, 170, 0.6)); }
.platform-link-branch--3 { stroke: rgba(176, 85, 255, 0.65); filter: drop-shadow(0 0 6px rgba(176, 85, 255, 0.6)); }
.platform-link-branch--4 { stroke: rgba(99, 102, 241, 0.65); filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.6)); }

.platform-link-pulse {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-dasharray: 28 200;
  stroke-dashoffset: 200;
  filter: drop-shadow(0 0 10px #00f0ff) drop-shadow(0 0 16px #ffffff);
  opacity: 0;
}

/* 4 Connected Liquid Glass Cards */
.platform-cards-stack {
  position: absolute;
  left: calc(50% + 20px);
  top: 15px;
  bottom: 15px;
  width: min(340px, 46%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 12;
  pointer-events: auto;
}

.platform-card-v2 {
  position: relative;
  width: 100%;
  height: 78px;
  border-radius: 18px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.2),
    inset -2px -2px 6px rgba(4, 8, 24, 0.2),
    0 14px 32px rgba(3, 7, 24, 0.24);
  display: flex;
  align-items: center;
  padding: 0 16px;
  opacity: 0;
  transform: translateX(36px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.platform-card-v2:hover {
  transform: translateX(-4px) scale(1.02);
  border-color: rgba(100, 220, 255, 0.38);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    0 18px 40px rgba(0, 160, 255, 0.18);
}

.platform-card-anchor {
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent-cyan, #00f0ff);
  box-shadow: 0 0 10px var(--accent-cyan, #00f0ff);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.platform-card-v2--2 .platform-card-anchor { background: var(--accent-mint, #00ffaa); box-shadow: 0 0 10px var(--accent-mint, #00ffaa); }
.platform-card-v2--3 .platform-card-anchor { background: var(--accent-purple, #b055ff); box-shadow: 0 0 10px var(--accent-purple, #b055ff); }
.platform-card-v2--4 .platform-card-anchor { background: var(--accent-indigo, #6366f1); box-shadow: 0 0 10px var(--accent-indigo, #6366f1); }

.platform-card-body {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.platform-card-icon-wrap {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.platform-card-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan, #00f0ff);
}

.platform-card-v2--2 .platform-card-icon { stroke: var(--accent-mint, #00ffaa); }
.platform-card-v2--3 .platform-card-icon { stroke: var(--accent-purple, #b055ff); }
.platform-card-v2--4 .platform-card-icon { stroke: var(--accent-indigo, #6366f1); }

.platform-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.platform-card-subtitle {
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.platform-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.platform-card-dot--cyan { background: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.platform-card-dot--mint { background: #00ffaa; box-shadow: 0 0 8px #00ffaa; }
.platform-card-dot--purple { background: #b055ff; box-shadow: 0 0 8px #b055ff; }
.platform-card-dot--indigo { background: #6366f1; box-shadow: 0 0 8px #6366f1; }

.platform-card-chevron {
  width: 10px;
  height: 10px;
  color: var(--text-tertiary);
}

/* Scene 02 Sequence Trigger Animations */
.hero-sequence[data-sequence-scene="stack"] .platform-bolt-part--upper,
.hero-sequence[data-sequence-outgoing="stack"] .platform-bolt-part--upper {
  animation: v5-bolt-upper-strike var(--stack-scene-duration) var(--v5-ease) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-bolt-part--lower,
.hero-sequence[data-sequence-outgoing="stack"] .platform-bolt-part--lower {
  animation: v5-bolt-lower-strike var(--stack-scene-duration) var(--v5-ease) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-strike-flash,
.hero-sequence[data-sequence-outgoing="stack"] .platform-strike-flash {
  animation: v5-strike-flash var(--stack-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-strike-wave,
.hero-sequence[data-sequence-outgoing="stack"] .platform-strike-wave {
  animation: v5-strike-wave var(--stack-scene-duration) ease-out both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-bolt-full,
.hero-sequence[data-sequence-outgoing="stack"] .platform-bolt-full {
  animation: v5-bolt-full-reveal var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-orb-tracer-path,
.hero-sequence[data-sequence-outgoing="stack"] .platform-orb-tracer-path {
  animation: v5-circle-tracer var(--stack-scene-duration) cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-orb-glass,
.hero-sequence[data-sequence-outgoing="stack"] .platform-orb-glass {
  animation: v5-glass-membrane-in var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-core-node,
.hero-sequence[data-sequence-outgoing="stack"] .platform-core-node {
  animation: v5-core-node-move var(--stack-scene-duration) cubic-bezier(0.2, 0, 0.2, 1) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-stem,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-stem {
  animation: v5-stem-grow var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-spine,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-spine {
  animation: v5-spine-grow var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-branch--1,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-branch--1 {
  animation: v5-branch-1 var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-branch--2,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-branch--2 {
  animation: v5-branch-2 var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-branch--3,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-branch--3 {
  animation: v5-branch-3 var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-branch--4,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-branch--4 {
  animation: v5-branch-4 var(--stack-scene-duration) ease both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-card-v2--1,
.hero-sequence[data-sequence-outgoing="stack"] .platform-card-v2--1 {
  animation: v5-card-1-reveal var(--stack-scene-duration) var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-card-v2--2,
.hero-sequence[data-sequence-outgoing="stack"] .platform-card-v2--2 {
  animation: v5-card-2-reveal var(--stack-scene-duration) var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-card-v2--3,
.hero-sequence[data-sequence-outgoing="stack"] .platform-card-v2--3 {
  animation: v5-card-3-reveal var(--stack-scene-duration) var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-card-v2--4,
.hero-sequence[data-sequence-outgoing="stack"] .platform-card-v2--4 {
  animation: v5-card-4-reveal var(--stack-scene-duration) var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="stack"] .platform-link-pulse,
.hero-sequence[data-sequence-outgoing="stack"] .platform-link-pulse {
  animation: v5-pulse-sweep var(--stack-scene-duration) ease-in-out both;
}

/* Scene 3 — primary six-cube product ecosystem */
.cube-world {
  position: absolute;
  z-index: 4;
  inset: 0;
  perspective: var(--v5-perspective);
  perspective-origin: 50% 45%;
  transform-style: preserve-3d;
}

.cube-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  border: 1px solid rgba(107, 205, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}

.cube-orbit--outer {
  width: 490px;
  height: 310px;
  border-style: dashed;
  box-shadow: inset 0 0 36px rgba(97, 107, 255, 0.05), 0 0 24px rgba(72, 197, 255, 0.06);
}

.cube-orbit--inner {
  width: 320px;
  height: 202px;
  border-color: rgba(146, 122, 255, 0.13);
}

.cube-signals {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96%, 760px);
  height: min(96%, 520px);
  overflow: visible;
  transform: translate(-50%, -50%);
}

.cube-signals path {
  fill: none;
  stroke: rgba(101, 215, 255, 0.16);
  stroke-dasharray: 3 8;
  stroke-width: 1.2;
}

.cube-signals circle {
  fill: rgba(131, 226, 255, 0.76);
  filter: drop-shadow(0 0 7px rgba(108, 226, 255, 0.8));
}

.ecosystem-cube {
  --cube-size: var(--v5-cube-size);
  --half: calc(var(--cube-size) / 2);
  position: absolute;
  top: 49%;
  left: 50%;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
}

.ecosystem-cube--core {
  --cube-size: var(--v5-core-size);
  z-index: 6;
  transform: translate(-50%, -50%) translate3d(0, -4px, 38px);
}

.ecosystem-cube--product {
  z-index: 3;
  opacity: var(--slot-opacity, 0.8);
  transform:
    translate(-50%, -50%)
    translate3d(var(--slot-x, 0px), var(--slot-y, 0px), var(--slot-z, 0px))
    scale(var(--slot-scale, 0.8));
  transition:
    transform 920ms var(--v5-ease),
    opacity 720ms ease;
}

.ecosystem-cube--product[data-orbit-slot="0"] {
  --slot-x: 168px;
  --slot-y: 112px;
  --slot-z: 180px;
  --slot-scale: 1.16;
  --slot-opacity: 1;
  --slot-saturation: 1.12;
  z-index: 10;
}

.ecosystem-cube--product[data-orbit-slot="1"] {
  --slot-x: 203px;
  --slot-y: -72px;
  --slot-z: 42px;
  --slot-scale: 0.91;
  --slot-opacity: 0.82;
  z-index: 5;
}

.ecosystem-cube--product[data-orbit-slot="2"] {
  --slot-x: 18px;
  --slot-y: -142px;
  --slot-z: -126px;
  --slot-scale: 0.7;
  --slot-opacity: 0.52;
  --slot-blur: 0.45px;
  --slot-saturation: 0.82;
  z-index: 1;
}

.ecosystem-cube--product[data-orbit-slot="3"] {
  --slot-x: -193px;
  --slot-y: -76px;
  --slot-z: -70px;
  --slot-scale: 0.76;
  --slot-opacity: 0.62;
  --slot-blur: 0.3px;
  --slot-saturation: 0.86;
  z-index: 2;
}

.ecosystem-cube--product[data-orbit-slot="4"] {
  --slot-x: -166px;
  --slot-y: 104px;
  --slot-z: 76px;
  --slot-scale: 0.94;
  --slot-opacity: 0.88;
  z-index: 7;
}

.ecosystem-cube__form {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateX(-14deg) rotateY(27deg);
  transform-style: preserve-3d;
}

.ecosystem-cube--core .ecosystem-cube__form {
  animation: v5-core-float 7s ease-in-out infinite alternate;
}

.ecosystem-cube--product .ecosystem-cube__form {
  animation: v5-product-float 6.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--cube-order, 0) * -760ms);
}

.ecosystem-cube__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22%;
  backface-visibility: hidden;
  background:
    radial-gradient(90% 72% at 18% 9%, rgba(255, 255, 255, 0.25), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(var(--cube-accent, 103, 208, 255), 0.055) 44%, rgba(87, 71, 193, 0.12));
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.32),
    inset -3px -3px 8px rgba(1, 4, 18, 0.28),
    0 0 22px rgba(var(--cube-accent, 103, 208, 255), 0.08);
}

.ecosystem-cube__face--front {
  transform: translateZ(var(--half));
}

.ecosystem-cube__face--right {
  background:
    radial-gradient(circle at 20% 16%, rgba(var(--cube-accent, 103, 208, 255), 0.15), transparent 42%),
    linear-gradient(155deg, rgba(89, 80, 190, 0.14), rgba(22, 33, 76, 0.2));
  transform: rotateY(90deg) translateZ(var(--half));
}

.ecosystem-cube__face--top {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(var(--cube-accent, 103, 208, 255), 0.09) 48%, rgba(82, 71, 191, 0.08));
  transform: rotateX(90deg) translateZ(var(--half));
}

.ecosystem-cube__face--front::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from 205deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.12) 16%, transparent 34%, rgba(var(--cube-accent, 103, 208, 255), 0.48) 51%, transparent 68%, rgba(161, 105, 255, 0.34) 83%, rgba(255, 255, 255, 0.75));
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ecosystem-cube__face--front::after {
  position: absolute;
  top: -45%;
  left: -75%;
  width: 48%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
  opacity: 0.7;
  transform: rotate(20deg);
}

.hero-sequence[data-sequence-scene="cubes"] .ecosystem-cube__face--front::after {
  animation: v5-cube-caustic 5.8s ease-in-out infinite;
}

.ecosystem-cube__form::after {
  position: absolute;
  inset: 21%;
  border-radius: 34%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.38), rgba(var(--cube-accent, 103, 208, 255), 0.12) 34%, rgba(111, 82, 255, 0.08) 58%, transparent 72%);
  content: "";
  filter: blur(8px);
  pointer-events: none;
  transform: translateZ(4px);
}

.ecosystem-cube__content {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: grid;
  gap: 3px;
  align-content: center;
  justify-items: center;
  padding: 9px;
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(4, 7, 24, 0.58);
  transform: translateZ(calc(var(--half) + 1px));
  transform-style: preserve-3d;
}

.ecosystem-cube__content svg {
  width: 25px;
  height: 25px;
  margin-bottom: 3px;
  fill: none;
  stroke: rgb(var(--cube-accent, 110, 225, 255));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(var(--cube-accent, 110, 225, 255), 0.44));
}

.ecosystem-cube__content strong {
  max-width: 92%;
  font-size: 9px;
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.ecosystem-cube__content small {
  color: rgba(235, 242, 255, 0.72);
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.05em;
}

.ecosystem-cube__content--core {
  gap: 5px;
  padding: 16px;
}

.ecosystem-cube__content--core > span {
  color: rgba(224, 236, 255, 0.72);
  font-size: 7px;
  font-weight: 840;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ecosystem-cube__content--core > small {
  color: white;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cube-brand {
  width: 66px;
  height: auto;
  filter: drop-shadow(0 7px 14px rgba(41, 35, 132, 0.5));
}

.cube-brand--light { display: none; }

.ecosystem-cube__shadow {
  position: absolute;
  z-index: -1;
  right: -42%;
  bottom: -48%;
  left: -22%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--cube-accent, 79, 150, 255), 0.24), rgba(4, 6, 20, 0.2) 43%, transparent 72%);
  filter: blur(10px);
  transform: rotateX(72deg) translateZ(-30px);
}

.cube-focus {
  --lens-blur: 7px;
  position: absolute;
  z-index: 18;
  bottom: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto auto 7px;
  gap: 8px;
  align-items: center;
  min-width: 205px;
  padding: 8px 12px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.cube-focus span {
  color: var(--text-tertiary);
  font-size: 6px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cube-focus strong {
  color: var(--text-primary);
  font-size: 8px;
  white-space: nowrap;
}

.cube-focus > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-sequence[data-sequence-scene="cubes"] .ecosystem-cube--core {
  animation: v5-core-arrive 820ms var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="cubes"] .ecosystem-cube--product {
  animation: v5-satellite-arrive 760ms var(--v5-spring) calc(var(--cube-order, 0) * 80ms) both;
}

/* Scene 4 — idea to production */
.delivery-system {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(92%, 650px);
  grid-template-columns: minmax(0, 1.08fr) 66px minmax(190px, 0.82fr);
  gap: 14px;
  align-items: center;
  transform: translate(-50%, -48%);
}

.delivery-panel {
  --lens-blur: 12px;
  min-width: 0;
  overflow: hidden;
  border-radius: 25px;
  background-color: rgba(10, 14, 32, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 24px 45px rgba(1, 4, 18, 0.24) !important;
}

.delivery-panel--code {
  height: 274px;
}

.delivery-panel__bar {
  display: grid;
  height: 40px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.delivery-panel__bar > span {
  display: flex;
  gap: 4px;
}

.delivery-panel__bar > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.delivery-panel__bar > span i:nth-child(1) { background: #ff8aa5; }
.delivery-panel__bar > span i:nth-child(2) { background: #ffd77b; }
.delivery-panel__bar > span i:nth-child(3) { background: #8effc5; }

.delivery-panel__bar small,
.delivery-panel__bar b {
  color: var(--text-tertiary);
  font-size: 7px;
  font-weight: 760;
}

.delivery-panel__bar b {
  justify-self: end;
  color: var(--accent-mint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.code-editor {
  display: grid;
  gap: 7px;
  padding: 20px 17px 16px;
  color: #cbd5ee;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  line-height: 1.2;
}

.code-editor span {
  opacity: 0.84;
}

.code-editor span i {
  display: inline-block;
  width: 24px;
  color: rgba(179, 194, 225, 0.36);
  font-style: normal;
}

.code-editor span b {
  color: #a99fff;
  font-weight: 700;
}

.build-console {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(145, 255, 203, 0.13);
  border-radius: 13px;
  background: rgba(5, 10, 23, 0.38);
  color: var(--text-secondary);
  font-size: 7px;
}

.build-console > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
}

.build-console strong { color: var(--accent-mint); }

.delivery-route {
  position: relative;
  height: 12px;
}

.delivery-route::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(103, 223, 255, 0.42);
  content: "";
}

.delivery-route span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan);
  transform: translateY(-50%);
}

.delivery-route > i {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(159, 232, 255, 0.72);
  transform: translateY(-50%);
}

.delivery-route > i:nth-of-type(1) { left: 26%; }
.delivery-route > i:nth-of-type(2) { left: 52%; }
.delivery-route > i:nth-of-type(3) { left: 78%; }

.delivery-panel--checklist {
  min-height: 300px;
  padding: 14px;
}

.delivery-checklist__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 1px 12px;
}

.delivery-checklist__head span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--text-primary);
  font-size: 9px;
  font-weight: 780;
}

.delivery-checklist__head span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.delivery-checklist__head b {
  padding: 4px 7px;
  border: 1px solid rgba(145, 255, 203, 0.16);
  border-radius: 999px;
  color: var(--accent-mint);
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-panel ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.delivery-panel li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.delivery-panel li > i {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(145, 255, 203, 0.22);
  border-radius: 8px;
  background: rgba(82, 224, 161, 0.09);
  color: var(--accent-mint);
  font-size: 10px;
  font-style: normal;
  place-items: center;
}

.delivery-panel li span {
  display: grid;
  gap: 1px;
}

.delivery-panel li strong { color: var(--text-secondary); font-size: 8px; }
.delivery-panel li small { color: var(--text-tertiary); font-size: 6px; }

.production-signal {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 9px;
  align-items: center;
  margin-top: 11px;
  padding: 9px;
  border: 1px solid rgba(102, 226, 255, 0.13);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(75, 110, 255, 0.09), rgba(62, 213, 255, 0.06));
}

.production-signal > span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 255, 203, 0.42), rgba(66, 209, 168, 0.11) 48%, transparent 52%);
  place-items: center;
}

.production-signal > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 14px var(--accent-mint);
}

.production-signal div { display: grid; }
.production-signal small { color: var(--text-tertiary); font-size: 6px; }
.production-signal strong { color: var(--text-primary); font-size: 9px; }
.production-signal > b { color: var(--accent-cyan); font-size: 16px; }

.hero-sequence[data-sequence-scene="production"] .delivery-panel--code {
  animation: v5-code-panel-in 840ms var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="production"] .delivery-panel--checklist {
  animation: v5-checklist-in 840ms var(--v5-spring) 180ms both;
}

.hero-sequence[data-sequence-scene="production"] .code-editor span {
  animation: v5-code-line-in 420ms var(--v5-ease) both;
}

.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(1) { animation-delay: 480ms; }
.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(2) { animation-delay: 590ms; }
.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(3) { animation-delay: 700ms; }
.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(4) { animation-delay: 810ms; }
.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(5) { animation-delay: 920ms; }
.hero-sequence[data-sequence-scene="production"] .code-editor span:nth-child(6) { animation-delay: 1030ms; }

.hero-sequence[data-sequence-scene="production"] .delivery-route span {
  animation: v5-payload-route 2.05s var(--v5-ease) 850ms both;
}

.hero-sequence[data-sequence-scene="production"] .delivery-panel li {
  animation: v5-check-in 420ms var(--v5-spring) both;
}

.hero-sequence[data-sequence-scene="production"] .delivery-panel li:nth-child(1) { animation-delay: 1120ms; }
.hero-sequence[data-sequence-scene="production"] .delivery-panel li:nth-child(2) { animation-delay: 1460ms; }
.hero-sequence[data-sequence-scene="production"] .delivery-panel li:nth-child(3) { animation-delay: 1800ms; }
.hero-sequence[data-sequence-scene="production"] .delivery-panel li:nth-child(4) { animation-delay: 2140ms; }

.hero-sequence[data-sequence-scene="production"] .production-signal {
  animation: v5-production-live 620ms var(--v5-spring) 2500ms both;
}

.hero-stage-v5[data-sequence-mode="waiting"] .hero-sequence *,
.hero-stage-v5[data-sequence-mode="paused"] .hero-sequence *,
.hero-stage-v5[data-sequence-suspended] .hero-sequence *,
.is-page-hidden .hero-sequence * {
  animation-play-state: paused !important;
}

/* Theme refinements */
:root[data-theme="light"] .liquid-stage--v5::before {
  background:
    radial-gradient(circle at var(--glint-x) var(--glint-y), rgba(255, 255, 255, 0.68), transparent 28%),
    radial-gradient(circle at 48% 53%, rgba(97, 83, 220, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.04), rgba(176, 197, 231, 0.12));
}

:root[data-theme="light"].has-liquid-webgl .hero-stage-v5 .liquid-stage-canvas {
  opacity: 0.45;
}

:root[data-theme="light"] .hero-v5 .hero__support strong {
  color: var(--text-primary);
}

:root[data-theme="light"] .hero-v5 .hero__support p {
  color: var(--text-secondary);
}

:root[data-theme="light"] .hero-sequence::before {
  background-image:
    linear-gradient(rgba(36, 72, 119, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 72, 119, 0.06) 1px, transparent 1px);
}

:root[data-theme="light"] .ecosystem-cube__face {
  border-color: rgba(80, 94, 151, 0.28);
  background:
    radial-gradient(90% 72% at 18% 9%, rgba(255, 255, 255, 0.98), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(var(--cube-accent, 70, 165, 220), 0.17) 48%, rgba(91, 72, 191, 0.13));
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.95),
    inset -3px -3px 9px rgba(47, 77, 118, 0.2),
    0 17px 32px rgba(67, 86, 130, 0.18);
}

:root[data-theme="light"] .ecosystem-cube__face--right {
  background: linear-gradient(155deg, rgba(221, 229, 255, 0.68), rgba(91, 105, 174, 0.22));
}

:root[data-theme="light"] .ecosystem-cube__face--top {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(var(--cube-accent, 70, 165, 220), 0.22));
}

:root[data-theme="light"] .ecosystem-cube__content {
  color: #14203c;
  text-shadow: 0 1px 7px rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .ecosystem-cube__content small,
:root[data-theme="light"] .ecosystem-cube__content--core > span {
  color: rgba(28, 44, 75, 0.68);
}

:root[data-theme="light"] .ecosystem-cube__content--core > small { color: #17213c; }
:root[data-theme="light"] .cube-brand--dark { display: none; }
:root[data-theme="light"] .cube-brand--light { display: block; }

:root[data-theme="light"] .platform-card-v2 {
  border-color: rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(220, 235, 255, 0.45) 50%, rgba(230, 220, 255, 0.3));
  box-shadow:
    inset 1.5px 1.5px 2px rgba(255, 255, 255, 1),
    inset -1px -1px 3px rgba(100, 130, 180, 0.12),
    0 16px 36px rgba(50, 70, 120, 0.08);
}

:root[data-theme="light"] .platform-card-icon-wrap {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(200, 220, 245, 0.6);
  box-shadow: 0 2px 6px rgba(50, 70, 120, 0.06);
}

:root[data-theme="light"] .platform-card-title {
  color: #0f172a;
}

:root[data-theme="light"] .platform-card-subtitle {
  color: #475569;
}

:root[data-theme="light"] .platform-card-status {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(200, 220, 245, 0.7);
}

:root[data-theme="light"] .platform-card-v2--1 .platform-card-icon { stroke: #0284c7; }
:root[data-theme="light"] .platform-card-v2--2 .platform-card-icon { stroke: #059669; }
:root[data-theme="light"] .platform-card-v2--3 .platform-card-icon { stroke: #7c3aed; }
:root[data-theme="light"] .platform-card-v2--4 .platform-card-icon { stroke: #4f46e5; }

:root[data-theme="light"] .platform-orb-glass {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(220, 240, 255, 0.5) 45%, rgba(200, 215, 255, 0.25) 80%, rgba(180, 200, 250, 0.4)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(210, 230, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 1),
    inset -3px -3px 8px rgba(100, 140, 200, 0.18),
    0 20px 45px rgba(50, 70, 120, 0.12);
}

:root[data-theme="light"] .platform-link-stem,
:root[data-theme="light"] .platform-link-spine,
:root[data-theme="light"] .platform-link-branch {
  stroke: rgba(99, 102, 241, 0.45);
}

:root[data-theme="light"] .platform-link-branch--1 { stroke: rgba(2, 132, 199, 0.6); }
:root[data-theme="light"] .platform-link-branch--2 { stroke: rgba(5, 150, 105, 0.6); }
:root[data-theme="light"] .platform-link-branch--3 { stroke: rgba(124, 58, 237, 0.6); }
:root[data-theme="light"] .platform-link-branch--4 { stroke: rgba(79, 70, 229, 0.6); }

:root[data-theme="light"] .delivery-panel {
  background-color: rgba(247, 250, 255, 0.52) !important;
}

:root[data-theme="light"] .code-editor { color: #33415e; }
:root[data-theme="light"] .build-console { background: rgba(242, 247, 255, 0.62); }

/* Responsive geometry */
@media (max-width: 1240px) and (min-width: 901px) {
  :root {
    --v5-core-size: 148px;
    --v5-cube-size: 82px;
    --v5-perspective: 940px;
  }

  .hero-v5 .hero__shell {
    grid-template-columns: minmax(380px, 0.78fr) minmax(500px, 1.22fr);
    gap: 22px;
  }

  .ecosystem-cube--product[data-orbit-slot="0"] { --slot-x: 145px; --slot-y: 102px; --slot-z: 150px; }
  .ecosystem-cube--product[data-orbit-slot="1"] { --slot-x: 174px; --slot-y: -62px; --slot-z: 36px; }
  .ecosystem-cube--product[data-orbit-slot="2"] { --slot-x: 16px; --slot-y: -124px; --slot-z: -108px; }
  .ecosystem-cube--product[data-orbit-slot="3"] { --slot-x: -167px; --slot-y: -64px; --slot-z: -58px; }
  .ecosystem-cube--product[data-orbit-slot="4"] { --slot-x: -144px; --slot-y: 94px; --slot-z: 66px; }
  .cube-orbit--outer { width: 425px; height: 278px; }
  .cube-orbit--inner { width: 278px; height: 180px; }
}

@media (max-width: 900px) {
  :root {
    --v5-core-size: 132px;
    --v5-cube-size: 74px;
    --v5-perspective: 880px;
  }

  .hero-v5 {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .hero-v5 .hero__shell {
    height: auto;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: max-content 360px;
    gap: 16px;
    align-content: start;
    padding-top: 100px;
    padding-bottom: 18px;
  }

  .hero-v5 .hero__copy { max-width: 760px; }
  .hero-v5 h1 { max-width: 760px; }
  .hero-v5 .hero__support { display: none; }

  .system-stage.hero-stage-v5 {
    width: 100%;
    height: 360px;
    min-height: 360px;
  }

  .hero-scene--rocket .rocket-flight { top: 45%; width: 126px; height: 220px; }
  .hero-scene--rocket .rocket-smoke-v2 { --smoke-field-scale: 0.84; top: 63.5%; }
  .hero-scene--rocket .rocket-corridor { width: min(68%, 400px); }

  .ecosystem-cube--product[data-orbit-slot="0"] { --slot-x: 142px; --slot-y: 80px; --slot-z: 112px; }
  .ecosystem-cube--product[data-orbit-slot="1"] { --slot-x: 168px; --slot-y: -56px; --slot-z: 32px; }
  .ecosystem-cube--product[data-orbit-slot="2"] { --slot-x: 15px; --slot-y: -104px; --slot-z: -92px; }
  .ecosystem-cube--product[data-orbit-slot="3"] { --slot-x: -160px; --slot-y: -55px; --slot-z: -48px; }
  .ecosystem-cube--product[data-orbit-slot="4"] { --slot-x: -138px; --slot-y: 74px; --slot-z: 55px; }
  .cube-orbit--outer { width: 390px; height: 230px; }
  .cube-orbit--inner { width: 250px; height: 150px; }
  .cube-focus { bottom: 11px; }
  .delivery-system { width: min(92%, 690px); }
}

@media (max-width: 760px) {
  :root {
    --v5-core-size: 102px;
    --v5-cube-size: 58px;
    --v5-perspective: 740px;
  }

  .hero-v5 .hero__shell {
    width: min(calc(100% - 24px), var(--shell));
    grid-template-rows: max-content 310px;
    gap: 12px;
    padding-top: 86px;
    padding-bottom: 14px;
  }

  .hero-v5 h1 {
    margin-block: 10px 9px;
    font-size: clamp(2.55rem, 12.2vw, 3.55rem);
  }

  .hero-v5 .hero__lede {
    max-width: 620px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-v5 .hero__categories {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow: hidden;
  }

  .hero-v5 .hero__categories span {
    flex: 0 0 auto;
    padding: 5px 7px;
    font-size: 7px;
  }

  .hero-v5 .hero__actions { margin-top: 12px; }
  .hero-v5 .hero__actions .button { min-height: 42px; padding-inline: 14px; font-size: 10px; }

  .system-stage.hero-stage-v5 {
    height: 310px;
    min-height: 310px;
    border-radius: 27px;
  }

  .liquid-stage--v5 {
    grid-template-rows: 39px minmax(0, 1fr) 27px;
  }

  .liquid-stage--v5 .liquid-stage__topbar {
    grid-template-columns: 1fr auto;
    padding-inline: 11px 7px;
  }

  .liquid-stage--v5 .liquid-stage__topbar > strong { display: none; }
  .hero-sequence__controls button { min-height: 27px; padding: 4px 7px; }
  .hero-sequence__controls button span { display: none; }
  .hero-sequence__controls svg { width: 10px; height: 10px; }
  .liquid-stage--v5 .liquid-stage__footer { padding-inline: 10px; }
  .liquid-stage--v5 .liquid-stage__footer span { font-size: 5px; letter-spacing: 0.08em; }
  .liquid-stage--v5 .liquid-stage__footer span:nth-child(2) { display: none; }
  .hero-scene__caption { top: 10px; left: 12px; }
  .hero-scene__caption strong { font-size: 8px; }

  .ecosystem-cube--product[data-orbit-slot="0"] { --slot-x: 100px; --slot-y: 68px; --slot-z: 72px; }
  .ecosystem-cube--product[data-orbit-slot="1"] { --slot-x: 126px; --slot-y: -41px; --slot-z: 22px; }
  .ecosystem-cube--product[data-orbit-slot="2"] { --slot-x: 12px; --slot-y: -82px; --slot-z: -60px; }
  .ecosystem-cube--product[data-orbit-slot="3"] { --slot-x: -119px; --slot-y: -40px; --slot-z: -32px; }
  .ecosystem-cube--product[data-orbit-slot="4"] { --slot-x: -99px; --slot-y: 61px; --slot-z: 38px; }
  .cube-orbit--outer { width: 286px; height: 180px; }
  .cube-orbit--inner { width: 182px; height: 112px; }
  .ecosystem-cube__content { gap: 1px; padding: 5px; }
  .ecosystem-cube__content svg { width: 18px; height: 18px; margin-bottom: 1px; }
  .ecosystem-cube__content strong { font-size: 6px; }
  .ecosystem-cube__content small { display: none; }
  .ecosystem-cube__content--core > span { font-size: 5px; }
  .ecosystem-cube__content--core > small { font-size: 7px; }
  .cube-brand { width: 42px; }
  .cube-focus { bottom: 7px; min-width: 168px; padding: 6px 9px; }
  .cube-focus span { font-size: 5px; }
  .cube-focus strong { font-size: 7px; }

  .hero-scene--rocket .rocket-flight { top: 44%; width: 104px; height: 182px; }
  .hero-scene--rocket .rocket-smoke-v2 { --smoke-field-scale: 0.72; top: 65.5%; }
  .hero-scene--rocket .rocket-corridor { top: 61%; width: min(78%, 310px); }
  .hero-scene--rocket .rocket-trail { top: 7%; width: 64px; height: 59%; }
  .hero-scene--rocket .rocket-status { bottom: 10px; width: min(250px, calc(100% - 30px)); padding: 6px 9px; }
  .platform-connect {
    width: 96%;
    height: 380px;
  }
  .platform-core-node {
    width: 120px;
    height: 120px;
  }
  .platform-bolt-part,
  .platform-bolt-full {
    width: 74px;
    height: 65px;
  }
  .platform-cards-stack {
    left: calc(50% + 10px);
    width: min(300px, 46%);
  }
  .platform-card-v2 {
    height: 68px;
    padding: 0 12px;
    border-radius: 14px;
  }
  .platform-card-icon-wrap {
    width: 34px;
    height: 34px;
  }
  .platform-card-icon {
    width: 17px;
    height: 17px;
  }
  .platform-card-title {
    font-size: 12px;
  }
  .platform-card-subtitle {
    font-size: 10px;
  }

  .delivery-system {
    width: calc(100% - 24px);
    grid-template-columns: 1fr 32px 0.8fr;
    gap: 6px;
  }
  .delivery-panel { border-radius: 18px; }
  .delivery-panel--code { height: 206px; }
  .delivery-panel__bar { height: 31px; padding-inline: 9px; }
  .code-editor { gap: 5px; padding: 13px 9px; font-size: 6px; }
  .code-editor span i { width: 17px; }
  .build-console { right: 8px; bottom: 8px; left: 8px; padding: 6px 7px; font-size: 5px; }
  .delivery-panel--checklist { min-height: 222px; padding: 8px; }
  .delivery-checklist__head { padding-bottom: 7px; }
  .delivery-checklist__head span { font-size: 6px; }
  .delivery-panel ul { gap: 4px; }
  .delivery-panel li { grid-template-columns: 17px 1fr; gap: 5px; padding: 5px; border-radius: 8px; }
  .delivery-panel li > i { width: 16px; height: 16px; border-radius: 5px; font-size: 7px; }
  .delivery-panel li strong { font-size: 5px; }
  .delivery-panel li small { display: none; }
  .production-signal { grid-template-columns: 21px 1fr auto; gap: 5px; margin-top: 6px; padding: 5px; border-radius: 9px; }
  .production-signal > span { width: 20px; height: 20px; }
  .production-signal strong { font-size: 6px; }
}

@media (max-width: 760px) {
  .platform-connect {
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding-top: 8px;
  }
  .platform-core-stage {
    position: relative;
    height: 100px;
    width: 100%;
  }
  .platform-core-node {
    top: 50px;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
    width: 100px;
    height: 100px;
  }
  .platform-bolt-part,
  .platform-bolt-full {
    width: 62px;
    height: 54px;
  }
  .platform-links {
    display: none;
  }
  .platform-cards-stack {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(340px, 92%);
    gap: 6px;
    margin-top: 4px;
  }
  .platform-card-v2 {
    height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    transform: none !important;
  }
  .platform-card-anchor {
    display: none;
  }
  .platform-card-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .platform-card-icon {
    width: 14px;
    height: 14px;
  }
  .platform-card-title {
    font-size: 11px;
  }
  .platform-card-subtitle {
    font-size: 9px;
  }
  .platform-card-status {
    padding: 2px 6px;
  }
  .platform-card-dot {
    width: 5px;
    height: 5px;
  }
  .platform-card-chevron {
    display: none;
  }
}

@media (max-width: 410px) {
  :root {
    --v5-core-size: 88px;
    --v5-cube-size: 49px;
    --v5-perspective: 660px;
  }

  .hero-v5 .hero__shell { grid-template-rows: max-content 286px; padding-top: 82px; }
  .hero-v5 h1 { font-size: clamp(2.35rem, 12.5vw, 3rem); }
  .hero-v5 .hero__lede { font-size: 11px; }
  .hero-v5 .hero__actions .button { min-height: 39px; }
  .system-stage.hero-stage-v5 { height: 286px; min-height: 286px; }
  .hero-scene--rocket .rocket-flight { top: 43%; width: 96px; height: 168px; }
  .hero-scene--rocket .rocket-smoke-v2 { --smoke-field-scale: 0.635; top: 65.5%; }
  .hero-scene--rocket .rocket-trail { height: 58%; }
  .ecosystem-cube--product[data-orbit-slot="0"] { --slot-x: 80px; --slot-y: 56px; --slot-z: 52px; }
  .ecosystem-cube--product[data-orbit-slot="1"] { --slot-x: 101px; --slot-y: -34px; --slot-z: 16px; }
  .ecosystem-cube--product[data-orbit-slot="2"] { --slot-x: 10px; --slot-y: -69px; --slot-z: -42px; }
  .ecosystem-cube--product[data-orbit-slot="3"] { --slot-x: -96px; --slot-y: -34px; --slot-z: -24px; }
  .ecosystem-cube--product[data-orbit-slot="4"] { --slot-x: -79px; --slot-y: 50px; --slot-z: 28px; }
  .cube-orbit--outer { width: 230px; height: 148px; }
  .cube-orbit--inner { width: 150px; height: 94px; }
  .cube-focus { display: none; }
  .ecosystem-cube__content--core > span { display: none; }
  .cube-brand { width: 37px; }
}

@media (max-height: 620px) and (min-width: 600px) and (max-width: 900px) and (orientation: landscape) {
  .hero-v5 .hero__shell {
    min-height: 100dvh;
    grid-template-columns: minmax(0, 0.86fr) minmax(330px, 1.14fr);
    grid-template-rows: auto;
    gap: 12px;
    padding: 76px 12px 14px;
  }

  .hero-v5 h1 { font-size: clamp(2rem, 5.8vw, 3rem); }
  .hero-v5 .eyebrow { display: none; }
  .hero-v5 .hero__lede { line-clamp: 2; -webkit-line-clamp: 2; }
  .hero-v5 .hero__categories { display: none; }
  .system-stage.hero-stage-v5 { height: calc(100dvh - 92px); min-height: 270px; }
  .hero-scene--rocket .rocket-flight { top: 44%; width: 110px; height: 192px; }
  .hero-scene--rocket .rocket-smoke-v2 { --smoke-field-scale: 0.72; top: 65%; }
  .hero-scene--rocket .rocket-corridor { top: 61%; width: min(72%, 310px); }
  .hero-scene--rocket .rocket-status { bottom: 8px; }
}

/* Motion, Static and Material Fallbacks */
.is-static .hero-sequence *,
.is-static .hero-stage-v5 *,
.hero-stage-v5[data-sequence-reduced="true"] * {
  animation: none !important;
  transition-duration: 0.001ms !important;
}

@media (min-width: 761px) {
  .is-static .platform-core-node,
  [data-static-scene="stack"] .platform-core-node,
  .hero-stage-v5[data-sequence-reduced="true"] .platform-core-node {
    left: calc(50% - 240px) !important;
    transform: translate(-50%, -50%) scale(0.95) !important;
  }
}

@media (max-width: 760px) {
  .is-static .platform-core-node,
  [data-static-scene="stack"] .platform-core-node,
  .hero-stage-v5[data-sequence-reduced="true"] .platform-core-node {
    left: 50% !important;
    top: 50px !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
  }
}

.is-static .platform-orb-glass,
[data-static-scene="stack"] .platform-orb-glass,
.hero-stage-v5[data-sequence-reduced="true"] .platform-orb-glass {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.is-static .platform-orb-tracer-path,
[data-static-scene="stack"] .platform-orb-tracer-path,
.hero-stage-v5[data-sequence-reduced="true"] .platform-orb-tracer-path {
  stroke-dashoffset: 0 !important;
  opacity: 0.45 !important;
}

.is-static .platform-bolt-full,
[data-static-scene="stack"] .platform-bolt-full,
.hero-stage-v5[data-sequence-reduced="true"] .platform-bolt-full {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.is-static .platform-bolt-part,
[data-static-scene="stack"] .platform-bolt-part,
.hero-stage-v5[data-sequence-reduced="true"] .platform-bolt-part {
  opacity: 0 !important;
}

.is-static .platform-link-stem,
.is-static .platform-link-spine,
.is-static .platform-link-branch,
[data-static-scene="stack"] .platform-link-stem,
[data-static-scene="stack"] .platform-link-spine,
[data-static-scene="stack"] .platform-link-branch,
.hero-stage-v5[data-sequence-reduced="true"] .platform-link-stem,
.hero-stage-v5[data-sequence-reduced="true"] .platform-link-spine,
.hero-stage-v5[data-sequence-reduced="true"] .platform-link-branch {
  stroke-dashoffset: 0 !important;
  opacity: 0.85 !important;
}

.is-static .platform-card-v2,
[data-static-scene="stack"] .platform-card-v2,
.hero-stage-v5[data-sequence-reduced="true"] .platform-card-v2 {
  opacity: 1 !important;
  transform: none !important;
}

.hero-stage-v5[data-sequence-reduced="true"] .hero-sequence__controls [data-sequence-toggle] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-sequence *,
  .hero-stage-v5 * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .ecosystem-cube__face,
  .platform-card-v2,
  .platform-orb-glass,
  .delivery-panel,
  .rocket-status,
  .cube-focus {
    border-color: var(--section-border) !important;
    background: var(--canvas-raised) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

@media (forced-colors: active) {
  .hero-stage-v5 .liquid-stage-canvas,
  .hero-sequence__atmosphere,
  .hero-sequence::before,
  .cube-orbit,
  .cube-signals,
  .ecosystem-cube__face--right,
  .ecosystem-cube__face--top,
  .platform-links,
  .platform-strike-flash,
  .platform-strike-wave,
  .platform-orb-specular,
  .platform-orb-inner-glow {
    display: none !important;
  }

  .ecosystem-cube__face--front,
  .platform-card-v2,
  .platform-orb-glass,
  .delivery-panel {
    border: 1px solid CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    forced-color-adjust: auto;
  }

  .ecosystem-cube__content,
  .ecosystem-cube__content *,
  .platform-card-v2 * {
    color: CanvasText !important;
    filter: none !important;
    text-shadow: none !important;
  }
}

@keyframes v5-atmosphere-a { to { transform: translate3d(34px, 22px, 0) scale(1.08); } }
@keyframes v5-atmosphere-b { to { transform: translate3d(-28px, -18px, 0) scale(1.1); } }
@keyframes v5-corridor-live {
  0% { opacity: 0; transform: translate(-50%, -50%) rotateX(72deg) scale(0.76); }
  12% { opacity: 0.28; transform: translate(-50%, -50%) rotateX(72deg) scale(0.96); }
  46% { opacity: 0.36; transform: translate(-50%, -50%) rotateX(72deg) scale(1); }
  78% { opacity: 0.2; transform: translate(-50%, -50%) rotateX(72deg) scale(1.04); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotateX(72deg) scale(1.08); }
}
@keyframes v5-rocket-flight {
  0% { opacity: 0; transform: translate(-50%, -50%) translate3d(0, 14px, 0) scale(0.94); }
  7% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1); }
  43% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1); }
  44% { opacity: 1; transform: translate(-50%, -50%) translate3d(-1px, 0, 0) scale(1); }
  45% { opacity: 1; transform: translate(-50%, -50%) translate3d(1px, -1px, 0) scale(1); }
  46% { opacity: 1; transform: translate(-50%, -50%) translate3d(-1px, 0, 0) scale(1); }
  47% { opacity: 1; transform: translate(-50%, -50%) translate3d(1px, -1px, 0) scale(1); }
  49% { opacity: 1; transform: translate(-50%, -50%) translate3d(-1px, 0, 0) scale(1); }
  51% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -1px, 0) scale(1); }
  53% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -4px, 0) scale(1); }
  57% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -18px, 0) scale(1); }
  61% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -48px, 0) scale(1); }
  65% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -88px, 0) scale(1); }
  69% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -142px, 0) scale(1); }
  73% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -215px, 0) scale(1); }
  77% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -310px, 0) scale(1); }
  81% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -440px, 0) scale(1); }
  84% { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -580px, 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate(-50%, -50%) translate3d(0, -720px, 0) scale(1); }
}
@keyframes v5-rocket-thrust {
  0% { opacity: 0.1; transform: translateX(-50%) scale(0.34, 0.22); }
  10% { opacity: 0.2; transform: translateX(-50%) scale(0.46, 0.34); }
  20% { opacity: 0.42; transform: translateX(-50%) scale(0.62, 0.52); }
  31% { opacity: 0.7; transform: translateX(-50%) scale(0.78, 0.74); }
  42% { opacity: 0.94; transform: translateX(-50%) scale(0.96, 1); }
  51% { opacity: 1; transform: translateX(-50%) scale(1.02, 1.2); }
  61% { opacity: 1; transform: translateX(-50%) scale(1.07, 1.42); }
  73% { opacity: 1; transform: translateX(-50%) scale(1.08, 1.62); }
  83% { opacity: 0.94; transform: translateX(-50%) scale(1.02, 1.48); }
  89% { opacity: 0.18; transform: translateX(-50%) scale(0.82, 1.18); }
  92%, 100% { opacity: 0; transform: translateX(-50%) scale(0.62, 0.72); }
}
@keyframes v5-flame-outer {
  from { opacity: 0.74; transform: translateX(-50%) scale(0.92, 1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.08, 0.84); }
}
@keyframes v5-flame-main {
  from { opacity: 0.8; transform: translateX(-50%) scale(0.9, 0.88); }
  to { opacity: 1; transform: translateX(-50%) scale(1.08, 1.04); }
}
@keyframes v5-flame-core {
  from { opacity: 0.84; transform: translateX(-50%) scale(0.88, 0.9); }
  to { opacity: 1; transform: translateX(-50%) scale(1.1, 1.08); }
}
@keyframes v5-engine-glow {
  from { opacity: 0.58; transform: translateX(-50%) scale(0.88); }
  to { opacity: 0.92; transform: translateX(-50%) scale(1.1); }
}
@keyframes v5-engine-rim {
  0%, 12% { opacity: 0.22; }
  34% { opacity: 0.62; }
  48%, 82% { opacity: 1; }
  91%, 100% { opacity: 0; }
}
@keyframes v5-smoke-v2-field {
  0% { opacity: 0.02; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  14% { opacity: 0.45; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  28% { opacity: 0.88; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  62% { opacity: 0.94; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  78% { opacity: 0.68; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  90% { opacity: 0.25; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(var(--smoke-field-scale)); }
}

@keyframes v5-smoke-v2-rear {
  0%, 10% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.24, 0.3); }
  24% { opacity: 0.62; transform: translate3d(-10px, 4px, 0) scale(0.66, 0.62); }
  44% { opacity: 0.88; transform: translate3d(-18px, -2px, 0) scale(0.96, 0.94); }
  64% { opacity: 0.84; transform: translate3d(-28px, -6px, 0) scale(1.08, 1.02); }
  84% { opacity: 0.42; transform: translate3d(-40px, -12px, 0) scale(1.18, 1.08); }
  100% { opacity: 0; transform: translate3d(-52px, -18px, 0) scale(1.26, 1.12); }
}

@keyframes v5-smoke-v2-mid-left {
  0%, 12% { opacity: 0; transform: translate3d(24px, 8px, 0) scale(0.2, 0.28); }
  26% { opacity: 0.68; transform: translate3d(6px, 2px, 0) scale(0.64, 0.66); }
  46% { opacity: 0.92; transform: translate3d(-14px, -3px, 0) scale(0.98, 0.96); }
  66% { opacity: 0.82; transform: translate3d(-30px, -8px, 0) scale(1.12, 1.04); }
  86% { opacity: 0.36; transform: translate3d(-46px, -14px, 0) scale(1.22, 1.08); }
  100% { opacity: 0; transform: translate3d(-58px, -20px, 0) scale(1.3, 1.12); }
}

@keyframes v5-smoke-v2-mid-right {
  0%, 14% { opacity: 0; transform: translate3d(-20px, 8px, 0) scale(0.22, 0.26); }
  28% { opacity: 0.7; transform: translate3d(-2px, 2px, 0) scale(0.66, 0.65); }
  48% { opacity: 0.94; transform: translate3d(14px, -4px, 0) scale(0.98, 0.98); }
  68% { opacity: 0.78; transform: translate3d(32px, -10px, 0) scale(1.14, 1.06); }
  88% { opacity: 0.32; transform: translate3d(48px, -16px, 0) scale(1.24, 1.1); }
  100% { opacity: 0; transform: translate3d(60px, -22px, 0) scale(1.32, 1.14); }
}

@keyframes v5-smoke-v2-plume-left {
  0%, 12% { opacity: 0; transform: translate3d(4px, 12px, 0) scale(0.18, 0.25) rotate(4deg); }
  25% { opacity: 0.82; transform: translate3d(-2px, -4px, 0) scale(0.72, 0.78) rotate(-2deg); }
  45% { opacity: 0.9; transform: translate3d(-8px, -18px, 0) scale(1, 1.05) rotate(-6deg); }
  65% { opacity: 0.58; transform: translate3d(-14px, -34px, 0) scale(1.12, 1.2) rotate(-9deg); }
  82% { opacity: 0.12; transform: translate3d(-20px, -48px, 0) scale(1.2, 1.3) rotate(-12deg); }
  92%, 100% { opacity: 0; transform: translate3d(-24px, -58px, 0) scale(1.24, 1.36) rotate(-14deg); }
}

@keyframes v5-smoke-v2-plume-right {
  0%, 16% { opacity: 0; transform: translate3d(-4px, 10px, 0) scale(0.16, 0.22) rotate(-3deg); }
  30% { opacity: 0.76; transform: translate3d(4px, -2px, 0) scale(0.68, 0.72) rotate(2deg); }
  50% { opacity: 0.86; transform: translate3d(12px, -14px, 0) scale(0.96, 1) rotate(6deg); }
  70% { opacity: 0.52; transform: translate3d(22px, -28px, 0) scale(1.08, 1.14) rotate(10deg); }
  85% { opacity: 0.1; transform: translate3d(30px, -40px, 0) scale(1.16, 1.22) rotate(14deg); }
  95%, 100% { opacity: 0; transform: translate3d(36px, -48px, 0) scale(1.2, 1.28) rotate(16deg); }
}

@keyframes v5-smoke-v2-core {
  0%, 10% { opacity: 0; transform: scale(0.18, 0.22); }
  20% { opacity: 0.96; transform: scale(0.72, 0.82); }
  38% { opacity: 1; transform: scale(1.02, 1.06); }
  54% { opacity: 0.92; transform: translate3d(0, -6px, 0) scale(1.06, 1.14); }
  68% { opacity: 0.35; transform: translate3d(0, -18px, 0) scale(1.12, 1.24); }
  80%, 100% { opacity: 0; transform: translate3d(0, -28px, 0) scale(1.18, 1.32); }
}

@keyframes v5-smoke-v2-core-glow {
  0%, 10% { opacity: 0; transform: scale(0.15); }
  18% { opacity: 0.92; transform: scale(0.75); }
  36% { opacity: 1; transform: scale(1.08); }
  52% { opacity: 0.88; transform: scale(1.15); }
  66% { opacity: 0.25; transform: scale(1.22); }
  78%, 100% { opacity: 0; transform: scale(1.3); }
}

@keyframes v5-smoke-v2-wisp-1 {
  0%, 18% { opacity: 0; transform: translate3d(18px, 8px, 0) scale(0.24); }
  36% { opacity: 0.72; transform: translate3d(0, 0, 0) scale(0.85); }
  58% { opacity: 0.65; transform: translate3d(-18px, -10px, 0) scale(1.08); }
  78% { opacity: 0.22; transform: translate3d(-34px, -18px, 0) scale(1.24); }
  92%, 100% { opacity: 0; transform: translate3d(-46px, -24px, 0) scale(1.35); }
}

@keyframes v5-smoke-v2-wisp-2 {
  0%, 22% { opacity: 0; transform: translate3d(-16px, 6px, 0) scale(0.22); }
  42% { opacity: 0.68; transform: translate3d(0, 0, 0) scale(0.88); }
  64% { opacity: 0.6; transform: translate3d(22px, -8px, 0) scale(1.1); }
  82% { opacity: 0.18; transform: translate3d(40px, -16px, 0) scale(1.26); }
  94%, 100% { opacity: 0; transform: translate3d(52px, -22px, 0) scale(1.38); }
}

@keyframes v5-smoke-v2-wisp-3 {
  0%, 20% { opacity: 0; transform: translate3d(-8px, 12px, 0) scale(0.2); }
  38% { opacity: 0.65; transform: translate3d(0, 0, 0) scale(0.82); }
  60% { opacity: 0.55; transform: translate3d(10px, -18px, 0) scale(1.05); }
  76% { opacity: 0.15; transform: translate3d(18px, -32px, 0) scale(1.18); }
  88%, 100% { opacity: 0; transform: translate3d(24px, -42px, 0) scale(1.28); }
}

@keyframes v5-smoke-v2-wisp-4 {
  0%, 24% { opacity: 0; transform: translate3d(14px, 2px, 0) scale(0.25); }
  44% { opacity: 0.58; transform: translate3d(0, 0, 0) scale(0.85); }
  66% { opacity: 0.48; transform: translate3d(-16px, 4px, 0) scale(1.06); }
  84% { opacity: 0.12; transform: translate3d(-30px, 8px, 0) scale(1.2); }
  95%, 100% { opacity: 0; transform: translate3d(-40px, 12px, 0) scale(1.3); }
}

@keyframes v5-smoke-v2-wisp-5 {
  0%, 26% { opacity: 0; transform: translate3d(-12px, 10px, 0) scale(0.22); }
  46% { opacity: 0.62; transform: translate3d(0, 0, 0) scale(0.88); }
  68% { opacity: 0.48; transform: translate3d(16px, -14px, 0) scale(1.12); }
  84% { opacity: 0.14; transform: translate3d(28px, -24px, 0) scale(1.24); }
  96%, 100% { opacity: 0; transform: translate3d(36px, -32px, 0) scale(1.34); }
}
@keyframes v5-rocket-trail {
  0%, 50% { opacity: 0; transform: translateX(-50%) scaleY(0.02); }
  56% { opacity: 0.38; transform: translateX(-50%) scaleY(0.14); }
  66% { opacity: 0.7; transform: translateX(-50%) scaleY(0.44); }
  76% { opacity: 0.82; transform: translateX(-50%) scaleY(0.76); }
  85% { opacity: 0.58; transform: translateX(-50%) scaleY(1); }
  93% { opacity: 0.12; transform: translateX(-50%) scaleY(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1); }
}
@keyframes v5-rocket-particle {
  0% { opacity: 0; transform: translate3d(0, -2px, 0) scale(0.4); }
  12% { opacity: 0.92; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(var(--particle-drift), 96px, 0) scale(0.18); }
}
@keyframes v5-status-in {
  0%, 7% { opacity: 0; transform: translate(-50%, 12px) scale(0.9, 0.7); }
  16%, 52% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  67% { opacity: 0.72; transform: translate(-50%, -2px) scale(0.99); }
  76%, 100% { opacity: 0; transform: translate(-50%, -6px) scale(0.98); }
}
/* Scene 02 Keyframes */
@keyframes v5-bolt-upper-strike {
  0%, 6.5% { opacity: 0; transform: translate(140px, -110px) scale(1.15); filter: drop-shadow(-8px 8px 12px rgba(0, 200, 255, 0.8)); }
  7.4% { opacity: 0.95; }
  18.5% { opacity: 1; transform: translate(0, 0) scale(1); filter: drop-shadow(0 0 16px rgba(0, 230, 255, 0.9)); }
  21.3% { opacity: 0; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; }
}

@keyframes v5-bolt-lower-strike {
  0%, 6.5% { opacity: 0; transform: translate(-140px, 110px) scale(1.15); filter: drop-shadow(8px -8px 12px rgba(180, 80, 255, 0.8)); }
  7.4% { opacity: 0.95; }
  18.5% { opacity: 1; transform: translate(0, 0) scale(1); filter: drop-shadow(0 0 16px rgba(180, 80, 255, 0.9)); }
  21.3% { opacity: 0; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; }
}

@keyframes v5-strike-flash {
  0%, 17.5% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  18.5% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  22.2% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
  24.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

@keyframes v5-strike-wave {
  0%, 18.0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  18.8% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.5); }
  26.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
  100% { opacity: 0; }
}

@keyframes v5-bolt-full-reveal {
  0%, 18.2% { opacity: 0; transform: scale(0.95); }
  18.8% { opacity: 1; transform: scale(1.04); }
  20.4%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes v5-circle-tracer {
  0%, 19.4% { stroke-dashoffset: 453; opacity: 0.9; }
  32.4% { stroke-dashoffset: 0; opacity: 0.9; }
  37.0%, 100% { stroke-dashoffset: 0; opacity: 0.45; }
}

@keyframes v5-glass-membrane-in {
  0%, 23.0% { opacity: 0; transform: scale(0.85); }
  32.4%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes v5-core-node-move {
  0%, 32.4% { transform: translate(-50%, -50%) scale(1); left: 50%; }
  40.7%, 100% { transform: translate(-50%, -50%) scale(0.95); left: calc(50% - 240px); }
}

@keyframes v5-stem-grow {
  0%, 39.8% { stroke-dashoffset: 120; opacity: 0; }
  40.7% { opacity: 1; }
  46.3%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-spine-grow {
  0%, 43.5% { stroke-dashoffset: 360; opacity: 0; }
  44.5% { opacity: 1; }
  51.9%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-branch-1 {
  0%, 41.7% { stroke-dashoffset: 110; opacity: 0; }
  42.5% { opacity: 1; }
  48.1%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-branch-2 {
  0%, 51.9% { stroke-dashoffset: 110; opacity: 0; }
  52.8% { opacity: 1; }
  58.3%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-branch-3 {
  0%, 62.0% { stroke-dashoffset: 110; opacity: 0; }
  63.0% { opacity: 1; }
  68.5%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-branch-4 {
  0%, 72.2% { stroke-dashoffset: 110; opacity: 0; }
  73.1% { opacity: 1; }
  78.7%, 100% { stroke-dashoffset: 0; opacity: 0.85; }
}

@keyframes v5-card-1-reveal {
  0%, 44.4% { opacity: 0; transform: translateX(36px); }
  51.9%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes v5-card-2-reveal {
  0%, 54.6% { opacity: 0; transform: translateX(36px); }
  62.0%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes v5-card-3-reveal {
  0%, 64.8% { opacity: 0; transform: translateX(36px); }
  72.2%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes v5-card-4-reveal {
  0%, 75.0% { opacity: 0; transform: translateX(36px); }
  82.4%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes v5-pulse-sweep {
  0%, 83.3% { stroke-dashoffset: 200; opacity: 0; }
  85.2% { opacity: 1; }
  93.5% { stroke-dashoffset: -200; opacity: 1; }
  95.4%, 100% { stroke-dashoffset: -200; opacity: 0; }
}
@keyframes v5-core-float { from { transform: rotateX(-14deg) rotateY(23deg) translateY(2px); } to { transform: rotateX(-10deg) rotateY(31deg) translateY(-4px); } }
@keyframes v5-product-float { from { transform: rotateX(-15deg) rotateY(24deg) translateY(1px); } to { transform: rotateX(-11deg) rotateY(30deg) translateY(-3px); } }
@keyframes v5-cube-caustic { 0%, 16% { opacity: 0; transform: translateX(-20%) rotate(20deg); } 42% { opacity: 0.7; } 67%, 100% { opacity: 0; transform: translateX(430%) rotate(20deg); } }
@keyframes v5-core-arrive { from { opacity: 0; transform: translate(-50%, -50%) translate3d(0, 32px, 38px) scale(0.18, 0.72); } to { opacity: 1; transform: translate(-50%, -50%) translate3d(0, -4px, 38px) scale(1); } }
@keyframes v5-satellite-arrive { from { opacity: 0; } to { opacity: var(--slot-opacity, 1); } }
@keyframes v5-code-panel-in { from { opacity: 0; transform: translate3d(-42px, 22px, 0) scale(0.82, 0.94); } to { opacity: 1; transform: none; } }
@keyframes v5-checklist-in { from { opacity: 0; transform: translate3d(42px, 22px, 0) scale(0.82, 0.94); } to { opacity: 1; transform: none; } }
@keyframes v5-code-line-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 0.84; transform: none; } }
@keyframes v5-payload-route { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 12px); opacity: 0; } }
@keyframes v5-check-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes v5-production-live { from { opacity: 0; transform: scale(0.72, 0.88); } to { opacity: 1; transform: none; } }
