/* FIND the entire :root { ... } block and REPLACE with: */
:root {
  --navy:        #0D1F1A;
  --navy-light:  #162E27;
  --navy-dark:   #091510;
  --navy-deeper: #050E0B;

  --gold:        #C4965A;
  --gold-light:  #D9AE78;
  --gold-pale:   #F5EDE0;

  --white:       #FDFCF9;
  --off-white:   #F9F6F0;

  --gray-50:     #EDE8DF;
  --gray-100:    #DDD7CB;
  --gray-200:    #C8C0B0;
  --gray-400:    #8C8476;
  --gray-500:    #5C5549;
  --gray-700:    #2E2920;

  --green:       #2D9E6B;

  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(5,14,11,0.08);
  --shadow:     0 8px 32px rgba(5,14,11,0.14);
  --shadow-lg:  0 20px 60px rgba(5,14,11,0.24);

  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --transition: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --max-w:      1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 13px 30px; border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap; letter-spacing: 0.01em;
}
.btn--primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 16px 40px; font-size: 16px; }
.btn--full { width: 100%; }

.badge {
  display: inline-block;
  background: var(--gold-pale); color: #b07200;
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(245,166,35,0.3);
  margin-bottom: 18px;
}
.badge--dark { background: rgba(255,255,255,0.08); color: var(--gold); border-color: rgba(245,166,35,0.25); }

.highlight { color: var(--gold); }
.green { color: var(--green) !important; }
.gold { color: var(--gold) !important; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(28px,4vw,42px);
  font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: 16px;
}
.section-header p { color: var(--gray-500); font-size: 17px; line-height: 1.7; }

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(245,240,232,0.92);
  border-bottom: 1px solid var(--gray-100); 
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner { display: flex; align-items: center; height: 72px; gap: 0; }
.nav__logo { flex-shrink: 0; margin-right: 40px; text-decoration: none; }
.nav__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--gray-500); text-decoration: none; transition: color var(--transition); white-space: nowrap; }
.nav__links a:hover { color: var(--navy); }
.nav__cta { margin-left: 24px; flex-shrink: 0; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  padding: 148px 0 90px;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative; overflow: hidden;
}
.hero__bg-shape {
  position: absolute; top: -80px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,169,106,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero__bg-lines {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.2), transparent);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero__text h1 {
  font-family: var(--font-display); font-size: clamp(34px,5vw,56px);
  font-weight: 800; line-height: 1.08; color: var(--navy); margin-bottom: 22px;
}
.hero__text p { font-size: 18px; color: var(--gray-500); margin-bottom: 36px; max-width: 500px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--gray-500); }
.trust-icon { color: var(--gold); font-weight: 700; font-size: 15px; }

