/* Cinematic scroll journey — Raasano story acts */

:root {
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

.live-pulse {
  position: fixed;
  z-index: 45;
  inset-inline-end: 1rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(0, 163, 255, 0.22);
  background: var(--header-scrolled, rgba(4, 8, 18, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 9.5rem;
}

@media (min-width: 920px) {
  .live-pulse { display: flex; }
}

.live-pulse-meta {
  display: grid;
  gap: 0.1rem;
}

.live-pulse-meta strong {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--cyber);
}

.live-pulse-meta span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--silver-600);
}

.live-pulse svg {
  width: 72px;
  height: 24px;
  overflow: visible;
}

.live-pulse path {
  fill: none;
  stroke: var(--cyber);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(0, 163, 255, 0.55));
}

@keyframes live-pulse-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.journey {
  position: relative;
}

.journey-rail {
  display: none;
  position: fixed;
  top: 50%;
  inset-inline-end: 0.85rem;
  transform: translateY(-50%);
  z-index: 35;
  height: min(52vh, 360px);
  width: auto;
  min-width: 7.5rem;
  pointer-events: none;
}

@media (min-width: 1100px) {
  .journey-rail { display: block; }
}

.journey-rail-track {
  position: absolute;
  inset-inline-end: calc(0.275rem - 0.5px);
  top: 0.45rem;
  bottom: 0.45rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(200, 208, 220, 0.18) 12%,
    rgba(200, 208, 220, 0.18) 88%,
    transparent
  );
}

.journey-rail-fill {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(180deg, #9aefff, var(--cyber), rgba(0, 163, 255, 0.2));
  box-shadow: 0 0 10px rgba(0, 163, 255, 0.55);
  transition: height 0.28s var(--ease, ease);
}

.journey-rail-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  pointer-events: auto;
}

.journey-rail-dots li {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}

.journey-rail-dots a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.15rem 0;
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
}

.journey-rail-label {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(200, 208, 220, 0.38);
  white-space: nowrap;
  opacity: 0.5;
  transform: translateX(0.2rem);
  transition:
    color 0.3s var(--ease, ease),
    opacity 0.3s var(--ease, ease),
    transform 0.35s var(--ease, ease),
    text-shadow 0.3s ease;
}

.journey-rail-label::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(154, 239, 255, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.35s var(--ease, ease);
}

html[dir="rtl"] .journey-rail-label::after {
  background: linear-gradient(270deg, rgba(154, 239, 255, 0.9), transparent);
}

.journey-rail-dots li.is-active .journey-rail-label::after,
.journey-rail-dots a:hover .journey-rail-label::after {
  opacity: 1;
  width: 0.7rem;
}

html[lang="fa"] .journey-rail-label,
html[dir="rtl"] .journey-rail-label {
  font-family: var(--font-fa);
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 500;
  transform: translateX(-0.15rem);
}

.journey-rail-orb {
  position: relative;
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0.4);
  background: rgba(4, 8, 18, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease, ease);
}

.journey-rail-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.45s var(--ease, ease), border-color 0.35s ease;
}

.journey-rail-dots li.is-done .journey-rail-orb {
  background: rgba(0, 163, 255, 0.45);
  border-color: rgba(0, 163, 255, 0.8);
}

.journey-rail-dots li.is-done .journey-rail-label {
  opacity: 0.62;
  color: rgba(220, 230, 240, 0.62);
  transform: none;
}

.journey-rail-dots li.is-active .journey-rail-orb {
  background: var(--cyber);
  border-color: #b7f3ff;
  transform: scale(1.28);
  box-shadow:
    0 0 0 1px rgba(154, 239, 255, 0.4),
    0 0 12px rgba(0, 163, 255, 0.75),
    0 0 22px rgba(0, 163, 255, 0.28);
}

.journey-rail-dots li.is-active .journey-rail-orb::after {
  opacity: 1;
  border-color: rgba(0, 163, 255, 0.4);
  transform: scale(1);
  animation: journey-rail-ping 2s ease-out infinite;
}

.journey-rail-dots li.is-active .journey-rail-label {
  opacity: 1;
  color: #f2fbff;
  font-weight: 600;
  transform: none;
  text-shadow: 0 0 14px rgba(0, 163, 255, 0.28);
}

.journey-rail-dots a:hover .journey-rail-label,
.journey-rail-dots a:focus-visible .journey-rail-label {
  opacity: 1;
  color: #fff;
  transform: none;
}

.journey-rail-dots a:hover .journey-rail-orb,
.journey-rail-dots a:focus-visible .journey-rail-orb {
  border-color: rgba(0, 200, 255, 0.85);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.55);
}

@keyframes journey-rail-ping {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

html[data-theme="light"] .journey-rail-track {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(15, 40, 70, 0.18) 12%,
    rgba(15, 40, 70, 0.18) 88%,
    transparent
  );
}

html[data-theme="light"] .journey-rail-label {
  color: rgba(15, 40, 70, 0.38);
}

html[data-theme="light"] .journey-rail-orb {
  background: #ffffff;
  border-color: rgba(0, 119, 200, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .journey-rail-dots li.is-done .journey-rail-orb {
  background: rgba(0, 119, 200, 0.35);
  border-color: rgba(0, 119, 200, 0.7);
}

html[data-theme="light"] .journey-rail-dots li.is-done .journey-rail-label,
html[data-theme="light"] .journey-rail-dots li.is-active .journey-rail-label,
html[data-theme="light"] .journey-rail-dots a:hover .journey-rail-label {
  color: var(--heading);
  text-shadow: none;
}

html[data-theme="light"] .journey-rail-dots li.is-active .journey-rail-orb {
  background: var(--cyber);
  border-color: #5ec8ff;
  box-shadow: 0 0 14px rgba(0, 119, 200, 0.45);
}

.act-pin {
  position: relative;
  isolation: isolate;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
}

.act-sticky {
  position: relative !important;
  top: auto !important;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--chrome-offset, var(--header-h)) + 0.6rem) 0 2.75rem !important;
  box-sizing: border-box;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: var(--navy-950);
  transform: translateY(36px) scale(0.985);
  opacity: 0.5;
  filter: none;
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

#gateway.is-active .act-sticky,
.act-pin.is-active .act-sticky,
.act-pin.is-near .act-sticky {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.act-pin.is-leaving .act-sticky {
  transform: translateY(-28px) scale(0.99);
  opacity: 0.45;
}

/* Gateway inherits the same full-page system */
#gateway .gateway-stage {
  flex: 0 1 auto;
  width: var(--rail);
  margin-inline: auto;
}

#gateway .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  margin: 0;
  z-index: 3;
}

.act-pin.is-active {
  z-index: 2;
}

.act-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--navy-950) 0%, transparent 18%, transparent 78%, var(--navy-950) 100%),
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 163, 255, 0.08), transparent 65%);
  z-index: 0;
}

