/* ==========================================================================
   算数-智包装 · 官网样式表
   --------------------------------------------------------------------------
   组织方式（改动请按段落地，不要零散追加）：
     1  设计变量
     2  基础与版心
     3  顶部导航（servechina 式 mega panel）
     4  移动端抽屉导航
     5  按钮
     6  首屏与横幅
     7  通用板块构件（卡片/网格/环形/标签页/清单/FAQ）
     8  场景图与产线
     9  案例
    10  下载中心
    11  表单 / 资讯 / 法务
    12  页脚（结构对齐 zhubao.zerocod.cn）+ 移动联系条 + 侧边悬浮
    13  响应式
   ========================================================================== */

/* ── 1 设计变量 ───────────────────────────────────────────────────────── */
:root {
  --brand: #00c17c;
  --brand-deep: #009a63;
  --brand-soft: rgba(0, 193, 124, .12);
  --brand-line: rgba(0, 193, 124, .3);
  --ink: #132b26;
  --ink-2: #2c4740;
  --muted: #6b7d78;
  --line: #e3ebe8;
  --bg: #fff;
  --bg-soft: #f5f9f7;
  --bg-dark: #132320;
  --bg-dark-2: #0b1412;
  --shadow: 0 12px 40px rgba(19, 43, 38, .08);
  --shadow-lg: 0 28px 64px -28px rgba(19, 43, 38, .32), 0 4px 14px -8px rgba(19, 43, 38, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --gutter: 20px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ── 2 基础与版心 ─────────────────────────────────────────────────────── */
.wrap { width: min(1160px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* 视觉隐藏（AI/GEO 事实摘要用）：裁剪式隐藏而不是 display:none ——
   display:none 的内容部分爬虫会直接丢弃，裁剪式隐藏对辅助技术与生成式引擎都可见，
   同时又完全不占版面位置，视觉上零影响。 */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── 3 顶部导航 ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(19, 43, 38, .07);
}
.nav-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .5px;
}
.logo-copy { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.logo-slogan { font-size: .7rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); font-size: .9rem; white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav > a:hover, .nav-item > a:hover { color: var(--brand-deep); background: var(--brand-soft); }
.nav > a.on, .nav-item > a.on {
  color: var(--brand-deep); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0;
}
/* 一级项的展开箭头：hover / 展开时旋转，给「这里还有东西」一个明确信号 */
.nav-caret {
  display: inline-block; width: .32rem; height: .32rem; margin-left: .28rem;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .5;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-item.is-open .nav-caret { transform: rotate(225deg) translateY(-1px); opacity: .9; }

/* 二级 mega panel
   定位参照「页头盒子」而不是一级项本身（.nav-item 设成 static），
   于是 left:50% 恒等于视口中心，不管一级项排到多靠边，面板都不会横向溢出 ——
   不需要任何 JS 参与定位。top:100% 让面板紧贴页头下沿，视觉间距由面板自身
   内边距撑出，这样指针从一级项下移到面板时不会经过「谁也不属于」的真空区。 */
.nav-item { position: static; display: inline-flex; align-items: center; }
.nav-panel {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  width: min(52rem, calc(100vw - 2 * var(--gutter)));
  padding-top: .6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-.35rem);
  transition: opacity .16s ease, transform .18s ease, visibility .16s ease;
}
.nav-item.is-open > .nav-panel,
.nav-item:focus-within > .nav-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-panel__card {
  display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: 1.35rem; padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
}
.nav-panel--wide { width: min(62rem, calc(100vw - 2 * var(--gutter))); }
.nav-panel__links {
  display: grid; grid-template-columns: minmax(0, 1fr);
  column-gap: 1.1rem; row-gap: .1rem; align-content: start;
}
.nav-panel__links--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nav-panel__links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 分组小标题：只做分层，不是链接。第二条起加上分隔线，让「讲什么」与
   「凭什么这么讲」在视觉上断开，否则十几项平铺就是一堵墙。 */
.nav-panel__group {
  grid-column: 1 / -1; margin: .55rem 0 .05rem; padding: .6rem .65rem 0;
  border-top: 1px solid var(--line);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--muted);
}
.nav-panel__group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.nav-panel__links > a { display: grid; gap: .1rem; padding: .5rem .65rem; border-radius: 9px; }
.nav-panel__links strong { font-size: .86rem; font-weight: 600; color: var(--ink); }
.nav-panel__links em { font-style: normal; font-size: .76rem; line-height: 1.4; color: var(--muted); }
.nav-panel__links > a:hover { background: var(--bg-soft); }
.nav-panel__links > a:hover strong { color: var(--brand-deep); }
.nav-panel__feature {
  display: grid; gap: .45rem; align-content: start;
  padding: .55rem .55rem .7rem; background: var(--bg-soft); border-radius: 12px;
}
.nav-panel__feature img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; border-radius: 9px; background: #dfeae6;
}
.nav-panel__feature strong,
.nav-panel__feature em,
.nav-panel__cta { padding: 0 .4rem; }
.nav-panel__feature strong { font-size: .85rem; font-weight: 600; color: var(--ink); }
.nav-panel__feature em { font-style: normal; font-size: .75rem; line-height: 1.45; color: var(--muted); }
.nav-panel__cta { font-size: .75rem; font-weight: 600; color: var(--brand-deep); }
.nav-cta { margin-left: 8px; }
.nav-burger {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

/* ── 4 移动端抽屉导航 ─────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px var(--gutter) 40px;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.mobile-nav__close {
  width: 38px; height: 38px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; font-size: 1.1rem; cursor: pointer; color: var(--ink);
}
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; font-weight: 600; list-style: none; cursor: pointer;
}
.mnav-group > summary::-webkit-details-marker { display: none; }
.mnav-group > summary::after {
  content: "+"; color: var(--brand); font-size: 1.2rem; font-weight: 400;
}
.mnav-group[open] > summary::after { content: "−"; }
.mnav-group a {
  display: block; padding: 11px 14px; border-radius: 8px;
  font-size: .92rem; color: var(--ink-2);
}
.mnav-group a:hover { background: var(--bg-soft); color: var(--brand-deep); }
.mnav-links { padding: 6px 0 14px; }
.mobile-nav > a.mnav-top {
  display: block; padding: 14px 2px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 20px; }

/* ── 5 按钮 ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; font-family: inherit;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0b1f1a; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ── 6 首屏与横幅 ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 84px;
  background:
    radial-gradient(760px 380px at 82% 14%, rgba(0, 193, 124, .16), transparent 62%),
    radial-gradient(520px 300px at 6% 84%, rgba(0, 154, 99, .09), transparent 58%),
    linear-gradient(180deg, #f2faf6 0%, #fff 74%);
}
.hero.compact { padding: 52px 0 44px; text-align: center; }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-tabs button {
  border: 0; background: #fff; color: #4f6660; padding: 8px 18px; border-radius: 999px;
  font: inherit; cursor: pointer; box-shadow: 0 2px 10px rgba(19, 43, 38, .05);
  transition: background .2s, color .2s;
}
.hero-tabs button.on { background: var(--ink); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.8vw, 2.72rem); line-height: 1.2; letter-spacing: -.022em; }
.hero .sub { margin: 0 0 12px; color: var(--brand-deep); font-weight: 600; font-size: 1.04rem; }
.hero .lead { margin: 0 0 24px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero.compact .hero-actions { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .84rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* 横幅视觉：业务场景实景插画 + 一张半浮的经营卡片，
   用「车间在左、看板在右」的构图说明「系统长在业务现场里」。 */
.hero-visual { position: relative; }
.hero-visual__shot {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #dfeae6;
}
.hero-visual__shot img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
.hero-visual__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.hero-visual__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.hero-visual__float {
  position: absolute; right: -10px; bottom: -18px; z-index: 2;
  width: 216px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; box-shadow: var(--shadow-lg);
}
.hero-visual__float b { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.hero-visual__float .v { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hero-visual__float .bar { height: 6px; border-radius: 3px; background: var(--brand); margin-top: 10px; }
.hero-visual__float .bar.mut { background: var(--line); width: 62%; margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: .85rem; color: #445c56;
}
.hero-art { min-height: 300px; }

/* ── 7 通用板块构件 ───────────────────────────────────────────────────── */
.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.stats {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 28px 22px 24px; text-align: center;
  border: 1px solid var(--line);
}
.stats h2 { margin: 0 0 22px; font-size: 1.32rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.stat { padding: 4px 10px; }
.stat .num { font-size: 1.85rem; font-weight: 800; color: var(--brand-deep); line-height: 1.15; }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.stat-ico {
  width: 44px; height: 44px; margin: 0 0 10px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 800;
}
.g-item .stat-ico, .flow-item .flow-num { margin-left: auto; margin-right: auto; }

section { padding: 68px 0; }
section.soft { background: var(--bg-soft); }
section.tight { padding: 44px 0; }
.sec-title {
  text-align: center; margin: 0 0 12px;
  font-size: clamp(1.42rem, 2.7vw, 1.96rem); letter-spacing: -.02em;
}
.sec-desc { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 46em; }
.sec-more { text-align: center; margin-top: 26px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 6px 24px rgba(19, 43, 38, .03);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { margin: 0 0 10px; font-size: 1.06rem; }
.card h4 { margin: 0 0 6px; font-size: .98rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card:hover { border-color: var(--brand-line); box-shadow: 0 12px 34px rgba(19, 43, 38, .07); }
.card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--brand-deep); font-size: .88rem; font-weight: 600; }

/* 能力标签：li 与 span 两种写法都支持 —— 语义化列表用 li，
   内联补充用 span，样式上不该让写页面的人被迫选一种。 */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li, .tags span {
  font-size: .74rem; color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 999px; padding: 3px 9px; line-height: 1.5;
}

.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.ring {
  aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--brand) var(--p), #e7efec 0);
  display: grid; place-items: center; position: relative;
}
.ring::after { content: ""; position: absolute; inset: 12%; background: #fff; border-radius: 50%; }
.ring span { position: relative; z-index: 1; font-weight: 800; color: var(--brand-deep); font-size: .9rem; }
.rings small { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; }

.metric-list { margin: 0; padding: 0; list-style: none; }
.metric-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .94rem;
}
.metric-list li:last-child { border-bottom: 0; }
.metric-list span { color: var(--muted); }
.metric-list strong { color: var(--brand-deep); }

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button {
  border: 0; background: transparent; padding: 11px 20px; font: inherit;
  color: #839590; cursor: pointer; border-radius: 12px; font-weight: 600;
}
.tabs button.on { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow); }
.panel {
  display: none; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
  background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line);
}
.panel.on { display: grid; }
.panel .shot { border-radius: 14px; overflow: hidden; background: #dfeae6; box-shadow: var(--shadow); }
.panel .shot img { width: 100%; height: auto; aspect-ratio: 9 / 5.6; object-fit: cover; }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 28px; color: #3d544e; font-size: .95rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}

/* 旧版 mock 构件保留：部分内页仍在使用，不必为了删样式去改无风险的内容 */
.mock-stack { position: relative; min-height: 240px; }
.mock-desk {
  background: #10201d; color: #dcece7; border-radius: 12px; padding: 14px;
  box-shadow: var(--shadow); font-size: .78rem;
}
.mock-desk .bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-desk .bar i { width: 8px; height: 8px; border-radius: 50%; background: #33463f; }
.mock-desk .bar i:first-child { background: #ff5f57; }
.mock-desk .bar i:nth-child(2) { background: #febc2e; }
.mock-desk .bar i:nth-child(3) { background: #28c840; }
.mock-row {
  display: grid; grid-template-columns: 1.2fr .6fr .5fr; gap: 8px;
  padding: 8px 10px; margin-bottom: 6px; background: rgba(255, 255, 255, .05); border-radius: 6px;
}
.pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 193, 124, .22); color: #7fe0c8; font-size: .7rem;
}
.mock-phone {
  position: absolute; right: 8px; bottom: -10px; width: 140px;
  background: #fff; border: 4px solid #1d2b28; border-radius: 18px;
  padding: 10px 8px; box-shadow: var(--shadow); color: var(--ink);
}
.mock-phone .ph-title { font-weight: 700; font-size: .75rem; margin-bottom: 8px; }
.mock-phone .ph-card { background: #f2f6f5; border-radius: 8px; padding: 8px; margin-bottom: 6px; font-size: .65rem; }

.flow-num {
  width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.flow-item, .g-item { text-align: center; }

.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band {
  background: linear-gradient(120deg, #0a3a2d, #009a63 72%);
  color: #fff; border-radius: 24px; padding: 42px 28px; text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0 0 20px; opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-primary:hover { background: #eafaf3; }

/* ── 8 场景图与产线 ───────────────────────────────────────────────────── */
/* 统一比例 + cover：所有场景插画同尺寸，网格里不会一高一低，
   换图也不用改样式（这是最容易崩的一处：不同比例的图会把卡片顶歪）。 */
.shot { overflow: hidden; background: #dfeae6; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.ind { overflow: hidden; padding: 0; }
.ind .shot { border-radius: var(--radius) var(--radius) 0 0; }
.ind .shot img { aspect-ratio: 16 / 10; }
.ind .body { padding: 16px 18px 18px; }
.ind h3 { margin: 0 0 8px; font-size: 1.03rem; }
.ind p { margin: 0 0 10px; color: var(--muted); font-size: .89rem; }
.ind .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ind .tags span {
  font-size: .74rem; color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 999px; padding: 2px 8px;
}
/* 旧的 emoji 占位块保留：万一有页面没换图，也不会塌成空白 */
.ind-art {
  height: 148px; background: linear-gradient(135deg, #e8f8f1, #d7f0e7);
  display: grid; place-items: center; font-size: 2rem; overflow: hidden;
}
.ind-art img { width: 100%; height: 100%; object-fit: cover; }

/* 四线换算对照表：采购按㎡/kg、销售按个/张，这一张表是「为什么必须换算」的答案 */
.conv-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.conv-table caption { text-align: left; padding: 0 0 12px; color: var(--muted); font-size: .86rem; }
.conv-table th, .conv-table td { padding: 12px 14px; text-align: left; font-size: .88rem; border-bottom: 1px solid var(--line); }
.conv-table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.conv-table td { color: var(--muted); }
.conv-table td strong { color: var(--brand-deep); }
.conv-table tr:last-child td { border-bottom: 0; }

/* ── 9 案例 ───────────────────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-card .thumb { position: relative; background: #dfeae6; }
.case-card .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.case-card:hover .thumb img { transform: scale(1.04); }
.case-card .thumb .badge {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, .94); color: var(--brand-deep);
  font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.case-card .body { padding: 16px 18px 18px; }
.case-card .tag {
  display: inline-block; background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 999px; padding: 2px 8px; font-size: .74rem; margin-bottom: 8px;
}
.case-card h3 { margin: 0 0 8px; font-size: 1rem; }
.case-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.case-card dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .82rem; }
.case-card dt { color: var(--muted); }
.case-card dd { margin: 0; color: var(--ink-2); }

.case-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory;
}
.case { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.case .avatar {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), #63d9ad);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.case h4 { margin: 0 0 4px; }
.case .meta { color: var(--muted); font-size: .84rem; margin-bottom: 12px; }
.case p { margin: 0; color: #3d544e; font-size: .9rem; }

/* ── 10 下载中心 ──────────────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 6px 24px rgba(19, 43, 38, .03);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.dl-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.dl-card__ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center; font-weight: 800; font-size: .78rem;
  background: var(--brand-soft); color: var(--brand-deep); letter-spacing: .5px;
}
.dl-card__ico.xlsx { background: rgba(16, 124, 65, .12); color: #107c41; }
.dl-card__ico.pptx { background: rgba(197, 90, 17, .12); color: #c55a11; }
.dl-card__ico.docx { background: rgba(43, 87, 154, .12); color: #2b579a; }
.dl-card h3 { margin: 0 0 8px; font-size: 1.04rem; }
.dl-card p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.dl-card ul { list-style: none; margin: 0 0 18px; font-size: .86rem; color: var(--ink-2); display: grid; gap: 6px; }
.dl-card ul li { position: relative; padding-left: 16px; }
.dl-card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.dl-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-size: .78rem; color: var(--muted); margin-bottom: 14px;
}
.dl-card__meta span { background: var(--bg-soft); border-radius: 999px; padding: 3px 10px; }
.dl-card__foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.dl-note {
  max-width: 880px; margin: 28px auto 0; padding: 16px 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  font-size: .88rem; color: var(--muted);
}
.dl-note strong { color: var(--ink); }
.dl-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dl-table th, .dl-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.dl-table th { background: var(--bg-soft); font-weight: 600; }
.dl-table a { color: var(--brand-deep); font-weight: 600; }

/* ── 11 表单 / 资讯 / 法务 ────────────────────────────────────────────── */
.form { max-width: 540px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-size: .88rem; margin: 0 0 6px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; margin-bottom: 14px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.form .hint { font-size: .8rem; color: var(--muted); margin: -6px 0 14px; }
.ok-msg { display: none; background: var(--brand-soft); color: var(--brand-deep); padding: 12px; border-radius: 10px; margin-bottom: 12px; }

.article-list { display: grid; gap: 14px; }
.article-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; align-items: center;
}
.article-item .date { background: var(--bg-soft); border-radius: 10px; text-align: center; padding: 12px; color: var(--brand-deep); font-weight: 700; }
.article-item h3 { margin: 0 0 6px; font-size: 1.02rem; }
.article-item p { margin: 0; color: var(--muted); font-size: .9rem; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin: 28px 0 10px; font-size: 1.14rem; }
.legal p, .legal li { color: #3d544e; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.filter-bar button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; cursor: pointer; }
.filter-bar button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── 12 页脚（结构对齐 zhubao.zerocod.cn）＋移动联系条 ──────────────── */
.site-footer {
  position: relative; z-index: 1; margin-top: 36px; padding: 0 0 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #b9cbc5; overflow: hidden;
}
/* 页头与页脚之间的一道渐隐亮线：从透明到品牌色再到透明。
   它替代了「一条实线分割」，顶栏与页脚因此有呼应但不喧哗。 */
.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 193, 124, .38) 20%, rgba(0, 193, 124, .6) 50%, rgba(0, 193, 124, .38) 80%, transparent 100%);
}
.footer-shell { position: relative; padding: 32px 24px 20px; }
/* 品牌 | 三列导航 | 二维码，二维码独占一列并垂直居中，让三列底部视觉齐平 */
.footer-main {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) auto;
  gap: 24px 36px; align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo-link { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #08130f; display: grid; place-items: center; font-weight: 800;
}
.footer-logo-text { color: #fff; font-weight: 700; font-size: 1.08rem; }
.footer-slogan { font-size: .8rem; color: #8fa79f; line-height: 1.6; margin: 0; max-width: 240px; }
.footer-cta {
  display: inline-flex; align-items: center; margin-top: 2px;
  padding: 7px 16px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  color: #08130f; background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  transition: filter .2s, box-shadow .2s;
}
.footer-cta:hover { filter: brightness(1.08); box-shadow: 0 3px 12px rgba(0, 193, 124, .32); }
.footer-qr-col { align-self: center; justify-self: end; }
.footer-qr { display: flex; align-items: center; gap: 12px; margin: 0; }
.footer-qr img {
  display: block; flex-shrink: 0; width: 82px; height: 82px;
  border-radius: 8px; background: #fff; padding: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.footer-qr figcaption { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-qr figcaption strong { font-size: .8rem; color: #fff; }
.footer-qr figcaption span { font-size: .72rem; color: #8fa79f; line-height: 1.5; max-width: 140px; }

.footer-nav-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.footer-col h4 { font-size: .74rem; letter-spacing: .06em; color: var(--brand); margin: 0 0 10px; font-weight: 600; }
.footer-col-list { list-style: none; margin: 0; padding: 0; }
.footer-col-list a {
  display: block; font-size: .8rem; color: #9fb5ae; text-decoration: none;
  padding: 3px 0; line-height: 1.45; transition: color .2s;
}
.footer-col-list a:hover { color: #fff; }

/* 信任条：公司主体 / 资质胶囊 / 联系信息三段共用同一量度并居中。
   三段各自占满宽度会「一长一短」显得参差，所以统一限宽在 880px。 */
.footer-trust-bar {
  max-width: 1000px; margin: 0 auto; padding: 16px 24px 12px;
  border-top: 1px solid rgba(255, 255, 255, .07); text-align: center;
}
.footer-trust-line, .footer-trust-badges, .footer-trust-meta { max-width: 880px; margin-inline: auto; }
.footer-trust-line { margin: 0 auto 12px; font-size: .78rem; color: #9fb5ae; line-height: 1.6; }
.footer-trust-line strong { color: var(--brand); font-weight: 600; }
.footer-trust-sep { margin: 0 6px; opacity: .35; }
.footer-trust-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 12px; padding: 0; }
.footer-trust-badges li {
  font-size: .72rem; color: var(--brand); background: rgba(0, 193, 124, .08);
  border: 1px solid rgba(0, 193, 124, .22); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.footer-trust-meta { margin: 0 auto; font-size: .78rem; color: #9fb5ae; line-height: 1.7; }
.footer-trust-meta a { color: #9fb5ae; text-decoration: none; }
.footer-trust-meta a:hover { color: #fff; }

.footer-bottom {
  max-width: 1000px; margin: 0 auto; padding: 12px 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, .05); text-align: center;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 8px; }
.footer-bottom-links a { font-size: .74rem; color: #9fb5ae; }
.footer-bottom-links a:hover { color: #fff; }
.footer-copyright { margin: 0; font-size: .72rem; color: #87988f; line-height: 1.6; }

/* 移动端底部联系条：电话 / 微信 / 预约三个动作常驻，
   现场销售演示时不用回顶部找联系方式。 */
.mobile-contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: 1px; background: var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-contact-bar-btn {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 4px; background: #fff; font-size: .7rem; color: var(--ink-2);
}
.mobile-contact-bar-icon { font-size: 1rem; line-height: 1.1; }
.mobile-contact-bar-btn--cta { background: var(--brand); color: #fff; }

/* 侧边悬浮：桌面端保留「电话 / 系统」两个动作 */
.dock { position: fixed; right: 16px; bottom: 24px; z-index: 44; display: flex; flex-direction: column; gap: 8px; }
.dock a {
  width: 54px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 6px; text-align: center;
  font-size: .72rem; box-shadow: var(--shadow); color: var(--ink-2);
}
.dock a:hover { color: var(--brand-deep); border-color: var(--brand); }
.dock .ico { font-size: 1.05rem; display: block; margin-bottom: 4px; }
.chat { display: none !important; }

/* ── 13 响应式 ────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav > a, .nav-item > a { padding: 8px 9px; font-size: .86rem; }
  .nav-panel__links--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  /* 移动端不再「把导航藏起来」：改为汉堡 + 全屏抽屉，
     否则手机访客完全没有入口（旧版就是这个问题）。 */
  .nav, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-contact-bar { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

  .hero { padding: 32px 0 72px; }
  .hero-grid, .grid-2, .panel.on, .grid-4, .case-grid, .dl-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual__float { right: 8px; bottom: -14px; width: 190px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-col { align-items: center; text-align: center; }
  .footer-slogan { max-width: 300px; margin: 0 auto; }
  .footer-qr-col { justify-self: center; align-self: center; }
  .footer-qr { align-items: center; }
  .footer-qr figcaption span { max-width: 200px; }
  .footer-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07); }
  .footer-col { text-align: center; }
  .footer-trust-meta .footer-trust-sep { display: none; }
  .footer-trust-meta span, .footer-trust-meta a { display: block; }
  .dock { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  section { padding: 52px 0; }
  .hero-grid, .grid-2, .panel.on, .stats-grid, .grid-3, .grid-4,
  .case-grid, .dl-grid, .article-item { grid-template-columns: 1fr; }
  .stats-grid { text-align: center; }
  .stat-ico { margin-left: auto; margin-right: auto; }
  .hero-visual__float { position: static; width: 100%; margin-top: 12px; }
  .mock-phone { position: relative; right: auto; bottom: auto; margin-top: 12px; width: 100%; }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-trust-badges li { white-space: normal; }
  .footer-shell { padding: 22px 16px 14px; }
  .footer-trust-bar { padding: 14px 16px; }
  .panel { padding: 18px; }
  .conv-table { font-size: .82rem; }
  .conv-table th, .conv-table td { padding: 10px; }
}
