/* ── Orbnaut — Midcentury Galactic Theme ───────────────────────── */

:root {
  --orange:     #E85D04;
  --orange-dim: rgba(232, 93, 4, 0.12);
  --teal:       #0D4C5F;
  --teal-deep:  #091f2a;
  --teal-mid:   #0a3d47;
  --cobalt:     #1B4FDE;
  --cobalt-dim: rgba(27, 79, 222, 0.15);
  --cream:      #F5F0E8;
  --navy:       #0A1628;
  --white:      #FFFFFF;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* Body */
body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Links */
a { color: var(--cobalt); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--orange); }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s, background 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary:hover  { background: #D4530A; opacity: 1; }
.btn-primary:active  { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  padding: 28px 48px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  background: var(--teal-deep);
}
.nav-inner  { display: flex; align-items: baseline; gap: 16px; }
.nav-logo   { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--cream); letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.875rem; color: rgba(245, 240, 232, 0.55); }
.navbar a { color: var(--cream); }
.navbar a:hover { color: var(--orange); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 48px 100px;
  background: var(--navy);
  background-image:
    linear-gradient(to bottom, rgba(10, 22, 40, 0.65) 0%, rgba(9, 31, 42, 0.80) 100%),
    url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_146055/cdc47b7b-ef30-488c-90f1-50c8ca02c16d.jpg');
  background-size: cover;
  background-position: center;
}
.hero-grid { max-width: 860px; position: relative; z-index: 1; }
.hero-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(245, 240, 232, 0.85);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-cta  { display: flex; align-items: center; gap: 20px; margin-bottom: 64px; }
.hero-cta-note { font-size: 0.85rem; color: rgba(245, 240, 232, 0.5); }
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat-num   { display: block; font-family: var(--font-head); font-size: 1.875rem; font-weight: 700; color: var(--cream); letter-spacing: -0.02em; }
.stat-label { display: block; font-size: 0.8rem; color: rgba(245, 240, 232, 0.5); margin-top: 4px; }
.stat-div   { width: 1px; height: 40px; background: rgba(245, 240, 232, 0.15); }

/* ── Proof ─────────────────────────────────────────────── */
.proof {
  padding: 64px 48px;
  background: var(--teal-deep);
  border-top: 1px solid rgba(245, 240, 232, 0.07);
  border-bottom: 1px solid rgba(245, 240, 232, 0.07);
}
.proof-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 32px;
}
.proof-items { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; }
.proof-item  { display: flex; align-items: flex-start; gap: 12px; }
.proof-icon  { color: var(--orange); font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.proof-item p { font-size: 0.95rem; color: rgba(245, 240, 232, 0.75); line-height: 1.6; }

/* ── How It Works ──────────────────────────────────────── */
.how { padding: 96px 48px; background: var(--navy); }
.section-header { margin-bottom: 56px; }
.section-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 640px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.step { background: var(--teal-deep); padding: 40px 36px; }
.step-num   { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 20px; }
.step-title  { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--cream); margin-bottom: 12px; }
.step-desc   { font-size: 0.9rem; color: rgba(245, 240, 232, 0.65); line-height: 1.7; }

/* ── What You Get (Features) ───────────────────────────── */
.features { padding: 96px 48px; background: var(--teal-mid); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.06);
}
.feature-card {
  background: var(--teal-deep);
  padding: 36px 32px;
}
.feature-icon { color: var(--cobalt); font-size: 0.625rem; margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.feature-card p  { font-size: 0.875rem; color: rgba(245, 240, 232, 0.65); line-height: 1.6; }

/* ── Manifesto ─────────────────────────────────────────── */
.manifesto { padding: 96px 48px; background: var(--navy); }
.manifesto-inner { max-width: 720px; }
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.manifesto-attribution { font-size: 1rem; color: rgba(245, 240, 232, 0.65); line-height: 1.7; }

/* ── Closing ────────────────────────────────────────────── */
.closing { padding: 96px 48px 120px; background: var(--teal-deep); }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
  max-width: 680px;
}
.closing-sub { font-size: 1rem; color: rgba(245, 240, 232, 0.7); line-height: 1.7; max-width: 580px; margin-bottom: 40px; }
.closing-signup { margin-bottom: 48px; }
.closing-signup-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 16px;
}
.signup-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 480px; }
.signup-name, .signup-email {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.signup-name::placeholder, .signup-email::placeholder { color: rgba(245, 240, 232, 0.35); }
.signup-name:focus, .signup-email:focus {
  border-color: var(--orange);
  background: rgba(245, 240, 232, 0.08);
}
.signup-name { min-width: 140px; }
.signup-email { min-width: 200px; flex: 1; }
.signup-success { font-size: 0.9rem; color: var(--orange); margin-top: 8px; }
.closing-final {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.3);
}

/* ── Modal ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(6px);
}
.modal-box {
  position: relative;
  background: var(--teal-deep);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 12px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(245, 240, 232, 0.4);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--orange); }
.modal-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.modal-headline {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.modal-sub {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.6;
  margin-bottom: 32px;
}
.modal-input {
  display: block;
  width: 100%;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 16px;
  border-radius: 6px;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.15s, background 0.15s;
}
.modal-input::placeholder { color: rgba(245, 240, 232, 0.3); }
.modal-input:focus {
  border-color: var(--orange);
  background: rgba(245, 240, 232, 0.07);
}
.modal-submit { width: 100%; margin-top: 8px; }
.modal-success { font-size: 0.9rem; color: var(--orange); }
.form-error   { font-size: 0.85rem; color: #ff7b4a; margin-top: 8px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 40px 48px;
  background: var(--navy);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}
.footer-inner { display: flex; align-items: baseline; gap: 16px; }
.footer-brand { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--cream); }
.footer-tagline { font-size: 0.8rem; color: rgba(245, 240, 232, 0.3); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar, .hero, .proof, .how, .features, .manifesto, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 80px; padding-bottom: 80px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-div { display: none; }
  .stat { padding: 0; }
  .proof-items, .steps, .features-grid { grid-template-columns: 1fr; }
  .features-grid { border: none; gap: 1px; }
  .feature-card { border: 1px solid rgba(245, 240, 232, 0.06); }
  .closing-headline { font-size: 2rem; }
}