:root {
  --bg: #07080f;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e9ebf5;
  --muted: #9aa0b8;
  --accent: #ff8a3d;
  --accent-2: #7c8cff;
  --radius: 18px;
  --max: 1120px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; }
em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--accent);
  color: #120a03;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface); box-shadow: none; }
.btn-small { padding: 0.5em 1.1em; font-size: 0.9rem; }
.btn-large { font-size: clamp(1.1rem, 3vw, 1.4rem); padding: 0.9em 1.8em; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  top: -4px;
  left: 6px;
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 70px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 1.2rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Orbit illustration */
.orbit {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.planet {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffc08f, var(--accent) 45%, #7a2d0c 100%);
  box-shadow: 0 0 80px -10px var(--accent);
}
.ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin linear infinite;
}
.ring-1 { inset: 22%; animation-duration: 9s; }
.ring-2 { inset: 10%; animation-duration: 16s; animation-direction: reverse; }
.ring-3 { inset: 0; animation-duration: 26s; }
.moon {
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}
.ring-2 .moon { background: #fff; box-shadow: 0 0 14px #fff; width: 8px; height: 8px; top: -4px; }
.ring-3 .moon { background: var(--accent); box-shadow: 0 0 16px var(--accent); }

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

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(255, 138, 61, 0.5); transform: translateY(-4px); }
.card p { color: var(--muted); margin: 0; }
.card-num { display: block; color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem; }

.approach {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.approach p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.stats li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.stats strong { font-size: 2.6rem; font-weight: 700; min-width: 4ch; }
.stats span { color: var(--muted); }

.contact {
  text-align: center;
  padding-bottom: 7rem;
}
.contact p { color: var(--muted); margin: 0 auto 2rem; max-width: 40ch; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: left; min-height: auto; }
  .orbit { width: min(80%, 320px); order: -1; }
  .cards, .approach { grid-template-columns: 1fr; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform 0.25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(7, 8, 15, 0.96);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
