/* ─────────────────────────────────────────────────────────────────────
   TRANSPORTI — Landing Page Styles
   Brand palette: #EBB95F · #3E4957 · #1A2332 · #F5A962 · #F9F6F1
   ───────────────────────────────────────────────────────────────────── */

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:   #EBB95F;
  --gold2:  #F5A962;
  --navy:   #1A2332;
  --char:   #3E4957;
  --cream:  #F9F6F1;
  --white:  #FFFFFF;
  --shadow: 0 8px 32px rgba(26,35,50,.10);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: .25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;   /* stop iOS inflating text in landscape */
  text-size-adjust: 100%;
}

/* Touch layer: kills the ~300ms tap delay and the blue flash, but replaces the
   flash with a real :active state so taps still feel acknowledged. */
a, button, summary, [role="button"], .btn, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
a:active, summary:active { opacity: .72; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--char);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Brand icons (Phosphor Duotone via SVG sprite) ─────────────────── */
.brand-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  color: var(--gold);
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Size variants — mirrors the app's size buckets */
.brand-icon--xs  { width: 16px; height: 16px; }
.brand-icon--sm  { width: 20px; height: 20px; }
.brand-icon--md  { width: 32px; height: 32px; }
.brand-icon--lg  { width: 44px; height: 44px; }

/* Color variants */
.brand-icon--on-dark { color: var(--navy); }
.brand-icon--navy    { color: var(--navy); }
.brand-icon--muted   { color: rgba(255,255,255,.55); }
.brand-icon--white   { color: var(--white); }

/* ── Utilities ─────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 12px 0 16px;
}

.section-header p {
  color: #667180;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: rgba(235,185,95,.15);
  color: #b07c1a;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.section-tag--gold  { background: rgba(235,185,95,.2); color: #8a5e0f; }
.section-tag--navy  { background: rgba(26,35,50,.08); color: var(--navy); }
.section-tag--light { background: rgba(255,255,255,.25); color: var(--white); }

.text-accent { color: var(--gold); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(235,185,95,.45); }

.btn--outline {
  border-color: var(--char);
  color: var(--char);
  background: transparent;
}
.btn--outline:hover { background: var(--char); color: var(--white); }

.btn--ghost { color: var(--char); background: transparent; }
.btn--ghost:hover { color: var(--navy); }

.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover { background: #253447; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* P1.5 — Touch target: all buttons get minimum 44px height */
.btn { min-height: 44px; }

/* ── Header ────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(62,73,87,.08);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.header__logo { flex-shrink: 0; }
.header__logo img { height: 36px; }

.header__nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

.header__nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--char);
  white-space: nowrap;
  transition: var(--transition);
}
.header__nav a:hover { color: var(--navy); }

.header__actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.header__actions .btn { white-space: nowrap; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--char);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--cream);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(235,185,95,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(26,35,50,.07);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: #5a6472;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.hero__trust-item span  { font-size: .78rem; color: #7a8694; }

.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(62,73,87,.2);
}

/* ── Phone mockup ──────────────────────────────────────────────────── */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone-mockup {
  width: 300px;
  background: var(--navy);
  border-radius: 36px;
  padding: 20px 16px;
  box-shadow: 0 32px 80px rgba(26,35,50,.3);
  border: 6px solid rgba(255,255,255,.08);
}

.mockup__screen { display: flex; flex-direction: column; gap: 12px; }

.mockup__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mockup__logo-mini {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  flex-shrink: 0;
}

.mockup__title { font-size: .85rem; font-weight: 600; color: var(--white); flex: 1; }
.mockup__notif { font-size: .85rem; }

.mockup__card {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
}

.mockup__card--active {
  background: rgba(235,185,95,.12);
  border-color: rgba(235,185,95,.3);
}

