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

:root {
  --green:        #1B4D2E;
  --green-light:  #235C38;
  --green-dark:   #0E2E1A;
  --parchment:    #F7F3E8;
  --parchment-dk: #EDE7D6;
  --terracotta:   #C7501A;
  --terracotta-lt:#E86E35;
  --charcoal:     #1A1A1A;
  --slate:        #4A5568;
  --slate-light:  #718096;
  --white:        #FFFFFF;
  --ink:          #0F1510;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(27, 77, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-cta:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-logo {
  text-decoration: none;
  color: inherit;
}

/* ===== HERO ===== */
.hero {
  background: var(--green);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(31,99,58,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 90%, rgba(199,80,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--terracotta-lt) 40%, transparent 100%);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(199,80,26,0.2);
  border: 1px solid rgba(199,80,26,0.4);
  color: #F4A77A;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}

/* Truck + dashboard visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}
.truck-scene {
  width: 100%;
  max-width: 340px;
  position: relative;
  padding: 20px 0;
}
.truck-body {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: relative;
}
.truck-cab {
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #C7501A 0%, #A33F10 100%);
  border-radius: 6px 4px 0 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.truck-cab::after {
  content: '';
  position: absolute;
  top: 10px; right: 8px;
  width: 30px; height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
}
.truck-cargo {
  width: 200px;
  height: 80px;
  background: linear-gradient(180deg, #2D6B42 0%, #1B4D2E 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.truck-cargo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 2px,
    transparent 2px,
    transparent 24px
  );
}
.truck-cargo::after {
  content: 'LoueurOS';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.truck-wheel {
  width: 28px;
  height: 28px;
  background: #111;
  border-radius: 50%;
  position: absolute;
  bottom: -14px;
  border: 3px solid #333;
}
.truck-wheel::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #555;
  border-radius: 50%;
}
.truck-wheel-front { left: 12px; }
.truck-wheel-rear  { right: 20px; }
.road-line {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0px, rgba(255,255,255,0.15) 20px, transparent 20px, transparent 36px);
  margin-top: 4px;
  border-radius: 2px;
}

/* Dashboard fragment */
.dashboard-fragment {
  width: 100%;
  max-width: 280px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px;
  backdrop-filter: blur(8px);
}
.dash-header {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}
.dash-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.dash-dot:nth-child(1) { background: #FF5F56; }
.dash-dot:nth-child(2) { background: #FFBD2E; }
.dash-dot:nth-child(3) { background: #27C93F; }
.dash-bar {
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}
.dash-kpi {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dash-kpi-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #7EE89A;
}
.dash-kpi-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ===== METRICS ===== */
.metrics {
  background: var(--green-dark);
  padding: 40px 40px;
}
.metrics-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.metric {
  text-align: center;
  padding: 0 48px;
}
.metric-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

/* ===== OPERATIONS ===== */
.operations {
  padding: 100px 40px;
  background: var(--parchment);
}
.ops-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.ops-header {
  text-align: center;
  margin-bottom: 64px;
}
.ops-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.ops-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.ops-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}
.ops-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.op-step {
  flex: 1;
  max-width: 220px;
  text-align: center;
}
.op-icon {
  width: 56px;
  height: 56px;
  background: var(--green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: white;
}
.op-icon svg { width: 24px; height: 24px; }
.op-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.op-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  font-weight: 300;
}
.op-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--terracotta));
  margin-top: 28px;
  flex-shrink: 0;
  position: relative;
}
.op-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--terracotta);
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 40px;
  background: var(--parchment-dk);
}
.features-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--parchment);
  border: 1px solid rgba(27,77,46,0.1);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--green), var(--terracotta));
  border-radius: 2px 0 0 2px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(27,77,46,0.1);
}
.feature-icon-wrap {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  font-weight: 300;
}

/* ===== CLOSING ===== */
.closing {
  background: var(--green);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(31,99,58,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.closing-art {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gear-large {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.15);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.gear-large::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,255,255,0.08) 0deg 20deg,
    transparent 20deg 40deg
  );
}
.gear-small {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(199,80,26,0.5);
  position: absolute;
  top: 4px; right: 10px;
}
.pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(199,80,26,0.25);
  animation: pulse 2.5s ease-out infinite;
}
.pulse-ring-2 {
  animation-delay: 1.25s;
  opacity: 0.5;
}
@keyframes pulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.closing-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.closing-body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-weight: 300;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-dark);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}
.footer-domain {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}
.footer-note {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .metrics-inner { flex-direction: column; gap: 32px; }
  .metric-divider { width: 50px; height: 1px; }
  .ops-steps { flex-direction: column; align-items: center; gap: 32px; }
  .op-arrow { transform: rotate(90deg); }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 24px 60px; }
  .metrics { padding: 32px 24px; }
  .operations { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .site-footer { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .feature-card { padding: 24px; }
}