/* ============================================================
   全球物流综合服务平台 - 设计系统
   现代化 / 专业 / 国际物流科技感
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-2: #0e3a5f;
  --blue: #1668dc;
  --blue-light: #e8f1ff;
  --cyan: #00a8cc;
  --teal: #0fb5a6;
  --orange: #ff6b35;
  --orange-dark: #e8551f;
  --green: #16a34a;
  --red: #dc2626;
  --bg: #f4f6fa;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --border: #e5eaf0;
  --text: #17212e;
  --text-2: #4b5563;
  --text-3: #8a94a6;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .06);
  --shadow: 0 6px 24px rgba(10, 37, 64, .08);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, .14);
  --radius: 14px;
  --radius-sm: 9px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.section-head .sub { color: var(--text-3); font-size: 14px; margin-top: 6px; }
.section-head .more { float: right; font-size: 14px; font-weight: 500; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: rgba(255,255,255,.8); margin-left: 16px; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.nav {
  background: #fff; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; height: 62px; gap: 8px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(22,104,220,.35);
}
.logo span b { color: var(--blue); }
.nav-links { display: flex; gap: 2px; margin-left: 14px; flex: 1; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-2); font-size: 14.5px; font-weight: 500;
  padding: 7px 12px; border-radius: 8px; transition: .15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.nav-cta { background: var(--orange); color: #fff !important; font-weight: 600; padding: 9px 16px; border-radius: 9px; font-size: 14px; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-dark); }

/* 汉堡菜单按钮（移动端） */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; margin-left: auto;
  background: transparent; border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-only { display: none; }

/* ---------- 英雄区 ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0,168,204,.16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(22,104,220,.14), transparent 60%),
    linear-gradient(135deg, #0a2540 0%, #0e3a5f 55%, #0b4a6b 100%);
  color: #fff; padding: 66px 0 76px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.25; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #4cc9f0, #7ee8c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: rgba(255,255,255,.82); font-size: 16px; margin: 16px 0 28px; max-width: 600px; }

.search-box {
  background: #fff; border-radius: 14px; padding: 8px; display: flex; gap: 8px;
  box-shadow: var(--shadow-lg); max-width: 640px;
}
.search-box input {
  flex: 1; border: none; outline: none; font-size: 16px; padding: 12px 14px; color: var(--text);
}
.search-box button {
  background: var(--orange); color: #fff; border: none; font-size: 16px; font-weight: 600;
  padding: 12px 26px; border-radius: 10px; cursor: pointer; transition: .15s;
}
.search-box button:hover { background: var(--orange-dark); }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 26px; font-weight: 800; display: block; }
.hero-stats .stat span { color: rgba(255,255,255,.65); font-size: 13px; }

/* ---------- 数据条 ---------- */
.ticker {
  background: #fff; border-bottom: 1px solid var(--border); overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; height: 46px; gap: 18px; }
.ticker .label { font-size: 13px; color: var(--orange); font-weight: 700; white-space: nowrap; flex: none; }
.ticker-items { display: flex; gap: 26px; flex-wrap: nowrap; overflow: hidden; }
.ticker-item { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.ticker-item b { color: var(--text); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.query-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d5dde8; }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--text-2); font-size: 13.5px; }

