/* ============================================================
   Dashlink Global — shared styles
   Brand: midnight navy + electric cyan
   ============================================================ */

:root {
  --navy-900: #0a1a2f;
  --navy-800: #0d2340;
  --navy-700: #12305a;
  --navy-600: #1b4272;
  --cyan-500: #12d3e0;
  --cyan-400: #3ee0ea;
  --cyan-600: #0bb5c2;
  --ink: #0a1a2f;
  --slate-700: #33465c;
  --slate-500: #61748a;
  --slate-300: #c3ccd6;
  --slate-100: #eef2f6;
  --paper: #f6f8fa;
  --white: #ffffff;
  --green: #1faa59;
  --amber: #f0a020;
  --red: #e0483d;
  --shadow: 0 6px 24px rgba(10, 26, 47, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 26, 47, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }
.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  display: grid;
  place-items: center;
  color: var(--navy-900);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 0 0 3px rgba(18, 211, 224, 0.18);
}
.brand .brand-text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--slate-300);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.btn-nav {
  background: var(--cyan-500);
  color: var(--navy-900);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-links a.btn-nav:hover { background: var(--cyan-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform 0.05s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--cyan-400); box-shadow: var(--shadow); text-decoration: none; }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy-700); border: 1.5px solid var(--slate-300); }
.btn-ghost:hover { border-color: var(--navy-700); text-decoration: none; }
.btn-danger { background: #fdecea; color: var(--red); }
.btn-danger:hover { background: #f9d9d5; text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; border-radius: 8px; }
.btn-block { width: 100%; text-align: center; }

/* ---------- Hero (landing) ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(18, 211, 224, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 72px 0 90px;
}
.hero h1 {
  font-size: 2.7rem;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 640px;
}
.hero h1 .accent { color: var(--cyan-400); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 560px;
  margin: 0 0 32px;
}

/* ---------- Track form ---------- */
.track-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  max-width: 640px;
}
.track-card h2 { margin: 0 0 6px; font-size: 1.25rem; }
.track-card p.hint { margin: 0 0 18px; color: var(--slate-500); font-size: 0.92rem; }
.track-form { display: flex; gap: 10px; }
.track-form input[type="text"] {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-300);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.5px;
}
.track-form input[type="text"]:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(18, 211, 224, 0.18);
}
.sample-hint { margin-top: 14px; font-size: 0.82rem; color: var(--slate-500); }
.sample-hint code {
  background: var(--slate-100);
  padding: 2px 7px;
  border-radius: 5px;
  cursor: pointer;
  color: var(--navy-700);
  font-weight: 600;
}

/* ---------- Feature strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 56px 0;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
}
.feature .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--slate-100);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--slate-500); font-size: 0.94rem; }

/* ---------- Section headings ---------- */
.section { padding: 40px 0; }
.section h2.title { font-size: 1.6rem; margin: 0 0 6px; }
.section p.subtitle { color: var(--slate-500); margin: 0 0 26px; justify-content: center; }

