/* 比蓝翻译 GEO 子站 — 现代专业商务风(纯 CSS / 零 JS / GEO 友好) */
:root {
  --pri-900: #0c1e4f;     /* 极深蓝 - 标题/导航文字 */
  --pri-700: #1e3a8a;     /* 主色深蓝 */
  --pri-500: #3b82f6;     /* 亮蓝 - 链接/按钮 */
  --pri-100: #dbeafe;     /* 浅蓝 - hover/标签 */
  --pri-50: #eff6ff;
  --accent: #f59e0b;      /* 暖色点缀(CTA / 重点)*/
  --accent-l: #fbbf24;
  --bg: #fafbfc;
  --bg-card: #fff;
  --text: #0f172a;
  --text-sec: #334155;
  --text-muted: #64748b;
  --bd: #e2e8f0;
  --bd-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 14px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.10);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1080px;
  --max-text: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--pri-500); text-decoration: none; transition: color .15s; }
a:hover { color: var(--pri-700); text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-muted); font-size: 14px; }

/* ───── Header ───── */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
}
.site-header .container {
  display: flex; align-items: center; gap: 16px;
  justify-content: space-between; flex-wrap: nowrap;
  max-width: 1280px;
}
.brand {
  display: flex; align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand:hover { text-decoration: none; }
.site-header nav {
  display: flex; gap: 2px; flex-wrap: nowrap;
  align-items: center;
}
.site-header nav a {
  color: var(--text-sec); font-size: 14px; font-weight: 500;
  padding: 8px 10px; border-radius: 8px;
  transition: all .15s;
  white-space: nowrap;
}
.site-header nav a:hover {
  background: var(--pri-50); color: var(--pri-700); text-decoration: none;
}

/* ───── Main / Typography ───── */
main.container { padding: 56px 24px 80px; }
main.container > h1:first-child,
main.container > * h1:first-child {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--pri-900);
  font-weight: 800;
}
main.container .lead {
  font-size: 19px; line-height: 1.75;
  color: var(--text-sec);
  max-width: var(--max-text);
  margin-bottom: 40px;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  color: var(--pri-900);
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--pri-500), var(--accent));
  border-radius: 2px;
}
h3 {
  font-size: 19px;
  margin: 28px 0 10px;
  color: var(--pri-900);
  font-weight: 600;
}
p { margin: 12px 0 16px; max-width: var(--max-text); }
ul, ol { padding-left: 22px; margin: 12px 0; max-width: var(--max-text); }
li { margin: 6px 0; }
strong, b { color: var(--pri-900); font-weight: 700; }

/* Tables */
table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  margin: 24px 0;
  background: var(--bg-card);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--bd);
}
th {
  background: var(--pri-50);
  color: var(--pri-900);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfc; }

/* Blockquote */
blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--pri-50) 0%, #fff 100%);
  border-left: 4px solid var(--pri-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-sec);
  font-style: normal;
}
blockquote p { margin: 4px 0; }

/* ───── Card grid ───── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.card {
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pri-500), var(--accent));
  opacity: 0; transition: opacity .2s;
}
.card:hover {
  border-color: var(--pri-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 10px; color: var(--pri-900); }
.card p { color: var(--text-sec); margin-bottom: 0; }
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--pri-50);
  color: var(--pri-700);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* ───── Stat grid (大数字 + 说明 卡片) ───── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.stat-card {
  padding: 24px 20px;
  background: linear-gradient(135deg, #fff 0%, var(--pri-50) 100%);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.stat-card:hover {
  border-color: var(--pri-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--pri-700) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 旧 data-box 保留兼容(已不用) */
.data-box {
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff 0%, var(--pri-50) 100%);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}
.data-box dl { margin: 0; display: grid; gap: 18px; }
.data-box dt { font-weight: 700; font-size: 15px; color: var(--pri-900); margin-bottom: 4px; }
.data-box dd { margin: 0; color: var(--text-sec); font-size: 15px; }

