/* ============================================================
   GlbXpress.com — Design System
   Vibe: friendly + energetic, savings-first.
   Navy (trust/global) · Orange (savings/action) · Sky (support)
   ============================================================ */

:root {
  /* ---- Brand colors ---- */
  --navy-900: #061a30;   /* deepest section bg */
  --navy-800: #08233f;
  --navy-700: #0b2a4a;   /* primary ink / dark bg */
  --navy-500: #18467a;
  --navy-300: #6b89ad;

  --orange-600: #e5510f;
  --orange-500: #ff6a1f;  /* PRIMARY savings/action */
  --orange-400: #ff8443;
  --orange-soft: #ffe9d8;
  --orange-tint: #fff3ea;

  --sky-600: #1c7ff0;
  --sky-500: #3a97ff;
  --sky-soft: #e4f0ff;

  --mint-500: #19b888;   /* sparse positive accent (checks) */

  --paper: #fffdf8;       /* warm white page bg */
  --paper-2: #fdf7ee;     /* alt warm band */
  --surface: #ffffff;
  --line: #ece5d8;        /* warm hairline */
  --line-strong: #ddd3c0;

  --ink: #122033;         /* body text on light */
  --ink-soft: #4d5b6e;
  --ink-faint: #8794a4;

  /* ---- Type ---- */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* ---- Radius / shadow ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(11,42,74,.06);
  --shadow-md: 0 14px 40px -12px rgba(11,42,74,.18);
  --shadow-lg: 0 40px 90px -30px rgba(11,42,74,.34);
  --shadow-orange: 0 16px 34px -10px rgba(255,106,31,.45);

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-700);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--orange-500);
  display: inline-block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-pill);
  padding: 15px 26px;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: #ff7a35; transform: translateY(-2px); }
.btn-dark { background: var(--navy-700); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-light { background: #fff; color: var(--navy-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* ---- Cards / chips ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--orange-tint);
  color: var(--orange-600);
  border: 1px solid var(--orange-soft);
  white-space: nowrap;
}

/* ---- Image / map placeholders ---- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(11,42,74,.05) 0 10px, rgba(11,42,74,.02) 10px 20px);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
}
.ph.on-dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 10px, rgba(255,255,255,.02) 10px 20px);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.5);
}

/* mono label */
.mono { font-family: var(--font-mono); }

/* brand wordmark accent — the X in GlbXpress */
.bx { color: var(--orange-500); }

/* ---- Stylized route map (方案1) ---- */
.rmap { position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.rmap-dark { background: linear-gradient(160deg, #0b2a4a 0%, #08233f 100%); }
.rmap-light { background: linear-gradient(160deg, #eef4fb 0%, #e6eef8 100%); border: 1px solid var(--line); }
.rmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rmap-label { position: absolute; bottom: 16px; font-weight: 800; font-size: 14px; line-height: 1.1; max-width: 45%; }
.rmap-label span { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.rmap-label.l { left: 16px; text-align: left; }
.rmap-label.r { right: 16px; text-align: right; }
.rmap-status { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; padding: 6px 13px; border-radius: 999px; white-space: nowrap; backdrop-filter: blur(6px); }
.rmap-status.live { background: rgba(255,106,31,.16); color: var(--orange-400); border: 1px solid rgba(255,106,31,.3); }
.rmap-status.done { background: rgba(25,184,136,.16); color: #4fe0a0; border: 1px solid rgba(25,184,136,.34); }
.rmap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }

/* utility */
.save-pop { color: var(--orange-500); }
.nowrap { white-space: nowrap; }

/* scrollbar polish */
::selection { background: var(--orange-soft); color: var(--navy-800); }
