/* =========================================================
   BOXLEY — Shared Design System
   Dark navy + electric blue + amber glow
   ========================================================= */

:root {
  --bg-0: #05080F;
  --bg-1: #0A0F1E;
  --bg-2: #0E1530;
  --bg-card: rgba(10, 17, 38, 0.78);
  --border: rgba(80, 130, 220, 0.22);
  --border-hi: rgba(120, 180, 255, 0.45);
  --text: #E6ECF8;
  --text-dim: #9AA8C4;
  --text-mute: #6B7894;
  --blue: #2E8BFF;
  --blue-2: #5BB0FF;
  --blue-glow: rgba(46, 139, 255, 0.55);
  --amber: #F5A623;
  --amber-2: #FFC65C;
  --amber-glow: rgba(245, 166, 35, 0.55);
  --green: #34D38A;
  --red: #FF5A6E;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated network background — recreates the world-map / grid look */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(46, 139, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(245, 166, 35, 0.12), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(46, 139, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #04070E 0%, #070C1A 40%, #050811 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 139, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--amber-2); }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ─── NAV (mega-menu) ──────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 1.2rem; letter-spacing: 0.16em;
  color: #fff;
  flex-shrink: 0; white-space: nowrap;
  text-decoration: none;
}
.logo svg { width: 26px; height: 26px; }