.mockup__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mockup__badge {
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.mockup__badge--transit  { background: rgba(235,185,95,.25); color: var(--gold); }
.mockup__badge--pending  { background: rgba(245,169,98,.2);  color: var(--gold2); }
.mockup__badge--done     { background: rgba(80,200,120,.2);  color: #4fc87a; }

.mockup__time { font-size: .65rem; color: rgba(255,255,255,.5); }

.mockup__route {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  margin: 3px 0;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green  { background: #4fc87a; }
.dot--orange { background: var(--gold2); }

.mockup__bar {
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.mockup__bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 3px;
}

/* ── Floating badges ────────────────────────────────────────────────── */
.hero__floating {
  position: absolute;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(26,35,50,.14);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}

.hero__floating .brand-icon {
  color: var(--gold);
}

.hero__floating--1 { top: 30px; left: -30px; animation-delay: 0s; }
.hero__floating--2 { bottom: 60px; right: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Stats bar ─────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-bar__item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stats-bar__item span {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

/* ── Features grid ──────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(235,185,95,.3);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(235,185,95,.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: .9rem;
  color: #5a6472;
  line-height: 1.65;
}

/* ── How it works ───────────────────────────────────────────────────── */
.how-it-works { background: var(--cream); }

.hiw__steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.hiw__step {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hiw__step-num {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hiw__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(235,185,95,.1);
  border-radius: 18px;
  margin: 0 auto 20px;
}

.hiw__step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.hiw__step p {
  font-size: .88rem;
  color: #667080;
  line-height: 1.65;
}

.hiw__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  color: var(--gold);
  font-size: 1.4rem;
}

.hiw__connector-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  margin-bottom: 4px;
  border-radius: 2px;
}

/* ── Offers-arriving app screen (how-it-works step 2) ────────────────── */
.offers {
  background: var(--cream);
  padding: 12px 11px 22px;
  text-align: left;
  aspect-ratio: 560 / 981;
}

.offers__req {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-radius: var(--radius-xs);
  padding: 9px 11px;
  box-shadow: 0 2px 8px rgba(26,35,50,.07);
}
.offers__req-route { font-size: .82rem; font-weight: 700; color: var(--navy); }
.offers__req-meta  { font-size: .68rem; color: #7a8694; }

.offers__count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .66rem;
  font-weight: 600;
  color: #8a5e0f;
  margin: 12px 2px 8px;
}
.offers__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.appshot--offers.is-visible .offers__dot { animation: offers-dot 1.6s ease-in-out 3; }

.offer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius-xs);
  padding: 8px 9px;
  margin-bottom: 7px;
  opacity: 0;
}
/* plays ONCE when the card scrolls into view, then holds the end state —
   continuous loops repaint forever and cost battery on a phone */
.appshot--offers.is-visible .offer--a { animation: offer-in .55s ease-out .15s forwards; }
.appshot--offers.is-visible .offer--c { animation: offer-in .55s ease-out 1.35s forwards; }

.offer__avatar {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.offer__body { flex: 1; min-width: 0; }
.offer__line { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.offer__name  { font-size: .76rem; font-weight: 700; color: var(--navy); }
.offer__price { font-size: .8rem;  font-weight: 800; color: var(--navy); white-space: nowrap; }

.offer__meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.offer__verified,
.offer__rating {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .62rem; font-weight: 600;
}
.offer__verified { color: #15803d; }
.offer__rating   { color: #7a8694; }
.offer__verified .brand-icon { width: 11px; height: 11px; color: #15803d; }
.offer__rating .brand-icon   { width: 11px; height: 11px; color: var(--gold); }

/* the passing-route offer — the differentiator, shown not explained */
.offer__tag {
  display: inline-block;
  margin-top: 6px;
  background: rgba(235,185,95,.2);
  color: #8a5e0f;
  font-size: .6rem; font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

.offer--best { border-color: rgba(235,185,95,.55); }
.appshot--offers.is-visible .offer--best {
  animation: offer-in .55s ease-out .75s forwards,
             offer-pick .45s ease-out 2.2s forwards;
}
.offer__chosen { opacity: 0; }
.appshot--offers.is-visible .offer__chosen { animation: offer-fade .4s ease-out 2.4s forwards; }
.offer__chosen .brand-icon { width: 18px; height: 18px; color: var(--gold); }

@keyframes offers-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.8); }
}
@keyframes offer-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes offer-pick {
  to { box-shadow: 0 0 0 2px rgba(235,185,95,.55), 0 6px 16px rgba(235,185,95,.3); }
}
@keyframes offer-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .offers__dot,
  .offer, .offer--best, .offer__chosen { animation: none !important; opacity: 1 !important; transform: none !important; }
  .offer--best { box-shadow: 0 0 0 2px rgba(235,185,95,.55); }
}

/* ── Split sections ─────────────────────────────────────────────────── */
.split { overflow: hidden; }
.split--reverse { background: var(--cream); }

.split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split__inner--reverse {
  direction: rtl;
}
.split__inner--reverse > * { direction: ltr; }

.split__text .section-tag { margin-bottom: 12px; }

.split__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.split__text p {
  font-size: 1rem;
  color: #5a6472;
  margin-bottom: 28px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--char);
  margin-bottom: 10px;
}

/* .check replaced by brand-icon--check SVG */
.brand-icon--check {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Illustration cards ─────────────────────────────────────────────── */
.split__visual { display: flex; justify-content: center; }

.split__illustration { position: relative; }

.illus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(26,35,50,.14);
  min-width: 280px;
  border: 1px solid rgba(235,185,95,.2);
}

.illus-card--carrier {
  background: var(--navy);
}

.illus-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(62,73,87,.1);
}

.illus-card--carrier .illus-card__top {
  border-color: rgba(255,255,255,.1);
}

.illus-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
}

.illus-label {
  font-weight: 700;
  color: var(--navy);
}
.illus-card--carrier .illus-label { color: var(--white); }

.illus-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.illus-item {
  font-size: .82rem;
  color: #5a6472;
  background: rgba(62,73,87,.05);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
}

.illus-card--carrier .illus-item {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
}

.illus-item--highlight {
  background: rgba(235,185,95,.15);
  color: #8a5e0f;
  font-weight: 600;
}

.illus-card--carrier .illus-item--highlight {
  background: rgba(235,185,95,.2);
  color: var(--gold);
}

.illus-cta {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 999px;
  padding: 10px 20px;
  cursor: default;
}

.illus-cta--dark {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
}

/* ── Realistic device frame (real app screenshots) ───────────────────────
   Shared by expediteurs.html and transporteurs.html. A phone's status bar
   layout (time left, signal/wifi/battery right) is a hardware/OS constant,
   not a locale-dependent UI choice — pinned to direction:ltr so it renders
   correctly even inside an RTL (dir="rtl") page like transporteurs.html. */
.appshots__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 720px;
  margin: 8px auto 0;
}
.appshot { text-align: center; }
.device {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 256px;
  padding: 11px;
  background: linear-gradient(160deg, #2a3547, var(--navy));
  border-radius: 46px;
  box-shadow: 0 22px 50px rgba(26,35,50,.28), 0 4px 12px rgba(26,35,50,.18), inset 0 0 0 2px rgba(255,255,255,.05);
  direction: ltr;
}
.device__screen {
  position: relative;
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
}
.device__island {
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px;
  background: #05070c;
  border-radius: 99px;
  z-index: 3;
}
.device__statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 22px 3px;
  background: var(--white);
  position: relative; z-index: 2;
}
.device__time { font-size: .72rem; font-weight: 700; color: var(--navy); letter-spacing: .3px; }
.device__sb-icons { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); }
.device__sb-icons svg { height: 11px; width: auto; display: block; }
.device__screen img { width: 100%; height: auto; display: block; }
.device__home {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 5px; border-radius: 99px;
  background: rgba(62,73,87,.35);
  z-index: 3;
}
.appshot h3 { font-size: 1.05rem; color: var(--navy); margin: 20px 0 4px; }
.appshot p  { font-size: .92rem; color: var(--char); margin: 0; line-height: 1.5; }
.appshot__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); font-weight: 800; font-size: .9rem; margin-bottom: 4px;
}