/* Dashboard mockup */
.dashboard-mockup {
  background: var(--navy-deeper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.06);
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.mockup__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mockup__bar span { width: 11px; height: 11px; border-radius: 50%; }
.mockup__bar span:nth-child(1){background:#FF5F56}
.mockup__bar span:nth-child(2){background:#FFBD2E}
.mockup__bar span:nth-child(3){background:#27C93F}
.mockup__title-bar { margin-left: 10px; font-size: 12px; color: rgba(255,255,255,0.25); font-family: var(--font-display); }
.mockup__screen { padding: 22px 22px 18px; }
.mockup__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mockup__status { font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 5px 13px; border-radius: 6px; background: rgba(245,166,35,0.12); color: var(--gold); }
.mockup__clock { color: rgba(255,255,255,0.35); font-size: 13px; }
.mockup__graph { margin-bottom: 18px; }
.graph__label { color: rgba(255,255,255,0.3); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.graph__row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.graph__tag { color: rgba(255,255,255,0.4); font-size: 10px; font-weight: 700; width: 22px; text-align: right; flex-shrink: 0; letter-spacing: 0.05em; }
.graph__bar { flex: 1; height: 13px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.bar__fill { height: 100%; border-radius: 3px; }
.bar__fill.off   { background: var(--gray-500); }
.bar__fill.sb    { background: var(--navy-light); }
.bar__fill.drive { background: var(--gold); }
.bar__fill.on    { background: var(--green); }
.graph__time { color: rgba(255,255,255,0.3); font-size: 10px; width: 22px; flex-shrink: 0; }
.mockup__divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 16px; }
.mockup__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.stat-label { font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.85); }
.stat-val.green { color: var(--green) !important; }
.stat-val.gold  { color: var(--gold)  !important; }

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar { padding: 32px 0; background: var(--navy); }
.trust-bar__inner { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.trust-stat { text-align: center; padding: 0 48px; }
.trust-stat strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.trust-stat span { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; display: block; }
.trust-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ── FEATURES ──────────────────────────────────────── */
.features { padding: 110px 0; background: #FFFFFF; }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card {
  padding: 40px 36px; border: 1px solid var(--gray-100);
  border-radius: var(--radius); background: var(--white);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; transition: background var(--transition);
}
.feature-card:hover { border-color: rgba(196,150,90,0.4);  box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card:hover::before { background: var(--gold); }
.feature-card--wide { grid-column: 1 / -1; display: flex; gap: 40px; }
.feature-card--wide .feature-card__content { flex: 1; }
.feature-card__number {
  font-family: var(--font-display); font-size: 64px; font-weight: 800;
  color: var(--gray-100); line-height: 1; flex-shrink: 0;
  align-self: flex-start; min-width: 70px;
}
.feature-card__content h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px; line-height: 1.3;
}
.feature-card__content p { color: var(--gray-500); font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.feature-list li {
  font-size: 14px; color: var(--gray-700); padding-left: 18px; position: relative;
}
.feature-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ── PRODUCT SECTIONS ──────────────────────────────── */
.product-section { padding: 110px 0;  background: var(--off-white); }
.product-section--alt { background: var(--white); }
.product-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.product-section__inner--reverse { direction: rtl; }
.product-section__inner--reverse > * { direction: ltr; }
.product-section__text h2 {
  font-family: var(--font-display); font-size: clamp(26px,3.5vw,38px);
  font-weight: 800; line-height: 1.2; color: var(--navy); margin-bottom: 18px;
}
.product-lead { font-size: 17.5px; color: var(--navy); font-weight: 400; margin-bottom: 18px; line-height: 1.7; }
.product-section__text p { color: var(--gray-500); margin-bottom: 16px; font-size: 15.5px; }
.product-closing { font-weight: 600; color: var(--navy); font-size: 16px; margin-top: 8px; border-left: 3px solid var(--gold); padding-left: 14px; }

.benefit-grid { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 24px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon { width: 32px; height: 32px; background: var(--gold-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.benefit-item strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.benefit-item span { font-size: 13.5px; color: var(--gray-500); line-height: 1.5; }

/* Device card */
.device-card {
  background: var(--navy-deeper); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.07);
}
.device-card__top { display: flex; gap: 7px; align-items: center; padding: 14px 18px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.07); }
.device-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.device-dot.active { background: var(--green); }
.device-card__screen { padding: 24px 22px; }
.device-label { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 18px; }
.device-screen-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.device-screen-row:last-child { border-bottom: none; }
.device-screen-row span:first-child { color: rgba(255,255,255,0.4); }
.device-screen-row span:last-child { color: rgba(255,255,255,0.85); font-weight: 500; }
.device-card__footer { padding: 13px 22px; background: rgba(245,166,35,0.08); font-size: 12px; color: var(--gold); text-align: center; font-weight: 600; letter-spacing: 0.04em; border-top: 1px solid rgba(245,166,35,0.15); }

/* Map card */
.map-card { background: var(--navy-deeper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.07); }
.map-card__header { padding: 14px 18px; font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 8px; }
.map-live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.map-card__body { height: 200px; overflow: hidden; }
.map-bg { width: 100%; height: 100%; }
.map-card__footer { padding: 14px 18px; display: flex; flex-direction: column; gap: 7px; border-top: 1px solid rgba(255,255,255,0.07); }
.map-stat { display: flex; justify-content: space-between; font-size: 13px; }
.map-stat span:first-child { color: rgba(255,255,255,0.4); }
.map-stat span:last-child { font-weight: 500; }

/* IFTA card */
.ifta-card { background: var(--navy-deeper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.07); }
.ifta-card__header { padding: 16px 20px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--gold); border-bottom: 1px solid rgba(255,255,255,0.07); letter-spacing: 0.03em; }
.ifta-table { padding: 8px 20px; }
.ifta-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13.5px; align-items: center; }
.ifta-row:last-child { border-bottom: none; }
.ifta-row span { color: rgba(255,255,255,0.65); }
.ifta-row--head span { color: rgba(255,255,255,0.3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.ifta-card__total { margin: 0 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 24px; flex-wrap: wrap; }
.ifta-card__total span { font-size: 12px; color: rgba(255,255,255,0.35); }
.ifta-card__total strong { font-size: 14px; color: var(--white); }
.ifta-card__footer { padding: 13px 20px; background: rgba(34,197,94,0.08); font-size: 12px; color: var(--green); text-align: center; font-weight: 600; letter-spacing: 0.04em; border-top: 1px solid rgba(34,197,94,0.15); }

/* ── HOW IT WORKS ──────────────────────────────────── */
.how { padding: 110px 0; background: var(--navy-dark); }
.how .section-header h2 { color: var(--white); }
.how .section-header p { color: rgba(255,255,255,0.5); }
.how .badge { background: rgba(245,166,35,0.12); color: var(--gold); border-color: rgba(245,166,35,0.2); }
.how__steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 36px 28px; transition: all var(--transition); }
.step:hover { background: rgba(255,255,255,0.07); border-color: rgba(245,166,35,0.25); }
.step__num { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(245,166,35,0.3); line-height: 1; margin-bottom: 16px; }
.step__content h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.step__content p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.step__detail { display: inline-block; background: rgba(245,166,35,0.1); color: var(--gold); font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px; border: 1px solid rgba(245,166,35,0.2); }
.step__connector { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 8px; margin-top: 60px; }
.connector__line { width: 1px; height: 0; }
.connector__arrow { font-size: 22px; color: rgba(245,166,35,0.35); }

/* ── PRICING ────────────────────────────────────────── */
.pricing { padding: 110px 0; background: var(--white); }
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 860px; margin: 0 auto 32px; align-items: start; }
.pricing-card {
  border: 2px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 44px 40px; display: flex; flex-direction: column; gap: 22px;
  background: var(--white); transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-lg);
}
.pricing-card__label { font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.pricing-card__price { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--navy); }
.pricing-card--featured .pricing-card__price { color: var(--white); }
.pricing-card__price sup { font-size: 26px; vertical-align: super; }
.pricing-card__price span { font-size: 15px; font-weight: 400; opacity: 0.55; margin-left: 4px; }
.pricing-card__desc { font-size: 15px; color: var(--gray-500); line-height: 1.65; }
.pricing-card--featured .pricing-card__desc { color: rgba(255,255,255,0.55); }
.pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pricing-card__features li { font-size: 14.5px; color: var(--gray-700); padding-left: 20px; position: relative; }
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,0.8); }
.pricing-card--featured .btn--outline { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
.pricing-card--featured .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: var(--white); }
.pricing__note { text-align: center; font-size: 14px; color: var(--gray-400); max-width: 500px; margin: 0 auto; }

/* ── REVIEWS MARQUEE ────────────────────────────────── */
.reviews { padding: 110px 0 0; background: var(--off-white); overflow: hidden; }
.reviews .section-header { margin-bottom: 40px; }
.reviews__rating-row { display: flex; justify-content: center; margin-bottom: 56px; }
.rating-summary { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 100px; padding: 14px 28px; }
.rating-num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--navy); }
.rating-stars { font-size: 18px; color: var(--gold); letter-spacing: 2px; }
.rating-label { font-size: 13px; color: var(--gray-500); }