/* ---------- Status pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-transit { background: #e4f0ff; color: #1b6bd6; }
.pill-delivered { background: #e3f6ec; color: var(--green); }
.pill-pickup { background: #eef0f4; color: var(--slate-700); }
.pill-facility { background: #f3ecff; color: #7a4fd0; }
.pill-out { background: #fff2e0; color: #c47a12; }
.pill-exception { background: #fdecea; color: var(--red); }
.pill-created { background: #eef0f4; color: var(--slate-700); }

/* ---------- Result: parcel summary ---------- */
.result-wrap { padding: 34px 0 60px; }
.parcel-head {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 26px;
  border: 1px solid var(--slate-100);
}
.parcel-head .tracking-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.parcel-head .tn-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--slate-500); }
.parcel-head .tn { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; color: var(--navy-900); }
.parcel-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid var(--slate-100);
  padding-top: 18px;
}
.parcel-meta .m-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--slate-500); margin-bottom: 3px; }
.parcel-meta .m-value { font-weight: 600; color: var(--navy-800); font-size: 0.98rem; }
.eta-banner {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.eta-banner .eta-label { color: var(--cyan-400); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; }
.eta-banner .eta-date { font-size: 1.35rem; font-weight: 800; }

/* ---------- Progress bar (FedEx-style) ---------- */
.progress-track {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 26px 26px;
  margin-bottom: 26px;
  border: 1px solid var(--slate-100);
  overflow-x: auto;
}
.stages {
  display: flex;
  min-width: 560px;
  position: relative;
}
.stage {
  flex: 1;
  text-align: center;
  position: relative;
}
.stage .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--slate-300);
  color: var(--white);
  display: grid; place-items: center;
  margin: 0 auto 10px;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--slate-300);
}
.stage::before {
  content: "";
  position: absolute;
  top: 15px; left: -50%;
  width: 100%; height: 4px;
  background: var(--slate-300);
  z-index: 1;
}
.stage:first-child::before { display: none; }
.stage.done .dot { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.stage.done::before { background: var(--green); }
.stage.current .dot { background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(18,211,224,0.25), 0 0 0 1px var(--cyan-500); color: var(--navy-900); }
.stage.current::before { background: var(--green); }
.stage.exception .dot { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.stage .stage-name { font-size: 0.8rem; font-weight: 600; color: var(--slate-700); }
.stage.current .stage-name, .stage.done .stage-name { color: var(--navy-900); }

/* ---------- Timeline (DHL-style) ---------- */
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid var(--slate-100);
}
.timeline-card h3 { margin: 0 0 20px; font-size: 1.2rem; }
.timeline { position: relative; margin-left: 8px; }
.tl-item {
  position: relative;
  padding: 0 0 26px 34px;
  border-left: 2px solid var(--slate-300);
}
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -9px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--slate-300);
}
.tl-item.latest::before { border-color: var(--cyan-500); background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(18,211,224,0.2); }
.tl-item.delivered::before { border-color: var(--green); background: var(--green); }

/* Upcoming (not-yet-reached) checkpoints — expected stops ahead of current */
.tl-item.upcoming { border-left-style: dashed; border-left-color: var(--slate-300); opacity: 0.85; }
.tl-item.upcoming::before { border-color: var(--slate-300); border-style: dashed; background: var(--white); }
.tl-item.upcoming .tl-status { color: var(--slate-500); }
.tl-item.upcoming .tl-location { color: var(--slate-500); font-weight: 500; }
.tl-item.upcoming .tl-time { font-style: italic; }

.tl-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  margin-left: 6px; background: var(--slate-100); color: var(--slate-500);
}
.tl-badge.current { background: rgba(18,211,224,0.16); color: var(--cyan-600); }

.tl-legend {
  display: flex; align-items: center; gap: 8px; margin: -6px 0 18px;
  font-size: 0.85rem; color: var(--slate-500);
}
.tl-legend .dot-upcoming {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--white); border: 3px dashed var(--slate-300); flex: none;
}
.tl-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.tl-status { font-weight: 700; font-size: 1.02rem; color: var(--navy-900); }
.tl-time { font-size: 0.85rem; color: var(--slate-500); white-space: nowrap; }
.tl-location { font-weight: 600; color: var(--slate-700); font-size: 0.95rem; margin-bottom: 4px; }
.tl-desc { color: var(--slate-500); font-size: 0.92rem; margin-bottom: 4px; }
.tl-handler { font-size: 0.82rem; color: var(--slate-500); }
.tl-handler span { color: var(--slate-700); font-weight: 600; }

/* ---------- Not found ---------- */
.notice {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--slate-100);
}
.notice .big { font-size: 2.4rem; margin-bottom: 8px; }
.notice h2 { margin: 0 0 8px; }
.notice p { color: var(--slate-500); margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-300);
  padding: 34px 0;
  margin-top: 50px;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
.site-footer .f-brand { color: var(--white); font-weight: 700; }
.site-footer small { color: var(--slate-500); }

/* ============================================================
   Admin
   ============================================================ */