/* ── Coverage section ───────────────────────────────────────────────── */
.coverage { background: var(--navy); color: var(--white); }
.coverage .section-header h2 { color: var(--white); }
.coverage .section-header p { color: rgba(255,255,255,.65); }

.coverage__map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.coverage__map .leaflet-popup-content { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; }
.coverage__map .leaflet-container { font-family: 'Poppins', sans-serif; }
.coverage__map .leaflet-popup-content-wrapper {
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 16px rgba(26,35,50,.35);
  padding: 8px 14px;
}
.coverage__map .leaflet-popup-tip { background: var(--navy); }
.coverage__map .leaflet-popup-close-button { color: rgba(255,255,255,.6) !important; }
.coverage__map .leaflet-popup-close-button:hover { color: var(--gold) !important; }

.coverage__map-placeholder {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.coverage__map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.map-pin {
  position: absolute;
  background: rgba(235,185,95,.9);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  animation: pulse 2s ease-in-out infinite;
}

.map-pin--1 { top: -120px; left: -60px; animation-delay: 0s; }
.map-pin--2 { top: -40px;  left:  80px; animation-delay: .4s; }
.map-pin--3 { top: -90px;  left:  20px; animation-delay: .8s; }
.map-pin--4 { top: -140px; left: -10px; animation-delay: 1.2s; }
.map-pin--5 { top:   20px; left:  60px; animation-delay: 1.6s; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235,185,95,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(235,185,95,.0); }
}