.act-glow {
  pointer-events: none;
  position: absolute;
  width: min(55vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  z-index: 0;
}

.act-glow-a {
  inset-inline-end: -8%;
  top: 18%;
  background: rgba(0, 163, 255, 0.35);
  animation: orbit-pulse 8s ease-in-out infinite;
}

.act-glow-b {
  inset-inline-start: 10%;
  bottom: 10%;
  background: rgba(0, 120, 200, 0.28);
  animation: orbit-pulse 10s ease-in-out infinite reverse;
}

.act-caption,
.gateway-stage,
.arteries-layout,
.security-stage,
.dev-stage,
.eco-stage {
  position: relative;
  z-index: 1;
  width: var(--rail);
  margin-inline: auto;
}

.act-caption {
  z-index: 2;
  margin-bottom: 2rem;
}

.act-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyber);
}

html[dir="rtl"] .act-label {
  font-family: var(--font-fa);
  letter-spacing: normal;
  text-transform: none;
}

.act-headline {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--heading);
  max-width: min(40rem, 100%);
  text-shadow: 0 0 28px rgba(0, 163, 255, 0.22);
}

html[dir="rtl"] .act-headline {
  line-height: 1.55;
}

.act-caption.center {
  text-align: center;
  margin-inline: auto;
}

.act-caption.center .act-headline,
.act-caption.center .act-lead {
  margin-inline: auto;
}

.act-lead {
  margin: 0 0 1.45rem;
  color: var(--silver-400);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 38rem;
}

.act-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--silver-200);
  border-bottom: 1px solid rgba(0, 163, 255, 0.28);
  padding-bottom: 0.12rem;
  transition: color 0.25s, border-color 0.25s;
}

.act-more:hover {
  color: var(--cyber);
  border-color: var(--cyber);
}

.act-more-center {
  display: block;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.text-gradient {
  background: linear-gradient(120deg, #fff 10%, #c8d0dc 45%, #00a3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* Gateway */
.gateway-stage {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .gateway-stage {
    grid-template-columns: 1.1fr 0.9fr;
  }

  #gateway .act-lead {
    margin-bottom: 1.75rem;
  }

  #gateway .cta-row {
    margin-bottom: 1.15rem;
  }

  #gateway .gateway-terminal {
    margin-top: 0.35rem;
  }

  #gateway .act-sticky {
    padding-bottom: 3.5rem !important;
  }

  #gateway .scroll-cue {
    bottom: 1.55rem;
  }
}

.gateway-brand {
  margin: 0.4rem 0 0.9rem;
  display: flex;
  justify-content: flex-start;
}

html[dir="rtl"] .gateway-brand {
  justify-content: flex-start;
}

.terminal-panel,
.ide-panel,
.terminal-cta,
.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 30, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.terminal-panel {
  margin-bottom: 1.25rem;
  max-width: 28rem;
}

.terminal-bar,
.ide-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-bar span,
.ide-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 208, 220, 0.28);
}

.terminal-bar span:nth-child(1) { background: #ff5c7a; }
.terminal-bar span:nth-child(2) { background: #f5c542; }
.terminal-bar span:nth-child(3) { background: #3dd68c; }

.terminal-bar em,
.ide-bar span {
  margin-inline-start: 0.45rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--silver-600);
  letter-spacing: 0.04em;
}

.ide-dots {
  margin-inline-start: auto;
  display: inline-flex;
  gap: 0.3rem;
}

.terminal-body,
.ide-body {
  margin: 0;
  padding: 0.9rem 0.95rem 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--cyber);
  min-height: 5.5rem;
}

html[lang="fa"] .terminal-body,
html[dir="rtl"] .terminal-body,
html[lang="fa"] .ide-body,
html[dir="rtl"] .ide-body {
  font-family: var(--font-fa);
  font-size: 0.84rem;
  letter-spacing: 0;
  line-height: 1.85;
}

.terminal-body code {
  display: block;
  white-space: pre-wrap;
}

.terminal-body code::after {
  content: "";
}

.terminal-body code.is-typing::after {
  content: "▋";
  margin-inline-start: 2px;
  animation: cursor-blink 1s steps(1) infinite;
  color: #fff;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.fiber-svg {
  width: min(100%, 460px);
  margin-inline: auto;
  overflow: visible;
}

.fiber-aura {
  pointer-events: none;
}

.fiber-orbit {
  stroke: rgba(0, 163, 255, 0.2);
  stroke-width: 1;
  fill: none;
  animation: orbit-pulse 7s ease-in-out infinite;
}

.fiber-orbit-outer {
  stroke: rgba(0, 163, 255, 0.28);
  stroke-width: 1.15;
}

.fiber-orbit-ticks {
  stroke: rgba(0, 163, 255, 0.38);
  stroke-width: 5;
  stroke-dasharray: 1.5 16.5;
  stroke-linecap: butt;
  transform-box: fill-box;
  transform-origin: center;
  animation: fiber-ticks-spin 48s linear infinite;
}

.fiber-orbit-2 {
  stroke: rgba(0, 163, 255, 0.14);
  animation-duration: 9s;
  animation-direction: reverse;
}

.fiber-orbit-3 {
  stroke: rgba(0, 163, 255, 0.22);
  stroke-dasharray: 3 7;
  animation-duration: 5.5s;
}

.fiber-reticle line {
  stroke: rgba(0, 163, 255, 0.28);
  stroke-width: 1;
  stroke-linecap: round;
}

.fiber-scan {
  fill: none;
  stroke: rgba(0, 212, 255, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 0.12 0.88;
  transform-box: fill-box;
  transform-origin: center;
  animation: fiber-scan-spin 9s linear infinite;
}

.fiber-path,
.artery-spine,
.artery-branch,
.shield-ring,
.shield-core {
  fill: none;
  stroke: var(--cyber);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.05s linear;
}

.fiber-path {
  stroke-width: 2.35;
}

.fiber-path-bloom {
  stroke: rgba(0, 180, 255, 0.18);
  stroke-width: 7;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  filter: blur(1.5px);
}

.fiber-path-soft {
  stroke-width: 1.35;
  opacity: 0.9;
}

.fiber-path-ghost {
  stroke: rgba(0, 163, 255, 0.28);
  stroke-width: 1;
  stroke-dasharray: 1;
}

.fiber-svg .fiber-path:not(.fiber-path-bloom):not(.fiber-path-soft):not(.fiber-path-ghost) {
  stroke: url(#fiberStroke);
}

.fiber-svg .fiber-path-soft {
  stroke: url(#fiberStrokeSoft);
}

.fiber-nodes circle {
  fill: rgba(180, 230, 255, 0.95);
  stroke: rgba(0, 163, 255, 0.55);
  stroke-width: 1;
  filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.7));
}

.fiber-svg .fiber-packet {
  fill: #e8f7ff;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.95));
  opacity: 0;
}

#gateway.is-active .fiber-svg .fiber-packet {
  opacity: 1;
}

.fiber-svg .fiber-packet-dim {
  fill: rgba(0, 212, 255, 0.85);
  filter: drop-shadow(0 0 5px rgba(0, 163, 255, 0.7));
}

.fiber-core-ring {
  fill: none;
  stroke: rgba(0, 180, 255, 0.35);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: fiber-core-ring 3.2s ease-in-out infinite;
}

.fiber-core-ring-2 {
  stroke: rgba(0, 212, 255, 0.5);
  animation-duration: 2.4s;
  animation-direction: reverse;
}

.fiber-core {
  fill: #9fe9ff;
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.95));
  animation: ecosystem-core-pulse 2.4s ease-in-out infinite;
}

