@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Russo+One&display=swap");

:root {
  color-scheme: dark;
  --bg: #02070d;
  --bg-soft: #07121c;
  --panel: rgba(4, 12, 22, 0.9);
  --panel-strong: rgba(3, 9, 18, 0.98);
  --line: rgba(106, 192, 255, 0.38);
  --line-soft: rgba(126, 214, 255, 0.14);
  --text: #dffcff;
  --muted: #8fd3e8;
  --amber: #72d7ff;
  --amber-hot: #3d7dff;
  --amber-soft: #d8fbff;
  --green: #c2ff67;
  --cyan: #72d7ff;
  --blue: #4f7dff;
  --alert: #ff6458;
  --shadow:
    0 0 0 1px rgba(98, 188, 255, 0.14),
    0 0 42px rgba(62, 125, 255, 0.12),
    inset 0 1px 0 rgba(212, 249, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  font-family: "IBM Plex Mono", "PT Mono", monospace;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(67, 139, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(114, 215, 255, 0.1), transparent 18%),
    radial-gradient(circle at 24% 76%, rgba(194, 255, 103, 0.08), transparent 22%),
    linear-gradient(180deg, #040910 0%, #03070d 44%, #010306 100%);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 10px;
}

body.boot-complete .boot-overlay {
  opacity: 0;
  visibility: hidden;
}

.noise-layer,
.dither-layer,
.scanline-layer,
.vignette-layer,
.screen-reflection {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise-layer {
  opacity: 0.06;
  background-image: radial-gradient(circle, rgba(214, 251, 255, 0.24) 0.55px, transparent 0.9px);
  background-size: 10px 10px;
  mix-blend-mode: color-dodge;
  animation: noise-shift 0.18s steps(3) infinite;
}

.dither-layer {
  opacity: 0.16;
  background:
    radial-gradient(circle, rgba(220, 252, 255, 0.24) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(114, 215, 255, 0.18) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(194, 255, 103, 0.12) 0 1px, transparent 1.2px);
  background-size:
    14px 14px,
    16px 16px,
    18px 18px;
  background-position:
    0 0,
    6px 8px,
    10px 4px;
  mix-blend-mode: screen;
  animation: dither-drift 8s linear infinite;
}

.scanline-layer {
  opacity: 0.22;
  background:
    linear-gradient(
      180deg,
      transparent 0,
      transparent 2px,
      rgba(115, 212, 255, 0.08) 3px,
      transparent 4px
    );
  background-size: 100% 4px;
}

.vignette-layer {
  box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.82);
}

.screen-reflection {
  background: linear-gradient(130deg, rgba(135, 218, 255, 0.08), transparent 18%);
  opacity: 0.18;
}

.boot-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 12;
  background:
    radial-gradient(circle at 50% 12%, rgba(86, 146, 255, 0.1), transparent 24%),
    rgba(2, 5, 9, 0.95);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.boot-shell {
  width: min(640px, calc(100% - 28px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.boot-header,
.panel-head,
.eyebrow-row,
.module-head,
.topbar,
.route-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.boot-header {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boot-terminal {
  min-height: 164px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

.boot-terminal-line {
  display: block;
}

.boot-terminal-line.accent {
  color: var(--green);
}

.caret,
.typing-caret {
  display: inline-block;
  width: 10px;
  margin-left: 4px;
  color: var(--amber-soft);
  animation: blink 0.9s steps(1) infinite;
}

.boot-bar {
  height: 10px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
}

.boot-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 28px rgba(114, 215, 255, 0.34);
}

.deck {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 4px 40px;
}

.monitor-shell {
  width: 100%;
  height: 100%;
  perspective: none;
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.5));
}

.monitor-bezel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 26px 20px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 12%, rgba(196, 226, 255, 0.18), transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.08), transparent 12%),
    linear-gradient(145deg, #526372 0%, #202c36 20%, #0b1219 52%, #1d2b37 80%, #4e6070 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 16px rgba(0, 0, 0, 0.42),
    0 28px 70px rgba(0, 0, 0, 0.45);
  transform: none;
}

.monitor-bezel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 34px;
  border: 1px solid rgba(218, 240, 255, 0.12);
  pointer-events: none;
}

.monitor-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0 8px;
}