/* ───── FAQ ───── */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--bd);
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  font-weight: 700; color: var(--pri-900);
  margin-bottom: 8px; font-size: 17px;
  display: flex; gap: 10px; align-items: flex-start;
}
.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--pri-700); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* ───── Pricing rows ───── */
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--bd);
}
.price-row b { font-size: 18px; color: var(--accent); font-weight: 700; }

/* ───── CTA button ───── */
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--pri-700) 0%, var(--pri-500) 100%);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(59,130,246,0.35);
  transition: all .2s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.45); }
.cta.accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-l) 100%);
              box-shadow: 0 4px 14px rgba(245,158,11,0.35); }

/* ───── Footer ───── */
.site-footer {
  background: var(--pri-900);
  color: #cbd5e1;
  padding: 56px 0 32px;
  margin-top: 80px;
  font-size: 14px;
  line-height: 1.8;
}
.site-footer .container > p { margin: 6px 0; max-width: none; }
.site-footer p:first-child { font-size: 20px; font-weight: 700; color: #fff;
                              margin-bottom: 16px; }
.site-footer a { color: #93c5fd; }
.site-footer a:hover { color: #dbeafe; }
/* 救回 footer 里 strong:全局 strong 被设深蓝在深底色上看不见 */
.site-footer strong, .site-footer b { color: #fff; font-weight: 700; }
.site-footer .muted { color: #64748b; margin-top: 24px; padding-top: 24px;
                       border-top: 1px solid #1e293b; }
.footer-social { margin: 8px 0; display: inline-flex; flex-wrap: wrap; gap: 14px; }
.footer-social a { color: #93c5fd; }

/* ───── Responsive ───── */
@media (max-width: 720px) {
  main.container { padding: 32px 20px 60px; }
  main.container > h1:first-child,
  main.container > * h1:first-child { font-size: 28px; }
  h2 { font-size: 22px; margin: 40px 0 16px; }
  .data-box { padding: 20px; }
  .site-header nav { gap: 0; font-size: 13px; }
  .site-header nav a { padding: 6px 10px; }
}

/* ───── Header 在线咨询 — 克制商务风(与 nav 链接同级,不喧宾夺主) ───── */
.header-chat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  margin-left: 6px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pri-700) !important;
  text-decoration: none !important;
  background: var(--pri-50);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all .15s;
}
.header-chat:hover {
  background: #dbeafe;
  border-color: var(--pri-500);
  text-decoration: none;
}
.header-chat svg { width: 14px; height: 14px; }

/* ───── 右侧固定操作栏 — 给 B2B 客户看的水准:单品牌色,SVG,无 emoji ───── */
.side-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-rail a {
  width: 52px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 6px;
  color: var(--pri-900) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
  transition: all .18s;
}
.side-rail .label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.4;
}
.side-rail svg {
  width: 22px; height: 22px;
  stroke: var(--pri-700);
  stroke-width: 1.6;
  fill: none;
}
.side-rail a:hover {
  background: var(--pri-700);
  border-color: var(--pri-700);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(30,58,138,0.25);
  transform: translateX(-2px);
  text-decoration: none;
}
.side-rail a:hover svg {
  stroke: #fff;
}

/* 隐藏 zoosnet 默认浮动球(我们自己做了入口) */
#LRMINIDIV,
#LRdivchatmsg,
#LRfloater,
div[id^="LRdivfloat"],
iframe[src*="zoosnet"][style*="position: fixed"] {
  display: none !important;
}

@media (max-width: 720px) {
  .side-rail { right: 8px; }
  .side-rail a { width: 42px; padding: 12px 6px; font-size: 12px; }
  .side-rail svg { width: 18px; height: 18px; }
  .header-chat { padding: 6px 10px; font-size: 13px; }
}

/* ───── Print friendly ───── */
@media print {
  .site-header, .site-footer, .cta { display: none; }
  main.container { padding: 0; max-width: 100%; }
}