@keyframes fiber-ticks-spin {
  to { transform: rotate(360deg); }
}

@keyframes fiber-scan-spin {
  to { transform: rotate(-360deg); }
}

@keyframes fiber-core-ring {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--silver-600);
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.4s;
}

html[lang="fa"] .scroll-cue,
html[dir="rtl"] .scroll-cue {
  font-family: var(--font-fa);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.scroll-cue.is-gone { opacity: 0; pointer-events: none; }

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(0, 163, 255, 0.45);
  border-radius: 10px;
  position: relative;
}

.scroll-mouse span {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--cyber);
  animation: mouse-wheel 1.6s ease-in-out infinite;
}

@keyframes mouse-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Arteries — blueprint + sequential phase narrative */
.arteries-layout,
.arteries-stage {
  position: relative;
  z-index: 1;
  width: var(--rail);
  margin-inline: auto;
}

.act-caption-compact {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.act-caption-compact .act-more {
  margin-top: 0;
}

.act-sticky-arteries {
  justify-content: flex-start !important;
}

.arteries-stage {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 960px) {
  .arteries-stage {
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.8fr);
    gap: 2.25rem;
    min-height: min(62vh, 34rem);
  }
}

.arteries-blueprint {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 1 / 0.92;
  max-height: min(58vh, 420px);
  border: 1px solid rgba(0, 163, 255, 0.12);
  background:
    radial-gradient(ellipse at 50% 65%, rgba(0, 163, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.arteries-glow {
  pointer-events: none;
  position: absolute;
  inset: 10% 18%;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 163, 255, 0.18), transparent 70%);
  filter: blur(8px);
  opacity: 0.55;
}

.arteries-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0.75rem;
}

.arteries-phase {
  opacity: 0;
}

.artery-glow-path {
  fill: none;
  stroke: rgba(0, 163, 255, 0.95);
  stroke-width: 0.65;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#arteries-neon);
  transition: stroke-dashoffset 0.05s linear, opacity 0.25s;
}

.artery-glow-path.soft {
  stroke: rgba(0, 163, 255, 0.65);
  stroke-width: 0.45;
}

.artery-glow-path.pulse {
  stroke-width: 0.5;
}