.monitor-brand {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  color: rgba(218, 244, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.monitor-leds {
  display: inline-flex;
  gap: 10px;
}

.led {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 12px currentColor;
}

.led-cyan {
  color: #72d7ff;
  background: currentColor;
}

.led-green {
  color: #c2ff67;
  background: currentColor;
}

.led-red {
  color: #ff6458;
  background: currentColor;
}

.monitor-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-radius: 30px;
  padding: 10px 14px 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #182430 0%, #071018 28%, #040910 100%);
  box-shadow:
    inset 0 0 0 1px rgba(190, 223, 255, 0.1),
      inset 0 0 50px rgba(0, 0, 0, 0.55),
      inset 0 30px 45px rgba(191, 226, 255, 0.05);
  scrollbar-width: thin;
  scrollbar-color: rgba(114, 215, 255, 0.38) rgba(6, 16, 28, 0.72);
}

.monitor-screen::-webkit-scrollbar {
  width: 10px;
}

.monitor-screen::-webkit-scrollbar-track {
  background: rgba(6, 16, 28, 0.72);
  border-radius: 999px;
}

.monitor-screen::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(114, 215, 255, 0.55), rgba(61, 125, 255, 0.5));
  border-radius: 999px;
  border: 2px solid rgba(6, 16, 28, 0.72);
}

.monitor-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle, rgba(220, 252, 255, 0.08) 0 0.9px, transparent 1.1px),
    radial-gradient(circle at 50% 46%, transparent 48%, rgba(0, 0, 0, 0.08) 78%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 18%);
  background-size:
    9px 9px,
    auto,
    auto;
  pointer-events: none;
  z-index: 3;
}

.monitor-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(166, 220, 255, 0.08),
    inset 0 0 120px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 3;
}

.monitor-screen .deck {
  width: min(1440px, 100%);
  transform: none;
  filter: saturate(0.96) contrast(1.04);
}

.monitor-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 10px 8px 4px;
}

.console-grille {
  flex: 1;
  min-height: 48px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(10, 18, 25, 0.8) 0 3px, rgba(89, 105, 119, 0.42) 3px 5px);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(214, 241, 255, 0.08);
}

.console-controls {
  display: inline-flex;
  gap: 18px;
}

.console-knob {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.console-knob span {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  color: rgba(214, 242, 255, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-knob i {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(145deg, #6a7b8b, #222f3b 55%, #0f1820);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 10px rgba(0, 0, 0, 0.35),
    0 10px 20px rgba(0, 0, 0, 0.24);
}

.console-knob i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 12px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: rgba(210, 247, 255, 0.86);
  box-shadow: 0 0 10px rgba(114, 215, 255, 0.4);
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.92), rgba(2, 7, 14, 0.97)),
    radial-gradient(circle at top, rgba(93, 191, 255, 0.06), transparent 42%);
  box-shadow: var(--shadow);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(220, 250, 255, 0.03), transparent 16%),
    linear-gradient(90deg, transparent 0, rgba(114, 215, 255, 0.05) 50%, transparent 100%),
    radial-gradient(circle, rgba(214, 251, 255, 0.08) 0 0.8px, transparent 1px);
  background-size:
    auto,
    auto,
    8px 8px;
  pointer-events: none;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(118, 214, 255, 0.06);
  border-radius: 18px;
  pointer-events: none;
}

.topbar {
  padding: 18px 22px;
  margin-bottom: 18px;
}

.brand-block {
  display: grid;
  gap: 8px;
}

