/* =========================================================
   恰恰集运 · 中国大陆 → 台湾 集运官方网站
   统一设计系统（客户主页 + 后台作业台共用）
   ========================================================= */

:root {
  /* 品牌色 */
  --c-brand: #2563eb;        /* 主蓝：信任、专业 */
  --c-brand-dark: #1d4ed8;
  --c-brand-soft: #eff4ff;
  --c-teal: #0ea5a4;         /* 辅助：流程、成功 */

  /* 暖金：强调色（替换原亮橙，更克制高级） */
  --c-gold: #C8902E;
  --c-gold-dark: #9a6b18;
  --c-gold-darker: #7d560f;
  --c-gold-soft: #fbf3e2;
  --c-accent: var(--c-gold);
  --c-accent-dark: var(--c-gold-dark);

  /* 中性色 */
  --c-ink: #16243d;          /* 主文字：墨蓝 */
  --c-ink-2: #475569;        /* 次级文字 */
  --c-ink-3: #94a3b8;        /* 弱文字 / 占位 */
  --c-line: #e2e8f0;         /* 描边 */
  --c-bg: #ffffff;
  --c-bg-soft: #f8fafc;
  --c-bg-mute: #f1f5f9;

  /* 状态 */
  --c-ok: #16a34a;
  --c-warn: #d97706;
  --c-danger: #dc2626;

  /* 排版 */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow: 0 4px 14px rgba(22, 36, 61, .07), 0 14px 34px rgba(22, 36, 61, .06);
  --shadow-lg: 0 10px 30px rgba(22, 36, 61, .10), 0 28px 64px rgba(22, 36, 61, .12);
  --maxw: 1400px;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--c-ink-2); }
.tiny { font-size: 13px; color: var(--c-ink-3); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--c-brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-brand-dark); transform: translateY(-1px); }
.btn-accent { background: var(--c-gold-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--c-gold-darker); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--c-brand); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-brand); background: var(--c-brand-soft); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--c-line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand .logo { width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.brand .logo img { width: 40px; height: 40px; display: block; }
.brand b { color: #9A6B18; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { padding: 10px 16px; border-radius: 8px; color: var(--c-ink-2); font-weight: 500; font-size: 17px; letter-spacing: .3px; line-height: 1; display: inline-flex; align-items: center; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--c-brand); background: var(--c-bg-soft); }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: 30px; padding-left: 30px; border-left: 1px solid var(--c-line); }
.nav-toggle { display: none; }

/* 导航下拉菜单 */
.nav-item.has-dropdown { position: relative; }
.nav-dropdown-toggle .caret { font-size: 11px; margin-left: 3px; opacity: .6; transition: transform .2s; }
.nav-item.has-dropdown:hover .caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 148px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a { padding: 9px 14px; border-radius: 8px; font-size: 15.5px; color: var(--c-ink-2); white-space: nowrap; font-weight: 500; }
.nav-dropdown a:hover { color: var(--c-brand); background: var(--c-bg-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 60px; background:
  radial-gradient(1100px 520px at 82% -12%, rgba(37,99,235,.12), transparent 60%),
  radial-gradient(820px 420px at 6% 0%, rgba(200,144,46,.10), transparent 55%),
  radial-gradient(720px 520px at 50% 122%, rgba(14,165,164,.08), transparent 60%),
  var(--c-bg); }
.hero::before { content: ""; position: absolute; top: -180px; right: -140px; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(200,144,46,.12), transparent 70%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 56px); letter-spacing: -.8px; line-height: 1.12; }
.hero h1 .hl { color: var(--c-brand); }
.hero .lead { font-size: 18px; line-height: 1.7; color: var(--c-ink-2); max-width: 480px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: var(--c-brand-soft); color: var(--c-brand-dark); font-size: 13.5px; font-weight: 600;
}
.hero-actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

/* 抽象路线卡（不使用地图，合规安全） */
.route-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow-lg);
}
.route-card h4 { font-size: 14px; color: var(--c-ink-3); font-weight: 600; letter-spacing: .4px; }
.route {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 6px;
}
.route .node { text-align: center; flex: 0 0 auto; }
.route .dot {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 19px; font-weight: 700; letter-spacing: .5px; color: #fff; margin: 0 auto 8px;
}
.route .dot.sz { background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark)); color: #fff; box-shadow: 0 6px 16px rgba(154,107,24,.28); }
.route .dot.tw { background: linear-gradient(135deg, var(--c-brand), var(--c-teal)); }
.route .label { font-size: 13px; font-weight: 600; }
.route .sub { font-size: 11.5px; color: var(--c-ink-3); }
.route .line {
  flex: 1 1 auto; height: 2px; position: relative;
  background: repeating-linear-gradient(90deg, var(--c-brand) 0 8px, transparent 8px 16px);
  border-radius: 2px;
}
.route .line::after {
  content: "🚢"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #fff; padding: 0 6px; font-size: 20px;
}
.route-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.route-meta div { background: var(--c-bg-soft); border-radius: 12px; padding: 12px; text-align: center; }
.route-meta b { display: block; font-size: 18px; color: var(--c-gold-dark); }
.route-meta span { font-size: 12px; color: var(--c-ink-3); }

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section.alt { background: #eef2f8; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow { color: var(--c-gold-dark); font-weight: 700; letter-spacing: 1.5px; font-size: 12.5px; text-transform: uppercase; }
.section-head h2 { font-size: 30px; margin-top: 8px; }
.section-head p { color: var(--c-ink-2); }

/* 优势卡片 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--c-brand-soft); color: var(--c-brand); margin-bottom: 14px;
}
.feat h3 { font-size: 17px; }
.feat p { font-size: 14px; color: var(--c-ink-2); margin: 0; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px 14px; text-align: center; position: relative; }
.step .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin: 0 auto 12px; font-size: 14px;
}
.step .em { font-size: 26px; }
.step h4 { font-size: 14.5px; margin: 8px 0 4px; }
.step p { font-size: 12.5px; color: var(--c-ink-2); margin: 0; }

/* 资费 */
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.price-note { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.price-note h3 { font-size: 18px; }
.price-note ul { padding-left: 18px; margin: 0; color: var(--c-ink-2); font-size: 14.5px; }
.price-note li { margin-bottom: 8px; }
.price-note code { background: var(--c-bg-mute); padding: 2px 7px; border-radius: 6px; font-size: 13px; color: var(--c-ink); }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.price-table th, .price-table td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-line); }
.price-table th { background: var(--c-bg-soft); font-weight: 700; color: var(--c-ink); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td b { color: var(--c-brand-dark); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--c-ink); }
.faq-q .chev { transition: .2s; color: var(--c-ink-3); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--c-brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--c-ink-2); font-size: 14.5px; }