.cctv-node {
  opacity: 0;
  transition: opacity 0.35s;
}
.cctv-node rect {
  fill: rgba(8, 14, 28, 0.92);
  stroke: rgba(0, 163, 255, 0.75);
  stroke-width: 0.35;
  filter: url(#arteries-neon);
}
.cctv-node .cctv-lens {
  fill: rgba(210, 235, 255, 0.95);
}
.cctv-rec {
  fill: #ff4d6d;
  opacity: 0;
}
.cctv-scan-ring {
  fill: none;
  stroke: rgba(0, 163, 255, 0.28);
  stroke-width: 0.25;
  stroke-dasharray: 2 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.voip-node {
  opacity: 0;
  transition: opacity 0.35s;
}
.voip-node > circle:not(.voip-ring):not(.voip-core):not(.voip-wave) {
  fill: rgba(0, 163, 255, 0.15);
  stroke: rgba(0, 163, 255, 0.85);
  stroke-width: 0.35;
  filter: url(#arteries-neon);
}
.voip-ring {
  fill: none;
  stroke: rgba(0, 163, 255, 0.35);
  stroke-width: 0.25;
}
.voip-core {
  fill: rgba(0, 163, 255, 0.9);
}
.voip-wave {
  fill: none;
  stroke: rgba(0, 200, 255, 0.45);
  stroke-width: 0.25;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.voip-bars {
  opacity: 0;
}
.voip-bar {
  fill: rgba(120, 220, 255, 0.9);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.fiber-fx {
  opacity: 0;
  transition: opacity 0.35s;
}
.fiber-endpoint {
  fill: #9fe9ff;
  filter: drop-shadow(0 0 2px rgba(0, 180, 255, 0.8));
  transform-box: fill-box;
  transform-origin: center;
}
.fiber-fx .fiber-packet {
  fill: #e8f7ff;
  filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.95));
  opacity: 0;
}
.fiber-fx .fiber-packet.dim {
  fill: rgba(0, 200, 255, 0.85);
}

.arteries-scanner {
  opacity: 0;
  transform-origin: 50px 24px;
  transition: opacity 0.3s;
}
.arteries-scanner-side {
  transform-origin: 28px 28px;
}
.arteries-scanner-side.right {
  transform-origin: 72px 28px;
}

.act-pin.is-active .arteries-phase[data-phase="1"].is-on .fiber-fx {
  opacity: 1;
}
.act-pin.is-active .arteries-phase[data-phase="1"].is-on .fiber-fx .fiber-packet {
  opacity: 1;
}
.act-pin.is-active .arteries-phase[data-phase="1"].is-on .fiber-endpoint {
  animation: arteries-fiber-node 1.8s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="1"].is-on .artery-glow-path:not(.soft) {
  animation: arteries-fiber-spine 2.2s ease-in-out infinite;
}

.act-pin.is-active .arteries-phase[data-phase="2"].is-on .arteries-scanner {
  opacity: 0.9;
  animation: arteries-scanner 2.6s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="2"].is-on .arteries-scanner-side {
  opacity: 0.7;
  animation: arteries-scanner-side 3.2s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="2"].is-on .arteries-scanner-side.right {
  animation-delay: 0.45s;
}
.act-pin.is-active .arteries-phase[data-phase="2"].is-on .cctv-rec {
  opacity: 1;
  animation: arteries-cctv-rec 1.1s steps(1) infinite;
}
.act-pin.is-active .arteries-phase[data-phase="2"].is-on .cctv-lens {
  animation: arteries-cctv-lens 2.4s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="2"].is-on .cctv-scan-ring {
  opacity: 1;
  animation: arteries-cctv-ring 3s linear infinite;
}

.act-pin.is-active .arteries-phase[data-phase="2"].is-on .cctv-node,
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-node {
  opacity: 1;
}

.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-ring {
  animation: arteries-voip-ring 2.4s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .artery-glow-path.pulse {
  animation: arteries-voip-pulse 2.1s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-wave {
  opacity: 1;
  animation: arteries-voip-wave 2.2s ease-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-wave.w2 {
  animation-delay: 0.55s;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bars {
  opacity: 1;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bar {
  animation: arteries-voip-bar 0.9s ease-in-out infinite;
}
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bar.b2 { animation-delay: 0.1s; }
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bar.b3 { animation-delay: 0.2s; }
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bar.b4 { animation-delay: 0.05s; }
.act-pin.is-active .arteries-phase[data-phase="3"].is-on .voip-bar.b5 { animation-delay: 0.25s; }

.arteries-hub .hub-ring {
  fill: rgba(0, 163, 255, 0.12);
  stroke: rgba(0, 163, 255, 0.55);
  stroke-width: 0.35;
}
.arteries-hub .hub-core {
  fill: rgba(0, 163, 255, 0.95);
  filter: drop-shadow(0 0 4px rgba(0, 163, 255, 0.8));
}
.arteries-hub .hub-orbit {
  fill: none;
  stroke: rgba(0, 163, 255, 0.22);
  stroke-width: 0.25;
  stroke-dasharray: 1.2 2.2;
}
.arteries-hub .hub-spark {
  fill: #dff6ff;
  opacity: 0.85;
  filter: drop-shadow(0 0 2px rgba(0, 200, 255, 0.9));
}
.act-pin.is-active .arteries-hub .hub-core {
  animation: ecosystem-core-pulse 2.2s ease-in-out infinite;
}
.act-pin.is-active .arteries-hub .hub-orbit {
  animation: arteries-hub-spin 10s linear infinite;
  transform-origin: 0 0;
  transform-box: fill-box;
}

@keyframes arteries-scanner {
  0% { transform: translateY(0) scaleY(0.7); opacity: 0.2; }
  40% { opacity: 0.95; }
  100% { transform: translateY(28px) scaleY(1.15); opacity: 0; }
}
@keyframes arteries-scanner-side {
  0% { opacity: 0.15; transform: scale(0.85); }
  45% { opacity: 0.75; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); }
}
@keyframes arteries-voip-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes arteries-voip-ring {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.15); opacity: 1; }
}
@keyframes arteries-voip-wave {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes arteries-voip-bar {
  0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes arteries-fiber-node {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes arteries-fiber-spine {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes arteries-cctv-rec {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
@keyframes arteries-cctv-lens {
  0%, 100% { fill: rgba(210, 235, 255, 0.95); }
  50% { fill: rgba(0, 220, 255, 1); }
}
@keyframes arteries-cctv-ring {
  to { transform: rotate(360deg); }
}
@keyframes arteries-hub-spin {
  to { transform: rotate(360deg); }
}

.arteries-narrative {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 8rem;
}

@media (min-width: 960px) {
  .arteries-narrative { min-height: 10rem; }
}

.arteries-phase-copy {
  width: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.arteries-phase-copy:first-child {
  position: relative;
}

.arteries-phase-copy:not(:first-child) {
  position: absolute;
  inset-inline: 0;
  top: 0;
}

.arteries-phase-copy.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.arteries-narrative.is-finale {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}

.arteries-narrative.is-finale .arteries-phase-copy,
.arteries-narrative.is-finale .arteries-phase-copy:not(:first-child) {
  position: relative;
  inset: auto;
  top: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 163, 255, 0.14);
  background: rgba(6, 12, 24, 0.55);
}

.arteries-narrative.is-finale .arteries-phase-text {
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.arteries-phase-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 163, 255, 0.88);
}

html[dir="rtl"] .arteries-phase-label {
  font-family: var(--font-fa);
  letter-spacing: normal;
  text-transform: none;
}

.arteries-phase-text {
  margin: 0.85rem 0 0;
  color: var(--silver-200);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.75;
  max-width: 36rem;
}

html[dir="rtl"] .arteries-phase-text {
  line-height: 1.9;
}

.services-spine-live {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  border-top: 1px solid rgba(0, 163, 255, 0.16);
  max-height: none !important;
  overflow: visible !important;
  min-width: 0;
}

.services-spine-live .service-row {
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.15rem 0;
  opacity: 1;
  transform: none;
}

.services-spine-live .service-copy {
  min-width: 0;
}

.services-spine-live .service-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.services-spine-live .service-copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--silver-400);
  max-width: none;
}

.service-row {
  opacity: 1;
  transform: none;
  transition: background 0.3s;
}

.service-row.is-lit {
  opacity: 1;
  transform: none;
  background: linear-gradient(90deg, rgba(0, 163, 255, 0.08), transparent 70%);
}

html[dir="rtl"] .service-row.is-lit {
  background: linear-gradient(270deg, rgba(0, 163, 255, 0.08), transparent 70%);
}

/* Security */
.security-stage {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .security-stage {
    grid-template-columns: 1fr 1fr;
  }
}

.shield-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.shield-svg {
  width: min(100%, 280px);
  position: relative;
  z-index: 1;
}

.shield-lock {
  stroke: rgba(0, 163, 255, 0.8);
  stroke-width: 2;
  fill: none;
}

.matrix-rain {
  position: absolute;
  inset: 10% 15%;
  opacity: 0.22;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyber);
  line-height: 1.35;
  overflow: hidden;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%);
  white-space: pre;
  pointer-events: none;
}

/* Development */
.dev-stage {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .dev-stage {
    grid-template-columns: 1fr 1.05fr;
  }
}

.ide-panel {
  transform: translateY(24px) scale(0.98);
  opacity: 0.4;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.act-pin.is-active .ide-panel {
  transform: none;
  opacity: 1;
}

.ide-line {
  display: block;
  color: var(--silver-200);
}

.ide-line i {
  display: inline-block;
  width: 1.6rem;
  color: var(--silver-600);
  font-style: normal;
}

.ide-line:nth-child(1) i::before { content: "01"; }
.ide-line:nth-child(2) i::before { content: "02"; }
.ide-line:nth-child(3) i::before { content: "03"; }
.ide-line:nth-child(4) i::before { content: "04"; }
.ide-line:nth-child(5) i::before { content: "05"; }

.ide-line:nth-child(1) { color: #7dd3fc; }
.ide-line:nth-child(2) { color: #c8d0dc; }
.ide-line:nth-child(3) { color: #86efac; }
.ide-line:nth-child(5) { color: #7dd3fc; }

/* Ecosystem */
.eco-stage {
  text-align: center;
}

.eco-svg {
  width: min(100%, 600px);
  margin: 1.5rem auto 0;
  overflow: visible;
}

.eco-core {
  fill: rgba(0, 163, 255, 0.2);
  stroke: var(--cyber);
  stroke-width: 2;
  filter: drop-shadow(0 0 16px rgba(0, 163, 255, 0.65));
  transform-origin: 300px 170px;
  animation: ecosystem-core-pulse 2.6s ease-in-out infinite;
}

.eco-node {
  fill: var(--navy-950);
  stroke: rgba(0, 163, 255, 0.75);
  stroke-width: 1.5;
  opacity: 0.25;
  transition: opacity 0.4s;
}

.act-pin.is-active .eco-node {
  opacity: 1;
  animation: constellation-fiber-pulse 2.8s ease-in-out infinite;
}

.eco-links line {
  stroke: rgba(0, 163, 255, 0.35);
  stroke-width: 1.25;
  stroke-dasharray: 4 6;
  opacity: 0.2;
  transition: opacity 0.5s;
}

.act-pin.is-active .eco-links line {
  opacity: 1;
  animation: constellation-fiber-pulse 3.2s ease-in-out infinite;
}

@keyframes ecosystem-core-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes constellation-fiber-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes artery-line-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* Arsenal shine */
.arsenal-live {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  width: var(--rail);
  margin-inline: auto;
}

.brand-tile-shine {
  position: relative;
  overflow: hidden;
}

.brand-tile-shine::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-20deg) translateX(-120%);
}

.act-pin.is-active .brand-tile-shine::after {
  animation: shine-sweep 2.4s var(--ease) 0.2s both;
}

@keyframes shine-sweep {
  to { transform: skewX(-20deg) translateX(320%); }
}

/* Metrics / outro */
.metrics-value {
  text-shadow: 0 0 28px rgba(0, 163, 255, 0.35);
}

.terminal-cta {
  width: var(--rail);
  margin-inline: auto;
  overflow: hidden;
}

.terminal-cta-body {
  padding: 1.5rem 1.35rem 1.75rem;
}

.terminal-cta-body h2 {
  margin: 0 0 0.65rem;
  color: var(--heading);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.mono-prompt {
  margin: 1.1rem 0 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyber);
}

.cursor-blink {
  display: inline-block;
  width: 0.55rem;
  margin-inline-start: 2px;
  border-inline-end: 2px solid #fff;
  animation: cursor-blink 1s steps(1) infinite;
}

.teaser-scan {
  position: relative;
  overflow: hidden;
}

.teaser-scan::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0, 163, 255, 0.08), transparent);
  animation: blog-scan 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blog-scan {
  0% { top: -40%; }
  100% { top: 120%; }
}

/* Progress-driven opacity helpers */
.act-sticky > *:not(.act-vignette):not(.act-glow):not(.scroll-cue) {
  --act-progress: 0;
}

@media (min-width: 860px) {
  /* Deck slides own the page scroll — don't trap wheel inside sticky */
  html.has-deck-snap .act-sticky {
    overflow-y: hidden !important;
  }
}

@media (max-width: 859px) {
  .journey-rail {
    display: none !important;
  }

  .live-pulse {
    display: flex !important;
    inset-inline: auto;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
    min-width: 0;
    padding: 0.4rem 0.65rem;
    gap: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0, 40, 80, 0.45), 0 0 20px rgba(0, 163, 255, 0.15);
    animation: live-pulse-float 3.6s ease-in-out infinite;
  }

  .live-pulse svg { width: 52px; height: 18px; }
  .live-pulse-meta strong { font-size: 0.58rem; }
  .live-pulse-meta span { display: none; }

  .act-pin {
    min-height: 0 !important;
    height: auto !important;
  }

  .act-sticky {
    min-height: 0 !important;
    height: auto !important;
    padding: calc(var(--chrome-offset, var(--header-h)) + 1rem) 0 2.35rem !important;
    overflow: visible !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .act-pin.is-leaving .act-sticky,
  .act-pin.is-near .act-sticky,
  .act-pin.is-active .act-sticky {
    transform: none !important;
    opacity: 1 !important;
  }

  .scroll-cue { display: none; }
  #gateway .scroll-cue { display: none; }

  .act-caption {
    margin-bottom: 1.25rem;
  }

  .act-headline {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }

  .act-lead {
    font-size: 0.95rem;
  }

  .gateway-stage {
    gap: 1.35rem;
  }

  #gateway .gateway-stage {
    display: flex;
    flex-direction: column;
  }

  #gateway .gateway-right {
    order: -1;
    min-height: 0;
    max-height: 11.5rem;
    display: grid;
    place-items: center;
    margin: 0 auto 0.85rem;
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(0, 163, 255, 0.28));
  }

  #gateway .fiber-svg {
    width: min(68vw, 13.5rem);
  }

  #gateway .fiber-scan,
  #gateway .fiber-orbit-ticks {
    opacity: 1;
  }

  #gateway .fiber-path-bloom {
    stroke-width: 9;
    opacity: 0.95;
  }

  #gateway .gateway-brand {
    margin: 0.35rem 0 0.85rem;
    font-size: clamp(1.55rem, 8vw, 2rem);
    letter-spacing: 0.02em;
    line-height: 1.35;
  }

  html[dir="rtl"] #gateway .gateway-brand {
    letter-spacing: 0;
    font-family: var(--font-fa);
  }

  #gateway .act-label {
    margin-bottom: 0.35rem;
  }

  #gateway .act-headline {
    font-size: clamp(1.25rem, 5.8vw, 1.55rem);
    max-width: 20ch;
    margin-top: 0;
    margin-bottom: 0.85rem;
    line-height: 1.55;
  }

  #gateway .act-lead {
    margin: 0 0 1.35rem;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  #gateway .cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 0.35rem;
  }

  #gateway .cta-row .btn {
    width: 100%;
  }

  #gateway .gateway-terminal {
    margin-top: 1.65rem;
    margin-bottom: 0.25rem;
  }

  #gateway .gateway-terminal .terminal-body {
    min-height: 3.8rem;
    font-size: 0.68rem;
    padding: 0.65rem 0.7rem 0.75rem;
  }

  #gateway .gateway-left {
    display: flex;
    flex-direction: column;
  }

  .terminal-panel {
    max-width: none;
    margin-bottom: 1rem;
  }

  .terminal-body,
  .ide-body {
    font-size: 0.72rem;
    padding: 0.75rem 0.8rem 0.9rem;
    min-height: 4.5rem;
  }

  .cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .cta-row .btn {
    width: 100%;
  }

  .gateway-right,
  .shield-wrap {
    min-height: 200px;
  }

  .fiber-svg,
  .shield-svg {
    width: min(100%, 240px);
    margin-inline: auto;
    display: block;
  }

  /* Clients — phone layout */
  .clients-stage-rich {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .clients-stage-rich .act-caption.center {
    text-align: start;
    margin-inline: 0;
    margin-bottom: 0.25rem;
  }

  .clients-stage-rich .act-caption.center .act-headline,
  .clients-stage-rich .act-caption.center .act-lead {
    margin-inline: 0;
  }

  .clients-stage-rich .constellation-shell {
    width: 100%;
    margin: 0.35rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .clients-stage-rich .constellation {
    width: min(100%, 22.5rem);
    margin-inline: auto;
  }

  .clients-stage-rich .radar-ring.r3,
  .clients-stage-rich .orbit-ring.o2 {
    opacity: 0.35;
  }

  .clients-stage-rich .radar-sweep {
    opacity: 0.4;
  }

  .clients-stage-rich .client-node {
    width: 3.55rem;
    height: 3.55rem;
    padding: 0.32rem;
  }

  .clients-stage-rich .client-node img {
    max-width: 2.6rem;
    max-height: 1.75rem;
  }

  .clients-stage-rich .constellation-core strong {
    font-size: 0.62rem;
  }

  .clients-stage-rich .constellation-core span {
    font-size: 0.55rem;
  }

  .clients-stage-rich .client-panel {
    position: relative;
    inset: auto;
    bottom: auto;
    top: auto;
    inset-inline: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 1;
    padding: 0.85rem 0.9rem 1rem;
  }

  .clients-mobile-rail {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.15rem 0.1rem 0.45rem;
    margin: 0 -0.15rem;
  }

  .clients-mobile-rail::-webkit-scrollbar {
    height: 0;
  }

  .clients-mobile-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.75rem 0.4rem 0.4rem;
    border: 1px solid rgba(0, 163, 255, 0.22);
    background: rgba(8, 14, 28, 0.85);
    color: var(--silver-100);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
  }

  .clients-mobile-chip img {
    width: 2.2rem;
    height: 2.2rem;
  }

  .clients-mobile-chip.is-active,
  .clients-mobile-chip:focus-visible {
    border-color: rgba(0, 163, 255, 0.65);
    background: rgba(0, 163, 255, 0.1);
    outline: none;
  }

  .clients-stage-rich .act-more-center {
    margin-top: 0.35rem;
  }

  .arteries-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    min-height: 0;
  }

  .arteries-blueprint {
    order: -1;
    min-height: 200px;
    max-height: 240px;
    aspect-ratio: 1 / 0.88;
  }

  .arteries-svg {
    padding: 0.5rem;
  }

  .arteries-narrative {
    min-height: 7.5rem;
  }

  .arteries-phase-text {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .act-caption-compact {
    margin-bottom: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .security-stage {
    gap: 1.1rem;
  }

  .matrix-rain {
    font-size: 0.62rem;
    max-height: 9rem;
  }

  .dev-stage,
  .dev-full {
    width: var(--rail);
  }

  .ide-depth {
    display: none;
  }

  .ide-panel-rich {
    transform: none !important;
    opacity: 1 !important;
  }

  .ide-tabs {
    display: none;
  }

  .program-row {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.85rem 0;
  }

  .program-row p {
    font-size: 0.82rem;
  }

  .eco-stage,
  .clients-stage {
    gap: 1rem;
  }

  .constellation {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
  }

  .arsenal-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .brand-tile {
    min-height: 4.25rem;
    padding: 0.65rem;
  }

  .brand-tile img {
    max-height: 2.1rem;
  }
}

@media (max-width: 480px) {
  .arteries-blueprint {
    min-height: 180px;
    max-height: 200px;
  }

  .arsenal-live {
    gap: 0.5rem;
  }

  .act-label {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.has-deck-snap {
    scroll-snap-type: none;
  }
  .act-pin {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  .act-sticky {
    position: relative;
    top: auto;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: calc(var(--chrome-offset, var(--header-h)) + 0.75rem) 0 2.5rem !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
  }
  .fiber-path,
  .artery-spine,
  .artery-branch,
  .shield-ring,
  .shield-core {
    stroke-dashoffset: 0 !important;
  }
  .live-pulse,
  .scroll-cue,
  .scanner,
  .matrix-rain,
  .teaser-scan::before,
  .brand-tile-shine::after,
  .fiber-orbit,
  .fiber-core,
  .fiber-core-ring,
  .fiber-scan,
  .fiber-orbit-ticks,
  .eco-core,
  .radar-sweep,
  .orbit-ring,
  .core-pulse,
  .fiber-packet,
  .client-node .node-ring,
  .cctv-rec,
  .cctv-lens,
  .cctv-scan-ring,
  .voip-wave,
  .voip-bar,
  .voip-ring,
  .hub-orbit,
  .fiber-endpoint {
    animation: none !important;
  }
  .fiber-svg .fiber-packet,
  .fiber-fx .fiber-packet {
    opacity: 1 !important;
  }
  .service-row,
  .ide-panel,
  .eco-node,
  .eco-links line {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Software IDE workspace —— */
.dev-full {
  position: relative;
  z-index: 1;
  width: var(--rail);
  margin-inline: auto;
}

.ide-workspace {
  position: relative;
  margin-top: 1rem;
  perspective: 1400px;
}

.ide-depth {
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1px solid rgba(0, 163, 255, 0.1);
  background: rgba(10, 15, 30, 0.35);
  border-radius: 0.75rem;
  z-index: 0;
}

.ide-panel-rich {
  position: relative;
  z-index: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  transform: translateY(18px) scale(0.96);
  opacity: 0.45;
  transition: transform 0.65s var(--ease), opacity 0.65s var(--ease);
}

.act-pin.is-active .ide-panel-rich {
  transform: none;
  opacity: 1;
}

.ide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 208, 220, 0.25);
  display: inline-block;
}
.ide-dot.cyber { background: rgba(0, 163, 255, 0.75); }

.ide-tabs {
  margin-inline-start: auto;
  display: flex;
  gap: 0.35rem;
}
.ide-tabs span {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--silver-600);
}

.ide-main {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 280px;
}

@media (min-width: 900px) {
  .ide-main {
    grid-template-columns: 3.2rem 1fr 42%;
  }
}

.ide-rail {
  display: none;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 5, 12, 0.35);
  padding: 0.55rem;
  gap: 0.4rem;
}
.ide-rail div {
  height: 1.4rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 900px) {
  .ide-rail { display: grid; }
}

.ide-code {
  padding: 0.85rem 0.9rem;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.05);
}
.ide-code-meta {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}
.ide-code-meta span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.ide-code-meta span:first-child {
  width: 4rem;
  background: rgba(0, 163, 255, 0.25);
}
.ide-code-meta span:last-child { width: 2.5rem; }