.mono-label {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.05em;
  color: var(--amber);
  text-shadow:
    0 0 4px rgba(202, 247, 255, 0.44),
    0 0 18px rgba(61, 125, 255, 0.26);
  animation: screen-flicker 5.4s linear infinite;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.status-box {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(111, 198, 255, 0.05);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.clock-box {
  color: var(--text);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(114, 215, 255, 0.72);
  animation: pulse-dot 1.8s infinite;
}

.status-dot.alt {
  background: var(--green);
  box-shadow: 0 0 14px rgba(194, 255, 103, 0.68);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
}

.mission-panel,
.viewport-panel,
.console-panel,
.terminal-panel,
.section-title,
.module-card {
  padding: 22px;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.hero-title {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  margin: 18px 0 0;
  font-size: clamp(58px, 9vw, 126px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #dffcff;
  text-shadow:
    0 0 6px rgba(213, 251, 255, 0.38),
    0 0 24px rgba(61, 125, 255, 0.24);
  animation: screen-flicker 7s linear infinite;
}

.hero-title span {
  display: block;
  color: var(--green);
}

.hero-terminal {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(150, 231, 255, 0.04), transparent),
    rgba(2, 8, 16, 0.42);
}

.terminal-prefix {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy {
  min-height: 96px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.cta-row,
.signal-grid,
.module-grid,
.console-grid,
.bars,
.spec-list {
  display: grid;
}

.cta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.action-button,
.module-link {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    filter 0.18s ease;
}

.action-button:hover,
.module-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
}

.primary,
.module-link {
  color: #02111a;
  background:
    linear-gradient(180deg, #deffff, #80efff 52%, #73ff9d),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent);
  box-shadow:
    0 0 0 1px rgba(223, 252, 255, 0.22),
    0 0 24px rgba(114, 215, 255, 0.2);
}

.secondary {
  color: var(--cyan);
  background: rgba(114, 215, 255, 0.08);
}

.signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.signal-card,
.mini-metric {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(103, 191, 255, 0.04);
  background-image: radial-gradient(circle, rgba(220, 252, 255, 0.08) 0 0.7px, transparent 0.95px);
  background-size: 8px 8px;
}

.signal-label,
.mini-metric span,
.spec-list span {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-card strong,
.mini-metric strong,
.spec-list strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
}

.ticker-frame {
  margin-top: 20px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(103, 191, 255, 0.03);
}

.ticker {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: flex;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker span {
  position: relative;
  padding-right: 18px;
}

.ticker span::after {
  content: "//";
  position: absolute;
  right: 0;
  color: rgba(194, 255, 103, 0.24);
}

.viewport-panel {
  min-height: 100%;
}

.viewport-shell {
  position: relative;
  min-height: 520px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 48% 44%, rgba(114, 215, 255, 0.08), transparent 18%),
    radial-gradient(circle at 52% 48%, rgba(194, 255, 103, 0.05), transparent 14%),
    linear-gradient(180deg, rgba(172, 237, 255, 0.03), transparent 16%),
    linear-gradient(180deg, rgba(3, 10, 18, 0.94), rgba(1, 4, 8, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(114, 215, 255, 0.08),
    inset 0 24px 54px rgba(61, 125, 255, 0.06),
    inset 0 -36px 72px rgba(6, 18, 42, 0.22);
}

.viewport-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(216, 252, 255, 0.09) 0 0.85px, transparent 1.05px),
    radial-gradient(circle at 10% 18%, rgba(194, 255, 103, 0.12) 0 1px, transparent 1.3px),
    radial-gradient(circle at 84% 22%, rgba(255, 100, 88, 0.08) 0 1px, transparent 1.3px);
  background-size:
    10px 10px,
    18px 18px,
    18px 18px;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.orbital-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.orbital-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.depth-haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.depth-haze-back {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 48%, rgba(114, 215, 255, 0.12), transparent 18%),
    radial-gradient(circle at 28% 58%, rgba(194, 255, 103, 0.05), transparent 14%),
    radial-gradient(circle at 70% 40%, rgba(255, 100, 88, 0.06), transparent 18%);
  filter: blur(18px);
}

.depth-haze-front {
  z-index: 7;
  background:
    linear-gradient(180deg, transparent 0 70%, rgba(5, 10, 18, 0.76) 100%),
    radial-gradient(circle at 50% 112%, rgba(66, 126, 255, 0.12), transparent 34%);
  mix-blend-mode: screen;
}

.telemetry-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.telemetry-lines span {
  position: absolute;
  display: block;
  height: 1px;
  transform-origin: left center;
  box-shadow: 0 0 10px currentColor;
  opacity: 0.8;
}

.telemetry-lines span:nth-child(1) {
  top: 24%;
  left: 48%;
  width: 34%;
  --telemetry-rotate: 36deg;
  color: rgba(114, 215, 255, 0.62);
  transform: rotate(36deg);
  animation: telemetry-shift 5.8s ease-in-out infinite;
}

.telemetry-lines span:nth-child(2) {
  top: 34%;
  left: 42%;
  width: 28%;
  --telemetry-rotate: -18deg;
  color: rgba(194, 255, 103, 0.6);
  transform: rotate(-18deg);
  animation: telemetry-shift 4.6s ease-in-out infinite reverse;
}

.telemetry-lines span:nth-child(3) {
  top: 58%;
  left: 54%;
  width: 42%;
  --telemetry-rotate: -34deg;
  color: rgba(255, 100, 88, 0.68);
  transform: rotate(-34deg);
  animation: telemetry-shift 6.2s ease-in-out infinite;
}

.telemetry-lines span:nth-child(4) {
  top: 44%;
  left: 18%;
  width: 20%;
  --telemetry-rotate: 84deg;
  color: rgba(114, 215, 255, 0.48);
  transform: rotate(84deg);
  animation: telemetry-blink 2.6s ease-in-out infinite;
}

.viewport-grid {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 12%),
    repeating-linear-gradient(
      90deg,
      rgba(114, 215, 255, 0.08) 0 1px,
      transparent 1px 38px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(79, 125, 255, 0.08) 0 1px,
      transparent 1px 30px
    );
  transform: perspective(480px) rotateX(78deg) scale(1.2);
  transform-origin: bottom center;
  opacity: 0.4;
}

.viewport-stars span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(218, 252, 255, 0.92);
  box-shadow: 0 0 12px rgba(114, 215, 255, 0.44);
  animation: twinkle 3.8s ease-in-out infinite;
}

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

.viewport-stars span:nth-child(1) { top: 16%; left: 18%; }
.viewport-stars span:nth-child(2) { top: 12%; right: 16%; animation-delay: 0.7s; }
.viewport-stars span:nth-child(3) { top: 30%; left: 72%; animation-delay: 1.1s; }
.viewport-stars span:nth-child(4) { top: 38%; left: 12%; animation-delay: 1.8s; }
.viewport-stars span:nth-child(5) { top: 22%; left: 48%; animation-delay: 2.1s; }
.viewport-stars span:nth-child(6) { top: 46%; right: 24%; animation-delay: 2.7s; }

.tilt-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  transform-style: preserve-3d;
  perspective: 1200px;
  transform:
    perspective(1400px)
    rotateX(14deg)
    rotateZ(-4deg)
    scale(1.02);
}

.orbit-ring,
.planet-center,
.beam-sweep {
  position: absolute;
  left: 50%;
  top: 53%;
  transform-style: preserve-3d;
}

.orbit-ring {
  width: var(--size);
  height: var(--size);
  margin-left: calc(var(--size) * -0.5);
  margin-top: calc(var(--size) * -0.5);
  border: 1px solid rgba(114, 215, 255, 0.24);
  border-radius: 999px;
  transform: rotateX(72deg) rotateZ(var(--skew, 0deg));
  box-shadow:
    0 0 0 1px rgba(114, 215, 255, 0.04),
    inset 0 0 36px rgba(114, 215, 255, 0.04),
    0 0 22px rgba(61, 125, 255, 0.08);
}

.ring-alpha { --size: 370px; --skew: 0deg; }
.ring-beta { --size: 270px; --skew: 22deg; }
.ring-gamma { --size: 166px; --skew: -16deg; }

.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(194, 255, 103, 0.14);
  border-radius: inherit;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  inset: -4%;
  border-radius: inherit;
  border: 1px solid rgba(255, 100, 88, 0.12);
  transform: translateZ(-4px);
}

.orbit-carrier {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.planet-shell {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--planet-size);
  height: var(--planet-size);
  margin-left: calc(var(--planet-size) * -0.5);
  margin-top: calc(var(--planet-size) * -0.5);
  transform:
    translate3d(var(--orbit-x, 0px), var(--orbit-y, 0px), var(--orbit-z, 0px))
    rotateX(-70deg)
    scale(var(--orbit-scale, 1));
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5))
    brightness(var(--orbit-brightness, 1));
  opacity: var(--orbit-opacity, 1);
  will-change: transform, filter, opacity;
}

