/* ===== 一诺 INNO · 跨境算力资源池 =====
   配色提取自品牌 Logo：青绿 #2BE8AE → 科技蓝 #3E8FFF 渐变，深海军蓝底 */

:root {
  --teal: #2BE8AE;
  --cyan: #22C8E5;
  --blue: #3E8FFF;
  --violet: #8A7CFF;
  --grad: linear-gradient(120deg, var(--teal), var(--blue));
  --grad-soft: linear-gradient(120deg, rgba(43,232,174,.16), rgba(62,143,255,.16));

  --bg: #081326;
  --bg2: #0B1B33;
  --panel: rgba(16, 32, 58, .72);
  --panel-solid: #10203A;
  --line: rgba(94, 140, 210, .22);
  --line-strong: rgba(94, 140, 210, .45);

  --text: #DCE8FA;
  --muted: #8BA3C7;
  --gold: #FFC24B;

  --radius: 14px;
  --shadow: 0 8px 32px rgba(2, 8, 20, .5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景氛围光 */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); opacity: .35;
}
.bg-glow::before { width: 560px; height: 560px; top: -180px; left: -120px; background: rgba(43,232,174,.28); }
.bg-glow::after { width: 640px; height: 640px; top: 10%; right: -220px; background: rgba(62,143,255,.3); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; align-items: center; gap: 14px; }
.between { justify-content: space-between; }

a { color: inherit; text-decoration: none; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 19, 38, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand img { height: 40px; width: auto; display: block; flex-shrink: 0; }
.brand .sysname { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; white-space: nowrap; }
.brand .sysname small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); letter-spacing: .4px; }

.nav-main { display: flex; justify-content: flex-end; gap: clamp(14px, 1.6vw, 26px); margin-left: auto; flex: 1; min-width: 0; }
.nav-main a {
  flex-shrink: 0; white-space: nowrap;
  font-size: 14.5px; color: var(--muted); position: relative; padding: 6px 2px; transition: color .2s;
}
.nav-main a:hover { color: var(--text); }
.nav-main a.on { color: #fff; font-weight: 600; }
.nav-main a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px;
  border-radius: 2px; background: var(--grad);
}

/* 双语切换 */
.lang-switch {
  display: inline-flex; flex-shrink: 0; padding: 3px; border-radius: 20px;
  border: 1px solid var(--line-strong); background: rgba(10, 22, 42, .6); cursor: pointer;
}
.lang-switch span {
  padding: 4px 14px; font-size: 13px; color: var(--muted); border-radius: 16px; transition: all .2s;
}
.lang-switch span.on { background: var(--grad); color: #06251C; font-weight: 700; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: none; border-radius: 10px; cursor: pointer;
  background: var(--grad); color: #06251C; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 22px rgba(43, 200, 180, .35); transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(62,143,255,.45); }
.btn.sm { padding: 8px 18px; font-size: 13px; }
.btn.ghost {
  background: transparent; color: var(--teal);
  border: 1.5px solid rgba(43,232,174,.55); box-shadow: none;
}
.btn.ghost:hover { background: rgba(43,232,174,.1); }

/* ===== 首页 Hero ===== */
.hero { padding: 84px 0 30px; text-align: center; position: relative; }
.hero .kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: 3px; color: var(--teal);
  border: 1px solid rgba(43,232,174,.4); padding: 5px 16px; border-radius: 20px; margin-bottom: 22px;
  background: rgba(43,232,174,.07);
}
.hero h1 { font-size: 40px; color: #fff; font-weight: 800; letter-spacing: 1px; }
.hero h1 .grad-text, .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--muted); font-size: 15px; margin: 14px 0 36px; }

/* 搜索 */
.search-shell {
  max-width: 760px; margin: 0 auto; display: flex; gap: 10px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow), 0 0 0 4px rgba(62,143,255,.06);
  backdrop-filter: blur(10px);
}
.search-shell:focus-within { border-color: var(--teal); box-shadow: var(--shadow), 0 0 24px rgba(43,232,174,.18); }
.search-input {
  flex: 1; padding: 12px 16px; font-size: 15px; border: none; outline: none;
  background: transparent; color: var(--text);
}
.search-input::placeholder { color: var(--muted); }

