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

:root {
  --navy:   #1a2b4a;
  --navy-2: #243755;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --slate:  #1e293b;
  --slate-2: #334155;
  --muted:  #64748b;
  --border: #e2e8f0;
  --bg:     #f8fafc;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,43,74,0.08);
  --shadow-lg: 0 12px 48px rgba(26,43,74,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary  { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }
.btn--outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn--accent   { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--sm  { padding: 8px 18px; font-size: 14px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-icon { display: flex; align-items: center; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--navy); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav__mobile a {
  padding: 10px 0;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: none; margin-top: 8px; }
.nav__mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav__links, .nav > .container > .btn { display: none; }
  .nav__hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #162238 60%, #0f1a2e 100%);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.hero__inner {
  text-align: center;
  padding-bottom: 60px;
}
.hero__badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 60%, rgba(249,115,22,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__ctas .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.hero__ctas .btn--outline:hover { background: rgba(255,255,255,0.1); }
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.hero__avatars { display: flex; gap: -4px; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  margin-left: -6px;
}
.avatar:first-child { margin-left: 0; }

/* hero illustration */
.hero__illustration {
  display: flex;
  justify-content: center;
  padding-bottom: 0;
  margin-top: 20px;
}
.road {
  width: 100%;
  background: linear-gradient(to bottom, #1e3050, #0f1a2e);
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.truck { animation: drive 6s linear infinite; }
@keyframes drive {
  0%   { transform: translateX(-200px); }
  100% { transform: translateX(calc(50vw + 200px)); }
}
.road__line {
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(249,115,22,0.6) 0, rgba(249,115,22,0.6) 40px, transparent 40px, transparent 80px);
  margin-top: 8px;
}

/* ===== STATS ===== */
.stats {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}
.stat__label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.7); }
.section-tag--light { color: rgba(249,115,22,0.9); }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; background: var(--white); }
.hiw__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}
.hiw__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.hiw__card--driver { border-top: 4px solid var(--orange); }
.hiw__card--broker { border-top: 4px solid var(--navy); }
.hiw__card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hiw__card-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.hiw__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hiw__icon--orange { background: rgba(249,115,22,0.1); color: var(--orange); }
.hiw__icon--navy   { background: rgba(26,43,74,0.08); color: var(--navy); }
.hiw__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hiw__steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hiw__card--broker .step-num { background: var(--navy); }
.hiw__steps strong { display: block; font-size: 15px; color: var(--slate); margin-bottom: 4px; }
.hiw__steps p { font-size: 14px; color: var(--muted); }
.hiw__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
@media (max-width: 900px) {
  .hiw__grid {
    grid-template-columns: 1fr;
  }
  .hiw__divider {
    padding-top: 0;
    transform: rotate(90deg);
  }
}

/* ===== FEATURES ===== */
.features { padding: 100px 0; background: var(--bg); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,0.08);
  color: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features__grid { grid-template-columns: 1fr; } }

/* ===== EARLY ACCESS ===== */
.early-access {
  background: linear-gradient(135deg, var(--navy) 0%, #162238 100%);
  padding: 100px 0;
}
.ea-contact { text-align: center; }
.ea-form__note {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f1a2e;
  padding: 72px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer__brand .nav__logo { color: var(--white); margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 260px; margin-bottom: 6px; }
.footer__company { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer__company strong { color: rgba(255,255,255,0.7); }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 500px) {
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