.map-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-top: 160px;
}

/* ── Download section ───────────────────────────────────────────────── */
.download {
  background: linear-gradient(135deg, var(--navy), #253447);
  color: var(--white);
}

.download__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.download__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 12px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.download__text p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 32px; }

.download__btns { display: flex; gap: 16px; flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  transition: var(--transition);
  min-width: 160px;
}

.store-btn:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.store-btn--soon { opacity: .5; cursor: default; }
.store-btn--soon:hover { transform: none; background: rgba(255,255,255,.12); }

.store-btn__icon { font-size: 1.5rem; }

.store-btn small  { display: block; font-size: .7rem; color: rgba(255,255,255,.6); }
.store-btn strong { display: block; font-size: .95rem; color: var(--white); }

.download__qr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.qr-dots {
  width: 96px;
  height: 96px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 5px,
      rgba(26,35,50,.8) 5px,
      rgba(26,35,50,.8) 6px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 5px,
      rgba(26,35,50,.8) 5px,
      rgba(26,35,50,.8) 6px
    );
  border-radius: 8px;
}

.qr-placeholder p { font-size: .65rem; color: var(--char); font-weight: 500; text-align: center; line-height: 1.3; }

/* ── Contact section ────────────────────────────────────────────────── */
.contact { background: var(--cream); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(62,73,87,.15);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--char);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(235,185,95,.15);
}

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(79,200,122,.12);
  color: #2d7a4f;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
}

