
:root{
  --bg:#08111f;
  --bg2:#0d1b2f;
  --panel:#0f2138;
  --panel2:#122844;
  --text:#f4f7fb;
  --muted:#b8c4d6;
  --line:rgba(255,255,255,.10);
  --red:#db1f2f;
  --red2:#ff3a4f;
  --blue:#12345d;
  --shadow:0 14px 40px rgba(0,0,0,.35);
  --radius:20px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,58,79,.10), transparent 32%),
    linear-gradient(180deg, #07101c, #091426 35%, #07101c 100%);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max), calc(100% - 32px)); margin:0 auto}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(6,12,24,.82);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  min-height:76px; gap:20px;
}
.brand{
  display:flex; align-items:center; gap:14px; min-width:0;
}
.brand img{
  width:62px; height:62px; object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(219,31,47,.35));
}
.brand-copy{min-width:0}
.brand-title{
  font-weight:800; letter-spacing:.3px; font-size:1.08rem; line-height:1.1;
}
.brand-sub{
  color:var(--muted); font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.nav-links{display:flex; align-items:center; gap:20px; flex-wrap:wrap}
.nav-links a{
  color:#eaf0f8; font-weight:600; font-size:.96rem;
  opacity:.92;
}
.nav-cta{
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red2));
  border-radius:999px; padding:12px 18px; font-weight:800;
  box-shadow:0 8px 24px rgba(219,31,47,.30);
}
.menu-btn{display:none}

.hero{
  position:relative; overflow:hidden;
  padding:72px 0 42px;
}
.hero-grid{
  display:grid; grid-template-columns:1.2fr .9fr; gap:28px; align-items:center;
}
.hero-card, .glass{
  background:linear-gradient(180deg, rgba(16,32,53,.78), rgba(12,24,41,.72));
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}
.hero-card{
  padding:34px;
  position:relative;
  overflow:hidden;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px; color:#ffd7db;
  background:rgba(219,31,47,.10);
  border:1px solid rgba(255,90,110,.22); font-weight:700; font-size:.88rem;
}
.hero h1{
  font-size:clamp(2.25rem, 5vw, 4.45rem);
  line-height:.96; margin:18px 0 14px; letter-spacing:-1px;
}
.hero p{
  color:var(--muted); font-size:1.05rem; max-width:62ch;
}
.cta-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:22px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:14px; padding:14px 18px; font-weight:800;
  border:1px solid var(--line);
}
.btn.primary{background:linear-gradient(135deg,var(--red),var(--red2)); border:none}
.btn.secondary{background:rgba(255,255,255,.03)}