.planet-core,
.planet-glow,
.planet-center-core,
.planet-center-rings {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.planet-core {
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(218, 252, 255, 0.16),
    0 0 24px rgba(114, 215, 255, 0.12);
}

.planet-core::before,
.planet-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.planet-alpha { --planet-size: 54px; }
.planet-alpha .planet-core {
  background: radial-gradient(circle at 30% 28%, #fdf7ef 0, #9fd6ff 18%, #5aa7ff 52%, #2b4fa9 100%);
}
.planet-alpha .planet-core::before {
  background: linear-gradient(180deg, transparent 0 36%, rgba(255, 255, 255, 0.2) 36% 42%, transparent 42% 100%);
}
.planet-alpha .planet-core::after {
  box-shadow: inset -14px -12px 18px rgba(14, 20, 45, 0.42), inset 10px 10px 12px rgba(255, 255, 255, 0.22);
}

.planet-beta { --planet-size: 72px; }
.planet-beta .planet-core {
  background: radial-gradient(circle at 36% 30%, #fff5f2 0, #ffb6b0 18%, #ff6458 56%, #6d0f1d 100%);
}
.planet-beta .planet-core::before {
  background: repeating-linear-gradient(180deg, rgba(255, 226, 224, 0.88) 0 4px, rgba(255, 100, 88, 0.22) 4px 8px);
  mix-blend-mode: screen;
  opacity: 0.74;
}
.planet-beta .planet-core::after {
  box-shadow: inset -16px -14px 20px rgba(64, 8, 18, 0.46), inset 12px 12px 14px rgba(255, 225, 221, 0.18);
}

.planet-gamma { --planet-size: 32px; }
.planet-gamma .planet-core {
  background: radial-gradient(circle at 28% 28%, #eefff7 0, #d6ffcf 24%, #c2ff67 54%, #2d6c1a 100%);
}
.planet-gamma .planet-core::after {
  box-shadow: inset -8px -7px 12px rgba(10, 44, 15, 0.38), inset 7px 7px 10px rgba(227, 255, 219, 0.16);
}

.planet-glow {
  inset: -18%;
  background: radial-gradient(circle, rgba(114, 215, 255, 0.18), transparent 70%);
  transform: translateZ(-12px);
}

.planet-center {
  width: 148px;
  height: 148px;
  margin-left: -74px;
  margin-top: -74px;
  transform: translateZ(56px);
  animation: core-float 6.8s ease-in-out infinite;
}

.planet-center-core {
  background: radial-gradient(circle at 34% 28%, #f3ffff 0, #a9f3ff 18%, #5ad4ff 42%, #0f3561 74%, #07111d 100%);
  box-shadow:
    0 0 56px rgba(61, 125, 255, 0.22),
    inset -28px -24px 28px rgba(4, 18, 40, 0.46),
    inset 16px 16px 22px rgba(222, 252, 255, 0.14);
}

.planet-center-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(180deg, rgba(195, 252, 255, 0.76) 0 4px, rgba(84, 214, 255, 0.1) 4px 8px),
    radial-gradient(circle at 52% 56%, transparent 0 56%, rgba(201, 255, 143, 0.18) 56% 58%, transparent 58% 100%);
  mix-blend-mode: screen;
  opacity: 0.88;
}

.planet-center-core::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background:
    linear-gradient(116deg, transparent 0 28%, rgba(255, 100, 88, 0.9) 28% 30%, transparent 30% 100%),
    linear-gradient(24deg, transparent 0 48%, rgba(194, 255, 103, 0.8) 48% 50%, transparent 50% 100%),
    linear-gradient(90deg, transparent 0 64%, rgba(114, 215, 255, 0.9) 64% 65%, transparent 65% 100%);
  mix-blend-mode: screen;
  opacity: 0.72;
  filter: blur(0.4px);
}

.planet-center-rings {
  inset: -28%;
  border: 1px solid rgba(114, 215, 255, 0.22);
  box-shadow: 0 0 0 14px rgba(79, 125, 255, 0.04), 0 0 0 28px rgba(194, 255, 103, 0.02);
  animation: ring-breathe 5.2s ease-in-out infinite;
}

.scene-shadow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 320px;
  height: 118px;
  margin-left: -160px;
  margin-top: -59px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(70, 120, 255, 0.24) 0, rgba(0, 0, 0, 0.48) 58%, transparent 74%);
  transform: translateZ(-24px) rotateX(78deg);
  filter: blur(18px);
}

.beam-sweep {
  width: 460px;
  height: 460px;
  margin-left: -230px;
  margin-top: -230px;
  border-radius: 999px;
  background: conic-gradient(from 0deg, transparent 0 84%, rgba(114, 215, 255, 0.18) 88%, transparent 100%);
  animation: beam-spin 7.5s linear infinite;
}

.target-reticle {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 226px;
  height: 226px;
  margin-left: -113px;
  margin-top: -113px;
  border: 1px solid rgba(114, 215, 255, 0.24);
  border-radius: 999px;
  box-shadow:
    0 0 0 18px rgba(114, 215, 255, 0.03),
    0 0 24px rgba(79, 125, 255, 0.06);
  transform: translateZ(18px);
  animation: reticle-drift 8s ease-in-out infinite;
}

.target-reticle::before,
.target-reticle::after,
.target-reticle span::before,
.target-reticle span::after {
  content: "";
  position: absolute;
  background: rgba(114, 215, 255, 0.38);
}

.target-reticle::before,
.target-reticle::after {
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  height: calc(50% - 72px);
}

.target-reticle::before { top: 0; }
.target-reticle::after { bottom: 0; }

.target-reticle span::before,
.target-reticle span::after {
  top: 50%;
  height: 1px;
  margin-top: -0.5px;
  width: calc(50% - 72px);
}

.target-reticle span::before { left: 0; }
.target-reticle span::after { right: 0; }

.viewport-hud {
  position: absolute;
  inset: 18px;
  z-index: 6;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(114, 215, 255, 0.34);
  border-style: solid;
}

.hud-top-left { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hud-top-right { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hud-bottom-left { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.hud-bottom-right { right: 0; bottom: 0; border-width: 0 1px 1px 0; }

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

.hud-box {
  position: absolute;
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid rgba(114, 215, 255, 0.18);
  border-radius: 12px;
  background: rgba(5, 16, 28, 0.52);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(79, 125, 255, 0.08);
}

.hud-box span {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: block;
  color: rgba(141, 216, 255, 0.76);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hud-box strong {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: block;
  margin-top: 6px;
  color: #d8f0ff;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beacon-cluster {
  position: absolute;
  right: 38px;
  bottom: 38px;
  display: grid;
  gap: 9px;
  z-index: 6;
  pointer-events: none;
}

.beacon-cluster span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px currentColor;
  animation: beacon-pulse 2s ease-in-out infinite;
}

.beacon-cluster span:nth-child(2) {
  background: var(--green);
  animation-delay: 0.45s;
}

.beacon-cluster span:nth-child(3) {
  background: var(--alert);
  animation-delay: 0.9s;
}

.hud-box-left {
  left: 22px;
  bottom: 118px;
  animation: hud-float-left 5.8s ease-in-out infinite;
}

.hud-box-right {
  right: 22px;
  top: 118px;
  animation: hud-float-right 6.2s ease-in-out infinite;
}

.data-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bars {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  margin-top: 18px;
  min-height: 112px;
  padding: 12px 10px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(114, 215, 255, 0.03), rgba(7, 16, 28, 0.26)),
    repeating-linear-gradient(
      90deg,
      rgba(114, 215, 255, 0.04) 0 1px,
      transparent 1px 22px
    );
  box-shadow:
    inset 0 0 0 1px rgba(114, 215, 255, 0.04),
    inset 0 18px 28px rgba(210, 248, 255, 0.02);
}

.bars span {
  position: relative;
  min-height: 88px;
  height: 88px;
  overflow: hidden;
  border: 1px solid rgba(114, 215, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(217, 251, 255, 0.02), transparent 16%),
    repeating-linear-gradient(
      180deg,
      rgba(114, 215, 255, 0.03) 0 7px,
      transparent 7px 10px
    ),
    rgba(4, 12, 20, 0.64);
  box-shadow:
    inset 0 0 0 1px rgba(114, 215, 255, 0.04),
    0 0 12px rgba(61, 125, 255, 0.08);
}

.bars span::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: calc(var(--level) - 8px);
  min-height: 8px;
  border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(180deg, rgba(217, 251, 255, 0.92), rgba(105, 215, 255, 0.92) 56%, rgba(101, 255, 145, 0.92)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22) 0 5px,
      rgba(255, 255, 255, 0) 5px 9px
    );
  box-shadow:
    0 0 14px rgba(114, 215, 255, 0.2),
    0 0 24px rgba(101, 255, 145, 0.08);
  animation: pulse-bar 2.8s ease-in-out infinite;
}

.bars span::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  border-radius: 999px;
  top: calc(100% - var(--level));
  background: rgba(194, 255, 103, 0.92);
  box-shadow:
    0 0 10px rgba(194, 255, 103, 0.48),
    0 0 18px rgba(114, 215, 255, 0.22);
}