.admin-body { background: var(--slate-100); }
.login-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 30px; }
.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  width: 100%;
  max-width: 400px;
}
.login-card h2 { margin: 0 0 4px; }
.login-card p { color: var(--slate-500); margin: 0 0 22px; font-size: 0.92rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--slate-300);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(18,211,224,0.16);
}
.field textarea { min-height: 70px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 68px); }
.admin-side {
  background: var(--navy-900);
  color: var(--slate-300);
  padding: 22px 16px;
}
.admin-side h4 { color: var(--slate-500); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 1.5px; margin: 0 0 12px; }
.admin-side .side-note { color: var(--slate-500); font-size: 0.76rem; margin: 12px 2px 0; line-height: 1.45; }
.admin-side .side-note.working { color: var(--amber); }
.admin-main { padding: 28px; overflow-x: hidden; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--slate-100);
}
.card h3 { margin: 0 0 14px; font-size: 1.1rem; }

.parcel-list { display: grid; gap: 12px; }
.parcel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border: 1px solid var(--slate-100); border-radius: 10px; gap: 12px; flex-wrap: wrap;
  background: var(--white);
}
.parcel-row:hover { border-color: var(--cyan-500); }
.parcel-row .pr-tn { font-weight: 800; letter-spacing: 0.5px; color: var(--navy-900); }
.parcel-row .pr-route { color: var(--slate-500); font-size: 0.88rem; }
.parcel-row .pr-actions { display: flex; gap: 8px; }

.checkpoint-editor { display: grid; gap: 14px; }
.cp-block {
  border: 1px solid var(--slate-100);
  border-radius: 10px;
  padding: 16px;
  background: var(--paper);
}
.cp-block .cp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.cp-block .cp-num { font-weight: 700; color: var(--navy-700); }
.cp-block .cp-head-right { display: flex; align-items: center; gap: 12px; }
.cp-current {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 0.82rem; font-weight: 600; color: var(--slate-700);
  padding: 5px 10px; border: 1px solid var(--slate-300); border-radius: 999px; white-space: nowrap;
}
.cp-current input { cursor: pointer; }
.cp-block.is-current {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 2px rgba(18,211,224,0.18);
  background: #f0feff;
}
.cp-block.is-current .cp-current { border-color: var(--cyan-500); color: var(--cyan-600); background: rgba(18,211,224,0.10); }
.cp-block.is-current .cp-num::after { content: " · current"; color: var(--cyan-600); font-weight: 700; }

.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--navy-900); color: var(--white);
  padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow-lg);
  font-weight: 600; z-index: 100; opacity: 0; transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s; max-width: 340px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.err { background: var(--red); }

