/* ============================================
   HAULR — Autonomous Freight Intelligence
   Industrial, bold, confident
   ============================================ */

/* ---- TOKENS ---- */
:root {
  --black: #0d0d0d;
  --white: #f5f5f0;
  --orange: #ff4d00;
  --orange-dark: #cc3d00;
  --gray-900: #1a1a1a;
  --gray-700: #2d2d2d;
  --gray-500: #6b6b6b;
  --gray-300: #c0c0b8;
  --gray-100: #e8e8e2;
  --bg: #0d0d0d;
  --surface: #161616;
  --border: #252525;
}

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

/* ---- BASE ---- */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Bebas Neue', Impact, sans-serif; letter-spacing: 0.03em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,13,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 56px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.1em;
  color: var(--white);
}
.nav-tagline {
  font-size: 0.75rem; color: var(--gray-500);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-left: 1px solid var(--border); padding-left: 1.5rem;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 80px 2rem 60px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,77,0,0.07) 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;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); margin-bottom: 1.5rem;
  line-height: 1.0;
}
.hero-sub {
  font-size: 1.1rem; color: var(--gray-300);
  max-width: 440px; line-height: 1.7;
  font-weight: 300;
}

/* truck graphic */
.hero-visual { margin-top: 2.5rem; position: relative; }
.truck-graphic {
  position: relative; width: 200px; height: 60px;
  display: flex; align-items: center;
}
.truck-body {
  width: 120px; height: 44px;
  background: var(--orange);
  border-radius: 2px 6px 0 0;
}
.truck-cab {
  width: 56px; height: 44px;
  background: var(--white);
  border-radius: 4px 4px 0 0;
  margin-left: 4px;
  position: relative;
}
.truck-cab::after {
  content: ''; position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  background: var(--bg); border-radius: 2px;
  opacity: 0.6;
}
.truck-wheel {
  position: absolute; bottom: -12px;
  width: 22px; height: 22px;
  background: var(--gray-700); border-radius: 50%;
  border: 3px solid var(--gray-500);
}
.truck-wheel--front { left: 18px; }
.truck-wheel--rear { right: 14px; }
.road-line {
  position: absolute; bottom: -8px; left: 0; right: 0;
  height: 3px; background: repeating-linear-gradient(
    to right, var(--border) 0, var(--border) 30px, transparent 30px, transparent 50px
  );
}
.road-line--2 { bottom: -14px; opacity: 0.4; }
.agent-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.4rem 0.8rem;
  background: rgba(255,77,0,0.12); border: 1px solid rgba(255,77,0,0.3);
  border-radius: 99px; font-size: 0.75rem; color: var(--orange);
  letter-spacing: 0.05em;
}
.agent-dot {
  width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* terminal */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,77,0,0.1);
}
.terminal-header {
  background: var(--gray-900); padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green { background: #28c840; }
.terminal-title {
  margin-left: auto; font-size: 0.7rem; color: var(--gray-500);
  letter-spacing: 0.1em;
}
.terminal-body { padding: 1.25rem; }
.terminal-line { margin-bottom: 0.5rem; line-height: 1.5; }
.t-muted { color: var(--gray-500); }
.t-cmd { color: var(--gray-300); }
.t-result { color: var(--gray-100); }
.t-profit { color: var(--orange); font-weight: 600; }
.t-success { color: #28c840; }
.terminal-cursor {
  width: 8px; height: 14px; background: var(--gray-500);
  display: inline-block; animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-stats { margin-top: 1.5rem; }
.stat-value {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; color: var(--gray-500);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem; color: var(--gray-500);
  display: block; margin-top: 0.25rem;
}

/* ---- PROOF ---- */
.proof {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0;
}
.proof-stat { padding: 0 2.5rem; }
.proof-number {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem; color: var(--orange); line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-text { font-size: 0.85rem; color: var(--gray-300); line-height: 1.5; }
.proof-divider { width: 1px; height: 60px; background: var(--border); }

/* ---- HOW ---- */
.how { padding: 7rem 2rem; border-bottom: 1px solid var(--border); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem; font-weight: 500;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white); margin-bottom: 4rem;
  max-width: 600px;
}
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; color: var(--gray-700);
  line-height: 1; padding-top: 0.25rem;
}
.step-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--white); margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.step-content p { color: var(--gray-300); font-size: 0.95rem; line-height: 1.7; max-width: 560px; font-weight: 300; }

/* ---- FEATURES ---- */
.features {
  background: var(--surface);
  padding: 7rem 2rem;
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--gray-900); }
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(255,77,0,0.1);
  border: 1px solid rgba(255,77,0,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem; color: var(--white);
  margin-bottom: 0.75rem; letter-spacing: 0.04em;
}
.feature-card p { font-size: 0.85rem; color: var(--gray-300); line-height: 1.6; font-weight: 300; }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 7rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 1200px; margin: 0 auto; }
.manifesto-block { max-width: 760px; }
.manifesto-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 2rem; font-weight: 500;
}
.manifesto-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white); line-height: 1.3;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--orange);
  padding-left: 2rem;
  font-style: normal;
}
.manifesto-body {
  color: var(--gray-300); font-size: 1rem; line-height: 1.8;
  margin-bottom: 1.5rem; font-weight: 300;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(255,77,0,0.04) 100%);
  border-bottom: 1px solid var(--border);
}
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white); margin-bottom: 2rem;
  line-height: 1.0;
}
.closing-sub {
  font-size: 1.1rem; color: var(--gray-300);
  max-width: 520px; line-height: 1.7; margin-bottom: 3rem; font-weight: 300;
}
.closing-vision {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  max-width: 600px;
  border-left: 3px solid var(--orange);
}
.vision-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 0.75rem; font-weight: 500;
}
.closing-vision p {
  color: var(--gray-100); font-size: 1rem; line-height: 1.7;
  font-style: italic;
}

/* ---- FOOTER ---- */
.footer {
  padding: 2.5rem 2rem;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.1em; color: var(--white);
}
.footer-desc { font-size: 0.8rem; color: var(--gray-500); }
.footer-links { font-size: 0.75rem; color: var(--gray-700); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: -1; }
  .proof-grid { grid-template-columns: 1fr; gap: 2rem; }
  .proof-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-num { font-size: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 1.25rem 60px; }
  .proof, .how, .features, .manifesto, .closing { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-headline { font-size: 3rem; }
  .proof-number { font-size: 2.5rem; }
  .nav-tagline { display: none; }
}