:root {
  --dark: #070c10;
  --panel: #0d1821;
  --amber: #ffb300;
  --cyan: #00e5ff;
  --green: #69ff47;
  --red: #ff1744;
  --text: #b0bec5;
  --dim: #546e7a;
}

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

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
}

.scan-line {
  position: fixed; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.15; z-index: 100;
  animation: scanDown 8s linear infinite;
}
@keyframes scanDown { 0% { top: 0; } 100% { top: 100vh; } }

/* HUD corner frames */
.hud-frame {
  position: fixed; width: 40px; height: 40px;
  border-color: var(--amber); border-style: solid;
  opacity: 0.4; z-index: 50;
}
.hud-frame.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.hud-frame.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.hud-frame.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.hud-frame.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(255,179,0,0.2);
  background: rgba(7,12,16,0.95);
  position: relative; z-index: 10;
}

.logo {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem; letter-spacing: 0.4em;
  color: var(--amber); font-weight: bold;
}

.status-chips { display: flex; gap: 0.5rem; }
.chip {
  font-size: 0.6rem; letter-spacing: 0.2em;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--dim); color: var(--dim);
  font-family: 'Courier New', monospace;
}
.chip.active { border-color: var(--green); color: var(--green); }

main { flex: 1; position: relative; display: flex; flex-direction: column; }

.hud-overlay {
  display: flex; align-items: center; gap: 2rem;
  padding: 3rem 2rem; flex: 1;
  position: relative; z-index: 2;
}

/* Speed/alt tapes */
.speed-tape, .alt-tape {
  display: flex; flex-direction: column; align-items: center;
  width: 70px; flex-shrink: 0;
}
.tape-label { font-size: 0.55rem; letter-spacing: 0.3em; color: var(--dim); margin-bottom: 0.3rem; }
.tape-value { font-size: 1.8rem; color: var(--amber); font-family: 'Courier New', monospace; line-height: 1; }
.tape-unit { font-size: 0.6rem; color: var(--dim); }
.tape-bar {
  width: 8px; height: 120px; background: rgba(255,179,0,0.1);
  border: 1px solid rgba(255,179,0,0.2);
  margin-top: 0.5rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.tape-fill { width: 100%; height: 50%; background: var(--amber); opacity: 0.7; }

/* Center content */
.center-content { flex: 1; text-align: center; }
.pre-title { font-size: 0.6rem; letter-spacing: 0.5em; color: var(--green); margin-bottom: 1rem; }

h1 {
  font-family: 'Courier New', monospace;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold; letter-spacing: 0.2em;
  color: var(--amber);
  text-shadow: 0 0 40px rgba(255,179,0,0.4);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 0.85rem; letter-spacing: 0.3em;
  color: var(--cyan); margin-bottom: 2rem;
}

.desc {
  max-width: 580px; margin: 0 auto 2.5rem;
  color: var(--dim); line-height: 1.8; font-size: 0.9rem;
}

.convergence-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; max-width: 580px; margin: 0 auto 2.5rem;
}
.conv-item {
  background: rgba(255,179,0,0.05);
  border: 1px solid rgba(255,179,0,0.15);
  padding: 0.8rem; text-align: left;
}
.conv-icon { font-size: 1.2rem; margin-bottom: 0.3rem; }
.conv-label { font-size: 0.7rem; color: var(--text); letter-spacing: 0.05em; }

.coming-soon {
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--amber);
}
.coming-soon a { color: var(--cyan); }
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Road visualization */
.road-viz {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(255,179,0,0.03));
  border-top: 1px solid rgba(255,179,0,0.1);
}
.road-lane {
  position: absolute; bottom: 0; top: 0; width: 1px;
  background: linear-gradient(0deg, rgba(255,179,0,0.3), transparent);
}
.road-lane.left { left: 30%; }
.road-lane.center { left: 50%; }
.road-lane.right { left: 70%; }
.road-horizon {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,179,0,0.2);
}
.target-box {
  position: absolute; top: 30%; left: 50%;
  width: 80px; height: 50px;
  border: 1px solid var(--amber); opacity: 0.4;
  transform: translateX(-50%);
}
.target-box::before, .target-box::after {
  content: ''; position: absolute;
  width: 8px; height: 8px;
  border-color: var(--amber); border-style: solid;
}
.target-box::before { top: -4px; left: -4px; border-width: 2px 0 0 2px; }
.target-box::after { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; }

footer {
  border-top: 1px solid rgba(255,179,0,0.15);
  padding: 0.8rem 2rem;
  background: rgba(7,12,16,0.95);
}
.footer-bar {
  display: flex; justify-content: space-between;
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--dim); font-family: 'Courier New', monospace;
}