.module-zone {
  margin-top: 18px;
}

.section-title h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -0.06em;
}

.module-grid {
  grid-template-columns: 1.08fr 0.76fr 0.76fr;
  gap: 18px;
  margin-top: 18px;
}

.module-card h3 {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  margin: 18px 0 0;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.module-card p,
.console-panel,
.terminal-panel {
  color: var(--muted);
  line-height: 1.8;
}

.active-card {
  box-shadow: 0 0 0 1px rgba(114, 215, 255, 0.2), 0 0 52px rgba(79, 125, 255, 0.12);
}

.pill {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(114, 215, 255, 0.06);
  border: 1px solid var(--line-soft);
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}

.live-pill {
  color: #07120a;
  background: var(--green);
  border-color: transparent;
}

.dim-pill {
  opacity: 0.56;
}

.spec-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}

.locked-card,
.system-card {
  position: relative;
}

.locked-grid,
.surface-lines {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(114, 215, 255, 0.02), transparent),
    repeating-linear-gradient(90deg, rgba(114, 215, 255, 0.05) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(180deg, rgba(79, 125, 255, 0.05) 0 1px, transparent 1px 18px);
}

.locked-grid {
  height: 152px;
}

.surface-lines {
  display: grid;
  gap: 12px;
  height: 152px;
  padding: 16px;
}