.marquee-outer { overflow: hidden; padding-bottom: 110px; position: relative; }
.marquee-outer::before,
.marquee-outer::after {
  content: ''; position: absolute; top: 0; bottom: 110px; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee-outer::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee 45s linear infinite;
  width: max-content !important;
  max-width: none !important;
  flex-shrink: 0;
  flex-wrap: nowrap;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 30px 28px;
  width: 320px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); border-color: rgba(196,150,90,0.3); transform: translateY(-2px); }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.review-card p { color: var(--gray-700); font-size: 14.5px; line-height: 1.7; font-style: italic; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-author strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.review-author span { font-size: 12px; color: var(--gray-400); }

/* ── ABOUT ──────────────────────────────────────────── */
.about { padding: 110px 0; background: var(--white);  }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about__text h2 { font-family: var(--font-display); font-size: clamp(26px,3.5vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 18px; line-height: 1.2; }
.about-lead { font-size: 17px; color: var(--navy); line-height: 1.75; margin-bottom: 18px; }
.about__text p { color: var(--gray-500); font-size: 15.5px; margin-bottom: 16px; line-height: 1.75; }
.about__values { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.value-item { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--gold); }
.value-item strong { font-size: 15px; font-weight: 600; color: var(--navy); }
.value-item span { font-size: 14px; color: var(--gray-500); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-stat-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px 28px; transition: all var(--transition); }
.about-stat-card:hover { box-shadow: var(--shadow); border-color: rgba(245,166,35,0.35); }
.about-stat-card strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--gold); line-height: 1.1; margin-bottom: 8px; }
.about-stat-card span { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* ── CONTACT ────────────────────────────────────────── */
.contact { padding: 110px 0; background: var(--navy-dark); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__text h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,3.5vw,38px); color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.contact__text p { color: rgba(255,255,255,0.5); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact__info-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.6); font-size: 15px; }
.contact__info-item svg { flex-shrink: 0; }
.contact__info-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.contact__info-item a:hover { color: var(--gold); }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); color: var(--white);
  font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color var(--transition);
  -webkit-appearance: none; resize: vertical;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact__form select option { background: var(--navy-dark); color: var(--white); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.08); }
