.svg-editorial-spotlight {
  --pointer-x: 50;
  --pointer-y: 50;
  --scroll-progress: 0;
  --stage-accent: #6ef3ff;
  --stage-accent-2: #ffb45f;
  max-width: 1220px;
  margin: 0 auto;
  color: #f5f7fb;
}

.spotlight-stage {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(var(--pointer-x) * 1%) calc(var(--pointer-y) * 1%), rgba(110, 243, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 180, 95, 0.16), transparent 22%),
    linear-gradient(135deg, #070c14 0%, #0d1324 38%, #120d17 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.spotlight-stage::before,
.spotlight-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(24px);
}

.spotlight-stage::before {
  width: 280px;
  height: 280px;
  top: calc(10% + (var(--pointer-y) * 0.16%));
  left: calc(52% + (var(--pointer-x) * 0.08%));
  background: rgba(110, 243, 255, 0.16);
  animation: spotlightFloat 10s ease-in-out infinite;
}

.spotlight-stage::after {
  width: 240px;
  height: 240px;
  right: 8%;
  bottom: 12%;
  background: rgba(255, 180, 95, 0.14);
  animation: spotlightFloat 13s ease-in-out infinite reverse;
}

.spotlight-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.spotlight-eyebrow,
.spotlight-phase__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.spotlight-kicker {
  margin: 0 0 18px;
  color: var(--stage-accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.spotlight-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  text-wrap: balance;
}

.spotlight-intro {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(245, 247, 251, 0.82);
}

.spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.spotlight-cta:hover {
  border-color: rgba(110, 243, 255, 0.4);
}

.spotlight-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.spotlight-svg {
  width: 100%;
  height: 100%;
}

.spotlight-disc {
  fill: rgba(255, 255, 255, 0.08);
  transform-origin: 720px 380px;
  transform: scale(calc(1 + (var(--scroll-progress) * 0.0007)));
}

.spotlight-orbits,
.spotlight-beams,
.spotlight-nodes {
  transform: translate(
    calc((var(--pointer-x) - 50) * 0.75px),
    calc((var(--pointer-y) - 50) * 0.55px)
  );
  transform-origin: 720px 380px;
  transition: transform 180ms ease-out;
}

.orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.2;
  stroke-dasharray: 12 16;
  animation: orbitSpin 26s linear infinite;
}

.orbit-b {
  stroke: rgba(110, 243, 255, 0.22);
  animation-duration: 18s;
  animation-direction: reverse;
}

.orbit-c {
  stroke: rgba(255, 180, 95, 0.2);
  animation-duration: 32s;
}

.beam {
  fill: none;
  stroke: url(#spotlightBeam);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.52;
  stroke-dasharray: 10 18;
  animation: beamFlow 6s linear infinite;
}

.beam-b {
  animation-duration: 8s;
}

.beam-c {
  animation-duration: 7.2s;
}

.node circle:first-child {
  fill: #ffffff;
  opacity: 0.92;
}

.node-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1.6;
  animation: nodePulse 3.6s ease-out infinite;
}

.node {
  opacity: 0.26;
  transition: opacity 220ms ease;
}

.node.is-active {
  opacity: 1;
}

.node-signal.is-active circle:first-child {
  fill: #6ef3ff;
}

.node-bloom.is-active circle:first-child {
  fill: #8aa6ff;
}

.node-release.is-active circle:first-child {
  fill: #ffb45f;
}

.svg-editorial-spotlight[data-active-phase="signal"] {
  --stage-accent: #6ef3ff;
  --stage-accent-2: #8aa6ff;
}

.svg-editorial-spotlight[data-active-phase="bloom"] {
  --stage-accent: #8aa6ff;
  --stage-accent-2: #ff7cbf;
}

.svg-editorial-spotlight[data-active-phase="release"] {
  --stage-accent: #ffb45f;
  --stage-accent-2: #ffe36a;
}

.spotlight-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.spotlight-phase {
  padding: 24px;
  min-height: 260px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 60%),
    rgba(9, 10, 12, 0.96);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.spotlight-phase.is-active {
  transform: translateY(-4px);
  border-color: rgba(110, 243, 255, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.spotlight-phase h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 0.96;
}

.spotlight-phase p:last-child {
  margin: 0;
  color: rgba(245, 247, 251, 0.8);
  line-height: 1.75;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes beamFlow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -220;
  }
}

@keyframes nodePulse {
  0% {
    transform: scale(0.72);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes spotlightFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(12px, -16px, 0);
  }
}

@media only screen and (max-width: 980px) {
  .spotlight-stage {
    min-height: 74vh;
    padding: 28px;
  }

  .spotlight-copy h1 {
    max-width: 12ch;
  }

  .spotlight-phases {
    grid-template-columns: 1fr;
  }
}