.surface-lines span {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(114, 215, 255, 0.86), rgba(194, 255, 103, 0.36));
  animation: sweep-line 3.2s ease-in-out infinite;
}

.surface-lines span:nth-child(2) { width: 78%; animation-delay: 0.3s; }
.surface-lines span:nth-child(3) { width: 92%; animation-delay: 0.7s; }
.surface-lines span:nth-child(4) { width: 56%; animation-delay: 1.1s; }

.console-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  margin-top: 18px;
}

.log-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}

.log-list div {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(114, 215, 255, 0.04);
  background-image: radial-gradient(circle, rgba(220, 252, 255, 0.07) 0 0.65px, transparent 0.9px);
  background-size: 8px 8px;
  animation: fade-in 0.3s ease;
}

.log-list span {
  color: var(--green);
  margin-right: 12px;
}

.route-item {
  min-height: 62px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(114, 215, 255, 0.04);
  background-image: radial-gradient(circle, rgba(220, 252, 255, 0.06) 0 0.65px, transparent 0.9px);
  background-size: 8px 8px;
}

.route-item span {
  font-family: "Russo One", "IBM Plex Mono", monospace;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.route-item strong {
  color: var(--text);
}

.muted-route {
  opacity: 0.58;
}

.interactive {
  cursor: pointer;
}

@keyframes noise-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(1px, -1px); }
}

