@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --abyss: #050C16;
  --navy: #1E3E62;
  --bg: #f8f9ff;
  --surface-0: #ffffff;
  --surface-1: #eff4ff;
  --surface-2: #e5eeff;
  --surface-3: #dce9ff;
  --border: #E2E8F0;
  --mist: #F1F5F9;
  --mist-subtle: #F8FAFC;
  --text: #0b1c30;
  --text-soft: #44474c;
  --text-faint: #75777d;
  --text-faint-2: #c5c6cd;
  --accent: #006398;
  --emerald: #10B981;
  --amber: #F59E0B;

  --font-display: 'Geist', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --container: 1240px;
  --edge: clamp(20px, 5vw, 64px);
  --header-h: 80px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--text); margin: 0; font-weight: 600; }

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

section { position: relative; }

main { padding-top: var(--header-h); }

.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20; line-height: 1; }

/* ---------- Dots & status marks ---------- */

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--emerald { background: var(--emerald); }
.dot--amber { background: var(--amber); }
.dot--accent { background: var(--accent); }

.pulse { animation: pulse 2s ease-in-out infinite; }
.ping { animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 75%, 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--abyss);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.brand-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-faint); margin-left: 4px; }
.brand-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); text-transform: uppercase; }

.ais-pill {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--mist);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

.topnav { display: flex; align-items: center; gap: 32px; }
.topnav a { font-size: 14px; color: var(--text-soft); transition: color 0.15s ease; white-space: nowrap; }
.topnav a:hover { color: var(--text); }

.topbar-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--text); width: 100%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn .material-symbols-outlined { font-size: 18px; }

.btn--dark { background: var(--abyss); color: #fff; }
.btn--dark:hover { background: var(--navy); }

.btn--light { background: var(--surface-0); color: var(--abyss); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.4); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5); }
.btn--light .material-symbols-outlined:first-child { color: var(--accent); }

.btn--ghost { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.16); }
.btn--ghost .material-symbols-outlined { color: var(--emerald); }

.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn--sm .material-symbols-outlined { font-size: 16px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--abyss);
  color: #fff;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.75) contrast(1.05);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,12,22,0.75) 0%, rgba(5,12,22,0.55) 35%, rgba(5,12,22,0.7) 70%, rgba(5,12,22,0.92) 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(#1E3E62 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
}
.hero-radar {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  stroke: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--edge) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.telemetry-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #cfe1ee;
}
.telemetry-pill .sep { color: rgba(255,255,255,0.35); }
.telemetry-pill .material-symbols-outlined { font-size: 14px; color: #93ccff; }

.hero-headline { max-width: 780px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.marker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(245,158,11,0.8);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-headline p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0;
}

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

.hero-stats {
  width: 100%;
  max-width: 760px;
  margin-top: 48px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: left;
}
.hero-stat { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.05); }
.hero-stat-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero-stat-value { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #fff; }
.hero-stat-value--accent { color: #93ccff; }
.hero-stat-value--emerald { color: var(--emerald); }

/* ---------- Section head ---------- */

.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }

.section-head--center { align-items: center; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.section-head-copy { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  width: fit-content;
  margin-bottom: 4px;
}
.eyebrow--inline { background: none; padding: 0; color: var(--accent); }
.eyebrow--inline .material-symbols-outlined { font-size: 16px; }

h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; }

.section-sub { font-size: 18px; line-height: 1.55; color: var(--accent); font-weight: 500; margin: 0; max-width: 620px; }
.section-sub--left { color: var(--text-soft); font-weight: 400; text-align: left; margin: 0; }

.about-narrative { font-size: 15px; line-height: 1.65; color: var(--text-soft); margin: 12px 0 0; max-width: 620px; }

.label-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- Mission ---------- */

.mission { background: var(--mist-subtle); padding: 96px 0; }

.mission-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }

.mission-card {
  background: var(--surface-0);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 1px 3px rgba(11,25,44,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.mission-lead { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0; }
.mission-body-text { font-size: 15px; line-height: 1.65; color: var(--text-soft); margin: 0; }

.mission-banner {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--mist);
}
.mission-banner-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.mission-banner-icon .material-symbols-outlined { font-size: 18px; }
.mission-banner-text { display: flex; flex-direction: column; }
.mission-banner-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.mission-banner-sub { font-size: 13px; color: var(--text-soft); }

.mission-stages { display: flex; flex-direction: column; gap: 12px; }
.stage-card {
  background: var(--surface-0);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(11,25,44,0.06);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}
.stage-card:hover { box-shadow: 0 8px 20px -10px rgba(11,25,44,0.2); }
.stage-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.stage-icon .material-symbols-outlined { font-size: 22px; }
.stage-icon--accent { color: var(--accent); }
.stage-icon--navy { color: var(--navy); }
.stage-icon--emerald { color: var(--emerald); }
.stage-phase { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.stage-phase--accent { color: var(--accent); }
.stage-phase--navy { color: var(--navy); }
.stage-phase--emerald { color: var(--emerald); }
.stage-text h3 { font-size: 18px; margin-top: 2px; }
.stage-text p { font-size: 13px; line-height: 1.6; color: var(--text-soft); margin: 4px 0 0; }

/* ---------- Products ---------- */

.products { background: var(--surface-0); padding: 96px 0; }

.fleet-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface-0);
  box-shadow: 0 1px 3px rgba(11,25,44,0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.product-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(11,25,44,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover { box-shadow: 0 20px 34px -18px rgba(11,25,44,0.28); transform: translateY(-4px); }

.product-accent { position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 16px 16px 0 0; }
.product-accent--accent { background: var(--accent); }
.product-accent--muted { background: var(--surface-3); }
.product-accent--outline { background: var(--text-faint-2); }

.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.product-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  transition: transform 0.2s ease;
}
.product-card:hover .product-icon { transform: scale(1.06); }
.product-icon .material-symbols-outlined { font-size: 24px; }
.product-icon--accent { color: var(--accent); }
.product-icon--outline { color: var(--text-faint); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.badge--active { background: var(--surface-3); color: var(--navy); }
.badge--pending { background: var(--mist); color: var(--text-soft); }
.badge--outline { background: var(--mist); color: var(--text-soft); }

.product-card h3 { font-size: 22px; font-weight: 700; }
.product-card p { font-size: 15px; line-height: 1.6; color: var(--text-soft); margin: 10px 0 0; }

.card-link {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}
a.product-card:hover .card-link { background: var(--navy); color: #fff; }
.card-link .material-symbols-outlined { font-size: 18px; }
.card-link--pending { background: var(--mist); color: var(--text-faint); cursor: not-allowed; }

/* ---------- About / Crew ---------- */

.about { background: var(--surface-1); padding: 96px 0; }

.crew-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.crew-card {
  background: var(--surface-0);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 1px 3px rgba(11,25,44,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.crew-card:hover { box-shadow: 0 12px 26px -14px rgba(11,25,44,0.22); }

.crew-tag { align-self: flex-end; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-faint); }

.crew-avatar { position: relative; width: 112px; height: 112px; margin: 16px 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.crew-avatar--ring { border-radius: 50%; background: var(--surface-3); color: var(--navy); }
.crew-avatar--ring span { position: relative; z-index: 1; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.crew-avatar-ring { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--accent); opacity: 0.4; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.crew-avatar--photo { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--surface-2); }
.crew-avatar--photo img { width: 100%; height: 100%; object-fit: cover; }

.crew-card h3 { font-size: 22px; font-weight: 700; }
.crew-role { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); margin: 6px 0 0; }
.crew-bio { font-size: 15px; line-height: 1.6; color: var(--text-soft); margin: 14px 0 0; max-width: 320px; }

.crew-footer {
  margin-top: 24px;
  padding-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.crew-footer .material-symbols-outlined { font-size: 16px; }

/* ---------- Contact ---------- */

.contact { background: var(--bg); padding: 96px 0; }

.contact-panel {
  background: var(--surface-0);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 40px -24px rgba(11,25,44,0.3);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-facts-panel { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 14px; background: var(--mist-subtle); }
.fact { display: flex; align-items: flex-start; gap: 14px; }
.fact-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fact-icon .material-symbols-outlined { font-size: 18px; }
.fact-text { display: flex; flex-direction: column; }
.fact-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.fact-value { font-size: 15px; color: var(--text); font-weight: 500; margin-top: 2px; }
.fact-value--mono { font-family: var(--font-mono); }

.contact-form-panel { background: var(--surface-1); border-radius: 16px; padding: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.form-row input, .form-row textarea {
  font-family: var(--font-display);
  font-size: 15px;
  background: var(--surface-0);
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint-2); }
.form-row input:focus, .form-row textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }

.form-footer { padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-submit { border: none; cursor: pointer; }
.form-submit:disabled { opacity: 0.65; cursor: wait; }
.form-note { font-size: 13px; color: var(--text-soft); margin: 0; text-align: right; }

/* ---------- Footer ---------- */

.site-footer { background: var(--surface-0); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-mark { display: flex; align-items: center; gap: 10px; }
.footer-brand-mark .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand-mark .brand-mark svg { width: 16px; height: 16px; }
.footer-brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.footer-brand p { font-size: 15px; color: var(--text-soft); max-width: 380px; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.footer-col a { font-size: 14px; color: var(--text-soft); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* ---------- Responsive ---------- */

@media (min-width: 900px) {
  .ais-pill { display: flex; }
  .fleet-status { display: inline-flex; }
  .mission-grid { grid-template-columns: 7fr 5fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 5fr 7fr; padding: 48px; }
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; }
}

@media (min-width: 700px) and (max-width: 899px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .topnav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface-0);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--edge) 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .topnav a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .topnav a:last-child { border-bottom: none; }
  .topbar-actions .btn--sm { display: none; }
  .nav-toggle { display: flex; }

  body.nav-open .topnav { opacity: 1; pointer-events: auto; transform: translateY(0); }

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

@media (max-width: 480px) {
  .brand-tag { display: none; }
}