/* P0.4 — Required field markers */
.required-marker { color: #D92D20; font-weight: 600; }

/* Honeypot anti-spam — visually hidden, off-screen */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__info { padding-top: 8px; }

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-item strong {
  display: block;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.contact__info-item span,
.contact__info-item a {
  font-size: .9rem;
  color: #5a6472;
  transition: var(--transition);
}

.contact__info-item a:hover { color: var(--gold); }

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 64px 24px 48px;
}

.footer__brand img { filter: brightness(10); opacity: .9; margin-bottom: 16px; }
.footer__brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.55); }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { font-size: .85rem; color: var(--white); margin-bottom: 4px; }
.footer__col a { font-size: .85rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer__bottom .container {
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer__bottom p { font-size: .82rem; color: rgba(255,255,255,.4); text-align: center; }

/* ── Cities / local SEO ─────────────────────────────────────────────── */
.cities { background: var(--white); }

.cities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.city-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.1);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: var(--transition);
}
.city-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.city-card__name { font-weight: 600; color: var(--navy); font-size: 1rem; }
.city-card__desc { font-size: .85rem; color: #667180; line-height: 1.5; }

.cities__note { text-align: center; margin-top: 32px; color: #667180; font-size: .95rem; }
.cities__note a { color: #b07c1a; font-weight: 600; }

/* ── Testimonials ───────────────────────────────────────────────────── */
.testimonials { background: var(--cream); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.testimonial-card__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: .95rem; color: var(--char); line-height: 1.6; }

.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.testimonial-card figcaption strong { display: block; color: var(--navy); font-size: .9rem; }
.testimonial-card figcaption small { color: #667180; font-size: .8rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { background: var(--white); }

.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--cream);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: rgba(235,185,95,.5); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  color: var(--navy);
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { display: none; }

/* P0.5 — FAQ chevron */
.faq-chevron { display: inline-block; transition: transform 200ms ease; font-size: 1.1rem; color: var(--gold); margin-left: auto; flex-shrink: 0; }
details[open] .faq-chevron { transform: rotate(180deg); }

.faq-item__answer { padding: 0 24px 20px; }
.faq-item__answer p { font-size: .92rem; color: #5a6472; line-height: 1.7; }

/* ── Tunisian Arabic accents (Cairo, RTL) ───────────────────────────── */
[lang="ar-TN"] {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  unicode-bidi: isolate;
}

.hero__text .hero__ar {
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  opacity: .92;
}

.coverage .section-header .coverage__ar {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.download__text .download__ar {
  margin: 4px 0 28px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

/* Tunisian Arabic accent under section titles (light backgrounds) */
.section-header p.ar-tn {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #b07c1a;
}

/* Tunisian Arabic line inside each process step */
.hiw__step .hiw__ar {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  margin-top: 12px;
  font-size: .98rem;
  font-weight: 600;
  color: #b07c1a;
}

/* ── Carrier landing : inscription form (transporteurs.html) ────────── */
/* Honor the [hidden] attribute used by the inscription form/success states. */
[hidden] { display: none !important; }

/* Centered single-column wrapper for the carrier email-capture form. */
.form-narrow { max-width: 560px; margin: 0 auto; }

/* Helper text under the Gmail field. */
.form-hint {
  margin-top: 7px;
  font-size: .8rem;
  color: #7a8694;
  line-height: 1.5;
}

/* Inline validation / server error (mirrors .form-success, warning tone). */
.form-error {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(245,169,98,.16);
  color: #8a5e0f;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
}

/* Success panel revealed after a carrier signs up. */
.success-panel {
  background: var(--white);
  border: 1px solid rgba(235,185,95,.4);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-panel__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(235,185,95,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.success-panel > p {
  font-size: .95rem;
  color: #5a6472;
  line-height: 1.7;
  margin-bottom: 24px;
}

.success-panel .check-list {
  text-align: left;
  max-width: 440px;
  margin: 0 auto 8px;
}

.success-panel .check-list li { align-items: flex-start; }

.success-panel__ar {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #b07c1a;
}

/* Success panel — help / chat buttons */
.success-panel__chat {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(62,73,87,.1);
}
.success-panel__chat > p { font-size: .85rem; color: #7a8694; margin-bottom: 12px; }
.success-panel__chat-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Standalone field label (for control groups without a single <label for>) */
.form-group__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

/* Vehicle type picker — selectable radio cards */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 1.5px solid rgba(62,73,87,.15);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--char);
  transition: var(--transition);
}
.vehicle-card { position: relative; }
.vehicle-card input { position: absolute; opacity: 0; width: 100%; height: 100%; top: 0; left: 0; margin: 0; cursor: pointer; }
.vehicle-card .brand-icon { width: 28px; height: 28px; color: var(--char); }
.vehicle-card .vehicle-type-icon { width: 56px; height: 56px; object-fit: contain; }
.vehicle-card:hover { border-color: var(--gold); }
.vehicle-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(235,185,95,.12);
  color: var(--navy);
}
.vehicle-card:has(input:checked) .brand-icon { color: var(--gold); }
.vehicle-card:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(235,185,95,.25); }

/* Immatriculation split input — 123 [TN] 4567 */
.imm-input { display: flex; align-items: stretch; gap: 8px; }
.imm-input input {
  flex: 1;
  min-width: 0;
  text-align: center;
  letter-spacing: .08em;
  padding: 12px 10px;
  border: 1.5px solid rgba(62,73,87,.15);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--char);
  background: var(--cream);
  outline: none;
  transition: var(--transition);
}
.imm-input input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(235,185,95,.15);
}
.imm-input__tn {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .05em;
}

/* Consent checkbox row */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 24px;
  font-size: .85rem;
  color: var(--char);
  line-height: 1.5;
  cursor: pointer;
}
.consent-row input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--gold); }
.consent-row a { color: #b07c1a; font-weight: 600; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cities__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse nav to burger before items crowd */
@media (max-width: 980px) {
  .header__nav { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(62,73,87,.1);
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .header__actions { display: none; }
  .header__burger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Hero */
  .hero { padding: 56px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { max-width: 100%; }
  .hero__cta-group { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__phone-mockup { width: 240px; }
  .hero__floating--1 { top: 15px; left: 10px; }
  .hero__floating--2 { bottom: 15px; right: 10px; }

  /* Stats */
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }

  /* Features */
  .features__grid { grid-template-columns: 1fr; }

  /* Real-screenshot device frames (shared: expediteurs.html + transporteurs.html) */
  .appshots__grid { grid-template-columns: 1fr; gap: 40px; max-width: 320px; margin-inline: auto; }

  /* How it works */
  .hiw__steps { flex-direction: column; }
  .hiw__connector { transform: rotate(90deg); }

  /* Split */
  .split__inner, .split__inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
    text-align: center;
  }
  .split__inner--reverse .split__text { order: -1; }
  .check-list { text-align: left; display: inline-flex; flex-direction: column; }
  .split__text .btn { margin: 0 auto; display: inline-flex; }

  /* Download */
  .download__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .download__btns { justify-content: center; }
  .download__qr { justify-content: center; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

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

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Map */
  .coverage__map { height: 320px; }

  /* P1.5 — Mobile font size audit */
  .section-tag { font-size: 0.9rem; }
  .form-group label { font-size: 0.95rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }
}

@media (max-width: 480px) {
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__phone-mockup { width: 200px; }
  .cities__grid { grid-template-columns: 1fr; }
}

/* ── Feature filter pills ───────────────────────────────────────────── */
.features__filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.features__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--char);
  background: transparent;
  color: var(--char);
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  min-height: 44px;
  white-space: nowrap;
}

.features__pill:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.features__pill--active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Transitioning feature cards when filtered */
.feature-card {
  transition: opacity 200ms ease, transform 200ms ease, box-shadow var(--transition), border-color var(--transition);
}

/* ── P1.6 — Direct download link below QR ──────────────────────────── */
.qr-hint { font-size: 0.9rem; color: var(--char); margin-top: 12px; margin-bottom: 8px; }
.btn--download-direct { display: block; text-align: center; margin-top: 4px; }

/* ── P1.7 — Animated hero badges: non-interactive ───────────────────── */
.hero__floating {
  pointer-events: none;
  cursor: default;
  animation-iteration-count: 3;
}

/* ── P2.2 — Language toggle ─────────────────────────────────────────── */
.lang-toggle {
  background: none;
  border: 1.5px solid var(--gold);
  color: var(--char);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: background var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { background: rgba(235,185,95,.13); }

/* Arabic mode: switch direction, show ar spans, hide fr spans */
html[lang="ar-TN"] { direction: rtl; }
html[lang="ar-TN"] .fr-only { display: none !important; }
html[lang="ar-TN"] .ar-only { display: block !important; }

.ar-only { display: none; }

/* ── Magic MCP template polish (SaaS Template + Landing Page patterns) ─
   Source: 21st.dev "SaaS Template" (similarity 2.49) + "Landing Page"
   (similarity 1.99). All colours stay within the Transporti palette.
   No layout or content changes — pure visual polish layer.
   ───────────────────────────────────────────────────────────────────── */

/* 1 · Hero subtle dot-grid background (SaaS Template pattern) */
.hero {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23EBB95F' fill-opacity='0.07'/%3E%3C/svg%3E");
}

/* 2 · Hero announcement badge — bordered pill + pulsing dot
       (SaaS Template announcement pill pattern) */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235,185,95,.12);
  border: 1px solid rgba(235,185,95,.35);
  color: var(--navy);
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: badge-dot-pulse 2s ease-in-out infinite;
}