/* 客服 / CTA 区 */
.cta { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark)); color: #fff; border-radius: 22px; padding: 44px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.86); }
.cta .btn-accent { background: #fff; color: var(--c-brand-dark); }
.cta .btn-accent:hover { background: #f1f5f9; }
.contact-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.contact-row .c { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); padding: 12px 18px; border-radius: 12px; }
.contact-row .c .ic { font-size: 20px; }

/* 页脚 */
.footer { background: #0f172a; color: #cbd5e1; padding: 44px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid > div:last-child { margin-left: 90px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .3px; margin-bottom: 16px; }
.footer a { color: #cbd5e1; font-size: 14px; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .desc { font-size: 13.5px; color: #94a3b8; line-height: 1.7; }
.footer-svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 18px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 18px; font-size: 12.5px; color: #64748b; text-align: center; }

/* ============================================================
   后台作业台 admin.html
   ============================================================ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-aside {
  background: linear-gradient(160deg, var(--c-brand-dark), #0e7490); color: #fff;
  padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-aside h1 { color: #fff; font-size: 30px; }
.auth-aside .lead { color: rgba(255,255,255,.85); }
.auth-points { list-style: none; padding: 0; margin: 26px 0 0; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; color: rgba(255,255,255,.92); }
.auth-points .ic { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: 0 0 auto; }
.auth-form-side { display: grid; place-items: center; padding: 32px; background: var(--c-bg-soft); }
.auth-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 22px; }
.auth-card .sub { color: var(--c-ink-2); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--c-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--c-line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--c-ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.field .hint { font-size: 12px; color: var(--c-ink-3); margin-top: 5px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13.5px; }
.auth-row label { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--c-ink-2); }
.demo-cred { background: var(--c-bg-soft); border: 1px dashed var(--c-line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--c-ink-2); margin-bottom: 18px; }
.demo-cred b { color: var(--c-brand-dark); }
.form-error { color: var(--c-danger); font-size: 13px; margin: -6px 0 12px; display: none; }
.form-error.show { display: block; }

/* 后台布局（登录后） */
.app { display: none; min-height: 100vh; }
.app.show { display: grid; grid-template-columns: 232px 1fr; }
.sidebar { background: #0f172a; color: #cbd5e1; padding: 18px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { color: #fff; margin-bottom: 18px; padding: 6px 8px; }
.sidebar .brand b { color: #C8902E; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav button {
  text-align: left; background: none; border: none; color: #cbd5e1; font-size: 14.5px;
  padding: 11px 14px; border-radius: 9px; cursor: pointer; display: flex; align-items: center; gap: 11px; font-family: inherit;
}
.side-nav button .ic { font-size: 17px; width: 20px; text-align: center; }
.side-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav button.active { background: var(--c-brand); color: #fff; }
.sidebar .spacer { flex: 1; }
.side-user { border-top: 1px solid #1e293b; padding-top: 14px; font-size: 13px; }
.side-user b { color: #fff; display: block; }

.main { background: var(--c-bg-soft); min-height: 100vh; }
.topbar { height: 60px; background: #fff; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; padding: 0 24px; gap: 14px; position: sticky; top: 0; z-index: 10; }
.topbar h1 { font-size: 18px; margin: 0; }
.topbar .crumb { color: var(--c-ink-3); font-size: 13px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.topbar .who { font-size: 13.5px; color: var(--c-ink-2); }
.view { padding: 24px; display: none; }
.view.active { display: block; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat .top { display: flex; align-items: center; justify-content: space-between; }
.stat .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: var(--c-brand-soft); color: var(--c-brand); }
.stat .val { font-size: 28px; font-weight: 800; margin: 10px 0 2px; }
.stat .lbl { font-size: 13px; color: var(--c-ink-3); }
.stat .delta { font-size: 12.5px; font-weight: 600; }
.delta.up { color: var(--c-ok); }
.delta.down { color: var(--c-danger); }

.panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.panel-head h3 { margin: 0; font-size: 16px; }
.panel-body { padding: 16px 20px; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-line); white-space: nowrap; }
table.data th { background: var(--c-bg-soft); font-weight: 700; color: var(--c-ink-2); font-size: 13px; }
table.data tbody tr:hover { background: var(--c-bg-soft); }
table.data tbody tr:last-child td { border-bottom: none; }

/* 状态徽章 */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.badge.gray { background: #f1f5f9; color: #475569; }
.badge.blue { background: var(--c-brand-soft); color: var(--c-brand-dark); }
.badge.green { background: #dcfce7; color: #15803d; }
.badge.amber { background: #fef3c7; color: #b45309; }
.badge.red { background: #fee2e2; color: #b91c1c; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.toolbar input, .toolbar select { padding: 9px 12px; border: 1px solid var(--c-line); border-radius: 9px; font-size: 14px; font-family: inherit; }
.toolbar .search { min-width: 220px; }

/* 图表（纯 CSS/SVG 柱状） */
.chart { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 10px 4px 0; }
.chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart .bar .fill { width: 60%; max-width: 38px; background: linear-gradient(180deg, var(--c-brand), var(--c-teal)); border-radius: 6px 6px 0 0; transition: height .4s; }
.chart .bar .cap { font-size: 12px; color: var(--c-ink-2); margin-top: 8px; font-weight: 600; }
.chart .bar .x { font-size: 11.5px; color: var(--c-ink-3); margin-top: 2px; }

/* 配置表单网格 */
.cfg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cfg-card { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px; background: var(--c-bg-soft); }
.cfg-card h4 { font-size: 15px; margin-bottom: 4px; }
.cfg-card p { font-size: 12.5px; color: var(--c-ink-3); margin: 0 0 12px; }
.cfg-card .field { margin-bottom: 0; }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translateY(0); }

.empty { text-align: center; color: var(--c-ink-3); padding: 40px 0; font-size: 14px; }

/* ---------- 法务页（用户协议 / 隐私政策） ---------- */
.legal-top { background: var(--c-ink); }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.legal-top .brand { color: #fff; }
.legal-top .brand b, .footer .brand b { color: #C8902E; }
.legal-top a { color: rgba(255,255,255,.85); font-size: 14px; }
.legal-top a:hover { color: #fff; }
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 64px; }
.legal h1 { font-size: 26px; margin: 0 0 6px; }
.legal .updated { color: var(--c-ink-3); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; color: var(--c-brand-dark); }
.legal p, .legal li { font-size: 14px; line-height: 1.9; color: var(--c-ink-2); }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal .flag { color: var(--c-gold-dark); font-size: 12.5px; }

/* ---------- 滚动渐入 ---------- */
.reveal { will-change: opacity, transform; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 运单轨迹查询块（首屏 B） ---------- */
.track-bar { padding: 34px 0; background: linear-gradient(135deg, #0f172a, #1e3a8a); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.track-bar .tb-text h2 { color: #fff; }
.track-bar .tb-text p { color: rgba(255,255,255,.82); }
.track-bar .tb-demo { color: rgba(255,255,255,.7); }
.track-bar .tb-demo a { color: var(--c-gold); }
.track-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.tb-text { flex: 1 1 320px; }
.tb-text h2 { font-size: 24px; margin-bottom: 6px; }
.tb-text p { color: var(--c-ink-2); margin: 0; }
.tb-form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.tb-input { flex: 1; padding: 13px 16px; border: 1.5px solid #b6c2d2; border-radius: 999px; font-size: 15px; font-family: inherit; color: var(--c-ink); background: #fff; transition: .18s; }
.tb-input::placeholder { color: var(--c-ink-3); }
.tb-input:hover { border-color: #93a3b8; }
.tb-input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px var(--c-gold-soft); }
.tb-demo { text-align: center; margin: 14px 0 0; }
.tb-demo a { color: var(--c-gold-dark); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cfg-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { margin-left: 16px; padding-left: 0; border-left: none; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--c-line); padding: 10px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--c-line); background: #fff; cursor: pointer; margin-left: auto; }
  .nav-cta { margin-left: 12px; padding-left: 0; border-left: none; }
  .hero h1 { font-size: 32px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* 移动端：帮助中心下拉默认展开，子项缩进显示 */
  .nav-item.has-dropdown { position: static; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 2px 0 4px 16px; min-width: 0;
  }
  .nav-dropdown-toggle .caret { display: none; }
  .nav-dropdown a { font-size: 15.5px; padding: 8px 14px; }
  .app.show { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 100; transform: translateX(-100%); transition: .25s; width: 232px; }
  .sidebar.open { transform: none; }
  .section { padding: 48px 0; }
}
