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

:root {
  --bg: #080A0D;
  --surface: #111318;
  --surface2: #1A1D24;
  --border: #22252D;
  --fg: #E8E9EC;
  --fg2: #8C909E;
  --fg3: #555A68;
  --accent: #FF4D00;
  --accent-dim: rgba(255, 77, 0, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 10, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--fg2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,77,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg2);
  font-weight: 500;
}

/* Dispatch Frame */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dispatch-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,77,0,0.08);
}
.dispatch-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--surface2);
}
.dispatch-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.dispatch-meta {
  font-size: 11px;
  color: var(--fg3);
}
.dispatch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-card {
  padding: 12px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.crew-list {
  padding: 8px 0;
}
.crew-row {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  transition: background 0.15s;
}
.crew-row:hover { background: var(--surface2); }
.crew-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.crew-status.assigned { background: #22C55E; }
.crew-status.available { background: var(--accent); }
.crew-status.off { background: var(--fg3); }
.crew-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.crew-role {
  font-size: 11px;
  color: var(--fg3);
  text-align: right;
}
.crew-site {
  font-size: 11px;
  color: var(--fg2);
  text-align: right;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dispatch-cta {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.dispatch-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}
.dispatch-btn:hover { opacity: 0.85; }
.visual-label {
  font-size: 11px;
  color: var(--fg3);
  text-align: center;
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.section-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.section-label {
  font-size: 12px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* DISPATCH SECTION */
.dispatch-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.dispatch-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 4px;
}
.dispatch-label .section-title {
  font-size: 12px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.dispatch-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.dispatch-desc {
  font-size: 16px;
  color: var(--fg2);
  max-width: 500px;
  line-height: 1.65;
}

/* FEATURES */
.features {
  padding: 80px 0;
}
.features > .section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 32px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface2); }
.feature-icon {
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-desc {
  font-size: 13px;
  color: var(--fg2);
  line-height: 1.6;
}
.features-more {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.more-label {
  font-size: 13px;
  color: var(--fg3);
  font-weight: 500;
}
.more-tags {
  font-size: 13px;
  color: var(--fg2);
}

/* ROLES */
.roles {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.roles-header {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.roles-intro {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 32px;
  font-size: 16px;
  color: var(--fg2);
  max-width: 540px;
}
.roles-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.role-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.role-card:hover { background: var(--surface2); }
.role-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 20px;
}
.role-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.role-sub {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}
.role-perms {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.role-perms li {
  font-size: 13px;
  color: var(--fg2);
  padding-left: 16px;
  position: relative;
}
.role-perms li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* OUTCOMES */
.outcomes {
  padding: 100px 0;
}
.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.outcomes-inner .section-num {
  padding-top: 8px;
}
.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.outcomes-desc {
  font-size: 16px;
  color: var(--fg2);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.outcomes-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.outcome-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}
.outcome-label {
  font-size: 12px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.outcome-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* PLATFORM */
.platform {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.platform-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.platform-desc {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.platform-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg2);
  font-weight: 500;
}
.badge-icon { color: var(--accent); }

/* DEVICE STACK */
.device-stack {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.device-laptop {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.laptop-screen {
  background: var(--bg);
}
.laptop-bar {
  height: 28px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 8px;
}
.laptop-bar::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.laptop-content {
  padding: 16px;
}
.lap-schedule {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 11px;
}
.lap-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr auto;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.lap-row:last-child { border-bottom: none; }
.lap-row.head {
  background: var(--surface2);
  color: var(--fg3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lap-row:not(.head) { color: var(--fg2); }
.lap-row:not(.head) span:first-child { color: var(--fg); font-weight: 500; }
.status-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: var(--surface2);
  color: var(--fg3);
}
.status-badge.active {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.device-phone {
  width: 130px;
  flex-shrink: 0;
  background: #1A1A1A;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.phone-screen {
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.phone-header {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.phone-status {
  width: 32px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}
.phone-nav {
  width: 20px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}
.phone-content {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 8px;
  border: 1px solid var(--border);
}
.phone-card.active {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.phone-card-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--fg);
}
.phone-card-sub {
  font-size: 8px;
  color: var(--fg3);
  margin-top: 1px;
}

/* CLOSING */
.closing {
  padding: 100px 0;
  background: var(--bg);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 40px;
}
.closing-vision {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.closing-vision p {
  font-size: 14px;
  color: var(--fg3);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.footer-links a {
  color: var(--fg3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-tagline {
  font-size: 13px;
  color: var(--fg3);
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .section-inner { flex-direction: column; gap: 24px; }
  .dispatch-label .section-title { writing-mode: horizontal-tb; transform: none; }
  .outcomes-inner { flex-direction: column; }
  .outcomes-stats { flex-wrap: wrap; }
  .platform-inner { grid-template-columns: 1fr; gap: 48px; }
  .device-stack { justify-content: center; }
  .footer-inner { flex-wrap: wrap; }
  .footer-tagline { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .dispatch-stats { grid-template-columns: repeat(2, 1fr); }
  .dispatch-stats .stat-card:nth-child(2) { border-right: none; }
  .dispatch-stats .stat-card:nth-child(1) { border-bottom: 1px solid var(--border); }
  .dispatch-stats .stat-card:nth-child(2) { border-bottom: 1px solid var(--border); }
}