@keyframes badge-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235,185,95,.55); }
  50%       { box-shadow: 0 0 0 5px rgba(235,185,95,.0); }
}

/* 3 · Hero entrance — initial state for JS animation */
.hero__text,
.hero__visual {
  will-change: opacity, transform;
}

/* 4 · Stats bar — golden gradient top border (Landing Page divider pattern) */
.stats-bar {
  border-top: 2px solid transparent;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    linear-gradient(90deg, var(--gold), var(--gold2)) border-box;
}

/* 5 · Section headers — small gold accent line above the h2
       (Landing Page section header micro-line pattern) */
.section-header h2::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 999px;
  margin: 0 auto 14px;
}

/* 6 · Feature cards — richer golden glow on hover
       (Landing Page card hover with golden shadow) */
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(235,185,95,.18), 0 4px 14px rgba(26,35,50,.07);
  border-color: rgba(235,185,95,.45);
}

/* 7 · Feature card icon — gentle scale on card hover */
.feature-card:hover .feature-card__icon {
  background: rgba(235,185,95,.2);
  transform: scale(1.08);
  transition: background .25s ease, transform .25s ease;
}

/* 8 · Primary button — deeper golden glow on hover
       (SaaS Template gradient button hover) */
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(235,185,95,.55), 0 2px 8px rgba(235,185,95,.3);
}

