/* ============================================================
   慕齐树科技 · 官网设计系统（pangu.mobi 蓝科技风格）
   ============================================================ */
:root {
  --primary: #1e5bff;
  --primary-dark: #0a2342;
  --primary-darker: #061733;
  --primary-light: #4f8bff;
  --accent: #00d4ff;

  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-dark: #0a1f44;

  --text: #1c2536;
  --text-soft: #5b6678;
  --border: #e6eaf2;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(20, 40, 90, 0.08);
  --shadow-hover: 0 18px 44px rgba(30, 91, 255, 0.18);

  --maxw: 1200px;
  --header-h: 70px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 区块通用 ---------------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  color: #fff;
}

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .en {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.section-head .cn {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 10px 0 14px;
}
.section-head .desc {
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}
.section.dark .section-head .en { color: var(--accent); }
.section.dark .section-head .desc { color: rgba(255, 255, 255, 0.75); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(30, 91, 255, 0.3); }
.btn-primary:hover { background: #1450f0; transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-light:hover { background: #fff; color: var(--primary); }

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

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  transition: all 0.3s;
  border: 1px solid transparent;
  height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(30, 91, 255, 0.18); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 26px; font-weight: 800;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

/* ---------------- 价格方案 ---------------- */
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6ecfb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 26px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 91, 255, 0.25);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(30, 91, 255, 0.18);
}
.price-card .tag {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.price-card .desc {
  color: var(--text-soft);
  font-size: 13.5px;
  margin: 0 0 18px;
  min-height: 38px;
}
.price-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.price-card .price .cur { font-size: 17px; margin-right: 2px; }
.price-card .price .unit { font-size: 14px; color: var(--text-soft); font-weight: 400; margin-left: 4px; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  flex: 1;
}
.price-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 9px;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 45%, var(--primary) 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(0, 212, 255, 0.35), transparent 60%),
    radial-gradient(500px 300px at 10% 110%, rgba(79, 139, 255, 0.4), transparent 60%);
}
.hero .container { position: relative; text-align: center; }
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 18px;
  line-height: 1.2;
}
.hero .sub { font-size: 19px; color: rgba(255, 255, 255, 0.82); max-width: 720px; margin: 0 auto 36px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero 数据条 */
.hero-stats {
  position: relative;
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats .stat .num { font-size: 38px; font-weight: 900; color: var(--accent); }
.hero-stats .stat .label { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }

/* ---------------- 顶部联系条 ---------------- */
.topbar {
  background: var(--primary-darker);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }

/* ---------------- 导航（pangu.mobi 风格：白底固定顶栏 + 居中下划线悬停） ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.site-header .brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.site-header .brand .logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px;
}
.site-header nav { display: flex; align-items: center; height: 100%; }
.site-header nav > a,
.site-header .nav-group > a {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  height: var(--header-h); padding: 0 30px;
  font-size: 16px; font-weight: 500; color: #333;
  transition: color 0.3s;
}
/* 居中短下划线（hover / 选中） */
.site-header nav > a::after,
.site-header .nav-group > a::after {
  content: ""; position: absolute; left: 50%; bottom: 13px;
  transform: translateX(-50%);
  width: 0; height: 1px; background: var(--primary);
  transition: width 0.2s linear;
}
.site-header nav > a:hover,
.site-header .nav-group:hover > a,
.site-header nav > a.is-active,
.site-header .nav-group > a.is-active { color: var(--primary); }
.site-header nav > a:hover::after,
.site-header .nav-group:hover > a::after,
.site-header nav > a.is-active::after,
.site-header .nav-group > a.is-active::after { width: 50%; }

/* 二级下拉（白底面板，项居中） */
.site-header .nav-group { position: relative; height: 100%; }
.site-header .submenu {
  position: absolute; top: 100%; left: 0; min-width: 100%;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: all 0.2s ease; z-index: 60;
}
.site-header .nav-group:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header .submenu-item {
  display: block; width: 100%; text-align: center;
  padding: 0 16px; line-height: 50px; font-size: 14px; color: #333;
  white-space: nowrap; transition: 0.1s linear;
}
.site-header .submenu-item:hover { color: var(--primary); background: #ddebff; }

/* ---------------- 服务卡片（产品&服务） ---------------- */
.svc-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 28px; transition: all 0.3s;
  border: 1px solid var(--border);
}
.svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card .icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 28px; font-weight: 800;
}
.svc-card h3 { margin: 0 0 10px; font-size: 20px; }
.svc-card p { margin: 0 0 16px; color: var(--text-soft); font-size: 14.5px; }
.svc-card .more { color: var(--primary); font-weight: 600; font-size: 14px; }
.svc-card .more::after { content: " →"; }

/* ---------------- 案例 ---------------- */
.case-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: all 0.3s; }
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.case-card .cover {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; font-weight: 900;
}
.case-card .body { padding: 22px; }
.case-card .body h3 { margin: 0 0 8px; font-size: 18px; }
.case-card .body .client { color: var(--primary); font-size: 13px; margin-bottom: 8px; }
.case-card .body p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* ---------------- 资讯 ---------------- */
.news-card { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: all 0.25s; background: #fff; }
.news-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.news-card .date { flex: 0 0 64px; text-align: center; }
.news-card .date .d { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-card .date .m { font-size: 12px; color: var(--text-soft); }
.news-card .meta h3 { margin: 0 0 6px; font-size: 16px; }
.news-card .meta .cat { font-size: 12px; color: var(--primary); }
.news-card .meta p { margin: 6px 0 0; color: var(--text-soft); font-size: 13.5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 关于/优势/流程 内容块 ---------------- */
.rich-content { max-width: 980px; margin: 0 auto; color: var(--text-soft); font-size: 16px; }
.rich-content p { margin: 0 0 16px; }

/* ---------------- 富文本正文（后台 TinyMCE 输出） ---------------- */
.rich-content, .content { line-height: 1.9; word-break: break-word; }
.rich-content h1, .content h1,
.rich-content h2, .content h2,
.rich-content h3, .content h3 { color: var(--text); margin: 28px 0 14px; line-height: 1.5; }
.rich-content h1, .content h1 { font-size: 28px; }
.rich-content h2, .content h2 { font-size: 23px; }
.rich-content h3, .content h3 { font-size: 19px; }
.rich-content p, .content p { margin: 0 0 16px; }
.rich-content ul, .content ul,
.rich-content ol, .content ol { margin: 0 0 16px; padding-left: 24px; }
.rich-content li, .content li { margin: 0 0 8px; }
.rich-content a, .content a { color: var(--primary); text-decoration: underline; }
.rich-content img, .content img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; margin: 16px auto; }
.rich-content figure, .content figure { margin: 16px 0; text-align: center; }
.rich-content figcaption, .content figcaption { color: var(--text-soft); font-size: 13px; margin-top: 8px; }
.rich-content blockquote, .content blockquote {
  margin: 20px 0; padding: 12px 20px; border-left: 4px solid var(--primary);
  background: #f5f8ff; color: var(--text-soft);
}
.rich-content table, .content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.rich-content table td, .content table td,
.rich-content table th, .content table th { border: 1px solid var(--border); padding: 10px 14px; }
.rich-content table th, .content table th { background: #f5f8ff; color: var(--text); }
.rich-content pre, .content pre {
  background: #0f172a; color: #e5e7eb; padding: 16px 18px; border-radius: var(--radius);
  overflow-x: auto; font-size: 14px; line-height: 1.7;
}
.rich-content code, .content code { font-family: Consolas, Monaco, monospace; }
.rich-content hr, .content hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

.adv-grid, .step-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.adv-item, .step-item { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.adv-item h4, .step-item h4 { margin: 0 0 10px; font-size: 18px; color: var(--primary-dark); }
.adv-item p, .step-item p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.step-item .step-no { display: inline-block; font-size: 30px; font-weight: 900; color: var(--primary); opacity: 0.35; margin-bottom: 8px; }

/* ---------------- CTA ---------------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 32px; font-weight: 800; margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0 0 30px; font-size: 17px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--primary-darker); color: rgba(255, 255, 255, 0.7); padding: 56px 0 24px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .f-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul li a:hover { color: #fff; }
.site-footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------------- 详情页 ---------------- */
.detail { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.detail .back { color: var(--primary); font-weight: 600; display: inline-block; margin-bottom: 20px; }
.detail h1 { font-size: 32px; margin: 0 0 10px; }
.detail .meta { color: var(--text-soft); font-size: 14px; margin-bottom: 24px; }
.detail .cover { height: 320px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-dark), var(--primary)); margin-bottom: 28px; }
.detail .content { color: #333; font-size: 16px; line-height: 1.9; }
.detail .content img { border-radius: 8px; margin: 16px 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .grid-4, .adv-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .section { padding: 56px 0; }
  .section-head .cn { font-size: 26px; }
  .grid-2, .grid-3, .grid-4, .adv-grid, .step-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .site-header nav > a, .site-header .nav-group > a { padding: 0 12px; font-size: 14px; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand .logo { width: 30px; height: 30px; font-size: 15px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat .num { font-size: 28px; }
  .hero-stats .stat .label { font-size: 12px; }
}

/* 窄屏手机：导航只留 LOGO，统计条进一步缩小，避免横向溢出 */
@media (max-width: 480px) {
  .site-header .brand-name { display: none; }
  .site-header nav > a, .site-header .nav-group > a { padding: 0 8px; font-size: 13px; }
  .hero-stats { gap: 14px; }
  .hero-stats .stat .num { font-size: 22px; }
  .hero-stats .stat .label { font-size: 11px; }
}

/* ============================================================
   页面级补充样式
   原 Vue 组件里的 <style scoped> 合并到这里，class 名保持不变。
   ============================================================ */

/* ---------------- 栏目页 ---------------- */
.crumb {
  display: flex; gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px; margin-bottom: 12px;
}
.crumb a { color: inherit; }
.crumb a:hover { color: #fff; }

.column-grid .case-card { display: block; }
.column-grid .case-card .cover {
  height: 150px; font-size: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.column-grid .case-card .body { padding: 18px; }
.column-grid .case-card .body h3 { margin: 0 0 8px; font-size: 17px; }

.empty { text-align: center; color: var(--text-soft); padding: 40px 0; }

/* ---------------- 单页：contact / list 模板 ---------------- */
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.contact-card h3 { margin: 0 0 18px; font-size: 18px; }
.contact-card p {
  display: flex; gap: 12px;
  margin: 0 0 12px; font-size: 14.5px; color: var(--text);
}
.contact-card p span { color: var(--text-soft); min-width: 40px; }
.contact-card p em { font-style: normal; }
.related { margin-top: 56px; }
@media (max-width: 900px) {
  .page-split { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}

/* ---------------- 右侧固定悬浮栏 ---------------- */
.side-tools {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.tool-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  width: 52px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 40, 90, 0.14);
  border: 1px solid var(--border);
}
.tool-item {
  position: relative;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tool-item + .tool-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 20px; height: 1px;
  background: #e2e8f4;
  transform: translateX(-50%);
}
.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: none;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.tool-icon { display: flex; }
.tool-icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-label { font-size: 12px; line-height: 1; letter-spacing: 0.5px; }
.tool-btn:hover,
.tool-btn:focus-visible { color: var(--primary); outline: none; }

/* 向左展开的弹层：底部对齐，靠近视口底部时也不会被裁切 */
.tool-pop {
  position: absolute;
  right: calc(100% + 12px);
  bottom: -6px;
  transform-origin: right bottom;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 40, 90, 0.16);
  border: 1px solid var(--border);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}
.tool-item:hover .tool-pop,
.tool-pop.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.pop-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.pop-text { margin: 4px 0 0; font-size: 12px; color: var(--text-soft); white-space: nowrap; }
.pop-tel {
  display: inline-block;
  margin-top: 4px;
  font-size: 15px; font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.pop-tel:hover { text-decoration: underline; }

.tool-pop-qr { min-width: 168px; padding: 12px; }
.qr-box {
  display: flex; align-items: center; justify-content: center;
  width: 144px; height: 144px;
  margin: 0 auto 8px;
  border-radius: 8px;
  background: var(--bg-soft);
  overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-empty { font-size: 12px; color: var(--text-soft); }

/* ---------------- 返回顶部 ---------------- */
.backtop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  padding: 0; border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 91, 255, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.25s ease;
  /* 默认隐藏，滚动超过阈值后由 site.js 加 .is-visible */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.9);
}
.backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.backtop:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(30, 91, 255, 0.4);
}
.backtop:focus-visible { outline: 3px solid rgba(30, 91, 255, 0.35); outline-offset: 3px; }

@media (max-width: 640px) {
  .side-tools { right: 10px; bottom: 16px; gap: 10px; }
  .tool-list { width: 44px; padding: 8px 0; border-radius: 22px; }
  .tool-item { height: 46px; }
  .tool-icon svg { width: 18px; height: 18px; }
  .tool-label { font-size: 11px; }
  .tool-pop { min-width: 132px; padding: 10px 12px; }
  .tool-pop-qr { min-width: 150px; }
  .qr-box { width: 126px; height: 126px; }
  .backtop { width: 42px; height: 42px; }
  .backtop svg { width: 17px; height: 17px; }
}

/* ---------------- 详情页补充 ---------------- */
.detail .back:hover { text-decoration: underline; }



/* ============================================================
   产品页（page 模板 product）
   —— 版式自建，配色沿用站点变量：主蓝 #1e5bff / 深蓝 #0a2342 / 青 #00d4ff
   ============================================================ */
.prod {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* 顶部数字条：上浮压在深色 Hero 上 */
.prod-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.prod-fact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.prod-fact b {
  display: block;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.prod-fact span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

/* 导语 */
.prod-lead {
  max-width: 880px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* 章节 */
.prod-block { margin-top: 68px; }
.prod-block > .en {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
}
.prod-block > h2 {
  margin: 8px 0 12px;
  font-size: 26px;
  line-height: 1.45;
  color: var(--text);
}
.prod-block > .desc {
  margin: 0 0 26px;
  max-width: 900px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

/* 卡片网格 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 18px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(20, 40, 90, 0.035);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 91, 255, 0.28);
  box-shadow: var(--shadow-hover);
}
.prod-card .no {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 10px;
}
.prod-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}
.prod-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}
.prod-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.prod-card ul li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 7px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}
.prod-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.prod-card .metrics {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.prod-card .metrics div { flex: 1; }
.prod-card .metrics b {
  display: block;
  font-size: 18px;
  color: var(--primary);
  line-height: 1.3;
}
.prod-card .metrics span { font-size: 12px; color: var(--text-soft); }

/* 深色底上的卡片 */
.prod-dark {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  border-radius: 22px;
  padding: 44px 40px;
  margin-top: 68px;
  color: #fff;
}
.prod-dark .en { color: var(--accent); }
.prod-dark > h2, .prod-dark h3 { color: #fff; }
.prod-dark > .desc { color: rgba(255, 255, 255, 0.72); }
.prod-dark .prod-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}
.prod-dark .prod-card h3 { color: #fff; }
.prod-dark .prod-card p, .prod-dark .prod-card li { color: rgba(255, 255, 255, 0.72); }
.prod-dark .prod-card .no, .prod-dark .prod-card .metrics b { color: var(--accent); }

/* 步骤流程 */
.prod-steps {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.prod-step {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.prod-step:hover { border-color: rgba(30, 91, 255, 0.25); background: #fff; }
.prod-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.prod-step h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.prod-step p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-soft); }
.prod-step .tag-en {
  display: block;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

/* 价格卡 */
.prod-prices {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.prod-price {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px;
}
.prod-price.hot {
  border-color: var(--primary);
  box-shadow: 0 16px 44px rgba(30, 91, 255, 0.16);
}
.prod-price .flag {
  position: absolute;
  top: -11px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.prod-price h3 { margin: 0 0 4px; font-size: 18px; }
.prod-price .sub-en {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.prod-price .amount {
  margin: 16px 0 6px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-dark);
  letter-spacing: -1px;
}
.prod-price .amount small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  margin-left: 4px;
  letter-spacing: 0;
}
.prod-price .hint { margin: 0 0 18px; font-size: 13.5px; color: var(--text-soft); }
.prod-price ul { margin: 0; padding: 0; list-style: none; }
.prod-price li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}
.prod-price li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* 对比表 */
.prod-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.prod-table th, .prod-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}
.prod-table thead th {
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.prod-table tbody th {
  width: 158px;
  font-weight: 600;
  color: var(--text);
  background: #fafbfe;
  white-space: nowrap;
}
.prod-table td { color: var(--text-soft); }
.prod-table tr:last-child th, .prod-table tr:last-child td { border-bottom: 0; }

/* 结语 */
.prod-quote {
  margin-top: 72px;
  padding: 46px 44px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 55%, var(--primary) 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.prod-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px 220px at 88% -10%, rgba(0, 212, 255, 0.3), transparent 65%);
}
.prod-quote h3 {
  position: relative;
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.5;
}
.prod-quote p {
  position: relative;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.8);
  max-width: 900px;
}
.prod-quote p:last-child { margin-bottom: 0; }

/* 小字注释 */
.prod-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 数字条（正文中的第二组数据） */
.prod-metrics {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.prod-metric {
  padding: 24px 20px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.prod-metric:first-child { border-left: 0; }
.prod-metric b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}
.prod-metric span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-soft); }

@media (max-width: 960px) {
  .prod-facts { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .prod-steps, .prod-prices, .prod-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-metric:nth-child(3) { border-left: 0; }
  .prod-block > h2 { font-size: 23px; }
  .prod-dark { padding: 34px 24px; }
  .prod-quote { padding: 34px 26px; }
  .prod-quote h3 { font-size: 21px; }
}

@media (max-width: 640px) {
  .prod { padding: 0 16px 72px; }
  .prod-facts { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -30px; }
  .prod-fact { padding: 16px 10px; }
  .prod-fact b { font-size: 21px; }
  .prod-grid, .prod-steps, .prod-prices, .prod-metrics { grid-template-columns: 1fr; }
  .prod-metric { border-left: 0; border-top: 1px solid var(--border); }
  .prod-metric:first-child { border-top: 0; }
  .prod-table { font-size: 13px; }
  .prod-table th, .prod-table td { padding: 11px 12px; }
  .prod-table tbody th { width: 88px; }
  .prod-block { margin-top: 48px; }
}