.ide-programs {
  display: none;
  padding: 0.75rem;
  overflow: visible;
  max-height: none;
}
@media (min-width: 900px) {
  .ide-programs { display: block; }
}

.program-mobile {
  display: block;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 30, 0.55);
}
@media (min-width: 900px) {
  .program-mobile { display: none; }
}

.programs-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber);
}
html[dir="rtl"] .programs-label {
  font-family: var(--font-fa);
  letter-spacing: normal;
  text-transform: none;
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.program-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.45rem;
  border: 1px solid transparent;
  opacity: 0.55;
  transform: none;
  transition: opacity 0.4s var(--ease), border-color 0.3s, background 0.3s, transform 0.25s;
}
a.program-row.is-clickable {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.program-row.is-clickable:hover,
a.program-row.is-clickable:focus-visible {
  opacity: 1;
  border-color: rgba(0, 163, 255, 0.35);
  background: rgba(0, 163, 255, 0.1);
  transform: translateX(-2px);
  outline: none;
}
html[dir="ltr"] a.program-row.is-clickable:hover,
html[dir="ltr"] a.program-row.is-clickable:focus-visible {
  transform: translateX(2px);
}
.program-row.is-lit {
  opacity: 1;
  transform: none;
  border-color: rgba(0, 163, 255, 0.16);
  background: rgba(0, 163, 255, 0.05);
}
.program-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 163, 255, 0.25);
  background: rgba(0, 163, 255, 0.1);
  color: var(--cyber);
  font-size: 0.75rem;
}
.program-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.program-row strong {
  color: var(--heading);
  font-size: 0.82rem;
}
.program-row p {
  margin: 0.2rem 0 0;
  color: var(--silver-400);
  font-size: 0.75rem;
  line-height: 1.4;
}
.soon-badge {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(245, 197, 66, 0.35);
  background: rgba(245, 197, 66, 0.1);
  color: #f5d76e;
}
.ide-status {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 15, 30, 0.7);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--silver-600);
}
.ide-status .ok { color: rgba(0, 163, 255, 0.75); }