/* 9 · How-it-works step icon — same hover scale */
.hiw__step:hover .hiw__step-icon {
  background: rgba(235,185,95,.2);
  transform: scale(1.08);
  transition: background .3s ease, transform .3s ease;
}

/* 10 · Testimonial / review cards (if any) — unified gold border reveal */
.review-card:hover,
.testimonial-card:hover {
  border-color: rgba(235,185,95,.35);
  box-shadow: 0 12px 36px rgba(235,185,95,.12);
}

/* ═══════════════════════════════════════════════════════════════════
   GOOGLE PLAY LAUNCH STYLES
   ═══════════════════════════════════════════════════════════════════ */

/* ── Launch announcement bar ──────────────────────────────────────── */
.launch-bar {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3048 100%);
  border-bottom: 2px solid var(--gold);
  padding: 10px 0;
  position: relative;
  z-index: 1100;
}
.launch-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-right: 48px;
  flex-wrap: wrap;
}
.launch-bar__dot {
  width: 8px;
  height: 8px;
  background: #4fc87a;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseGreen 2s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,200,122,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(79,200,122,0); }
}
.launch-bar__text {
  font-size: .875rem;
  color: rgba(255,255,255,.9);
}
.launch-bar__cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  font-weight: 700;
  font-size: .8rem;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: var(--transition);
}
.launch-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(235,185,95,.45);
}
.launch-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.launch-bar__close:hover { color: var(--white); }

/* ── Hero: dual-badge row ─────────────────────────────────────────── */
.hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__badges .hero__badge { margin-bottom: 0; }

.hero__badge--live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,200,122,.1);
  border: 1px solid rgba(79,200,122,.35);
  color: #1d8c48;
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ── Pulsing live dot (reusable) ──────────────────────────────────── */
.live-pulse {
  width: 7px;
  height: 7px;
  background: #4fc87a;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseGreen 2s ease-in-out infinite;
}

/* ── Download section: live tag ───────────────────────────────────── */
.download__live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,200,122,.15);
  border: 1px solid rgba(79,200,122,.4);
  color: #3dc97a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ── Google Play store button — enhanced ──────────────────────────── */
.store-btn--play {
  background: rgba(235,185,95,.08);
  border-color: rgba(235,185,95,.45);
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.store-btn--play:hover {
  background: rgba(235,185,95,.16);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(235,185,95,.3);
}
.store-btn--play::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(235,185,95,.12), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  0%        { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
.store-btn__gplay {
  width: 28px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
}

/* responsive: hide launch-bar text on very small screens */
@media (max-width: 600px) {
  .launch-bar__text { display: none; }
  .launch-bar__inner { padding-right: 40px; }
}

/* ── Word rotator (see word-rotator.js) ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  text-align: center;
  color: var(--gold);
}
/* gold rule under the slot so it reads as a filled-in blank */
.rotator::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.06em;
  height: .06em;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  opacity: .55;
}

.rotator__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.18em);
  transition: opacity .13s ease, transform .13s ease;
}
.rotator.is-word .rotator__word { opacity: 1; transform: translateY(0); }

/* measuring probe: laid out, but never seen */
.rotator__probe {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .rotator__word { opacity: 1 !important; transform: none !important; transition: none; }
}