.form-note { text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.25); margin-top: 4px; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--navy-deeper); }
.footer__inner { display: grid; grid-template-columns: 2fr 1.5fr; gap: 60px; padding: 64px 0 40px; }
.footer__tagline { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 20px; }
.footer__contact-quick { display: flex; flex-direction: column; gap: 6px; }
.footer__contact-quick span { font-size: 13.5px; color: rgba(255,255,255,0.3); }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__links div { display: flex; flex-direction: column; gap: 11px; }
.footer__links strong { color: rgba(255,255,255,0.5); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.footer__links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }

/* Legal accordion */
.footer__legal-sections { padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 1px; }
.legal-block { border-bottom: 1px solid rgba(255,255,255,0.06); }
.legal-block summary {
  padding: 16px 0; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.4); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition);
}
.legal-block summary::-webkit-details-marker { display: none; }
.legal-block summary::after { content: '+'; font-size: 18px; color: rgba(255,255,255,0.25); transition: transform var(--transition); }
.legal-block[open] summary::after { transform: rotate(45deg); }
.legal-block summary:hover { color: rgba(255,255,255,0.7); }
.legal-block p { padding: 0 0 20px; font-size: 13.5px; color: rgba(255,255,255,0.3); line-height: 1.75; max-width: 720px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom span { color: rgba(255,255,255,0.25); font-size: 13px; }

/* ── GLOBAL OVERFLOW FIX ───────────────────────────── */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* ── Tablet portrait ───────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__logo { margin-right: auto; }

  /* Hero */
  .hero { padding: 110px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__text h1 { font-size: clamp(32px, 7vw, 48px); }
  .hero__text p { font-size: 16px; max-width: 100%; }
  .dashboard-mockup { max-width: 480px; margin: 0 auto; }

  /* Trust bar */
  .trust-bar__inner { flex-wrap: wrap; gap: 0; justify-content: center; }
  .trust-stat { padding: 12px 24px; }
  .trust-divider { height: 32px; }

  /* Sections */
  .features { padding: 72px 0; }
  .product-section,
  .product-section--alt { padding: 72px 0; }
  .how { padding: 72px 0; }
  .integrations { padding: 72px 0; }
  .pricing { padding: 72px 0; }
  .reviews { padding: 72px 0 0; }
  .about { padding: 72px 0; }
  .contact { padding: 72px 0; }

  /* Section headers */
  .section-header { margin-bottom: 48px; }
  .section-header p { font-size: 15px; }

  /* Product sections — STACK VERTICALLY */
  .product-section__inner { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .product-section__inner--reverse { direction: ltr; }

  /* How it works */
  .how__steps { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  .step__connector { display: none; }

  /* Features */
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--wide { 
    grid-column: auto; 
    flex-direction: column; 
    gap: 20px; 
  }
  .feature-card__number { font-size: 48px; min-width: auto; }

  /* Integrations */
  .integrations__grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 14px; 
    margin: 40px auto; 
  }
  .integrations__steps { 
    flex-direction: column; 
    gap: 14px; 
    align-items: stretch; 
  }
  .int-step { max-width: 100%; }
  .int-step__arrow { display: none; }
  .integrations__cta { margin-top: 40px; }

  /* Pricing — STACK VERTICALLY */
  .pricing__grid { 
    grid-template-columns: 1fr; 
    max-width: 100%; 
    margin: 0 auto 32px; 
  }

  /* Reviews */
  .review-card { width: 280px; padding: 24px 20px; }

  /* About */
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { grid-template-columns: 1fr 1fr; }

  /* Contact — STACK VERTICALLY */
  .contact__inner { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 96px 0 56px; }
  .hero__text h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .hero__trust { flex-direction: column; gap: 8px; }

  /* Trust bar */
  .trust-bar__inner { flex-direction: column; gap: 20px; padding: 8px 0; }
  .trust-divider { width: 40px; height: 1px; margin: 0 auto; }
  .trust-stat { padding: 0; }

  /* Section headers */
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(22px, 6vw, 30px); }
  .section-header p { font-size: 14.5px; }

  /* Features */
  .features { padding: 56px 0; }
  .feature-card { padding: 28px 22px; }
  .feature-card--wide { flex-direction: column; gap: 12px; }
  .feature-card__number { font-size: 40px; }

  /* Product sections */
  .product-section,
  .product-section--alt { padding: 56px 0; }
  .product-section__inner { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  .product-section__inner--reverse { direction: ltr; }
  .product-lead { font-size: 16px; }
  .product-section__text h2 { font-size: clamp(22px, 6vw, 30px); }

  /* Device / Map / IFTA cards — full width */
  .device-card, 
  .map-card, 
  .ifta-card { 
    width: 100%; 
    font-size: 13px; 
  }
  .device-screen-row { 
    font-size: 13px; 
    flex-wrap: wrap; 
    gap: 4px;
  }
  .ifta-row { font-size: 12px; gap: 4px; }
  .ifta-row--head span { font-size: 10px; }

  /* How */
  .how { padding: 56px 0; }
  .how__steps { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  .step { padding: 24px 20px; }
  .step__num { font-size: 38px; }

  /* Integrations */
  .integrations { padding: 56px 0; }
  .integrations__grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
  }
  .integration-card { padding: 24px 16px; min-height: 90px; }
  .integration-card img { width: 80%; height: 36px; }
  .integrations__process h3 { font-size: 1.2rem; margin-bottom: 24px; }
  .int-step { padding: 22px 18px; }

  /* Pricing — full width single column */
  .pricing { padding: 56px 0; }
  .pricing__grid { 
    grid-template-columns: 1fr; 
    max-width: 100%; 
  }
  .pricing-card { padding: 32px 24px; }
  .pricing-card__price { font-size: 42px; }

  /* Reviews */
  .reviews { padding: 56px 0 0; }
  .rating-summary { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
    padding: 14px 20px; 
  }
  .rating-num { font-size: 26px; }
  .review-card { width: 260px; padding: 20px 18px; }

  /* About */
  .about { padding: 56px 0; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-stat-card { padding: 22px 18px; }
  .about-stat-card strong { font-size: 28px; }

  /* Contact — full width form */
  .contact { padding: 56px 0; }
  .contact__inner { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { width: 100%; }
  .contact__form input,
  .contact__form select,
  .contact__form textarea { 
    font-size: 16px;
    width: 100%;
  }

  /* Footer */
  .footer__inner { padding: 40px 0 32px; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom .container { 
    flex-direction: column; 
    text-align: center; 
    gap: 6px; 
  }
}

/* ── Small mobile ──────────────────────────────────── */
@media (max-width: 380px) {
  .hero__text h1 { font-size: 26px; }
  .integrations__grid { grid-template-columns: 1fr 1fr; }
  .about__stats { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 18px; }
  .section-header h2 { font-size: 20px; }
}

/* ── Mobile nav open ───────────────────────────────── */
.nav--open .nav__links,
.nav--open .nav__cta {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 20px 28px;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  gap: 14px;
  z-index: 199;
}
.nav--open .nav__links a { font-size: 15px; color: var(--navy); padding: 4px 0; }
.nav--open .nav__cta { position: static; flex-direction: row; padding-top: 8px; }
.nav--open .nav__cta .btn { width: 100%; justify-content: center; }

/* ── Scroll reveal ─────────────────────────────────── */
.reveal { 
  opacity: 0; 
  transform: translateY(24px); 
  transition: opacity 0.5s cubic-bezier(0.23,1,0.32,1), transform 0.5s cubic-bezier(0.23,1,0.32,1); 
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dashboard-mockup { animation: none; }
  .marquee-track { animation-play-state: paused; }
}

/* ═══════════════════════════════════════ INTEGRATIONS */
.integrations {
  padding: 100px 0; background: var(--off-white);
}

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 56px auto;
  max-width: 860px;
}

.integration-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  border-radius: 14px;
  background: var(--white); border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  min-height: 130px;
}

.integration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(27,42,74,0.13);
  border-color: var(--gold);
}

.integration-card img {
  width: 75%;
  height: 56px;
  object-fit: contain;
}

/* Integration process steps */
.integrations__process {
  margin-top: 80px;
  text-align: center;
}

.integrations__process h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--navy);
}

