/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #1a1a1d;
  --border: #2a2a2f;
  --accent: #ff6b2c;
  --accent-dim: rgba(255, 107, 44, 0.15);
  --text: #f0ece6;
  --text-2: #8a8680;
  --text-3: #4a4844;
  --green: #22c55e;
  --yellow: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordmark {
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  letter-spacing: 0.05em;
}

.wordmark-full {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-label .mono {
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.outline-text {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  padding: 6px 12px;
  letter-spacing: 0.03em;
}

/* ===== DISPATCH PANEL (Hero Visual) ===== */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dispatch-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,107,44,0.05);
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.job-list {
  padding: 8px 0;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(42,42,47,0.5);
  transition: background 0.15s;
}

.job-item:hover { background: var(--surface-2); }

.job-item:last-child { border-bottom: none; }

.job-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.job-id {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.job-loc {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.job-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.pulsing { animation: pulse 2s infinite; }

.status-label {
  font-size: 11px;
  color: var(--text-2);
  font-family: 'IBM Plex Mono', monospace;
}

.panel-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* ===== PROBLEM ===== */
.problem {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 60px;
  background: var(--surface);
}

.problem-inner { max-width: 1200px; margin: 0 auto; }

.problem-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.problem-stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}

.problem-stat { padding: 0 40px; }
.problem-stat:first-child { padding-left: 0; }

.problem-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  align-self: center;
}

.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.problem-bottom {
  font-size: 16px;
  color: var(--text-3);
  max-width: 600px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--accent); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,107,44,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  border-radius: 8px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  border-top: 1px solid var(--border);
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.closing-inner { max-width: 700px; }

.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.closing p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 32px;
}

.closing-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-3) !important;
  letter-spacing: 0.03em;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 60px;
  }

  .problem { padding: 60px 24px; }

  .problem-stat-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .problem-divider { display: none; }
  .problem-stat { padding: 0; }

  .features { padding: 60px 24px; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .closing { padding: 80px 24px; }

  .dispatch-panel { max-width: 100%; }
}
