:root {
  --bg: #080a0f;
  --bg-elevated: #0e121a;
  --bg-card: #121722;
  --border: #1f2737;
  --border-strong: #2d384d;
  --text: #f3f5f8;
  --text-muted: #98a4b8;
  --text-dim: #68758a;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --radius: 12px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, 0.08), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(16, 185, 129, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 15, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #061017;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

.lang-toggle button.active {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-primary {
  background: var(--text);
  color: #070a0f;
}

.btn-primary:hover {
  background: var(--cyan);
  color: #041016;
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero */
.hero {
  padding: 68px 0 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 40px;
  align-items: center;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lead {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* Video Proof Card */
.sim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0c1018;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.sim-badge {
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.sim-video-wrap {
  position: relative;
  background: #05070b;
  aspect-ratio: 16 / 9;
}

.sim-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: #0c1018;
}

.telemetry-cell {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
}

.telemetry-cell:last-child {
  border-right: 0;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.telemetry-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  margin-bottom: 10px;
  display: inline-block;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.spec-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
}

.spec-list li {
  padding: 6px 0;
  border-top: 1px solid rgba(31, 39, 55, 0.7);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.spec-list strong {
  color: var(--text);
  font-weight: 600;
}

/* Stages */
.stage-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stage-card.active {
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), var(--bg-card) 45%);
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  background: #0a0d14;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
}

.form-status {
  margin-top: 12px;
  font-size: 13.5px;
  min-height: 20px;
}

.form-status.ok {
  color: var(--emerald);
}

.form-status.err {
  color: #f87171;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

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