.integrations__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.int-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 32px 24px;
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.int-step__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.int-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.int-step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.int-step__arrow {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.5;
  align-self: center;
  padding: 0 14px;
  flex-shrink: 0;
}

.integrations__cta {
  margin-top: 64px;
  text-align: center;
}

.integrations__cta p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.085) 1px, transparent 1px);

  background-size: 60px 60px;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.avatar { object-fit: cover; }

/* ── OVERFLOW FIXES ─────────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.nav {
  max-width: 100vw;
  overflow: hidden;
}

.nav__links {
  display: none !important;
}

@media (min-width: 901px) {
  .nav__links {
    display: flex !important;
  }
}

.hero__bg-shape {
  display: none;
}

@media (min-width: 901px) {
  .hero__bg-shape {
    display: block;
  }
}

.marquee-outer {
  overflow: hidden;
  max-width: 100vw !important;
  width: 100%;
  display: flex;
}

.marquee-track {
  will-change: transform;
}

* {
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
}

/* Fix product section cards not overflowing */
.device-card,
.map-card,
.ifta-card {
  max-width: 100%;
  overflow: hidden;
}

.device-screen-row {
  flex-wrap: wrap;
  word-break: break-word;
}

/* ── NAV MOBILE FIX ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    width: 100%;
  }

  .nav__logo img {
    height: 70px;
  }

  .nav__hamburger {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav__cta {
    display: none;
  }
}

/* ── FOOTER MOBILE FIX ──────────────────────────────── */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px;
  }

  .footer__tagline {
    max-width: 100%;
    padding-left: 0;
  }

  .footer__contact-quick {
    padding-left: 0;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-left: 0;
  }

  .footer__links div {
    padding-left: 0;
  }

  .footer__links a,
  .footer__links strong,
  .footer__links span {
    padding-left: 0;
    margin-left: 0;
  }

  .footer__legal-sections {
    padding: 24px 0;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 0 16px;
  }
}

