body.landing-page {
  --landing-footer-reserve: 104px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: var(--landing-footer-reserve);
}

.landing-page .space-bg {
  background-image:
    radial-gradient(circle at 50% 120%, rgba(255, 0, 138, 0.2) 0%, transparent 58%),
    linear-gradient(to bottom, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0.82) 100%);
}

.landing-page .earth-sphere {
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 102, 184, 0.22) 0%, rgba(30, 41, 59, 0.94) 22%, #020617 74%),
    radial-gradient(circle at 50% -2%, rgba(255, 0, 138, 0.34) 0%, rgba(255, 0, 138, 0.08) 34%, transparent 52%);
  border: 1px solid rgba(255, 0, 138, 0.3);
  bottom: -38%;
  box-shadow:
    inset 0 36px 160px rgba(255, 0, 138, 0.32),
    inset 0 -40px 140px rgba(255, 102, 184, 0.08),
    0 -18px 120px rgba(255, 0, 138, 0.2),
    0 0 180px rgba(255, 0, 138, 0.08);
  height: min(155vw, 1400px);
  max-height: 1400px;
  max-width: 1400px;
  width: min(155vw, 1400px);
}

.landing-page .earth-sphere::before {
  background: radial-gradient(circle at center, rgba(255, 0, 138, 0.34) 0%, rgba(255, 102, 184, 0.14) 36%, rgba(255, 0, 138, 0) 72%);
  content: "";
  inset: 6%;
  pointer-events: none;
  position: absolute;
}

.landing-page .ring-1 {
  opacity: 0.92;
}

.landing-page .ring-2 {
  opacity: 0.78;
}

.landing-page .hud-overlay {
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(90deg, rgba(255, 0, 138, 0.03), rgba(0, 0, 0, 0), rgba(255, 0, 138, 0.03));
  background-size: 100% 3px, 3px 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 10;
}

.landing-page .landing-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - var(--landing-footer-reserve));
  min-height: calc(100svh - var(--landing-footer-reserve));
  padding: 24px;
  position: relative;
  width: 100%;
  z-index: 20;
}

.landing-page .hero-panel {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 0, 138, 0.38);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.82),
    0 0 60px rgba(255, 0, 138, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  overflow: hidden;
  padding: 3rem;
  width: min(90%, 800px);
}

.landing-page .eyebrow {
  margin: 0;
}

.landing-page .hero-title {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 4.8em;
  text-align: center;
}

.landing-page .typing-cursor::after {
  animation: cursor-blink 0.8s infinite;
  color: var(--brand-magenta);
  content: "_";
  display: inline-block;
  margin-left: 5px;
}

.landing-page .landing-copy {
  margin: 0 auto;
}

.landing-page .hero-copy {
  max-width: 620px;
}

.landing-page .terminal-stats {
  gap: 2rem;
  margin: 0;
}

.landing-page .stat-inline {
  align-items: baseline;
  display: flex;
  gap: 0.35rem;
}

.landing-page .stat-inline .stat-kicker,
.landing-page .stat-inline strong {
  font-size: 0.85rem;
}

.landing-page .landing-status {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  min-height: 1.4rem;
}

.landing-page .status-line,
.landing-page .status-detail {
  color: var(--text-muted);
  font-family: var(--font-terminal);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.landing-page .status-line[data-status="success"] {
  color: var(--emerald-alert);
}

.landing-page .status-line[data-status="offline"] {
  color: var(--critical-red);
}

.landing-page .landing-hidden {
  display: none;
}

.landing-page .cta-row {
  justify-content: center;
  margin-top: 0.5rem;
}

.landing-page .primary-cta {
  display: block;
  min-height: auto;
  padding: 1rem;
  width: 100%;
}

.landing-page .primary-cta::after {
  animation: scanning-btn 3s linear infinite;
  background: linear-gradient(transparent, rgba(255, 0, 138, 0.2), transparent);
  content: "";
  height: 200%;
  left: -50%;
  pointer-events: none;
  position: absolute;
  top: -50%;
  transform: rotate(45deg);
  width: 200%;
}

.landing-page .button-label {
  position: relative;
  z-index: 1;
}

.landing-page .footer-legal {
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  color: var(--text-muted);
  font-size: 0.73rem;
  line-height: 1.4;
  max-width: 800px;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: min(90%, 800px);
  z-index: 30;
  pointer-events: auto;
}

.landing-page .footer-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 8px;
}

.landing-page .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-page .footer-links a:hover {
  color: var(--brand-magenta);
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  body.landing-page {
    --landing-footer-reserve: 92px;
  }

  .landing-page .hero-panel {
    padding: 2rem;
  }

  .landing-page .earth-sphere {
    bottom: -34%;
    height: min(150vw, 1120px);
    width: min(150vw, 1120px);
  }

  .landing-page .footer-legal {
    bottom: 12px;
    font-size: 0.58rem;
  }
}

@media (max-width: 760px) {
  body.landing-page {
    --landing-footer-reserve: 84px;
  }

  .landing-page .landing-shell {
    padding: 16px;
  }

  .landing-page .hero-panel {
    gap: 1.2rem;
    width: 100%;
    margin-top: 100px;
  }

  .landing-page .earth-sphere {
    bottom: -31%;
    height: min(145vw, 980px);
    width: min(145vw, 980px);
  }

  .landing-page .hero-title {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
    min-height: 6.2em;
  }

  .landing-page .terminal-stats {
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
  }

}

@media (max-width: 560px) {
  body.landing-page {
    --landing-footer-reserve: 76px;
  }

  .landing-page .footer-legal {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: block;
    font-size: 0.54rem;
    width: min(94%, 640px);
  }

  .landing-page .hero-title {
    font-size: clamp(1.15rem, 4.9vw, 1.45rem);
    min-height: 6.2em;
  }

  .landing-page .earth-sphere {
    bottom: -29%;
    height: min(140vw, 820px);
    width: min(140vw, 820px);
  }
}