/* —— Clients constellation —— */
.clients-stage {
  position: relative;
  z-index: 1;
  width: var(--rail);
  margin-inline: auto;
}

.clients-stage-rich .constellation-shell {
  width: min(100%, 760px);
  margin: 1rem auto 0;
}

.clients-stage-rich .constellation {
  width: 100%;
}

.clients-mobile-rail {
  display: none;
}

.constellation-shell {
  position: relative;
  width: min(100%, 680px);
  margin: 1rem auto 0;
}

.constellation {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  isolation: isolate;
}

.constellation-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.radar-ring,
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 163, 255, 0.12);
}

.radar-ring.r1 { width: 34%; height: 34%; }
.radar-ring.r2 { width: 58%; height: 58%; opacity: 0.85; }
.radar-ring.r3 { width: 82%; height: 82%; opacity: 0.65; }

.orbit-ring.o1 {
  width: 48%;
  height: 48%;
  border-style: dashed;
  border-color: rgba(0, 163, 255, 0.18);
  animation: orbit-spin 28s linear infinite;
}

.orbit-ring.o2 {
  width: 72%;
  height: 72%;
  border-style: dashed;
  border-color: rgba(0, 163, 255, 0.12);
  animation: orbit-spin 42s linear infinite reverse;
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 163, 255, 0.22),
    transparent 55deg,
    transparent 360deg
  );
  mask-image: radial-gradient(circle, transparent 18%, #000 19%, #000 70%, transparent 71%);
  -webkit-mask-image: radial-gradient(circle, transparent 18%, #000 19%, #000 70%, transparent 71%);
  animation: radar-sweep 4.5s linear infinite;
  opacity: 0.7;
}

@keyframes radar-sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.constellation-fiber {
  stroke: rgba(0, 163, 255, 0.28);
  stroke-width: 0.35;
  stroke-dasharray: 1.2 1.4;
  opacity: 0.25;
  transition: opacity 0.4s, stroke 0.35s;
}

.act-pin.is-active .constellation-fiber,
.section-clients-page .constellation-fiber {
  opacity: 1;
  animation: constellation-fiber-pulse 3s ease-in-out infinite;
}

.fiber-packet {
  fill: #9adbff;
  filter: drop-shadow(0 0 2px rgba(0, 163, 255, 0.95));
  opacity: 0;
}

.act-pin.is-active .fiber-packet,
.section-clients-page .fiber-packet {
  opacity: 1;
}

.constellation-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(42%, 9.8rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0.4);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 163, 255, 0.28), transparent 58%),
    rgba(4, 8, 18, 0.94);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.75rem;
  box-shadow: 0 0 40px rgba(0, 163, 255, 0.25);
  overflow: hidden;
}

