:root {
  --bg: #07090c;
  --bg-2: #0d1117;
  --panel: #11161d;
  --line: #1f2731;
  --text: #eef2f6;
  --muted: #8b97a6;
  --brand: #33d9ff;
  --radius: 18px;
  --max: 1200px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.preview-banner {
  position: fixed; bottom: 16px; left: 16px; z-index: 60;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: #ffd84d; color: #1a1500; font-weight: 600;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100vw - var(--max)) / 2));
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 12, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .2em; }
.brand svg { width: 28px; height: 28px; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { border-color: var(--brand); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: #05070a; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px;
  padding: 120px max(16px, calc((100vw - var(--max)) / 2)) 80px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(51, 217, 255, .12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 90%, rgba(140, 255, 115, .05), transparent 70%);
}
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; margin-bottom: 24px; }
.lede { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-model { width: 100%; height: min(70vh, 640px); --poster-color: transparent; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid var(--line); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--muted); border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- SECTIONS ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; padding: 0 16px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- FLEET ---------- */
.fleet { padding: 120px 0 40px; background: linear-gradient(var(--bg), var(--bg-2)); }
.fleet-tabs {
  position: sticky; top: 64px; z-index: 40;
  display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: calc(100% - 32px);
  margin: 0 auto 40px; padding: 6px; border-radius: 999px;
  background: rgba(17, 22, 29, .85); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.fleet-tabs a {
  display: flex; flex-direction: column; align-items: center; padding: 8px 22px; border-radius: 999px;
  line-height: 1.2; transition: background .2s;
}
.fleet-tabs b { font-family: var(--display); font-size: 15px; }
.fleet-tabs small { font-size: 11px; color: var(--muted); }
.fleet-tabs a.active { background: var(--text); color: #05070a; }
.fleet-tabs a.active small { color: #4b5562; }

.drone {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px;
  max-width: var(--max); margin: 0 auto; padding: 72px 16px; min-height: 88vh;
}
.drone.reverse .drone-stage { order: 2; }
.drone-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}
.drone-stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.stage-hint { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--muted); pointer-events: none; }
.ar-btn {
  position: absolute; right: 14px; bottom: 12px; padding: 8px 14px; border-radius: 999px;
  background: var(--text); color: #05070a; border: 0; font: 600 12px var(--body); cursor: pointer;
}

.status {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; margin-bottom: 18px;
}
.status-proto { color: #8cff73; }
.status-design { color: #ffcf4d; }
.status-concept { color: #b7a3ff; }
.drone-info h3 { font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.drone-tag { color: var(--accent); font-weight: 500; margin: 10px 0 28px; font-size: 17px; }
.problem { padding: 18px 0; border-top: 1px solid var(--line); }
.problem h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; font-family: var(--body); }
.problem p { font-size: 17px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 22px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs div { background: var(--bg-2); padding: 14px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-family: var(--display); font-size: 20px; font-weight: 600; }

/* ---------- ROADMAP ---------- */
.roadmap { padding: 140px 16px; background: var(--bg-2); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: linear-gradient(var(--brand) 0 var(--progress, 0%), var(--line) var(--progress, 0%));
}
.timeline li { position: relative; width: 50%; padding: 0 44px 56px 0; text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 56px 44px; text-align: left; }
.timeline li::before {
  content: ""; position: absolute; top: 6px; right: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--brand);
}
.timeline li:nth-child(even)::before { right: auto; left: -7px; }
.timeline li.done::before { background: var(--brand); }
.timeline li.now::before {
  width: 20px; height: 20px; top: 3px; right: -10px; background: #8cff73; border-color: #8cff73;
  box-shadow: 0 0 0 6px rgba(140, 255, 115, .18), 0 0 24px rgba(140, 255, 115, .6);
}
.timeline li.now:nth-child(even)::before { left: -10px; }
.timeline li.next::before { border-style: dashed; border-color: var(--muted); }
.timeline time { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.timeline li.now time { color: #8cff73; }
.timeline li.now time::after { content: " · We are here"; }
.timeline li.next time { color: var(--muted); }
.timeline h3 { font-size: 24px; margin: 6px 0 6px; }
.timeline p { color: var(--muted); }
.timeline li.next h3 { color: #b8c2cf; }

/* ---------- MISSION ---------- */
.mission { padding: 140px max(16px, calc((100vw - 980px) / 2)); text-align: center; }
.mission blockquote {
  margin: 0 0 72px; font-family: var(--display); font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 600;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats div { padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.stats b { display: block; font-family: var(--display); font-size: 44px; color: var(--brand); }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- CONTACT ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start;
  max-width: var(--max); margin: 0 auto; padding: 120px 16px 140px;
}
.contact h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin-bottom: 18px; }
.contact-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.contact-form { display: grid; gap: 18px; padding: 32px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 15px var(--body); resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #8cff73; }
.form-status.err { color: #ff7a7a; }

/* ---------- FOOTER ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-model { height: 46vh; order: -1; }
  .drone { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 48px 16px; }
  .drone.reverse .drone-stage { order: 0; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .fleet-tabs a { padding: 8px 14px; }
  .fleet-tabs small { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 7px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 44px 40px; text-align: left; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .timeline li.now::before, .timeline li.now:nth-child(even)::before { left: -3px; }
  .stats { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
}