.hot-searches { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hot-searches .lbl { font-size: 12.5px; color: var(--muted); padding: 5px 0; }

/* ===== 标签 chips ===== */
.chip {
  padding: 7px 16px; font-size: 13px; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--text);
  background: rgba(16,32,58,.6); transition: all .18s; user-select: none;
}
.chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.chip.on {
  background: var(--grad); color: #06251C; font-weight: 700; border-color: transparent;
}
.chip .en { opacity: .72; font-size: 11.5px; margin-left: 5px; }

/* ===== 区块 ===== */
.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.sec-head h2 { font-size: 22px; color: #fff; font-weight: 700; }
.sec-head h2::before {
  content: ""; display: inline-block; width: 4px; height: 20px; border-radius: 2px;
  background: var(--grad); margin-right: 10px; vertical-align: -3px;
}
.sec-head .more { font-size: 13px; color: var(--muted); }
.sec-head .more:hover { color: var(--teal); }

/* ===== 玻璃面板 ===== */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
}

/* ===== 地图区 ===== */
.map-panel { padding: 26px 26px 10px; position: relative; overflow: hidden; }
.map-region-chips { display: grid; gap: 10px; margin-bottom: 10px; }
.region-chip-group { display: flex; align-items: flex-start; gap: 12px; }
.region-chip-label, .filter-region-label {
  flex: 0 0 auto; padding-top: 5px; color: var(--muted); font-size: 11.5px; font-weight: 650; letter-spacing: .4px;
}
.region-chip-list, .filter-region-list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.filter-region-group { width: 100%; display: grid; gap: 7px; }
.filter-region-group + .filter-region-group { margin-top: 11px; padding-top: 11px; border-top: 1px dashed rgba(94,140,210,.18); }
.filter-region-label { padding-top: 0; color: var(--text); opacity: .72; }
#regionMap { width: 100%; height: 540px; }
.map-hint { text-align: center; font-size: 12.5px; color: var(--muted); padding: 4px 0 14px; }
.map-hint b { color: var(--teal); font-weight: 600; }
.map-view-status {
  display: none; position: absolute; left: 14px; bottom: 42px; z-index: 5; max-width: min(520px, calc(100% - 190px));
  padding: 7px 10px; border: 1px solid rgba(43,232,174,.25); border-radius: 8px;
  background: rgba(8,19,38,.82); pointer-events: none; backdrop-filter: blur(6px);
}
.map-view-status b, .map-view-status span { display: block; }
.map-view-status b { color: var(--teal); font-size: 11.5px; }
.map-view-status span { margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.35; }

/* ===== 统计 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 26px 22px; text-align: center; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 2px; background: var(--grad);
  border-radius: 2px; opacity: .8;
}
.stat .num {
  font-size: 34px; font-weight: 800; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ===== 行业网格 ===== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card {
  padding: 22px; border-radius: var(--radius); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); transition: all .2s;
}
.ind-card:hover { border-color: rgba(43,232,174,.5); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(3,10,24,.6); }
.ind-card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--grad-soft); border: 1px solid var(--line-strong); margin-bottom: 12px;
}
.ind-card h4 { font-size: 15px; color: #fff; }
.ind-card p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== 结果页 ===== */
.results-head { padding: 40px 0 8px; }
.results-head .search-shell { max-width: 640px; margin: 0; }

.layout { display: grid; grid-template-columns: 252px 1fr; gap: 22px; align-items: start; margin-top: 26px; }
.filter-panel { padding: 20px; position: sticky; top: 88px; }
.filter-panel h4 {
  font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .5px;
  margin: 18px 0 10px; display: flex; justify-content: space-between;
}
.filter-panel h4:first-child { margin-top: 0; }
.filter-panel .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-panel .chip { font-size: 12.5px; padding: 5px 13px; }
.filter-clear { font-size: 12px; color: var(--teal); cursor: pointer; }