.stat-row{
  margin-top:24px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
.stat{
  padding:16px 14px; border-radius:18px;
  background:rgba(255,255,255,.03); border:1px solid var(--line);
}
.stat strong{display:block; font-size:1.35rem}
.stat span{font-size:.9rem; color:var(--muted)}

.hero-visual{
  position:relative; min-height:480px;
}
.visual-shell{
  position:relative; height:100%;
  padding:22px; border-radius:28px; overflow:hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,62,84,.18), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(29,93,170,.24), transparent 28%),
    linear-gradient(180deg,#0d1a2d 0%, #0a1424 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.grid-lines{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:28px 28px;
  mask-image:linear-gradient(180deg, transparent, rgba(255,255,255,.95), transparent);
}
.logo-badge{
  position:absolute; top:22px; left:22px;
  background:rgba(8,17,31,.84); padding:14px; border-radius:20px;
  border:1px solid var(--line);
  width:110px; height:110px;
  display:flex; align-items:center; justify-content:center;
}
.logo-badge img{
  max-width:88px; max-height:88px; object-fit:contain;
}
.road{
  position:absolute; left:-10%; right:-10%; bottom:56px; height:88px;
  background:linear-gradient(180deg, #111c2c, #091322);
  transform:skewY(-6deg);
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.05);
  overflow:hidden;
}
.road:before{
  content:"";
  position:absolute; left:-30%; right:-30%; top:40px; height:6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.85) 60px 105px);
  animation:roadMove 2.2s linear infinite;
  opacity:.9;
}
.city{
  position:absolute; inset:auto 20px 118px 20px; height:130px;
  display:flex; align-items:flex-end; gap:10px; opacity:.22;
}
.city span{
  display:block; width:48px; background:linear-gradient(180deg, #2f4a73, #18273f);
  border:1px solid rgba(255,255,255,.05);
  border-radius:6px 6px 0 0;
}
.city span:nth-child(1){height:52px}
.city span:nth-child(2){height:92px}
.city span:nth-child(3){height:74px}
.city span:nth-child(4){height:118px}
.city span:nth-child(5){height:64px}
.city span:nth-child(6){height:88px}
.city span:nth-child(7){height:104px}
.city span:nth-child(8){height:58px}
.city span:nth-child(9){height:96px}
.city span:nth-child(10){height:78px}

.truck{
  position:absolute; bottom:106px; left:-180px;
  width:250px; height:100px;
  animation:truckDrive 11s linear infinite;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.42));
}
.truck .cab, .truck .trailer, .truck .window, .truck .light, .truck .stripe, .truck .wheel, .truck .wheel:before{position:absolute}
.truck .trailer{
  left:78px; top:18px; width:142px; height:52px;
  background:linear-gradient(180deg,#142a46,#0b1b2f);
  border:2px solid rgba(214,226,240,.20);
  border-radius:8px;
}
.truck .trailer:after{
  content:"US DRIVE LINK";
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:900; letter-spacing:1px; color:#f6fbff; opacity:.92;
}
.truck .cab{
  left:0; top:28px; width:92px; height:42px;
  background:linear-gradient(180deg, #1e3f67, #112741);
  border-radius:12px 10px 6px 10px;
  border:2px solid rgba(214,226,240,.20);
}
.truck .cab:before{
  content:"";
  position:absolute; right:-18px; bottom:0;
  width:20px; height:28px; background:linear-gradient(180deg,#1e3f67,#112741);
  border:2px solid rgba(214,226,240,.20);
  border-left:none; border-radius:0 10px 6px 0;
}
.truck .window{
  left:12px; top:7px; width:34px; height:14px;
  background:linear-gradient(180deg,#8cc0f6,#5d8cbc);
  border-radius:6px;
}
.truck .stripe{
  left:8px; top:24px; width:205px; height:5px;
  background:linear-gradient(90deg, var(--red), transparent 70%);
}
.truck .light{
  right:-14px; top:18px; width:7px; height:7px; border-radius:50%;
  background:#ffca55; box-shadow:0 0 12px 4px rgba(255,202,85,.25);
}
.wheel{
  width:34px; height:34px; background:#111; border-radius:50%;
  bottom:-6px; border:5px solid #5a6474;
}
.wheel:before{
  content:""; inset:7px; border-radius:50%; background:#b8c4d6;
}
.w1{left:18px}.w2{left:150px}.w3{left:196px}

.metric-card{
  position:absolute; right:22px; top:22px;
  width:min(260px, 48%);
  padding:18px; border-radius:20px;
  background:rgba(7,15,27,.78); border:1px solid var(--line);
}
.metric-card h3{margin:0 0 10px; font-size:1rem}
.metric-list{display:grid; gap:12px}
.metric{
  display:flex; justify-content:space-between; gap:14px;
  color:var(--muted); font-size:.94rem;
}
.metric b{color:var(--text)}

section.block{padding:54px 0}
.section-head{
  display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px;
}
.section-head h2{font-size:clamp(1.7rem, 4vw, 2.6rem); margin:0}
.section-head p{max-width:62ch; color:var(--muted); margin:0}
.cards{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.card, .panel{
  background:linear-gradient(180deg, rgba(16,32,53,.84), rgba(12,24,41,.84));
  border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow);
}
.card{padding:22px}
.card h3{margin:12px 0 8px}
.card p{color:var(--muted); margin:0}
.icon{
  width:54px; height:54px; border-radius:16px;
  background:linear-gradient(135deg, rgba(219,31,47,.18), rgba(18,52,93,.30));
  border:1px solid rgba(255,255,255,.08);
  display:grid; place-items:center; font-size:24px;
}
.two-col{
  display:grid; grid-template-columns:1.05fr .95fr; gap:22px;
}
.panel{padding:26px}
.panel h3{margin:0 0 8px}
.panel p{color:var(--muted)}
.info-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:16px}
.info{
  padding:16px; border-radius:18px; background:rgba(255,255,255,.03); border:1px solid var(--line);
}
.info b{display:block; margin-bottom:6px}
.form-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.field{display:grid; gap:8px}
.field label{font-size:.92rem; color:#dfe7f3; font-weight:700}
.field input, .field textarea, .field select{
  width:100%; border:none; outline:none;
  background:rgba(255,255,255,.04); color:var(--text);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px; padding:14px 15px;
  font:inherit;
}
.field textarea{min-height:130px; resize:vertical}
.form-note{color:var(--muted); font-size:.88rem}
.split-row{display:grid; grid-template-columns:1fr 1fr; gap:22px}

.map-wrap iframe{
  width:100%; height:340px; border:0; border-radius:20px;
  filter:saturate(.85) contrast(1.02);
}
.feature-banner{
  display:grid; grid-template-columns:1.1fr .9fr; gap:22px; align-items:stretch;
}
.banner-copy{padding:30px}
.banner-copy h2{font-size:clamp(2rem,4vw,3.1rem); margin:0 0 14px; line-height:1}
.banner-copy p{color:var(--muted)}
.banner-list{display:grid; gap:12px; margin-top:18px}
.banner-list div{
  background:rgba(255,255,255,.04); border:1px solid var(--line);
  border-radius:16px; padding:14px 16px;
}
.banner-side{
  position:relative; overflow:hidden; min-height:280px;
  border-radius:24px; border:1px solid var(--line);
  background:
    radial-gradient(circle at 72% 22%, rgba(255,58,79,.20), transparent 22%),
    linear-gradient(160deg, #122844, #0a1524 70%);
}
.banner-side .truck-mini{
  position:absolute; bottom:40px; left:-130px; width:210px; height:84px; animation:truckDrive 9.5s linear infinite;
}
.footer{
  border-top:1px solid var(--line);
  background:#060d18;
  padding:30px 0 50px;
}
.footer-grid{display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:24px}
.footer small, .footer p{color:var(--muted)}
.footer-links{display:grid; gap:10px}
.badge-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.badge{
  padding:10px 12px; border-radius:999px; background:rgba(255,255,255,.04);
  border:1px solid var(--line); color:#dfe7f3; font-size:.88rem;
}

.reveal{opacity:0; transform:translateY(24px); transition:opacity .75s ease, transform .75s ease}
.reveal.visible{opacity:1; transform:none}

.logo-animate{
  animation:logoPop 1.25s cubic-bezier(.18,.89,.32,1.28);
}
.dashboard-shell{
  padding:28px 0 50px;
}
.dash-grid{
  display:grid; grid-template-columns:290px 1fr; gap:22px;
}
.sidebar, .dash-main, .login-card{
  background:linear-gradient(180deg, rgba(16,32,53,.88), rgba(12,24,41,.88));
  border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow);
}
.sidebar{padding:22px; position:sticky; top:94px; height:max-content}
.side-nav{display:grid; gap:8px; margin-top:18px}
.side-nav a{
  padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.03);
  border:1px solid transparent; color:#edf3fb; font-weight:700;
}
.side-nav a.active, .side-nav a:hover{border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.06)}
.dash-main{padding:22px}
.kpi-row{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.kpi{
  padding:18px; border-radius:20px; background:rgba(255,255,255,.03); border:1px solid var(--line)
}
.kpi b{display:block; font-size:1.6rem; margin-bottom:4px}
.table-wrap{overflow:auto; margin-top:18px}
table{
  width:100%; border-collapse:separate; border-spacing:0 10px; min-width:720px;
}
th, td{text-align:left; padding:14px 14px}
thead th{color:#dce7f5; font-size:.88rem}
tbody tr{
  background:rgba(255,255,255,.03);
}
tbody td:first-child{border-radius:14px 0 0 14px}
tbody td:last-child{border-radius:0 14px 14px 0}
.status{
  display:inline-flex; padding:8px 12px; border-radius:999px; font-size:.84rem; font-weight:800;
  border:1px solid rgba(255,255,255,.08)
}
.status.in{background:rgba(69,194,113,.12); color:#9cf0b7}
.status.hold{background:rgba(255,197,61,.12); color:#ffe08e}
.status.route{background:rgba(94,159,255,.12); color:#bfd6ff}
.login-wrap{
  min-height:calc(100vh - 76px);
  display:grid; place-items:center; padding:40px 16px;
}
.login-card{padding:28px; width:min(520px, 100%)}
.login-brand{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; margin-bottom:18px
}
.login-brand img{width:92px}
.login-card .btn{width:100%}
.login-card .help{margin-top:12px; text-align:center; color:var(--muted); font-size:.92rem}

@keyframes logoPop{
  0%{transform:scale(.35) rotate(-8deg); opacity:0; filter:blur(6px)}
  60%{transform:scale(1.08) rotate(1deg); opacity:1; filter:blur(0)}
  100%{transform:scale(1) rotate(0)}
}
@keyframes roadMove{
  from{transform:translateX(0)}
  to{transform:translateX(-165px)}
}
@keyframes truckDrive{
  0%{transform:translateX(0)}
  100%{transform:translateX(calc(100vw + 420px))}
}

@media (max-width: 1050px){
  .hero-grid,.two-col,.feature-banner,.footer-grid,.dash-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .kpi-row{grid-template-columns:repeat(2,1fr)}
  .sidebar{position:static}
}
@media (max-width: 760px){
  .nav{align-items:flex-start; flex-direction:column; padding:10px 0 14px}
  .nav-links{gap:12px}
  .hero{padding-top:30px}
  .hero-card{padding:24px}
  .hero-visual{min-height:390px}
  .stat-row,.cards,.info-grid,.form-grid,.split-row,.kpi-row{grid-template-columns:1fr}
  .metric-card{position:static; width:100%; margin-top:18px}
  .logo-badge{width:86px;height:86px}
  .brand img{width:50px;height:50px}
}
