/* ===== Air-Weigh Design System — "New Direction" v3 =====
   Brochure-grade depth: glow halos, angled panels, neon streaks,
   animated LCDs, fanned devices, layered shadows. */

:root {
  --bg-950: #05090f;
  --navy-900: #0e1c33;
  --navy-700: #1b2f52;
  --steel-700: #1b3a5c;
  --steel-500: #2f6394;
  --gold-hi: #dfb232;
  --gold-mid: #b8891d;
  --gold-lo: #8a660f;
  --qwblue-hi: #a9c6de;
  --qwblue-mid: #6d9cc2;
  --qwblue-lo: #2e5f8a;
  --green-hi: #145035;
  --green-lo: #071c11;
  --lcd-orange: #ffa11e;
  --cta-yellow: #ffd400;
  --neon-cyan: #3fd8ff;
  --bm-green: #4fd08a;
  --text: #eef4f9;
  --ink: #13233a;
  --muted: #9fb4c8;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --notch: 3vw;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-950); color: var(--text); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon-cyan); text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .btn { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 700; line-height: 0.98; font-style: italic; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; line-height: 1.06; font-style: italic; text-shadow: 0 2px 0 rgba(0,0,0,0.15), 0 12px 30px rgba(0,0,0,0.35); }
h3 { font-size: 1.4rem; font-weight: 600; }
.kicker { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; letter-spacing: 0.18em; font-size: 0.95rem; margin-bottom: 0.6rem; color: var(--neon-cyan); }
.lead { font-size: 1.15rem; max-width: 62ch; }
section { padding: 92px 0; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 15px 36px; font-size: 1.15rem; font-weight: 700; border-radius: 4px; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary { background: var(--cta-yellow); color: #131313; box-shadow: 0 0 30px rgba(255,212,0,0.45), 0 8px 20px rgba(0,0,0,0.4); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.55); color: var(--text); backdrop-filter: blur(3px); }
.btn-ghost:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 24px rgba(63,216,255,0.35); }
.btn-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-light { border: 2px solid #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ===== Header ===== */
header { position: sticky; top: 0; z-index: 50; background: rgba(5,9,15,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(63,216,255,0.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .logo img { height: 40px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; font-size: 1.02rem; color: var(--text); letter-spacing: 0.05em; }
.nav ul a:hover { color: var(--neon-cyan); text-shadow: 0 0 12px rgba(63,216,255,0.6); }
.nav .phone { color: var(--cta-yellow); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.8rem; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; padding: 90px 0 130px; }
.hero .bg {
  position: absolute; inset: -12% 0;
  background: url("../images/hero-trucks.jpg") center 30% / cover no-repeat;
  transform: translateY(var(--py, 0));
  will-change: transform;
}
.hero .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,15,0.9) 0%, rgba(5,9,15,0.42) 52%, rgba(5,9,15,0.05) 100%),
    linear-gradient(0deg, var(--bg-950) 0%, transparent 22%);
}
/* animated neon streaks */
.streaks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.streaks span {
  position: absolute; left: -40%; width: 70%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  filter: blur(1px) drop-shadow(0 0 8px var(--neon-cyan));
  transform: rotate(-16deg);
  opacity: 0;
  animation: sweep 7s linear infinite;
}
.streaks span:nth-child(1) { top: 22%; animation-delay: 0s; }
.streaks span:nth-child(2) { top: 46%; animation-delay: 2.3s; height: 3px; }
.streaks span:nth-child(3) { top: 68%; animation-delay: 4.1s; }
.streaks span:nth-child(4) { top: 34%; animation-delay: 5.4s; background: linear-gradient(90deg, transparent, #ff9d45, transparent); filter: blur(1px) drop-shadow(0 0 8px #ff9d45); }
@keyframes sweep {
  0% { transform: translateX(0) rotate(-16deg); opacity: 0; }
  8% { opacity: 0.85; }
  45% { opacity: 0.5; }
  70% { transform: translateX(220%) rotate(-16deg); opacity: 0; }
  100% { transform: translateX(220%) rotate(-16deg); opacity: 0; }
}
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero .tagline { font-family: var(--font-head); color: var(--cta-yellow); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; font-style: italic; text-transform: uppercase; margin: 18px 0 10px; text-shadow: 0 2px 14px rgba(0,0,0,0.75), 0 0 30px rgba(255,212,0,0.3); }
.hero h1 { text-shadow: 0 3px 0 rgba(0,0,0,0.25), 0 18px 40px rgba(0,0,0,0.8); }
.hero p.lead { margin-bottom: 34px; color: #dbe7f1; text-shadow: 0 1px 10px rgba(0,0,0,0.9); }
.hero .cta-row { display: flex; gap: 18px; flex-wrap: wrap; }

/* Floating LCD unit */
.lcd-float { position: relative; display: flex; justify-content: center; }
.lcd-float::before {
  content: ""; position: absolute; inset: -14% -8%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,161,30,0.28) 0%, transparent 70%);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.lcd-unit {
  position: relative;
  background: linear-gradient(160deg, #262a2e, #0d0f11 70%);
  border-radius: 18px;
  padding: 26px 30px 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.12);
  border: 1px solid #34383c;
  transform: rotate(-3deg);
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.lcd-screen {
  background: radial-gradient(120% 140% at 50% 20%, #ffb347 0%, #f28c00 70%, #d97a00 100%);
  border-radius: 8px;
  border: 3px solid #060708;
  box-shadow: inset 0 4px 18px rgba(120,60,0,0.55), 0 0 34px rgba(255,161,30,0.6);
  padding: 10px 22px 6px;
  display: flex; align-items: baseline; gap: 10px;
  min-width: 270px; justify-content: center;
}
.lcd-screen .num {
  font-family: var(--font-head);
  font-weight: 700; font-style: italic;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  color: #1a1206;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lcd-screen small { font-family: var(--font-head); font-weight: 700; color: #2b1d08; font-size: 1.1rem; }
.lcd-brand { text-align: center; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.34em; color: #6e747a; margin-top: 10px; font-size: 0.95rem; }
.lcd-cap { text-align: center; margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

/* ===== LCD stat strip ===== */
.stats { padding: 0; background: var(--navy-900); border-top: 1px solid var(--steel-700); border-bottom: 1px solid var(--steel-700); position: relative; z-index: 4; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 38px 28px; text-align: center; border-left: 1px solid var(--navy-700); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-head); font-style: italic; font-size: 2.8rem; font-weight: 700; color: var(--lcd-orange); text-shadow: 0 0 22px rgba(255,161,30,0.65); line-height: 1; }
.stat .cap { color: var(--muted); font-size: 0.98rem; margin-top: 8px; }

/* ===== Angled color panels ===== */
.panel-product { position: relative; overflow: hidden; padding: calc(70px + var(--notch)) 0; }
.panel-angled { clip-path: polygon(0 var(--notch), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--notch)); }
.panel-angled-rev { clip-path: polygon(0 0, 100% var(--notch), 100% 100%, 0 100%); margin-top: calc(-1 * var(--notch)); }
.panel-product .texture { position: absolute; inset: 0; background: url("../images/texture-circuit.jpg") center / cover; mix-blend-mode: overlay; opacity: 0.18; pointer-events: none; }
.panel-product .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.panel-product ul { list-style: none; margin: 22px 0 30px; }
.panel-product li { padding-left: 22px; position: relative; margin-bottom: 10px; font-size: 1.02rem; }
.panel-product li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* Glow halo ring behind products (brochure circles) */
.halo { position: relative; display: flex; justify-content: center; align-items: center; }
.halo::before {
  content: ""; position: absolute;
  width: min(420px, 86%); aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 0 60px 10px var(--halo-glow, rgba(255,255,255,0.35)), inset 0 0 60px rgba(255,255,255,0.14);
}
.halo::after {
  content: ""; position: absolute;
  width: min(300px, 62%); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, var(--halo-glow, rgba(255,255,255,0.3)) 0%, transparent 72%);
  filter: blur(6px);
}
.halo > img { position: relative; z-index: 2; }

/* Gold — iWeigh */
.panel-gold { background: radial-gradient(130% 170% at 50% -30%, var(--gold-hi) 0%, var(--gold-mid) 52%, var(--gold-lo) 100%); color: #fff; --halo-glow: rgba(255,232,150,0.5); }
.panel-gold .kicker { color: #fff3c4; text-shadow: 0 0 14px rgba(255,240,180,0.5); }
.panel-gold h2, .panel-gold .lead { color: #fff; }
.panel-gold .partners { display: flex; gap: 18px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.panel-gold .partners .chip { background: #fff; border-radius: 8px; padding: 12px 20px; box-shadow: 0 10px 24px rgba(90,60,0,0.35); }
.panel-gold .partners img { height: 30px; width: auto; }
.panel-gold .partners .plabel { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: 0.1em; color: #fff3c4; width: 100%; font-size: 0.9rem; }
.panel-gold .module img { max-width: 320px; filter: drop-shadow(0 26px 50px rgba(60,40,0,0.65)); }

/* Fanned phone screenshots */
.fan { display: flex; justify-content: center; margin-top: -26px; position: relative; z-index: 3; }
.fan img {
  width: 33%; border-radius: 16px;
  box-shadow: 0 22px 44px rgba(20,15,0,0.5);
  border: 4px solid #101418;
  transition: transform 0.25s;
}
.fan img:nth-child(1) { transform: rotate(-9deg) translate(10%, 20px); z-index: 1; }
.fan img:nth-child(2) { z-index: 2; transform: translateY(0); }
.fan img:nth-child(3) { transform: rotate(9deg) translate(-10%, 20px); z-index: 1; }
.fan img:hover { transform: scale(1.06) rotate(0deg); z-index: 5; }

/* Steel blue — QuickWeigh */
.panel-blue { background: linear-gradient(170deg, var(--qwblue-hi) 0%, var(--qwblue-mid) 46%, var(--qwblue-lo) 100%); color: var(--ink); --halo-glow: rgba(63,150,220,0.55); }
.panel-blue .kicker { color: #0d2f4c; }
.panel-blue h2 { color: #0f2a44; text-shadow: 0 2px 0 rgba(255,255,255,0.25), 0 12px 30px rgba(20,50,80,0.35); }
.panel-blue .lead, .panel-blue li { color: #14304b; }
.panel-blue .halo::before { border-color: rgba(255,255,255,0.65); }
.panel-blue .halo img { max-width: 430px; filter: drop-shadow(0 26px 52px rgba(8,28,48,0.6)); animation: floaty2 6s ease-in-out infinite; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.panel-blue .cutaway { margin-top: 34px; filter: drop-shadow(0 24px 48px rgba(8,28,48,0.5)); }

/* Green — BinMaxx */
.panel-green { background: radial-gradient(130% 170% at 50% -30%, var(--green-hi) 0%, var(--green-lo) 100%); color: #dff5e9; --halo-glow: rgba(79,208,138,0.4); }
.panel-green .kicker { color: var(--bm-green); text-shadow: 0 0 14px rgba(79,208,138,0.5); }
.panel-green h2 { color: #fff; }
.panel-green li { color: #c5e8d5; }
.bm-lcd {
  font-family: var(--font-head); font-style: italic;
  display: inline-flex; align-items: baseline; gap: 10px;
  background: #0c110c;
  border-radius: 10px;
  padding: 30px 52px;
  font-size: 4rem; font-weight: 700;
  color: var(--bm-green);
  text-shadow: 0 0 24px rgba(79,208,138,0.9);
  border: 4px solid #1c231c;
  box-shadow: 0 24px 50px rgba(0,0,0,0.6), inset 0 0 30px rgba(79,208,138,0.12);
  font-variant-numeric: tabular-nums;
}
.bm-lcd small { font-size: 1.4rem; color: #8fd8b0; }

/* ===== Data / AI section ===== */
.data-ai { position: relative; overflow: hidden; background: var(--bg-950); padding-top: calc(92px + var(--notch)); }
.data-ai .texture { position: absolute; inset: 0; background: url("../images/texture-circuit.jpg") center / cover; opacity: 0.26; }
.data-ai .fade { position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 10%, transparent 0%, var(--bg-950) 88%); }
.data-ai .wrap { position: relative; z-index: 2; }
.data-ai .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.dcard {
  background: rgba(14,28,51,0.85);
  border: 1px solid var(--steel-700);
  border-radius: 10px;
  padding: 30px 24px;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  background-size: 200% 100%;
  animation: flow 3s linear infinite;
}
@keyframes flow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.dcard:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,0.6), 0 0 30px rgba(63,216,255,0.12); }
.dcard h3 { color: var(--neon-cyan); font-size: 1.25rem; margin-bottom: 10px; text-shadow: 0 0 14px rgba(63,216,255,0.4); }
.dcard p { color: var(--muted); font-size: 0.97rem; }

/* ===== Navy strip ===== */
.compare { background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); position: relative; overflow: hidden; }
.compare h2 { color: var(--cta-yellow); text-shadow: 0 0 30px rgba(255,212,0,0.25), 0 12px 30px rgba(0,0,0,0.4); }
.compare .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; }
.cpanel { border-radius: 10px; padding: 36px; border: 1px solid rgba(255,255,255,0.14); background: rgba(5,9,15,0.3); backdrop-filter: blur(3px); }
.cpanel h3 { margin-bottom: 20px; }
.cpanel.add h3 { color: var(--neon-cyan); text-shadow: 0 0 16px rgba(63,216,255,0.5); }
.cpanel.cut h3 { color: var(--lcd-orange); text-shadow: 0 0 16px rgba(255,161,30,0.5); }
.cpanel ul { list-style: none; }
.cpanel li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid rgba(159,180,200,0.16); }
.cpanel li:last-child { border-bottom: 0; }
.cpanel.add li::before { content: "+"; color: var(--neon-cyan); position: absolute; left: 0; font-weight: 700; font-size: 1.2rem; }
.cpanel.cut li::before { content: "\2013"; color: var(--lcd-orange); position: absolute; left: 0; font-weight: 700; font-size: 1.2rem; }

/* ===== How it works ===== */
.how { background: var(--bg-950); }
.how .cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; margin-top: 40px; }
.how img { filter: drop-shadow(0 24px 54px rgba(0,0,0,0.6)); }
.how .step { display: flex; gap: 18px; margin-bottom: 26px; }
.how .n { font-family: var(--font-head); flex: 0 0 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--neon-cyan); color: var(--neon-cyan); border-radius: 50%; font-size: 1.3rem; font-weight: 700; box-shadow: 0 0 16px rgba(63,216,255,0.35), inset 0 0 10px rgba(63,216,255,0.15); }
.how .step p { color: var(--muted); font-size: 1rem; }
.how .step strong { color: var(--text); display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 1.15rem; }

/* ===== Light sections ===== */
.light { background: #eef2f6; color: var(--ink); }
.light .kicker { color: var(--steel-500); }
.light h2 { color: var(--ink); text-shadow: none; }
.quotes .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.quote { background: #fff; border-left: 4px solid var(--gold-hi); border-radius: 6px; padding: 30px; box-shadow: 0 8px 26px rgba(19,35,58,0.09); transition: transform 0.2s, box-shadow 0.2s; }
.quote:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(19,35,58,0.14); }
.quote p { font-style: italic; color: #2a3c55; margin-bottom: 18px; }
.quote cite { color: #5c6f88; font-style: normal; font-size: 0.95rem; }
.quote cite strong { color: var(--steel-500); display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }

.oem { text-align: center; padding-top: 0; }
.oem .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 46px; margin-top: 34px; }
.oem .row span { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.5rem; color: #7387a0; letter-spacing: 0.06em; transition: color 0.2s; }
.oem .row span:hover { color: var(--steel-500); }

.buy { padding-top: 0; }
.buy .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.path { border-radius: 10px; padding: 34px 30px; background: #fff; box-shadow: 0 8px 26px rgba(19,35,58,0.09); border-top: 4px solid var(--steel-500); transition: transform 0.2s, box-shadow 0.2s; }
.path:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(19,35,58,0.16); }
.path h3 { color: var(--steel-500); margin-bottom: 12px; }
.path p { color: #4a5d76; font-size: 1rem; }

/* ===== Contact ===== */
.contact { text-align: center; position: relative; overflow: hidden; background: var(--bg-950); }
.contact .texture { position: absolute; inset: 0; background: url("../images/texture-circuit.jpg") center / cover; opacity: 0.14; }
.contact .wrap { position: relative; z-index: 2; }
.contact .phone-big { font-family: var(--font-head); font-style: italic; font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; color: var(--cta-yellow); display: block; margin: 22px 0; text-shadow: 0 0 40px rgba(255,212,0,0.35); }
.contact .lead { color: var(--muted); }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--navy-900); padding: 54px 0 40px; background: var(--bg-950); }
footer .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
footer .logo img { height: 44px; width: auto; }
.badges { display: flex; gap: 22px; align-items: center; }
.badges img { height: 40px; width: auto; opacity: 0.85; transition: opacity 0.2s; }
.badges img:hover { opacity: 1; }
footer .legal { margin-top: 34px; color: var(--muted); font-size: 0.88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .legal a { color: var(--muted); }
footer .legal a:hover { color: var(--neon-cyan); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .streaks span, .lcd-unit, .lcd-float::before, .dcard::before, .panel-blue .halo img { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .lcd-float { margin-top: 30px; }
  .panel-product .cols, .compare .grid, .how .cols { grid-template-columns: 1fr; }
  .quotes .grid, .buy .grid, .data-ai .grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--navy-700); }
  .nav ul { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-900); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--steel-700); }
  .nav ul.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .data-ai .grid { grid-template-columns: repeat(2, 1fr); }
}
