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

:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --fg: #f8fafc;
  --fg-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --border: #334155;
  --hvac: #3b82f6;
  --plumb: #10b981;
  --open: #475569;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === DISPATCH MOCKUP === */
.dispatch-mockup {
  background: #161f2e;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.mockup-header {
  background: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-title {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-left: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.mockup-body {
  padding: 1rem;
}

.mock-col-header {
  display: flex;
  gap: 0;
  margin-bottom: 0.5rem;
  padding-left: 70px;
}

.mock-col-label {
  font-size: 0.55rem;
  color: #64748b;
  font-family: 'DM Sans', sans-serif;
  flex: 1;
}

.mock-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  position: relative;
  height: 32px;
}

.mock-tech-label {
  width: 68px;
  font-size: 0.6rem;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}

.mock-job {
  position: absolute;
  height: 26px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.4rem;
  color: white;
}

.mock-job--hvac { background: var(--hvac); }
.mock-job--plumb { background: var(--plumb); }
.mock-job--open { background: var(--open); border: 1px dashed #64748b; }
.mock-job--ai { background: var(--accent-dim); border: 1px solid var(--accent); color: var(--accent); }

.mock-ai-tag {
  background: var(--accent);
  color: #0f172a;
  font-size: 0.45rem;
  font-weight: 700;
  padding: 0 0.25rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.mockup-legend {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mock-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}

.mock-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* === METRICS === */
.metrics {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(245,158,11,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.metric-item { text-align: center; }

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === HOW IT WORKS === */
.howitworks { padding: 5rem 2rem; }

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

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === DISPATCH SECTION === */
.dispatch-section { padding: 5rem 2rem; background: #0b1120; }

.dispatch-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.dispatch-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin: 1.5rem 0 2rem;
}

.dispatch-features { display: flex; flex-direction: column; gap: 0.75rem; }

.dispatch-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* === MOBILE MOCKUP === */
.mobile-mockup {
  background: #161f2e;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.mobile-header {
  background: var(--accent);
  padding: 1rem 1.25rem;
}

.mobile-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.mobile-subtitle {
  font-size: 0.7rem;
  color: rgba(15,23,42,0.6);
  margin-top: 0.2rem;
}

.mobile-job-list { padding: 0.5rem; }

.mobile-job {
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  background: #1e293b;
  border: 1px solid var(--border);
  position: relative;
}

.mobile-job--ai { border-color: var(--accent); }

.mobile-job-tag {
  font-size: 0.5rem;
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.mobile-job-time {
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mobile-job-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}

.mobile-job-addr {
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-top: 0.1rem;
}

.mobile-job-eta {
  font-size: 0.6rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* === TESTIMONIALS === */
.testimonials { padding: 5rem 2rem; }

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
}

.testimonial-role {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.2rem;
}

/* === CLOSING === */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(245,158,11,0.04) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing-icon {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.closing-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.closing-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .metrics-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .dispatch-inner { grid-template-columns: 1fr; }
  .dispatch-visual { order: -1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
  .hero-stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .nav-tagline { display: none; }
  .closing { padding: 4rem 2rem; }
}