/* ========== FONTS ========== */
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-Regular.woff2') format('woff2'),
       url('/fonts/gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-500.woff2') format('woff2'),
       url('/fonts/gilroy-500.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-600.woff2') format('woff2'),
       url('/fonts/gilroy-600.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy-700.woff2') format('woff2'),
       url('/fonts/gilroy-700.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* ========== TOKENS ========== */
:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f0f3f8;
  --surface-2: #e7edf5;
  --text-primary: #062638;
  --text-secondary: #0b3558;
  --text-muted: #5d7186;
  --accent: #0B3B5C;
  --accent-hover: #062638;
  --brand-yellow: #fbc116;
  --border: #d4e0ed;
  --shadow-floating: 0px 4px 5px 0px rgba(71,103,136,0.04), 0px 4px 10px 0px rgba(71,103,136,0.03), 0px 10px 20px 0px rgba(71,103,136,0.05);
  --shadow-overlay: 0px 4px 5px 0px rgba(71,103,136,0.04), 0px 8px 15px 0px rgba(71,103,136,0.03), 0px 30px 50px 0px rgba(71,103,136,0.08);
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease-default);
}
.navbar.scrolled { box-shadow: var(--shadow-floating); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.navbar-logo { display: inline-flex; align-items: center; line-height: 0; }
.navbar-logo img { height: 38px; width: auto; }
.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 48px;
  transition: background 0.2s var(--ease-default), transform 0.2s var(--ease-default);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary-large { padding: 16px 32px; font-size: 1rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); box-shadow: var(--shadow-floating); }
.btn-secondary-large { padding: 16px 32px; font-size: 1rem; }

/* ========== HERO ========== */
.hero {
  padding: 96px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: var(--surface);
  border-radius: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.hero-badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--brand-yellow);
  border-radius: 50%;
  font-size: 0.875rem;
}
.hero-badge-dot svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-foot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-foot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fa67a;
  box-shadow: 0 0 0 3px rgba(31, 166, 122, 0.18);
}

/* ========== HERO VISUAL — feature card stack ========== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-radius: 28px;
  padding: 48px 36px;
  min-height: 480px;
}

.hero-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-overlay);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.hero-card-head-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-card-head-chip {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 48px;
  background: rgba(251, 193, 22, 0.2);
  color: #a37a00;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-job-list { display: flex; flex-direction: column; }
.hero-job {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.hero-job:last-child { border-bottom: none; }

.hero-job-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.hero-job-ic.blue { background: #3a8bff; }
.hero-job-ic.green { background: #1fa67a; }
.hero-job-ic.navy { background: var(--accent); }
.hero-job-ic.yellow { background: var(--brand-yellow); color: #1a1405; }

.hero-job-main { min-width: 0; }
.hero-job-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero-job-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-job-status {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 48px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hero-job-status.scheduled { background: rgba(58, 139, 255, 0.14); color: #2f6fcf; }
.hero-job-status.in-transit { background: rgba(31, 166, 122, 0.15); color: #1fa67a; }
.hero-job-status.delivered { background: rgba(11, 59, 92, 0.1); color: var(--accent); }
.hero-job-status.planning { background: rgba(251, 193, 22, 0.2); color: #a37a00; }

.hero-float {
  position: absolute;
  border-radius: 12px;
  background: var(--background);
  box-shadow: var(--shadow-floating);
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.hero-float-1 { top: 28px; right: 12px; animation-delay: 0s; }
.hero-float-2 { bottom: 32px; left: 12px; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== FEATURES STRIP ========== */
.features {
  padding: 80px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.features-head .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.features-head p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.feature-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========== CTA BAND ========== */
.cta-band {
  padding: 88px 40px;
}
.cta-band-inner {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--accent);
  color: #fff;
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-inner h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}
.cta-band-inner p {
  font-size: 1.0625rem;
  opacity: 0.85;
  max-width: 520px;
}
.cta-band-inner .btn-primary {
  background: var(--brand-yellow);
  color: #1a1405;
}
.cta-band-inner .btn-primary:hover {
  background: #e8ad00;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--accent);
  color: #fff;
  padding: 64px 40px 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  max-width: 460px;
  margin-bottom: 40px;
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.9375rem;
  opacity: 0.78;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  opacity: 0.78;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 920px) {
  .hero { padding: 64px 24px 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.0625rem; }
  .hero-visual { min-height: 380px; padding: 36px 24px; }
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .features-head h2 { font-size: 2rem; }
  .cta-band { padding: 64px 24px; }
  .cta-band-inner { padding: 40px 28px; }
  .cta-band-inner h2 { font-size: 1.75rem; }
  .footer { padding: 48px 24px 24px; }
  .navbar-inner { padding: 0 24px; }
  .navbar-logo img { height: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.25rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; }
  .hero-float { display: none; }
}