/* ── INTEGRATION STEPS MOBILE FIX ───────────────────── */
@media (max-width: 900px) {
  .integrations__steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .int-step {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
  }

  .int-step__arrow {
    display: none;
  }

  .integrations__process {
    padding: 0 16px;
  }

  .integrations__process h3 {
    text-align: center;
  }
}


/* ── HAMBURGER MENU OPEN FIX ────────────────────────── */
@media (max-width: 900px) {
  .nav--open .nav__links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 20px 28px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    gap: 14px;
    z-index: 999;
    width: 100%;
  }

  .nav--open .nav__links a {
    font-size: 15px;
    color: var(--navy);
    padding: 4px 0;
  }

  .nav--open .nav__cta {
    display: flex !important;
    position: static;
    flex-direction: column;
    padding: 8px 20px 20px;
    background: var(--white);
    width: 100%;
    z-index: 999;
  }

  .nav--open .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── LEGAL ACCORDION FOOTER FIX ─────────────────────── */
@media (max-width: 900px) {
  .footer__legal-sections {
    padding: 24px 16px;
  }

  .legal-block summary {
    font-size: 15px;
    padding: 18px 0;
    color: rgba(255,255,255,0.6);
  }

  .legal-block p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    padding-bottom: 18px;
    line-height: 1.75;
  }

  .legal-block {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .legal-block summary::after {
    font-size: 20px;
    color: rgba(255,255,255,0.4);
  }
}

@media (max-width: 900px) {
  .nav--open .nav__cta { display: none !important; }
}

/* ── NAV WHITE BACKGROUND ───────────────────────────── */
.nav {
  background: rgba(255,255,255,1) !important;
}

/* ── ABOUT STATS MOBILE FIX ─────────────────────────── */
@media (max-width: 600px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }

  .about-stat-card {
    padding: 20px 14px;
    min-width: 0;
    overflow: hidden;
  }

  .about-stat-card strong {
    font-size: 24px;
    line-height: 1.1;
    word-break: break-word;
  }

  .about-stat-card span {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* ── CONTACT FORM FINAL FIX ─────────────────────────── */
@media (max-width: 900px) {
  .contact {
    overflow: hidden;
  }
  
  .contact__inner {
    overflow: hidden;
    width: 100%;
  }

  .contact__form input,
  .contact__form select,
  .contact__form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .integration-card {
    padding: 20px 12px;
    min-height: 110px;
  }

  .integration-card img {
    width: 90% !important;
    height: 48px !important;
    object-fit: contain;
  }
}