.hidden { display: none !important; }
.muted { color: var(--slate-500); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.right { text-align: right; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack-gap { display: grid; gap: 10px; }

.publish-note {
  background: #fff8e8; border: 1px solid #f3dca0; color: #7a5b12;
  border-radius: 10px; padding: 14px 16px; font-size: 0.9rem; margin-bottom: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .parcel-meta { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn-nav) { display: none; }
}
@media (max-width: 520px) {
  .track-form { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .parcel-meta { grid-template-columns: 1fr; }
}

/* ============================================================
   Brand logo image (replaces CSS logo-mark)
   ============================================================ */
.brand .logo-img {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: block;
  box-shadow: 0 0 0 3px rgba(18, 211, 224, 0.18);
  background: var(--navy-800);
}
.site-footer .f-logo {
  width: 40px; height: 40px; border-radius: 10px; vertical-align: middle; margin-right: 10px;
}

/* ============================================================
   Landing page — extended sections
   ============================================================ */
.hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero .trust-row {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px;
  color: var(--slate-300); font-size: 0.9rem;
}
.hero .trust-row .t-item { display: flex; align-items: center; gap: 8px; }
.hero .trust-row .t-item strong { color: #fff; font-size: 1.05rem; }

.section-alt { background: var(--white); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy .title { color: #fff; }
.section-navy .subtitle { color: var(--slate-300); }
.center { text-align: center; }
.center .subtitle { max-width: 640px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--cyan-600); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; margin: 0 0 8px; }
.section-navy .eyebrow { color: var(--cyan-400); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.step { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.step .num {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--cyan-400); font-weight: 800; margin-bottom: 14px;
}
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--slate-500); font-size: 0.92rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.service {
  background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service .s-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service h4 { margin: 0 0 6px; font-size: 1.15rem; }
.service .s-eta { color: var(--cyan-600); font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.service p { margin: 0; color: var(--slate-500); font-size: 0.92rem; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat .big { font-size: 2.4rem; font-weight: 800; color: #fff; }
.stat .big .u { color: var(--cyan-400); }
.stat .lbl { color: var(--slate-300); font-size: 0.9rem; margin-top: 2px; }

/* Why us */
.whyus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.why {
  background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.why .w-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600)); color: var(--navy-900);
  font-size: 1.3rem; margin-bottom: 14px;
}
.why h4 { margin: 0 0 6px; font-size: 1.08rem; }
.why p { margin: 0; color: var(--slate-500); font-size: 0.93rem; }

/* FAQ */
.faq { max-width: 780px; margin: 26px auto 0; }
.faq details {
  background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-sm);
  padding: 4px 18px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan-600); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: var(--slate-500); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(240,160,32,0.25), transparent 60%),
    linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; margin: 40px 0;
}
.cta-band h2 { margin: 0 0 8px; font-size: 1.8rem; }
.cta-band p { color: var(--slate-300); margin: 0 0 22px; }

/* Rich footer */
.footer-rich { background: var(--navy-900); color: var(--slate-300); padding: 46px 0 20px; margin-top: 50px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.footer-cols h5 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; }
.footer-cols a { display: block; color: var(--slate-300); margin-bottom: 8px; font-size: 0.9rem; }
.footer-cols a:hover { color: var(--cyan-400); text-decoration: none; }
.footer-cols p { color: var(--slate-500); font-size: 0.9rem; margin: 8px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 30px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--slate-500); font-size: 0.85rem;
}

/* ============================================================
   Admin — sticky save bar + unsaved indicator
   ============================================================ */
.save-bar {
  position: sticky; bottom: 0; z-index: 15;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--slate-100);
  box-shadow: 0 -6px 20px rgba(10,26,47,0.08);
  padding: 14px 0; margin-top: 20px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.save-bar .flex-between { padding: 0 4px; }
.unsaved-flag {
  display: none; align-items: center; gap: 7px;
  color: var(--amber); font-weight: 700; font-size: 0.9rem;
}
.unsaved-flag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
body.has-unsaved .unsaved-flag { display: inline-flex; }

@media (max-width: 900px) {
  .steps, .services, .stats { grid-template-columns: repeat(2, 1fr); }
  .whyus { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .services, .stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .save-bar .flex-between { flex-direction: column; align-items: stretch; }
  .save-bar .flex-between > div { display: flex; gap: 10px; }
}

/* ============================================================
   Floating glass "pill" nav (public pages)
   ============================================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 18px 0;
  pointer-events: none; /* let the transparent gutter pass clicks through */
}
.nav-inner {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 40px rgba(10, 26, 47, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  border-radius: 100px;
  padding: 9px 10px 9px 16px;
}
.nav-inner .brand { color: var(--navy-900); font-size: 1.12rem; gap: 10px; }
.nav-inner .brand .logo-img { width: 40px; height: 40px; }
.nav-inner .brand .brand-text small { color: var(--cyan-600); }
.nav-center {
  display: flex; align-items: center; gap: 4px;
  background: rgba(10, 26, 47, 0.05);
  padding: 5px; border-radius: 100px;
}
.nav-center a {
  color: var(--slate-700); font-weight: 600; font-size: 0.9rem;
  padding: 8px 15px; border-radius: 100px; transition: background 0.15s, color 0.15s;
}
.nav-center a:hover { color: var(--navy-900); background: rgba(255,255,255,0.9); text-decoration: none; box-shadow: var(--shadow); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-track {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: 0.9rem;
  padding: 11px 20px; border-radius: 100px; transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.nav-track:hover { background: var(--navy-700); text-decoration: none; box-shadow: 0 8px 20px rgba(10,26,47,0.28); transform: translateY(-1px); }
.nav-track .arrow { transition: transform 0.15s; }
.nav-track:hover .arrow { transform: translateX(3px); }
.nav-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--slate-700); padding-right: 4px; }
.nav-live .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative;
}
.nav-live .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0.5; animation: navpulse 1.8s ease-out infinite;
}
@keyframes navpulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-center, .nav-live { display: none; }
  .nav-inner { border-radius: 22px; }
}

/* ============================================================
   Signature footer with oversized wordmark (public pages)
   ============================================================ */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0a1a2f 0%, #071322 100%);
  color: var(--slate-300); margin-top: 60px;
  padding: 56px 0 0;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), #6a8dff 40%, var(--amber) 100%);
}
.footer .container { position: relative; z-index: 2; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cta h3 { color: #fff; font-size: 1.9rem; margin: 0; max-width: 460px; line-height: 1.2; }
.footer-cta h3 .accent { color: var(--cyan-400); }
.footer-mini {
  display: flex; gap: 8px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 7px 7px 7px 20px; min-width: 320px;
}
.footer-mini input {
  flex: 1; background: transparent; border: none; color: #fff; font-family: inherit; font-size: 0.95rem; outline: none;
}
.footer-mini input::placeholder { color: var(--slate-500); }
.footer-mini button { border: none; cursor: pointer; font-family: inherit; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 40px 0; }
.footer-grid h5 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; letter-spacing: 0.3px; }
.footer-grid a { display: block; color: var(--slate-300); margin-bottom: 9px; font-size: 0.9rem; transition: color 0.15s; }
.footer-grid a:hover { color: var(--cyan-400); text-decoration: none; }
.footer-brandcol .brand { color: #fff; margin-bottom: 12px; }
.footer-brandcol p { color: var(--slate-500); font-size: 0.9rem; margin: 0 0 16px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin: 0;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: var(--slate-300); font-size: 0.95rem;
}
.socials a:hover { background: var(--cyan-500); color: var(--navy-900); border-color: var(--cyan-500); }

.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 18px 0 26px; font-size: 0.84rem; color: var(--slate-500);
  border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 2;
}
.footer-legal a { color: var(--slate-500); }
.footer-legal a:hover { color: var(--slate-300); }
.footer-wordmark {
  position: absolute; left: 0; right: 0; bottom: -2.4vw; z-index: 1;
  text-align: center; pointer-events: none; user-select: none;
  font-weight: 800; letter-spacing: -0.02em; line-height: 0.8;
  font-size: clamp(3.2rem, 15vw, 13rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(18,211,224,0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta h3 { font-size: 1.5rem; }
  .footer-mini { min-width: 0; width: 100%; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cost highlight in tracking meta */
.parcel-meta .m-value.cost { color: var(--green); font-weight: 800; }

/* ============================================================
   Landing — testimonials & coverage
   ============================================================ */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; text-align: left; }
.testi-card {
  background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.testi-card .stars { color: var(--amber); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p { margin: 0 0 18px; color: var(--slate-700); font-size: 0.96rem; line-height: 1.6; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-who .av {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-600)); color: #fff; font-weight: 800;
}
.testi-who .who-name { font-weight: 700; font-size: 0.92rem; color: var(--navy-900); }
.testi-who .who-role { font-size: 0.82rem; color: var(--slate-500); }

.coverage {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 30px;
}
.region {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 18px 12px; text-align: center; transition: transform 0.12s, background 0.15s;
}
.region:hover { transform: translateY(-3px); background: rgba(18,211,224,0.12); }
.region .flag { font-size: 1.5rem; }
.region .r-name { font-size: 0.82rem; color: var(--slate-300); margin-top: 6px; font-weight: 600; }

/* Notify band */
.notify-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center;
  background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px; margin-top: 30px;
}
.notify-band h3 { font-size: 1.5rem; margin: 0 0 10px; }
.notify-band p { color: var(--slate-500); margin: 0 0 18px; }
.notify-visual {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); border-radius: var(--radius);
  padding: 22px; color: #fff; box-shadow: var(--shadow);
}
.notify-visual .push {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px; display: flex; gap: 12px; align-items: flex-start;
}
.notify-visual .push:last-child { margin-bottom: 0; }
.notify-visual .push .pi { font-size: 1.2rem; }
.notify-visual .push .pt { font-size: 0.86rem; }
.notify-visual .push .pt strong { display: block; color: var(--cyan-400); }

@media (max-width: 900px) {
  .testi { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: repeat(3, 1fr); }
  .notify-band { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .coverage { grid-template-columns: repeat(2, 1fr); }
}
