:root {
  --bg: #0b0f17;
  --surface: #121826;
  --surface-alt: #161e2e;
  --border: #243047;
  --text: #e6edf7;
  --muted: #93a4bf;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --success: #34d399;
  --warn: #f87171;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #06101d;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-sm {
  padding: 8px 16px;
  background: var(--accent);
  color: #06101d !important;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: #06101d;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

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

.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.accent {
  color: var(--accent);
}

.subtitle {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-align: left;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--success);
}

.stat-label {
  font-weight: 600;
  margin-top: 4px;
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
}

code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.replay-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.replay-table th,
.replay-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.replay-table th {
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-alt);
}

.replay-table tr:last-child td {
  border-bottom: none;
}

.highlight-row {
  background: rgba(52, 211, 153, 0.08);
  color: var(--success);
}

.warn {
  color: var(--warn);
  font-weight: 600;
}

.muted-cell {
  color: var(--muted);
}

.table-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pilot-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.12));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pilot-box h2 {
  margin-bottom: 8px;
}

.pilot-box p {
  color: var(--muted);
  max-width: 600px;
}

.pilot-copy {
  flex: 1 1 320px;
}

.pilot-fallback {
  margin-top: 14px;
  font-size: 0.9rem;
}

.pilot-form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer a {
  color: var(--accent);
  text-decoration: none;
}
