:root {
  --bg: #071018;
  --text: #e8f2ff;
  --muted: #8fa3b8;
  --line: rgba(139, 166, 192, 0.24);
  --panel: #0d1722;
  --accent: #26d6b5;
  --accent-dark: #7dd3fc;
  --soft: rgba(38, 214, 181, 0.12);
  --warn: #f5b84b;
  --violet: #9b8cff;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.94), rgba(8, 15, 23, 1)),
    #071018;
}

.topbar {
  border-bottom-color: rgba(125, 211, 252, 0.18);
  background: rgba(7, 16, 24, 0.82);
}

.brand-mark {
  color: #061015;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(38, 214, 181, 0.35);
}

.nav-links {
  color: #a8bacb;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  max-width: none;
  min-height: calc(100vh - 59px);
  padding: 92px max(22px, calc((100vw - 1120px) / 2)) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 214, 181, 0.7), transparent);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #071018;
}

.hero > div:not(.terminal) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  border-color: rgba(38, 214, 181, 0.38);
  color: #9ff7e8;
  background: rgba(8, 31, 42, 0.78);
  box-shadow: inset 0 0 18px rgba(38, 214, 181, 0.08);
}

h1 {
  color: #f7fbff;
  text-shadow: 0 0 34px rgba(38, 214, 181, 0.2);
}

.lead {
  color: #b7c7d8;
}

.button {
  border-color: rgba(125, 211, 252, 0.28);
}

.button.primary {
  color: #041114;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 10px 34px rgba(38, 214, 181, 0.24);
}

.button.secondary {
  color: #d8f8ff;
  background: rgba(13, 23, 34, 0.78);
}

.terminal,
.globe-stage {
  position: relative;
  z-index: 1;
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(4, 10, 18, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), 0 0 50px rgba(38, 214, 181, 0.1);
}

.globe-stage {
  min-height: 520px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 44%, rgba(38, 214, 181, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(6, 14, 24, 0.94), rgba(4, 9, 15, 0.98));
}

.globe-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 8px;
  pointer-events: none;
}

.globe-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 18%, transparent 72%);
  pointer-events: none;
}

#globe-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.globe-panel,
.globe-stats {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(5, 12, 20, 0.72);
  backdrop-filter: blur(12px);
}

.globe-panel {
  left: 22px;
  right: 22px;
  top: 22px;
  padding: 14px 16px;
}

.globe-panel span,
.globe-stats span {
  display: block;
  color: #7dd3fc;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.globe-panel strong {
  display: block;
  margin-top: 7px;
  color: #e8f2ff;
  font-size: 14px;
  line-height: 1.45;
}

.globe-stats {
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
}

.globe-stats div {
  padding: 13px 14px;
  background: rgba(13, 23, 34, 0.58);
}

.globe-stats strong {
  display: block;
  margin-top: 4px;
  color: #d5fff3;
  font-size: 13px;
}

.terminal-head {
  background: rgba(3, 9, 16, 0.92);
}

.terminal-body {
  color: #d5fff3;
}

.muted-code {
  color: #87a0b8;
}

.section {
  border-top-color: var(--line);
  background: #0a121c;
}

.section-inner {
  padding-top: 68px;
  padding-bottom: 68px;
}

.section-title p,
.card p,
.metric span,
.footer-block p,
.footer-block a,
.footer-block span,
.footer-bottom {
  color: var(--muted);
}

.card,
.metric,
.notice,
footer {
  border-color: var(--line);
  background: rgba(13, 23, 34, 0.86);
}

.card {
  min-height: 178px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, transform 180ms ease;
}

.card:hover,
.capability:hover {
  border-color: rgba(38, 214, 181, 0.48);
  transform: translateY(-2px);
}

.icon {
  width: 42px;
  height: 42px;
  color: #061015;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(38, 214, 181, 0.24);
}

.grid {
  grid-template-columns: repeat(4, 1fr);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(38, 214, 181, 0.08), rgba(13, 23, 34, 0.82)),
    rgba(13, 23, 34, 0.86);
  transition: border-color 180ms ease, transform 180ms ease;
}

.capability span {
  display: inline-flex;
  min-width: 42px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 6px;
  color: #9ff7e8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.capability h3 {
  margin: 18px 0 8px;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.strip {
  border-color: var(--line);
  background: var(--line);
}

.metric strong {
  color: #d8f8ff;
}

.notice {
  color: #d8f8ff;
}

.notice p {
  color: #a9c7c2;
}

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

.policy-item {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 23, 34, 0.72);
}

.policy-item h3 {
  margin: 0 0 8px;
  color: #eef7ff;
  font-size: 17px;
}

.policy-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top-color: rgba(125, 211, 252, 0.18);
}

.footer-block strong {
  color: #eef7ff;
}

.footer-bottom {
  border-top-color: var(--line);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .globe-stage {
    min-height: 430px;
  }

  .globe-stats {
    grid-template-columns: 1fr;
  }

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

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

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