.nav-links {
  display: flex; gap: 28px; list-style: none;
  align-items: center; flex-wrap: nowrap;
}
.nav-links > li { position: relative; }
.nav-links a,
.nav-links .nav-trigger {
  color: var(--text-dim); font-size: 0.94rem; font-weight: 500;
  padding: 24px 0; position: relative;
  background: none; border: none; cursor: pointer;
  font-family: inherit; line-height: 1;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active,
.nav-links .nav-trigger:hover, .nav-links .nav-trigger.active { color: #fff; }
.nav-links .nav-trigger .caret {
  font-size: 0.7rem; opacity: 0.7; transition: transform 0.2s;
}
.has-dropdown.dropdown-open .nav-trigger .caret,
.has-dropdown:hover .nav-trigger .caret { transform: rotate(180deg); opacity: 1; }
.nav-links a.active::after,
.nav-links .nav-trigger.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px;
  height: 2px; background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}

/* Mega-menu panel */
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  margin-top: 8px;
  width: 580px; max-width: calc(100vw - 40px);
  background: rgba(8, 14, 30, 0.97);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(46,139,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 200;
}
/* Edge-aware variants — Platform anchors left, Company anchors right
   so the panel never gets clipped by the viewport on shorter screens */
.has-dropdown:first-of-type .mega-menu {
  left: 0; transform: translate(0, -8px);
}
.has-dropdown:first-of-type:hover .mega-menu,
.has-dropdown:first-of-type.dropdown-open .mega-menu {
  transform: translate(0, 0);
}
.has-dropdown:last-of-type .mega-menu {
  left: auto; right: 0; transform: translate(0, -8px);
}
.has-dropdown:last-of-type:hover .mega-menu,
.has-dropdown:last-of-type.dropdown-open .mega-menu {
  transform: translate(0, 0);
}

.has-dropdown:hover .mega-menu,
.has-dropdown.dropdown-open .mega-menu,
.has-dropdown:focus-within .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.has-dropdown:first-of-type:hover .mega-menu,
.has-dropdown:first-of-type.dropdown-open .mega-menu,
.has-dropdown:first-of-type:focus-within .mega-menu { transform: translate(0, 0); }
.has-dropdown:last-of-type:hover .mega-menu,
.has-dropdown:last-of-type.dropdown-open .mega-menu,
.has-dropdown:last-of-type:focus-within .mega-menu { transform: translate(0, 0); }

/* Pseudo-bridge so the cursor doesn't drop the dropdown between trigger and panel */
.has-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
/* Mega grid — fixed equal 2-column with no overflow */
.mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  width: 100%;
}
/* Each item is flex so the text container can shrink reliably */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.15s;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;       /* hard guard against any escape */
}
.mega-item:hover { background: rgba(46, 139, 255, 0.10); }
.mega-ico {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(46, 139, 255, 0.14);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.mega-text {
  flex: 1 1 auto;
  min-width: 0;        /* allow shrink + wrap inside flex */
  max-width: 100%;
}
.mega-item strong {
  display: block;
  color: #fff;
  font-size: 0.94rem; font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.mega-item p,
.mega-item .mega-desc {
  display: block;
  color: var(--text-dim);
  font-size: 0.83rem;
  line-height: 1.45;
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* Right side controls */
.nav-right {
  display: flex; align-items: center; gap: 18px;
  flex-shrink: 0;
}
.nav-signin {
  color: var(--text-dim); font-size: 0.92rem; font-weight: 500;
  transition: color 0.15s; text-decoration: none;
}
.nav-signin:hover { color: #fff; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #1E6AE0 100%);
  color: #fff !important;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 0 18px var(--blue-glow);
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap; text-decoration: none;
}
.nav-cta:hover {
  transform: translateY(-1px); color: #fff !important;
  box-shadow: 0 0 26px var(--blue-glow);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: rgba(46,139,255,0.10);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff; font-size: 1.2rem;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center; justify-content: center;
  font-family: inherit;
}

/* ─── Responsive nav ─────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-links a, .nav-links .nav-trigger { font-size: 0.88rem; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-right .nav-signin { display: none; }

  /* Drawer for nav-links on mobile */
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    max-height: calc(100vh - 70px);
    background: rgba(5, 8, 15, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 28px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav.mobile-open .nav-links { transform: translateX(0); }

  .nav-links > li { width: 100%; }
  .nav-links a,
  .nav-links .nav-trigger {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a.active::after,
  .nav-links .nav-trigger.active::after { display: none; }

  /* Mobile mega menu = inline accordion */
  .mega-menu {
    position: static;
    transform: none !important;
    width: 100%; max-width: 100%;
    margin: 0; padding: 0;
    background: transparent;
    border: none; box-shadow: none;
    backdrop-filter: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: none;
    display: none;
  }
  .has-dropdown:hover .mega-menu { display: none; }
  .has-dropdown.dropdown-open .mega-menu {
    display: block; padding: 8px 0 8px 12px;
  }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-item { padding: 10px 12px; border-bottom: 1px solid rgba(80,130,220,0.10); }
  .mega-item:last-child { border-bottom: none; }
  .has-dropdown::after { display: none; }
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: none; transition: all 0.18s; text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, #3A98FF 0%, #1B6BE0 100%);
  color: #fff;
  box-shadow: 0 0 22px rgba(46, 139, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 0 32px rgba(46, 139, 255, 0.85);
}
.btn-outline {
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid var(--border-hi);
}
.btn-outline:hover { background: rgba(46,139,255,0.12); color: #fff; border-color: var(--blue-2); }
.btn-amber {
  background: linear-gradient(135deg, #FFB73C 0%, #E08C0E 100%);
  color: #0A0F1E;
  box-shadow: 0 0 22px var(--amber-glow);
}
.btn-amber:hover { transform: translateY(-2px); color: #0A0F1E; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ─── HERO (split: text left, dramatic visual right) ─── */
.hero {
  position: relative;
  padding: 70px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
/* Subtle atmospheric backdrop only — main visual is inline */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, var(--hero-glow, rgba(46,139,255,0.22)) 0%, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(46, 139, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  opacity: 0.55;
}
/* Per-page accent glow color */
.hero.bg-home      { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-loadboard { --hero-glow: rgba(245,166,35,0.22); }
.hero.bg-dispatch  { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-driver    { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-dashboard { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-eld       { --hero-glow: rgba(52,211,138,0.22); }
.hero.bg-pricing   { --hero-glow: rgba(245,166,35,0.28); }
.hero.bg-faq       { --hero-glow: rgba(46,139,255,0.22); }
.hero.bg-shippers  { --hero-glow: rgba(52,211,138,0.22); }
.hero.bg-rewards   { --hero-glow: rgba(245,166,35,0.28); }
.hero.bg-move      { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-contact   { --hero-glow: rgba(46,139,255,0.26); }
.hero.bg-careers   { --hero-glow: rgba(245,166,35,0.24); }
.hero.bg-help      { --hero-glow: rgba(52,211,138,0.22); }
.hero.bg-partners  { --hero-glow: rgba(46,139,255,0.26); }
.hero.bg-login     { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-founding  { --hero-glow: rgba(245,166,35,0.32); }
.hero.bg-directory { --hero-glow: rgba(52,211,138,0.24); }
.hero.bg-sponsor   { --hero-glow: rgba(245,166,35,0.30); }
.hero.bg-owner     { --hero-glow: rgba(46,139,255,0.26); }
.hero.bg-fleet     { --hero-glow: rgba(46,139,255,0.28); }
.hero.bg-broker    { --hero-glow: rgba(245,166,35,0.26); }
.hero.bg-fuel      { --hero-glow: rgba(245,166,35,0.24); }
.hero.bg-news      { --hero-glow: rgba(46,139,255,0.26); }
.mega-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; padding-top:14px; border-top:1px solid var(--border); }
.mega-btn { font-size:0.82rem; font-weight:700; padding:8px 14px; border-radius:8px; background:rgba(46,139,255,0.12); border:1px solid var(--blue-2); color:var(--blue-2); text-decoration:none; }
.mega-btn:hover { background:rgba(46,139,255,0.2); color:#fff; }
.mega-btn.amber { background:rgba(245,166,35,0.12); border-color:var(--amber); color:var(--amber-2); }
.mega-btn.amber:hover { background:rgba(245,166,35,0.22); color:#fff; }

/* Founding Member nav item — amber tint */
.nav-founding {
  color: var(--amber-2) !important;
  font-weight: 700 !important;
}
.nav-founding:hover { color: var(--amber-lt, #FFE08A) !important; }

/* ─── FORM ELEMENTS ────────────────────────────── */
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  background: #08152E;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(46,139,255,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.78rem; color: var(--text-mute); }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-dim); }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--blue-2); }
.divider-or {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-mute); font-size: 0.8rem; margin: 6px 0;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.divider-or::before, .divider-or::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ─── MOVE-QUOTE PAGE COMPONENTS ───────────────── */
.bid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: all 0.2s;
}
.bid-card:hover { transform: translateY(-3px); border-color: var(--blue-2); box-shadow: 0 0 28px rgba(46,139,255,0.3); }
.bid-card.featured { border-color: var(--green); box-shadow: 0 0 36px rgba(52,211,138,0.3); }
.bid-card .bid-amount {
  font-size: 2rem; font-weight: 800; color: var(--amber-2); margin-bottom: 4px;
}
.bid-card .bid-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.bid-card .bid-row:last-of-type { border-bottom: none; }
.bid-card .bid-row .lbl { color: var(--text-mute); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bid-card .verified-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(52,211,138,0.12); color: var(--green);
  padding: 4px 10px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 700;
}

/* Move request form */
.move-form {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  box-shadow: 0 30px 60px rgba(46,139,255,0.18);
}
@media (max-width: 720px) { .move-form { grid-template-columns: 1fr; } }
.move-form .field { display: flex; flex-direction: column; gap: 6px; }
.move-form .field.full { grid-column: 1 / -1; }
.move-form .field label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.move-form .field input,
.move-form .field select,
.move-form .field textarea {
  background: #04060F;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff; font-size: 0.95rem; font-family: inherit;
  padding: 11px 14px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.move-form .field input:focus,
.move-form .field select:focus,
.move-form .field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 16px rgba(46,139,255,0.3); }
.move-form .field textarea { resize: vertical; min-height: 90px; }
.move-form .field .hint { color: var(--text-mute); font-size: 0.78rem; }
.move-form .checkrow { display: flex; gap: 20px; flex-wrap: wrap; }
.move-form .checkrow label {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0; font-weight: 500;
  color: var(--text); font-size: 0.92rem;
  cursor: pointer;
}
.move-form .checkrow input[type="checkbox"] { accent-color: var(--blue-2); width: 16px; height: 16px; }
.move-form .field input[type="file"] {
  padding: 9px 12px; cursor: pointer;
  background: rgba(46,139,255,0.06); border-style: dashed;
}

/* Provider dashboard cards */
.prov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .prov-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .prov-grid { grid-template-columns: 1fr; } }
.prov-tab {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
  transition: all 0.15s;
}
.prov-tab:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.prov-tab .prov-num {
  font-size: 1.8rem; font-weight: 800; color: var(--amber-2); line-height: 1;
}
.prov-tab .prov-lbl {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-mute); text-transform: uppercase; margin-top: 6px;
}

/* Fee calc */
.fee-calc {
  background: linear-gradient(180deg, #0E1F44 0%, #050B1F 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px; margin: 0 auto;
}
.fee-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 1rem; }
.fee-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 1.2rem; font-weight: 800; }
.fee-row .lbl { color: var(--text-dim); }
.fee-row .val { color: #fff; font-weight: 700; }
.fee-row .val.fee { color: var(--amber-2); }
.fee-row .val.payout { color: var(--green); }

/* Browser-style screen frame (bid review / checkout mockups) */
.screen-frame {
  background: linear-gradient(180deg, #0A1430 0%, #05080F 100%);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(46,139,255,0.18), 0 30px 70px rgba(46,139,255,0.25);
}
.screen-head {
  background: #08152E;
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 16px;
}
.screen-dots { color: var(--text-mute); font-size: 0.85rem; letter-spacing: 4px; }
.screen-url {
  flex: 1;
  background: #04060F;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  color: var(--text-dim);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.84rem;
}
.screen-body { padding: 28px; }
.screen-body h3 + p { margin-top: 4px; }

/* Status pipeline */
.status-pipeline {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; align-items: center;
}
.status-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.86rem;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.status-pill.active {
  background: rgba(46,139,255,0.20);
  border-color: var(--blue-2);
  color: #fff; font-weight: 600;
  box-shadow: 0 0 18px rgba(46,139,255,0.35);
}
.status-pill.complete {
  background: rgba(52,211,138,0.18);
  border-color: var(--green); color: #fff;
}
.status-pill.cancelled {
  background: rgba(255,90,110,0.12);
  border-color: var(--red); color: var(--red);
}
.status-arrow { color: var(--text-mute); font-size: 0.9rem; padding: 0 2px; }

/* Fee tier ladder */
.fee-tier-ladder {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 720px) { .fee-tier-ladder { grid-template-columns: 1fr 1fr; } }
.fee-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px; text-align: center;
  transition: all 0.2s;
}
.fee-tier-card:hover { transform: translateY(-2px); border-color: var(--amber); }
.fee-tier-card .range {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--text-mute);
  text-transform: uppercase;
}
.fee-tier-card .fee-amt {
  font-size: 1.9rem; font-weight: 800;
  color: var(--amber-2); margin-top: 8px; line-height: 1;
}
.fee-tier-card .fee-amt small { font-size: 0.7rem; color: var(--text-dim); font-weight: 600; }

/* Admin control rows */
.admin-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s;
}
.admin-row:hover { border-color: var(--blue-2); }
.admin-row + .admin-row { margin-top: 10px; }
.admin-row .admin-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(46,139,255,0.15); color: var(--blue-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800;
  flex-shrink: 0;
}
.admin-row .admin-text strong { color: #fff; font-size: 0.96rem; }
.admin-row .admin-text .muted { font-size: 0.85rem; margin-top: 2px; }
.admin-row .admin-ctrl {
  background: rgba(46,139,255,0.12);
  color: var(--blue-2); font-weight: 700;
  padding: 8px 14px; border-radius: 6px;
  font-size: 0.8rem; cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.admin-row .admin-ctrl:hover {
  background: rgba(46,139,255,0.2);
  border-color: var(--blue-2);
}

/* Not Allowed */
.not-allowed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .not-allowed-grid { grid-template-columns: 1fr 1fr; } }
.not-allowed-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,90,110,0.4);
  border-radius: 10px;
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
}
.not-allowed-card .ico-red {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,90,110,0.12); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* Two-column hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 4px 40px rgba(46, 139, 255, 0.35);
}
.hero-text p.lead {
  font-size: 1.05rem; color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-text .hero-actions { justify-content: flex-start; margin-bottom: 0; }
.hero-text .chip-row { justify-content: flex-start; margin-top: 24px; }

.hero-visual {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(46, 139, 255, 0.35));
}
.hero-visual img, .hero-visual svg {
  width: 100%; height: auto; display: block;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-text { text-align: center; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-text .chip-row { justify-content: center; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 22px; color: #fff;
  text-shadow: 0 4px 40px rgba(46, 139, 255, 0.35);
}
.hero h1 .accent { color: var(--blue-2); }
.hero h1 .amber { color: var(--amber-2); }
.hero p.lead {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 640px; margin: 0 auto 36px;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ─── SECTION ─────────────────────────────────────── */
section { padding: 70px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800; color: #fff; letter-spacing: -0.01em;
}
.section-header p {
  color: var(--text-dim); max-width: 600px; margin: 14px auto 0;
}

/* ─── CARDS ───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
  box-shadow: 0 12px 40px rgba(46, 139, 255, 0.18);
}
.card.glow-blue { box-shadow: 0 0 0 1px rgba(46,139,255,0.18), 0 0 30px rgba(46,139,255,0.18); }
.card.glow-amber { box-shadow: 0 0 0 1px rgba(245,166,35,0.25), 0 0 30px rgba(245,166,35,0.22); border-color: rgba(245,166,35,0.4); }
.card.glow-green { box-shadow: 0 0 0 1px rgba(52,211,138,0.25), 0 0 30px rgba(52,211,138,0.22); border-color: rgba(52,211,138,0.4); }

.card-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; margin-bottom: 14px; color: #fff;
}
.card-head .ico { font-size: 1.25rem; }
.card .meta { color: var(--text-dim); font-size: 0.92rem; }
.card .price-big {
  font-size: 1.7rem; font-weight: 800; color: var(--amber-2); margin: 6px 0;
}

/* ─── FEATURE GRID ────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.82rem; }
  .logo { font-size: 1.1rem; }
}
@media (max-width: 920px) {
  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-inner { gap: 16px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.feature {
  text-align: left; padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.feature:hover {
  border-color: var(--blue-2);
  box-shadow: 0 0 24px rgba(46,139,255,0.22);
  transform: translateY(-2px);
}
.feature .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(46, 139, 255, 0.12);
  color: var(--blue-2);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 0.92rem; }

/* ─── PRICING TIERS ───────────────────────────────── */
.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  position: relative; transition: all 0.2s;
  display: flex; flex-direction: column;
}
.tier ul { flex: 1 1 auto; }
.tier .btn { margin-top: auto; }
.tier:hover { transform: translateY(-4px); border-color: var(--blue-2); box-shadow: 0 0 30px rgba(46,139,255,0.25); }
.tier.featured { border-color: var(--amber); box-shadow: 0 0 40px var(--amber-glow); }
.tier { padding-top: 38px; }   /* leave room for the floating badge */
.tier .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #0A0F1E;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  padding: 6px 16px; border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.tier h3 { margin-top: 6px; }   /* extra breathing room below the badge */
.tier h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; letter-spacing: 0.05em; }
.tier .price { font-size: 2.2rem; font-weight: 800; color: var(--amber-2); }
.tier .price small { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.tier ul { list-style: none; margin: 22px 0; text-align: left; }
.tier ul li { padding: 8px 0; color: var(--text-dim); font-size: 0.93rem; display: flex; gap: 10px; align-items: flex-start; }
.tier ul li::before { content: "✓"; color: var(--blue-2); font-weight: 700; }

/* ─── COMPARISON ──────────────────────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
}
.compare .col.old { border-color: rgba(255,90,110,0.4); box-shadow: 0 0 26px rgba(255,90,110,0.15); }
.compare .col.new { border-color: rgba(52,211,138,0.4); box-shadow: 0 0 26px rgba(52,211,138,0.18); }
.compare h3 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; text-align: center; }
.compare ul { list-style: none; }
.compare ul li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.compare ul li:last-child { border-bottom: none; }
.compare .old li::before { content: "✕"; color: var(--red); font-weight: 700; }
.compare .new li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ─── HOW IT WORKS ────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative; margin-top: 30px;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
  transition: all 0.2s;
}
.step:hover { border-color: var(--blue-2); transform: translateY(-3px); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #1B6BE0 100%);
  color: #fff; font-weight: 800; margin-bottom: 10px;
  box-shadow: 0 0 18px var(--blue-glow);
}
.step h4 { color: #fff; margin-bottom: 4px; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, transparent, rgba(5,8,15,0.95));
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 60px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.foot-grid ul { list-style: none; }
.foot-grid ul li { margin-bottom: 8px; }
.foot-grid ul a { color: var(--text-dim); font-size: 0.88rem; }
.foot-grid ul a:hover { color: var(--blue-2); }
.foot-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--text-mute); font-size: 0.85rem;
}

/* ─── MOCK UI WIDGETS (used on Dashboard etc) ─────── */
.stat-row { display: flex; gap: 8px; align-items: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.blue { background: var(--blue-2); box-shadow: 0 0 8px var(--blue-glow); }
.dot.green { background: var(--green); box-shadow: 0 0 8px rgba(52,211,138,0.6); }
.dot.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.dot.red { background: var(--red); }

.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .val { font-size: 1.8rem; font-weight: 800; color: var(--amber-2); }
.kpi .lbl { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

.bars {
  display: flex; align-items: flex-end; gap: 6px; height: 80px; margin: 12px 0;
}
.bars span {
  flex: 1; background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-radius: 3px 3px 0 0; opacity: 0.9;
}
.line-chart {
  width: 100%; height: 60px;
}

/* ─── PHONE MOCKUP ────────────────────────────────── */
.phone {
  width: 280px; margin: 0 auto;
  background: linear-gradient(180deg, #0E1530, #060A18);
  border-radius: 32px;
  border: 2px solid #1c2a4a;
  padding: 18px 12px;
  box-shadow: 0 0 60px rgba(46, 139, 255, 0.45),
              inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px; background: #1c2a4a; border-radius: 4px;
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.phone-app-card {
  background: rgba(20, 28, 56, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.phone-app-card h5 { color: var(--amber-2); font-size: 0.78rem; margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.phone-app-card p { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 8px; }
.phone-app-card .row { display: flex; gap: 6px; }
.mini-btn { padding: 5px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; flex: 1; text-align: center; }
.mini-btn.accept { background: var(--green); color: #06140d; }
.mini-btn.decline { background: var(--red); color: #fff; }
.mini-btn.primary { background: var(--blue); color: #fff; }

/* ─── BCO Stat blob (for hero overlays) ───────────── */
.float-card {
  position: absolute;
  background: rgba(10, 17, 38, 0.92);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 0 28px rgba(46,139,255,0.35);
  backdrop-filter: blur(8px);
}

/* ─── HERO TRUCK ROW ──────────────────────────────── */
.hero-art {
  position: relative;
  max-width: 920px; margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-art img { width: 100%; height: auto; display: block; }

/* ─── CHIP ROW ────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 99px;
  background: rgba(46,139,255,0.10);
  border: 1px solid rgba(46,139,255,0.3);
  color: var(--text); font-size: 0.82rem;
}

/* ─── REWARDS PAGE COMPONENTS ───────────────────── */
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .reward-grid { grid-template-columns: 1fr; } }

.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}
.reward-card:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 0 30px var(--amber-glow); }
.reward-card .reward-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
  color: var(--blue-2); text-transform: uppercase; margin-bottom: 10px;
}
.reward-card .reward-value {
  font-size: 1.5rem; font-weight: 800; color: var(--amber-2); margin: 6px 0;
}
.reward-card .reward-trigger { color: var(--text-dim); font-size: 0.92rem; }
.reward-card.featured {
  border-color: var(--amber); box-shadow: 0 0 36px var(--amber-glow);
  background: linear-gradient(180deg, rgba(245,166,35,0.06), var(--bg-card));
}

/* Status ladder */
.ladder { position: relative; padding: 30px 0; }
.ladder-track {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.ladder-track::before {
  content: ""; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 4px;
  background: linear-gradient(90deg, #5BB0FF 0%, #F5A623 100%);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(46,139,255,0.4);
}
.ladder-node {
  position: relative; text-align: center;
}
.ladder-node .dot {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-1);
  border: 3px solid var(--blue-2);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: var(--blue-2);
  transition: all 0.2s;
}
.ladder-node:nth-child(2) .dot { border-color: #6FBDFF; color: #6FBDFF; }
.ladder-node:nth-child(3) .dot { border-color: #B0A0E0; color: #B0A0E0; }
.ladder-node:nth-child(4) .dot { border-color: #F5A623; color: #F5A623; }
.ladder-node:nth-child(5) .dot {
  border-color: #FFE08A; color: #FFE08A;
  box-shadow: 0 0 22px rgba(255,224,138,0.6);
}
.ladder-node h4 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.ladder-node p { color: var(--text-dim); font-size: 0.82rem; }
@media (max-width: 720px) {
  .ladder-track { grid-template-columns: 1fr; gap: 24px; }
  .ladder-track::before { display: none; }
}

/* Flow diagram (Driver → Shipper) */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px; align-items: stretch;
}
.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
}
.flow-step .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(46, 139, 255, 0.18);
  color: var(--blue-2); font-weight: 800;
  margin-bottom: 8px; font-size: 1rem;
}
.flow-step h5 { color: #fff; font-size: 0.85rem; line-height: 1.3; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-2); font-size: 1.4rem; padding: 0 2px;
}
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* Dashboard preview card */
.ref-dash {
  background: linear-gradient(180deg, #0E1F44 0%, #050B1F 100%);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(46,139,255,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .ref-dash { grid-template-columns: 1fr; } }
.ref-link-box {
  background: #04060F;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.ref-link-box code {
  color: var(--blue-2); flex: 1; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.86rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ref-link-box button {
  background: var(--blue); color: #fff;
  border: none; padding: 6px 14px; border-radius: 6px;
  font-weight: 700; font-size: 0.78rem; cursor: pointer; font-family: inherit;
}
.ref-stat {
  background: #08152E; border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
}
.ref-stat .lbl { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; color: var(--text-mute); text-transform: uppercase; }
.ref-stat .val { font-size: 1.7rem; font-weight: 800; color: var(--amber-2); margin-top: 4px; }
.ref-stat.blue .val { color: var(--blue-2); }
.ref-stat.green .val { color: var(--green); }

.invite-btn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.invite-btn {
  background: rgba(46,139,255,0.1);
  border: 1px solid var(--border);
  color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.invite-btn:hover { border-color: var(--blue-2); background: rgba(46,139,255,0.2); }

/* Rules list */
.rules-list { list-style: none; padding: 0; }
.rules-list li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  color: var(--text); font-size: 0.95rem;
  display: flex; gap: 12px; align-items: flex-start;
}
.rules-list li::before { content: "•"; color: var(--blue-2); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.rules-list li:last-child { border-bottom: none; }

/* ─── UTIL ────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; }
.amber { color: var(--amber-2); }
.blue { color: var(--blue-2); }
.green { color: var(--green); }
.muted { color: var(--text-dim); }

/* ─── TOP BAR — PARTNER MARQUEE + PHONE ────────────────────────────────
   Sticky strip at the very top of every page. Phone on the left, scrolling
   partner ticker in the middle, "Become a Partner" CTA on the right. */
.top-bar {
  background: linear-gradient(90deg, #06101F 0%, #0A1830 50%, #06101F 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.top-bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 22px;
  max-width: 1400px;
  margin: 0 auto;
}
.top-bar-phone {
  color: var(--amber-2);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 16px rgba(245, 166, 35, 0.35);
}
.top-bar-phone:hover { color: #FFD68A; }
.top-bar-cta {
  color: var(--blue-2);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  background: rgba(46, 139, 255, 0.10);
  transition: background 0.2s, color 0.2s;
}
.top-bar-cta:hover { background: rgba(46, 139, 255, 0.22); color: #fff; }

.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  white-space: nowrap;
}
.marquee-item strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.marquee-tag {
  color: var(--text-dim);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee-ico { font-size: 1rem; }
.marquee-sep {
  color: var(--border-hi);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 4px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .top-bar-inner { grid-template-columns: auto 1fr; gap: 10px; padding: 6px 12px; }
  .top-bar-cta { display: none; }
  .top-bar-phone { font-size: 0.78rem; }
  .marquee { font-size: 0.74rem; }
  .marquee-track { animation-duration: 40s; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
