:root {
  --navy: #10263e;
  --navy-dark: #091725;
  --red: #ae3028;
  --red-dark: #8c241e;
  --ink: #132237;
  --muted: #657488;
  --soft: #f4f7fa;
  --line: #dce4eb;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(11, 29, 48, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--navy);
  color: white;
  border-radius: 9px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; color: var(--navy); }
.brand-copy small { margin-top: 5px; font-size: 9px; color: var(--red); font-weight: 900; letter-spacing: .2em; }
.back-link { color: var(--navy); font-size: 13px; font-weight: 800; }
.back-link:hover { color: var(--red); }

.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 80% 18%, rgba(174,48,40,.10), transparent 28%),
    linear-gradient(145deg, #f8fafc 0%, #ffffff 52%, #eff4f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 850px; text-align: center; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .17em;
}
h1, h2 { margin: 0; color: var(--navy); letter-spacing: -.04em; line-height: 1.05; }
h1 { font-size: clamp(44px, 6vw, 70px); }
.lead { margin: 24px auto 0; max-width: 760px; color: var(--muted); font-size: 18px; }

.demo-section { padding: 82px 0 96px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.demo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 34px rgba(12, 31, 51, .055);
  transition: transform .18s ease, box-shadow .18s ease;
}
.demo-card.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce5ed;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(16,38,62,.92);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.status.live { background: var(--red); }
.card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { margin: 0 0 8px; color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.card-body h2 { font-size: 28px; }
.card-body > p:not(.card-kicker) { color: var(--muted); margin: 14px 0 16px; }
.card-body ul { margin: 0 0 26px; padding: 0; list-style: none; }
.card-body li { position: relative; padding: 5px 0 5px 22px; color: #526176; font-size: 14px; }
.card-body li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.button {
  margin-top: auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--red);
  color: white;
  font-weight: 850;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button.disabled { background: #e8edf2; color: #7b8794; cursor: default; }
.button.secondary { background: var(--navy); min-width: 205px; }
.button.secondary:hover { background: var(--navy-dark); }

.placeholder-art {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 25px;
}
.placeholder-art svg { width: 100%; height: 100%; color: #284868; }
.flatbed-image { background: linear-gradient(145deg, #e9eef3 0%, #cad6df 100%); }
.reefer-image { background: linear-gradient(145deg, #eef3f6 0%, #cedce6 100%); }
.coming-soon { opacity: .94; }

.custom-section { padding: 0 0 96px; }
.custom-box {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.custom-box h2 { font-size: clamp(30px, 4vw, 44px); max-width: 760px; }
.custom-box p:not(.eyebrow) { color: var(--muted); max-width: 780px; margin: 18px 0 0; }

.site-footer { padding: 30px 0; background: var(--navy-dark); color: #9aa9b8; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; font-size: 12px; }
.footer-inner span:first-child { color: white; font-weight: 800; }

@media (max-width: 920px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .card-image { aspect-ratio: auto; min-height: 100%; }
  .custom-box { grid-template-columns: 1fr; gap: 28px; }
  .custom-box .button { justify-self: start; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .back-link { font-size: 11px; }
  .hero { padding: 70px 0 56px; }
  h1 { font-size: 43px; }
  .lead { font-size: 16px; }
  .demo-section { padding: 58px 0 68px; }
  .demo-card { display: flex; }
  .card-image { aspect-ratio: 16 / 10; }
  .card-body { padding: 24px; }
  .custom-section { padding-bottom: 68px; }
  .custom-box { padding: 28px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