.core-pulse {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0.35);
  animation: core-ring 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes core-ring {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.constellation-core strong {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #fff;
}

.constellation-core span {
  position: relative;
  font-size: 0.56rem;
  line-height: 1.35;
  color: var(--silver-600);
}

.client-node {
  position: absolute;
  z-index: 3;
  width: 4.15rem;
  height: 4.15rem;
  transform: translate(-50%, -50%) scale(0.85);
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0.32);
  background: rgba(8, 14, 28, 0.95);
  display: grid;
  place-items: center;
  padding: 0.32rem;
  cursor: pointer;
  opacity: 0.86;
  transition: opacity 0.35s, transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.client-node .node-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(0, 163, 255, 0.35);
  opacity: 0;
  animation: none;
}

.act-pin.is-active .client-node,
.section-clients-page .client-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: node-arrive 0.55s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes node-arrive {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.client-node:hover,
.client-node.is-active {
  border-color: var(--cyber);
  box-shadow: 0 0 22px rgba(0, 163, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 5;
}

.client-node:hover .node-ring,
.client-node.is-active .node-ring {
  opacity: 1;
  animation: node-ping 1.4s ease-out infinite;
}

@keyframes node-ping {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

.client-logo-img {
  object-fit: contain;
  border-radius: 0.28rem;
  padding: 0.2rem 0.32rem;
  box-shadow: inset 0 0 0 1px rgba(15, 40, 70, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.06);
  mix-blend-mode: normal;
  filter: contrast(1.15) saturate(1.04);
}

.client-logo-img.is-light {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 40, 70, 0.12);
  filter: none;
}

.client-node img {
  max-width: 3.15rem;
  max-height: 2.05rem;
  width: auto;
}

.client-panel {
  position: absolute;
  z-index: 6;
  inset-inline-end: 0;
  bottom: 0;
  width: min(100%, 17rem);
  padding: 0;
  border: 1px solid rgba(0, 163, 255, 0.28);
  background: rgba(4, 8, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 163, 255, 0.08);
  overflow: hidden;
}

.client-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid rgba(0, 163, 255, 0.16);
  background: rgba(0, 163, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--cyber);
}

.client-panel-bar i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 8px rgba(61, 255, 154, 0.8);
  animation: topo-blink 1.2s ease-in-out infinite;
}

.client-panel-bar em {
  margin-inline-start: auto;
  font-style: normal;
  color: var(--silver-600);
  letter-spacing: 0.08em;
}