.result-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--muted); margin-bottom: 16px;
}
.result-toolbar b { color: var(--teal); }
.result-toolbar select {
  background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 6px 10px; font-size: 13px; outline: none;
}

.card {
  padding: 22px 24px; margin-bottom: 16px; cursor: pointer; position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .2s;
}
.card:hover { border-color: rgba(43,232,174,.5); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(3,10,24,.6); }
.card .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { font-size: 17px; color: #fff; }
.card h3 .en { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.card .meta { font-size: 12.5px; color: var(--muted); margin: 10px 0 6px; }
.card .desc { font-size: 13.5px; color: var(--text); opacity: .85; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.mini-tag {
  font-size: 11.5px; padding: 3px 11px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.mini-tag.teal { color: var(--teal); border-color: rgba(43,232,174,.5); background: rgba(43,232,174,.07); }
.mini-tag.blue { color: var(--blue); border-color: rgba(62,143,255,.5); background: rgba(62,143,255,.08); }
.mini-tag.cyan { color: var(--cyan); border-color: rgba(34,200,229,.5); }

.badge {
  font-size: 11px; padding: 4px 12px; border-radius: 12px; white-space: nowrap;
  border: 1px solid rgba(43,232,174,.45); color: var(--teal); background: rgba(43,232,174,.07);
}
.badge.local { border-color: rgba(138,124,255,.5); color: var(--violet); background: rgba(138,124,255,.08); }

.empty {
  text-align: center; padding: 70px 20px; color: var(--muted);
}
.empty .big { font-size: 40px; margin-bottom: 12px; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 26px 0 10px; }
.pager span {
  min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; color: var(--muted); cursor: pointer;
}
.pager span.on { background: var(--grad); color: #06251C; font-weight: 700; border-color: transparent; }

/* ===== 详情页 ===== */
.crumb { font-size: 12.5px; color: var(--muted); padding: 22px 0 0; }
.crumb a:hover { color: var(--teal); }

.detail-head { padding: 28px 30px; margin-top: 14px; position: relative; overflow: hidden; }
.detail-head::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
}
.detail-head h2 { font-size: 24px; color: #fff; }
.detail-head h2 .en { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 3px; }

.verification-panel {
  margin-top: 16px; padding: 22px 24px; border: 1px solid rgba(255,194,75,.34); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,194,75,.09), rgba(16,32,58,.88) 44%, rgba(43,232,174,.05));
  box-shadow: var(--shadow);
}
.verification-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.verification-eyebrow { font-size: 11px; color: var(--gold); letter-spacing: 1.4px; font-weight: 700; }
.verification-panel h3 { margin-top: 4px; color: #fff; font-size: 17px; }
.verification-status {
  flex-shrink: 0; border: 1px solid rgba(43,232,174,.5); border-radius: 999px; padding: 5px 12px;
  color: var(--teal); background: rgba(43,232,174,.08); font-size: 12px; font-weight: 650;
}
.verification-status.conflict { color: var(--gold); border-color: rgba(255,194,75,.55); background: rgba(255,194,75,.08); }
.verification-status.unverified { color: #ff8f82; border-color: rgba(255,111,97,.52); background: rgba(255,111,97,.08); }
.verification-note { margin-top: 14px; color: var(--text); font-size: 13.5px; line-height: 1.75; }
.verification-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; color: var(--muted); font-size: 11.5px; }
.verification-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.verification-sources a {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--line-strong);
  border-radius: 8px; color: var(--cyan); background: rgba(34,200,229,.06); font-size: 11.5px; overflow-wrap: anywhere;
}
.verification-sources a:hover { border-color: var(--cyan); color: #fff; }
.verification-list-tag.partially_verified { color: var(--teal); border-color: rgba(43,232,174,.5); }
.verification-list-tag.conflict { color: var(--gold); border-color: rgba(255,194,75,.55); }
.verification-list-tag.unverified { color: #ff8f82; border-color: rgba(255,111,97,.52); }

.tabbar { display: flex; gap: 6px; margin: 26px 0 20px; border-bottom: 1px solid var(--line); }
.tabbar span {
  padding: 11px 22px; font-size: 14.5px; color: var(--muted); cursor: pointer;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: all .2s;
}
.tabbar span:hover { color: var(--text); }
.tabbar span.on {
  color: var(--teal); font-weight: 600; border-bottom-color: var(--teal);
}

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-grid .panel { padding: 24px; }
.detail-grid .panel h4 {
  font-size: 15px; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.detail-grid .panel h4::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--grad);
}
.field { display: flex; gap: 12px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed rgba(94,140,210,.14); }
.field:last-child { border-bottom: none; }
.field .k { color: var(--muted); width: 108px; flex-shrink: 0; }
.field .v { color: var(--text); flex: 1; }
.src-note { font-size: 11.5px; color: var(--gold); opacity: .85; margin-top: 12px; }

.case-item {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px;
  background: rgba(10, 22, 42, .4);
}
.case-item .y { color: var(--teal); font-weight: 700; font-size: 13px; margin-right: 8px; }
.case-item .t { color: var(--text); font-size: 13.5px; }
.case-item .s { font-size: 12px; color: var(--muted); margin-top: 4px; }

.tab-pane { display: none; }
.tab-pane.on { display: block; }

/* ===== 页脚 ===== */
.footer {
  margin-top: 80px; padding: 30px 0 36px; border-top: 1px solid var(--line);
  text-align: center; color: var(--muted); font-size: 12.5px;
}
.footer img { height: 30px; opacity: .8; margin-bottom: 10px; }

/* ===== 响应式（小程序/APP 单列视图） ===== */
@media (max-width: 1100px) {
  .brand .sysname small { display: none; }
}

@media (max-width: 900px) {
  .topbar .wrap {
    height: auto; min-height: 68px; flex-wrap: wrap; gap: 8px 16px;
    padding-top: 10px;
  }
  .brand { flex: 1; }
  .nav-main {
    display: flex; order: 3; flex: 0 0 calc(100% + 48px); justify-content: flex-start;
    height: 44px; margin: 0 -24px; padding: 0 24px; gap: 24px;
    align-items: center; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line);
  }
  .nav-main::-webkit-scrollbar { display: none; }
  .nav-main a { padding: 8px 2px; }
  .nav-main a.on::after { bottom: 0; }
  .hero { padding: 54px 0 20px; }
  .hero h1 { font-size: 27px; }
  #regionMap { height: 380px; }
  .layout, .detail-grid { grid-template-columns: 1fr; }
  .stat-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-panel { position: static; }
  .brand .sysname { font-size: 13px; }
}

@media (max-width: 560px) {
  .brand .sysname { display: none; }
  .region-chip-group { display: grid; gap: 7px; }
  .region-chip-label { padding-top: 0; }
  .map-view-status { left: 8px; right: 8px; bottom: 40px; max-width: none; }
  .verification-panel { padding: 18px; }
  .verification-top { flex-direction: column; gap: 10px; }
  .verification-note { font-size: 13px; }
  .verification-sources { flex-direction: column; align-items: stretch; }
  .verification-sources a { width: 100%; }
}

/* 丝绸之路线路图例 */
.route-legend{position:absolute;left:14px;bottom:12px;display:flex;gap:18px;align-items:center;
  padding:6px 12px;background:rgba(8,19,38,.72);border:1px solid rgba(94,140,210,.25);
  border-radius:8px;font-size:11px;color:#B9C8E2;pointer-events:none;z-index:5;}
.route-legend span{display:flex;align-items:center;gap:7px;}
.route-legend em{font-style:normal;}
.route-legend .rl{display:inline-block;width:26px;height:0;border-top:2px solid rgba(43,232,174,.75);}
.route-legend .rl.sea{border-top:2px dashed rgba(34,200,229,.8);}
/* 行业卡片企业数量角标 */
.ind-card h4{display:flex;justify-content:space-between;align-items:baseline;gap:8px;}
.ind-card h4 .cnt{font-size:12px;font-weight:600;color:var(--teal);opacity:.9;}
