:root {
  --bg: #070c14;
  --bg-alt: #0d1420;
  --panel: #111a28;
  --panel-2: #16202f;
  --border: #223247;
  --text: #f1f5f9;
  --text-dim: #93a5ba;
  --accent: #1ac9c0;
  --accent-2: #4fe3da;
  --danger: #ef4444;
  --warn: #f59e0b;
  --radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.topnav {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0a111c, #070c14);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topnav .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
}
.logo .dot { color: var(--accent); }
.logo .mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  filter: drop-shadow(0 0 6px rgba(26,201,192,0.5));
}
.logo .mark svg { width: 100%; height: 100%; }
.logo-img { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a { color: var(--text-dim); font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--text); text-decoration: none; }

.badge {
  background: var(--accent);
  color: #04211f;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.05s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #04211f; }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-small { padding: 6px 12px; font-size: 12.5px; }

.hero {
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 10% -10%, rgba(26,201,192,0.22), transparent 60%),
    radial-gradient(600px 320px at 95% 10%, rgba(79,120,220,0.16), transparent 60%),
    linear-gradient(160deg, #0a1120 0%, #060a12 55%, #04070d 100%);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
}
.hero .container { position: relative; }
.hero h1 {
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 680px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hero .accent { color: var(--accent-2); font-style: italic; }
.hero p { color: var(--text-dim); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero .eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero .actions { display: flex; gap: 12px; }

.chevron-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chevron-list li { padding-left: 20px; position: relative; color: var(--text-dim); font-size: 14px; }
.chevron-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.chevron-list li strong { color: var(--text); }

.activity-feed { display: flex; flex-direction: column; gap: 10px; }
.activity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); font-size: 13px; color: var(--text-dim);
}
.activity-item .dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  animation: pulse-dot 1.8s infinite;
}
.activity-item strong { color: var(--text); }
.activity-item .time { margin-left: auto; color: var(--text-dim); font-size: 12px; white-space: nowrap; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(26,201,192,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(26,201,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,201,192,0); }
}

.section { padding: 56px 0; }
.section h2 { font-size: 26px; margin-bottom: 8px; }
.section .sub { color: var(--text-dim); margin-bottom: 28px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { color: var(--text-dim); font-size: 14px; margin: 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field .hint { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.field .error { font-size: 12px; color: var(--danger); margin-top: 4px; }

.choice-row { display: flex; gap: 14px; }
.choice-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  background: var(--bg-alt);
}
.choice-card.selected { border-color: var(--accent); background: rgba(26,201,192,0.08); }
.choice-card strong { display: block; margin-bottom: 4px; }
.choice-card span { color: var(--text-dim); font-size: 13px; }

.vehicle-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 20px 0; }
.vehicle-tile {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.vehicle-tile.selected { border-color: var(--accent); background: rgba(26,201,192,0.1); color: var(--accent-2); }
.vehicle-tile .ic { font-size: 26px; display: block; margin-bottom: 8px; }

.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps .seg { flex: 1; height: 4px; background: var(--border); border-radius: 2px; }
.steps .seg.done { background: var(--accent); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tabs button {
  background: none; border: none; color: var(--text-dim); padding: 10px 16px;
  font-size: 14px; font-weight: 700; cursor: pointer; border-bottom: 2px solid transparent;
}
.tabs button.active { color: var(--text); border-color: var(--accent); }

table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; color: var(--text-dim); font-size: 12px; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--border); }
table.list td { padding: 12px 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
table.list tr:hover td { background: rgba(255,255,255,0.02); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.open { background: rgba(245,158,11,0.15); color: var(--warn); }
.pill.in_progress { background: rgba(26,201,192,0.15); color: var(--accent-2); }
.pill.completed { background: rgba(34,197,94,0.15); color: #4ade80; }
.pill.cancelled { background: rgba(239,68,68,0.15); color: var(--danger); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-dim);
}

.checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

.offer-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px;
  background: var(--bg-alt);
}
.offer-item .price { font-size: 20px; font-weight: 800; color: var(--accent-2); }

.footer-note { color: var(--text-dim); font-size: 13px; margin-top: 40px; text-align: center; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }

.toast {
  position: fixed; bottom: 24px; right: 24px; background: var(--panel-2);
  border: 1px solid var(--border); padding: 14px 18px; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 50;
}
.toast.error { border-color: var(--danger); }

.center-panel { max-width: 480px; margin: 60px auto; }

@media (max-width: 800px) {
  .grid-3, .grid-2, .form-row, .two-col { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 32px; }
}
