@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --bg: #07100c;
  --surface: #0d1913;
  --surface-2: #122219;
  --text: #f4f7f1;
  --muted: #9baa9f;
  --line: rgba(255, 255, 255, 0.11);
  --acid: #c9ff46;
  --acid-dark: #789f10;
  --orange: #ff7a3d;
  --shadow: rgba(0, 0, 0, 0.32);
}

[data-theme="light"] {
  --bg: #eef1e9;
  --surface: #f8faf4;
  --surface-2: #e4e9dc;
  --text: #10150f;
  --muted: #5f6c60;
  --line: rgba(10, 20, 12, 0.14);
  --acid: #9ed500;
  --acid-dark: #6d9200;
  --shadow: rgba(35, 50, 30, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", system-ui, sans-serif;
  transition: color .25s ease, background .25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 76% 12%, rgba(201, 255, 70, .09), transparent 28%),
              radial-gradient(circle at 10% 70%, rgba(255, 122, 61, .06), transparent 24%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #11180a;
  background: var(--acid);
  letter-spacing: 0;
}

nav { display: flex; align-items: center; gap: 30px; }
nav a { color: var(--muted); font-size: .9rem; }
nav a:hover { color: var(--text); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  padding: 70px 0 54px;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: pulse 1.8s ease-in-out infinite;
}

h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; }
h1 {
  margin-top: 28px;
  font-size: clamp(3.6rem, 7.4vw, 6.9rem);
  line-height: .94;
  letter-spacing: -.07em;
}
h1 em { color: var(--acid); font-style: normal; }
.hero-copy > p {
  max-width: 570px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}
.button.primary { border-color: var(--acid); color: #11180a; background: var(--acid); font-weight: 600; }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(174, 225, 45, .16); }
.button.ghost { color: var(--text); background: transparent; }
.button.ghost:hover { background: var(--surface); }

.orbit-scene {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.glow {
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: var(--acid);
  filter: blur(90px);
  opacity: .11;
}
.planet {
  position: relative;
  width: 31%;
  aspect-ratio: 1;
  z-index: 2;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #ecffb4, var(--acid-dark) 70%);
  box-shadow: inset -24px -18px 38px rgba(12, 30, 8, .65), 0 0 70px rgba(187, 239, 55, .13);
}
.planet::before,
.planet::after {
  content: "";
  position: absolute;
  width: 75%;
  height: 20%;
  border: 1px solid rgba(24, 45, 15, .25);
  border-radius: 50%;
  transform: rotate(-18deg);
  left: -5%;
  top: 28%;
}
.planet::after { width: 60%; top: 58%; left: 32%; }
.planet-shine { position: absolute; inset: 13% auto auto 20%; width: 24%; height: 12%; border-radius: 50%; background: rgba(255,255,255,.42); filter: blur(5px); }
.ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-22deg);
}
.ring-one { width: 58%; height: 36%; animation: drift 8s ease-in-out infinite; }
.ring-two { width: 84%; height: 58%; animation: drift 11s ease-in-out infinite reverse; }
.satellite, .moon {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255,122,61,.38);
}
.satellite { width: 14px; height: 14px; left: 12%; top: 14%; }
.moon { width: 9px; height: 9px; right: 12%; bottom: 13%; background: var(--acid); }
.signal-card {
  position: absolute;
  z-index: 3;
  min-width: 126px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px var(--shadow);
}
.signal-card span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .65rem; letter-spacing: .14em; }
.signal-card strong { font-family: "Manrope"; font-size: .88rem; }
.card-one { top: 21%; right: 1%; }
.card-two { left: 3%; bottom: 24%; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.metrics div { padding: 30px 24px; border-right: 1px solid var(--line); }
.metrics div:last-child { border: 0; }
.metrics strong { display: block; font-family: "Manrope"; font-size: 1.35rem; }
.metrics span { color: var(--muted); font-size: .82rem; }

.features { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .45fr 1fr; align-items: start; margin-bottom: 55px; }
.section-heading > span,
.section-label { color: var(--acid-dark); font-size: .72rem; letter-spacing: .16em; }
h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.feature-card.accent { color: #152008; background: var(--acid); border-color: var(--acid); }
.feature-number { margin-left: auto; color: var(--muted); font-size: .72rem; }
.accent .feature-number, .accent p { color: rgba(21,32,8,.68); }
.feature-icon { margin: auto 0 25px; font-size: 2.4rem; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  padding: 90px 0 130px;
  border-top: 1px solid var(--line);
}
.about h2 { margin-top: 22px; }
.about-copy { align-self: end; }
.about-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.about ul { padding: 0; margin: 30px 0 0; list-style: none; }
.about li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.about li span { margin-right: 12px; color: var(--acid-dark); }

footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
footer .brand { color: var(--text); }
footer a:hover { color: var(--text); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 12px 40px var(--shadow);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: .25s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes pulse { 50% { opacity: .4; transform: scale(.72); } }
@keyframes drift { 50% { transform: rotate(-17deg) scale(1.035); } }

@media (max-width: 820px) {
  .site-header, main, footer { width: min(100% - 28px, 680px); }
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .orbit-scene { max-width: 520px; width: 100%; margin: -30px auto 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .about { grid-template-columns: 1fr; gap: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 270px; }
}

@media (max-width: 520px) {
  .site-header { height: 72px; }
  .hero { min-height: auto; padding-top: 46px; }
  h1 { font-size: clamp(3.1rem, 17vw, 4.6rem); }
  .hero-copy > p { font-size: 1rem; }
  .button { width: 100%; }
  .orbit-scene { margin-top: 10px; }
  .signal-card { min-width: 105px; padding: 10px; }
  .metrics div { padding: 22px 14px; }
  .features { padding: 90px 0; }
  .about { padding: 70px 0 90px; }
  footer { padding: 30px 0; flex-direction: column; gap: 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