/* 图标卡 */
.icon-card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
}
.ico.blue { background: var(--blue-light); }
.ico.orange { background: #fff1e8; }
.ico.green { background: #e8f7ee; }
.ico.purple { background: #f1eaff; }
.ico.cyan { background: #e4f7fa; }

/* ---------- 企业 logo 墙 ---------- */
.carrier-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.carrier-tile {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 12px; text-align: center; transition: .15s;
}
.carrier-tile:hover { box-shadow: var(--shadow); border-color: #cfd9e6; transform: translateY(-2px); }
.carrier-tile .logo-badge {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff;
}
.carrier-tile .nm { font-size: 14px; font-weight: 600; color: var(--text); }
.carrier-tile .tp { font-size: 12px; color: var(--text-3); }

/* ---------- 列表 ---------- */
.list-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.list-card + .list-card { border-top: 1px solid var(--border); }
.list-card .idx { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--bg); color: var(--text-3); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.list-card .idx.hot { background: #fff1e8; color: var(--orange); }
.list-card h4 { font-size: 15px; font-weight: 600; line-height: 1.5; }
.list-card h4 a { color: var(--text); }
.list-card h4 a:hover { color: var(--blue); }
.list-card .meta { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ---------- 徽章 ---------- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge.blue { background: var(--blue-light); color: var(--blue); }
.badge.green { background: #e8f7ee; color: var(--green); }
.badge.orange { background: #fff1e8; color: var(--orange); }
.badge.gray { background: #eef1f5; color: var(--text-3); }
.badge.red { background: #fdeaea; color: var(--red); }

/* ---------- 文章页 ---------- */
.article-body { font-size: 16px; line-height: 1.9; color: #242f3d; }
.article-body h2 { font-size: 21px; margin: 30px 0 12px; font-weight: 700; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--navy); }

/* ---------- 查询结果时间线 ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: #e1e7ef; }
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--cyan);
}
.tl-item:first-child::before { border-color: var(--orange); }
.tl-item .t { font-size: 13px; color: var(--text-3); }
.tl-item .s { font-size: 15px; font-weight: 600; }
.tl-item .d { font-size: 13.5px; color: var(--text-2); }

/* ---------- 数据大屏 ---------- */
.dark-panel {
  background: linear-gradient(160deg, #071a2e, #0a2540); color: #fff;
  border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden;
}
.dark-panel h3 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 6px; }
.dark-panel .big { font-size: 32px; font-weight: 800; line-height: 1.2; }
.dark-panel .unit { font-size: 14px; color: rgba(255,255,255,.55); }
.dark-panel .note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { background: var(--bg-soft); font-weight: 600; color: var(--text-2); white-space: nowrap; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fafbfd; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px;
  font-size: 15px; font-family: inherit; outline: none; transition: .15s; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,220,.1); }
.btn {
  display: inline-block; border: none; cursor: pointer; border-radius: 9px;
  font-size: 15px; font-weight: 600; padding: 12px 28px; transition: .15s; font-family: inherit;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1257bd; }
.btn-ghost { background: #fff; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 提示 ---------- */
.alert { border-radius: 10px; padding: 14px 16px; font-size: 14px; margin: 14px 0; }
.alert.info { background: var(--blue-light); color: #1257bd; }
.alert.warn { background: #fff7e6; color: #b45309; }
.alert.ok { background: #e8f7ee; color: var(--green); }

/* ---------- 面包屑 / 页面头 ---------- */
.pagehead { background: linear-gradient(135deg, #0a2540, #0e3a5f); color: #fff; padding: 42px 0; }
.pagehead h1 { font-size: 30px; font-weight: 800; }
.pagehead .sub { color: rgba(255,255,255,.75); margin-top: 8px; max-width: 720px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.crumbs a { color: rgba(255,255,255,.8); }

/* ---------- 筛选 tab ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
  padding: 8px 16px; border-radius: 22px; font-size: 14px; background: #fff;
  border: 1px solid var(--border); color: var(--text-2); font-weight: 500; cursor: pointer;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 页脚 ---------- */
.footer { background: #08182a; color: rgba(255,255,255,.72); padding: 50px 0 30px; margin-top: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,.6); font-size: 13.5px; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; font-weight: 700; font-size: 16px; }
.footer .desc { font-size: 13px; margin-top: 10px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .carrier-wall { grid-template-columns: repeat(4, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 768px) {
  /* 移动端导航 */
  .hamburger { display: flex; }
  .desktop-only { display: none; }
  .mobile-only { display: inline-block; }
  .nav-inner { height: 56px; position: relative; }
  .logo { font-size: 17px; }
  .logo .mark { width: 32px; height: 32px; font-size: 16px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 8px 16px 16px;
    box-shadow: 0 16px 30px rgba(10,37,64,.14);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 56px); overflow-y: auto; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--bg); border-radius: 0; }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }

  /* 顶栏精简 */
  .topbar { display: none; }

  /* 布局 */
  .hero { padding: 44px 0 54px; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 14.5px; }
  .hero-stats { gap: 18px; }
  .hero-stats .stat b { font-size: 21px; }
  .section { padding: 34px 0; }
  .section-head h2 { font-size: 21px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .carrier-wall { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .pagehead { padding: 30px 0; }
  .pagehead h1 { font-size: 24px; }

  /* 搜索框 */
  .search-box { flex-direction: column; gap: 8px; }
  .search-box input { font-size: 16px; padding: 14px; }
  .search-box button { width: 100%; padding: 14px; font-size: 16px; }

  /* 触摸友好 */
  .btn, .nav-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .tab { padding: 10px 18px; font-size: 14px; }
  .carrier-tile { padding: 14px 8px; }

  /* 文章与内容 */
  .article-body { font-size: 15.5px; }
  .card { padding: 16px; }

  /* 查询页企业墙 */
  .query-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .carrier-wall { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 14px; }
  .hero-stats .stat b { font-size: 19px; }
  .hero-stats .stat span { font-size: 12px; }
  .dark-panel .big { font-size: 24px; }
  table.data { font-size: 13px; }
  table.data th, table.data td { padding: 10px 12px; }
}