.client-panel .eyebrow,
.client-panel h3,
.client-panel .meta-line,
.client-panel p[data-panel-desc] {
  padding-inline: 0.95rem;
}

.client-panel .eyebrow { margin: 0.75rem 0 0; text-align: center; }
.client-panel h3 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: 1.02rem;
  padding-bottom: 0.95rem;
  text-align: center;
}
.client-panel p { margin: 0; color: var(--silver-400); font-size: 0.82rem; }
.client-panel .meta-line { margin-bottom: 0.45rem; color: var(--silver-600); }
.client-panel .meta-line strong { color: var(--cyber); font-weight: 600; }
.client-panel p[data-panel-desc] {
  padding-bottom: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .constellation-shell {
    width: 100%;
  }

  .constellation {
    width: min(100%, 22.5rem);
    margin-inline: auto;
  }

  .client-node {
    width: 3.35rem;
    height: 3.35rem;
    padding: 0.28rem;
  }

  .client-node img {
    max-width: 2.45rem;
    max-height: 1.65rem;
  }

  .client-panel {
    position: relative;
    inset: auto;
    bottom: auto;
    top: auto;
    inset-inline: auto;
    width: 100%;
    max-width: none;
    z-index: 1;
  }

  .radar-sweep { opacity: 0.85; }
  .clients-stage-rich .radar-sweep { opacity: 0.9; }
  .client-node .node-ring {
    animation: node-ring-pulse 2.2s ease-in-out infinite;
  }

  .clients-stage-rich .client-node {
    width: 3.55rem;
    height: 3.55rem;
  }
}

@keyframes node-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 1; }
}

.constellation-page,
.constellation-shell-page {
  width: min(100%, 760px);
  margin-inline: auto;
}
.constellation-shell-page .constellation {
  width: 100%;
}
.clients-stage-page {
  width: var(--rail);
  margin-inline: auto;
}
.client-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.client-grid .teaser {
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.2rem 1.35rem;
}
.client-grid .teaser h3 {
  width: 100%;
}
@media (min-width: 720px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.program-card .program-icon {
  margin-bottom: 0.35rem;
}
.section-clients-page .constellation-fiber {
  opacity: 1;
  animation: constellation-fiber-pulse 3s ease-in-out infinite;
}
.section-clients-page .client-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.client-logo-grid {
  display: block;
  max-height: 4.8rem;
  max-width: 11rem;
  width: auto;
  height: auto;
  opacity: 0.98;
  margin-inline: auto;
}

.client-grid .client-logo-img.is-light {
  background: #fff;
  padding: 0.7rem 0.95rem;
}

@media (min-width: 860px) {
  .constellation-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(20rem, 32%);
    align-items: center;
    gap: clamp(1.1rem, 2.8vw, 2.4rem);
    width: min(100%, 1080px);
  }

  .clients-stage-rich .constellation-shell,
  .constellation-shell-page {
    width: min(100%, 1120px);
  }

  .client-node {
    width: 4.35rem;
    height: 4.35rem;
  }

  .client-node img {
    max-width: 3.35rem;
    max-height: 2.2rem;
  }

  .client-panel {
    position: relative;
    inset: auto;
    bottom: auto;
    inset-inline-end: auto;
    width: 100%;
    align-self: center;
  }
}

html[data-theme="light"] .client-logo-img {
  box-shadow: inset 0 0 0 1px rgba(15, 40, 70, 0.14);
}

html[data-theme="light"] .client-logo-img.is-light {
  filter: none;
}

/* Light theme journey surfaces */
html[data-theme="light"] .terminal-panel,
html[data-theme="light"] .ide-panel,
html[data-theme="light"] .terminal-cta,
html[data-theme="light"] .glass-panel,
html[data-theme="light"] .arteries-phase-copy,
html[data-theme="light"] .client-panel,
html[data-theme="light"] .program-row.is-lit,
html[data-theme="light"] a.program-row.is-clickable:hover,
html[data-theme="light"] a.program-row.is-clickable:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 40, 70, 0.12);
  box-shadow: 0 16px 40px rgba(20, 45, 80, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .act-headline,
html[data-theme="light"] .gateway-brand,
html[data-theme="light"] .terminal-cta-body h2,
html[data-theme="light"] .program-row strong {
  color: var(--heading);
  text-shadow: none;
}

html[data-theme="light"] .act-lead,
html[data-theme="light"] .arteries-phase-text,
html[data-theme="light"] .program-row p,
html[data-theme="light"] .act-more {
  color: var(--silver-400);
}

html[data-theme="light"] .act-more:hover {
  color: var(--cyber);
}

html[data-theme="light"] .program-row {
  opacity: 0.88;
  color: var(--heading);
}

html[data-theme="light"] .program-row.is-lit,
html[data-theme="light"] a.program-row.is-clickable:hover {
  opacity: 1;
  background: rgba(0, 119, 200, 0.07);
  border-color: rgba(0, 119, 200, 0.28);
}

html[data-theme="light"] .live-pulse {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 119, 200, 0.22);
  box-shadow: 0 8px 24px rgba(20, 45, 80, 0.08);
  color: var(--heading);
}

html[data-theme="light"] .constellation-core {
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 119, 200, 0.16), transparent 58%),
    #0a1222;
  color: #eef2f7;
}

html[data-theme="light"] .terminal-bar,
html[data-theme="light"] .ide-bar {
  border-bottom-color: rgba(15, 40, 70, 0.1);
}

html[data-theme="light"] .ide-line:nth-child(1),
html[data-theme="light"] .ide-line:nth-child(5) {
  color: #0070b8;
}

html[data-theme="light"] .ide-line:nth-child(2) {
  color: #2a3a52;
}

html[data-theme="light"] .ide-line:nth-child(3) {
  color: #1f7a4d;
}

html[data-theme="light"] .ide-line:nth-child(4) {
  color: var(--silver-400);
}

html[data-theme="light"] .ide-line i {
  color: var(--silver-600);
}

html[data-theme="light"] .terminal-body code,
html[data-theme="light"] .ide-status {
  color: var(--silver-200);
}

html[data-theme="light"] .arteries-blueprint {
  border-color: transparent;
  background:
    radial-gradient(ellipse at 50% 65%, rgba(0, 119, 200, 0.1), transparent 58%),
    transparent;
}

html[data-theme="light"] .arteries-phase-label {
  color: var(--cyber);
}

html[data-theme="light"] .arteries-narrative.is-finale .arteries-phase-copy,
html[data-theme="light"] .arteries-narrative.is-finale .arteries-phase-copy:not(:first-child) {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 119, 200, 0.2);
  box-shadow: 0 8px 24px rgba(20, 45, 80, 0.06);
}

html[data-theme="light"] .text-gradient {
  background: linear-gradient(120deg, #0b1220 10%, #3a4a60 45%, #0077c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

