:root {
  --bg: #08090c;
  --surface: #0f1117;
  --surface2: #141720;
  --line: #272b36;
  --text: #f5f7fa;
  --muted: #969daa;
  --accent: #ff315f;
  --accent2: #8f3dff;
  --cyan: #53e5ff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px),
    var(--bg);
  background-size: 54px 54px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(143,61,255,.10), transparent 28%),
    radial-gradient(circle at 15% 70%, rgba(255,49,95,.07), transparent 26%);
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 clamp(20px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,9,12,.80);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 24px rgba(255,49,95,.25);
  font-size: .8rem;
  letter-spacing: .04em;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

nav a:hover { color: var(--text); }

main, footer { position: relative; z-index: 1; }

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 9vh, 120px) clamp(20px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 7vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.kicker, .section-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-size: .75rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .88;
  letter-spacing: -.065em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 2px var(--accent);
}

.hero-text {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  transition: .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #d51545);
  box-shadow: 0 12px 34px rgba(255,49,95,.16);
}

.hero-meta {
  margin-top: 42px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: #737a87;
  font: .72rem ui-monospace, monospace;
  letter-spacing: .1em;
}

.hero-meta i {
  color: var(--accent);
  font-style: normal;
}

.radar-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(83,229,255,.06), transparent 45%),
    rgba(13,15,21,.72);
  overflow: hidden;
  position: relative;
}

.radar {
  width: min(78%, 500px);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid #343946;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle, rgba(83,229,255,.08), transparent 65%);
}

.ring {
  position: absolute;
  border: 1px solid rgba(83,229,255,.16);
  border-radius: 50%;
  inset: 12%;
}

.r2 { inset: 28%; }
.r3 { inset: 44%; }

.cross {
  position: absolute;
  background: rgba(83,229,255,.13);
}

.cross.x {
  width: 100%;
  height: 1px;
  top: 50%;
}

.cross.y {
  width: 1px;
  height: 100%;
  left: 50%;
}

.sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(83,229,255,.00) 280deg, rgba(83,229,255,.16) 340deg, rgba(83,229,255,.38) 360deg);
  animation: sweep 5s linear infinite;
}

@keyframes sweep { to { transform: rotate(360deg); } }

.ping {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,49,95,.09), 0 0 22px rgba(255,49,95,.8);
}

.p1 { top: 27%; left: 62%; }
.p2 { top: 64%; left: 31%; }
.p3 { top: 56%; left: 73%; }

.sonde {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 110px;
}

.balloon {
  width: 46px;
  height: 52px;
  margin: auto;
  border-radius: 50% 50% 48% 48%;
  background: linear-gradient(135deg, #fff, #cdd4df);
  box-shadow: 0 0 30px rgba(255,255,255,.15);
}

.line {
  width: 1px;
  height: 32px;
  background: #b6bcc6;
  margin: 0 auto;
}

.payload {
  width: 22px;
  height: 17px;
  margin: auto;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255,49,95,.35);
}

.radar-caption {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.radar-caption span {
  color: var(--accent);
  font: .7rem ui-monospace, monospace;
  letter-spacing: .12em;
}

.signal-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #0a0c10;
  color: #777e8b;
  font: .72rem ui-monospace, monospace;
  letter-spacing: .12em;
}

.signal-strip i {
  color: var(--accent);
  font-style: normal;
}

.section {
  padding: 110px clamp(20px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 8vw;
}

.section-index { color: var(--accent); }

h2 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.about-copy {
  max-width: 760px;
}

.about-copy .lead {
  font-size: 1.25rem;
  color: #edf0f5;
}

.about-copy p:not(.lead) { color: var(--muted); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.section-head > p {
  max-width: 520px;
  color: var(--muted);
}

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

.feature {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20,23,32,.95), rgba(12,14,19,.95));
}

.feature > span {
  color: #555d6b;
  font: .76rem ui-monospace, monospace;
}

.feature h3 {
  margin: 48px 0 10px;
  font-size: 1.45rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  margin-top: 44px;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14,16,22,.78);
}

.step-no {
  color: var(--accent);
  font: 1rem ui-monospace, monospace;
}

.step h3 {
  margin: 0 0 5px;
  font-size: 1.7rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.purpose {
  padding-top: 90px;
  padding-bottom: 90px;
}

.purpose-card {
  padding: clamp(30px, 6vw, 80px);
  border: 1px solid rgba(255,49,95,.28);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(255,49,95,.10), rgba(143,61,255,.05) 50%, transparent),
    #101219;
}

.purpose-card p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

footer {
  padding: 40px clamp(20px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: #07080b;
}

footer > div {
  display: flex;
  gap: 16px;
  align-items: center;
}

footer span,
footer a {
  color: #737a87;
  font-size: .82rem;
  text-decoration: none;
}

.footer-links {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .radar-card { min-height: 460px; }

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

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

@media (max-width: 720px) {
  .topbar {
    height: 68px;
    padding: 0 18px;
  }

  nav { gap: 12px; }
  nav a { font-size: .75rem; }
  nav a:nth-child(2),
  nav a:nth-child(3) { display: none; }

  .hero {
    padding: 65px 20px 50px;
    min-height: auto;
  }

  h1 { font-size: clamp(4rem, 21vw, 6rem); }

  .radar-card { min-height: 370px; }
  .radar { width: 76%; }

  .section { padding: 76px 20px; }

  .section-head {
    display: block;
  }

  .section-head > p { margin-top: 18px; }

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

  .step {
    grid-template-columns: 55px 1fr;
    padding: 22px;
  }

  footer {
    flex-direction: column;
  }

  .footer-links { justify-content: flex-start; }
}