@keyframes dither-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2px, 1px, 0); }
  100% { transform: translate3d(1px, -2px, 0); }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.72; }
}

@keyframes orbit-spin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes beam-spin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes pulse-bar {
  0%, 100% { opacity: 0.72; transform: scaleY(0.96); }
  50% { opacity: 1; transform: scaleY(1.04); }
}

@keyframes sweep-line {
  0%, 100% { opacity: 0.38; transform: scaleX(0.88); transform-origin: left center; }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes core-float {
  0%, 100% { transform: translateZ(56px) translateY(0); }
  50% { transform: translateZ(70px) translateY(-8px); }
}

@keyframes ring-breathe {
  0%, 100% { transform: scale(0.98); opacity: 0.64; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes reticle-drift {
  0%, 100% { transform: translateZ(18px) scale(0.98); opacity: 0.66; }
  50% { transform: translateZ(28px) scale(1.04); opacity: 1; }
}

@keyframes hud-float-left {
  0%, 100% { transform: translateY(0); opacity: 0.72; }
  50% { transform: translateY(-8px); opacity: 1; }
}

@keyframes hud-float-right {
  0%, 100% { transform: translateY(0); opacity: 0.78; }
  50% { transform: translateY(10px); opacity: 1; }
}

@keyframes telemetry-shift {
  0%, 100% { opacity: 0.34; transform: translateX(0) rotate(var(--telemetry-rotate, 0deg)); }
  50% { opacity: 0.96; transform: translateX(14px) rotate(var(--telemetry-rotate, 0deg)); }
}

@keyframes telemetry-blink {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 1; }
}

@keyframes beacon-pulse {
  0%, 100% { transform: scale(0.82); opacity: 0.54; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes screen-flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.92; }
  98% { opacity: 0.98; }
  99% { opacity: 0.9; }
}

@media (max-width: 1180px) {
  body {
    padding: 8px;
  }

  .monitor-bezel {
    padding: 18px 18px 14px;
    border-radius: 28px;
    transform: none;
  }

  .monitor-screen {
    padding: 8px 10px 12px;
    border-radius: 22px;
  }

  .monitor-console {
    gap: 14px;
  }

  .hero-grid,
  .module-grid,
  .console-grid,
  .signal-grid,
  .data-columns,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .viewport-shell {
    min-height: 460px;
  }

  .hero-title {
    font-size: clamp(54px, 16vw, 90px);
  }
}

@media (max-width: 720px) {
  .monitor-topline,
  .monitor-console {
    flex-direction: column;
    align-items: stretch;
  }

  .monitor-leds,
  .console-controls {
    justify-content: center;
  }

  .deck {
    width: 100%;
    padding-top: 12px;
  }

  .topbar,
  .mission-panel,
  .viewport-panel,
  .console-panel,
  .terminal-panel,
  .section-title,
  .module-card,
  .boot-shell {
    padding: 18px;
  }

  .topbar,
  .status-strip,
  .panel-head,
  .eyebrow-row,
  .route-item,
  .module-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-strip {
    width: 100%;
  }

  .status-box {
    width: 100%;
    justify-content: center;
  }

  .viewport-shell {
    min-height: 380px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }
}
