/* ============================================================
 * ANATEM Solutions · 全局样式
 * 样式参考 knover.cn（SaaS 落地页风格：Inter/Noto 字体、蓝色主色、
 * 超大加粗标题、圆角卡片、毛玻璃导航、渐变光斑、深色页脚）
 * ============================================================ */

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

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background-color: var(--blue-100); color: var(--blue-700); }

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

/* ═══════════════ 布局工具 ═══════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: #fff; }
.section--gray { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 16px; }
.section-head p { color: var(--slate-500); font-size: 16px; font-weight: 500; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ═══════════════ 导航栏 ═══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .3s ease;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--slate-100); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-logo { display: block; height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.nav-logo {
  width: 40px; height: 40px;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--blue-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(37,99,235,.25);
}
.nav-logo-img {
  position: absolute; max-width: none; width: 80px; height: auto;
  left: -20px; top: -2px;
}
.nav-brand-name {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: pre-line;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-600); }
.nav-search { position: relative; display: flex; align-items: stretch; margin-left: 6px; }
.nav-search-input {
  width: 196px;
  padding: 9px 14px;
  border: 1px solid var(--slate-200);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.nav-search-input::placeholder { color: var(--slate-400); }
.nav-search-input:focus { border-color: var(--blue-600); }
.nav-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px;
  padding: 0;
  border: 1px solid var(--blue-600);
  border-radius: 0 999px 999px 0;
  background: var(--blue-600);
  color: #fff;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.nav-search-btn:hover { background: var(--blue-700); border-color: var(--blue-700); }
.nav-search-btn svg { display: block; }
.nav-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-height: 62vh;
  overflow: auto;
  padding: 8px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(24,52,92,.16);
  display: none;
  z-index: 120;
}
.nav-search-results.open { display: block; }
.nav-search .ns-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--slate-600);
  white-space: normal;
}
.nav-search .ns-item:hover, .nav-search .ns-item.active { background: var(--blue-50); color: var(--blue-700); }
.ns-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ns-title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.ns-sub { font-size: 11px; color: var(--slate-400); line-height: 1.45; }
.ns-kind {
  flex: none;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  color: var(--blue-600); background: var(--blue-50);
  border: 1px solid var(--blue-100); border-radius: 999px;
  padding: 2px 8px;
}
.nav-search .ns-item.active .ns-kind, .nav-search .ns-item:hover .ns-kind { background: #fff; }
.nav-search mark { background: rgba(37,99,235,.16); color: inherit; border-radius: 3px; padding: 0 1px; }
.ns-empty { padding: 16px 12px; font-size: 12px; color: var(--slate-400); text-align: center; line-height: 1.7; }
.nav-toggle { display: none; border: none; background: none; cursor: pointer; padding: 6px; }

/* ═══════════════ 按钮 ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 14px 30px;
  transition: all .18s ease;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 15px 30px -10px rgba(37,99,235,.4);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--slate-700); border: 1px solid var(--slate-200); }
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-600); }
.btn-dark { background: var(--slate-900); color: #fff; }
.btn-dark:hover { background: var(--slate-800); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ═══════════════ 首页 Hero ═══════════════ */
.hero {
  position: relative;
  padding: 168px 0 96px;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  filter: blur(160px);
}
.hero-bg::before { top: -200px; left: -200px; background: var(--blue-100); opacity: .5; }
.hero-bg::after { bottom: -300px; right: -200px; background: #e0e7ff; opacity: .4; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--slate-100);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--blue-600); border-radius: 50%; animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.5); } 100% { box-shadow: 0 0 0 12px rgba(37,99,235,0); } }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--blue-600); }
.accent-blue { color: var(--blue-700); }
.hero-sub { color: var(--slate-600); font-size: clamp(16px, 2vw, 20px); max-width: 720px; margin: 0 auto 40px; font-weight: 500; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 20px 36px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.05);
}
.hero-stat { display: flex; align-items: center; gap: 9px; }
.hero-stat .num { font-size: 22px; font-weight: 800; color: var(--slate-900); }
.hero-stat .lbl { font-size: 12px; font-weight: 700; color: var(--slate-500); letter-spacing: .04em; }
.hero-stat .ic { width: 34px; height: 34px; background: var(--blue-50); color: var(--blue-600); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ═══════════════ 卡片网格 ═══════════════ */
.grid { display: grid; gap: 28px; }
.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: 1px solid var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: all .35s ease;
}
.card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.12);
  transform: translateY(-6px);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  transition: all .3s ease;
}
.card:hover .card-icon { background: var(--blue-600); }
.card-icon i { font-style: normal; filter: grayscale(0); }
.card:hover .card-icon i { filter: grayscale(1) brightness(4); }
.software-card-icon { overflow: hidden; }
.card:hover .software-card-icon { background: var(--blue-50); }
.software-logo { width: 100%; height: 100%; display: grid; place-items: center; }
.software-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; transition: transform .25s ease; }
.card:hover .software-logo-img { transform: scale(1.06); }
.software-mark {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--blue-700); font-size: 14px; font-weight: 900;
  letter-spacing: -.06em; line-height: 1; font-family: Arial, sans-serif;
}
.software-mark-dens { color: #1b4c8f; font-size: 11px; letter-spacing: -.12em; }
.software-mark-gatan { color: #1684c7; font-size: 28px; letter-spacing: -.12em; }
.software-mark-crystalmaker { color: #4765d8; font-size: 15px; }
.software-mark-origin { color: #e56b2f; font-size: 30px; }
.software-mark-matlab { color: #c4473b; font-size: 10px; letter-spacing: -.08em; }
.software-mark-vesta { color: #2764c7; font-size: 28px; }
.software-mark-eels { color: #0f8b8d; font-size: 12px; letter-spacing: -.1em; }
.software-mark-strainpp { color: #7c3aed; font-size: 20px; }
.software-mark-cod { color: #21865b; font-size: 13px; letter-spacing: -.1em; }
.software-mark-materials { color: #6c4bc2; font-size: 20px; }
.software-mark-hrem { color: #1f6d70; font-size: 11px; letter-spacing: -.1em; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; }
.card:hover h3 { color: var(--blue-600); }
.card .card-desc { color: var(--slate-500); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--slate-600); }
.card-list li::before { content: '✓'; color: var(--blue-600); font-weight: 900; flex-shrink: 0; }

/* 标签 */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
}
.tag-blue { background: var(--blue-50); color: var(--blue-700); }

/* ═══════════════ 工具卡片（工具中心） ═══════════════ */
.tool-card { position: relative; display: flex; flex-direction: column; }
.tool-card .tool-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tool-price { font-size: 12px; font-weight: 800; color: var(--blue-700); background: var(--blue-50); padding: 4px 12px; border-radius: 999px; }
.tool-badge-live { position: absolute; top: 20px; right: 20px; }
.badge-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; color: #059669;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  padding: 3px 10px; border-radius: 999px;
}
.badge-live .dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; }
.tool-card .card-list { margin-bottom: 22px; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }

/* ═══════════════ 知识库 ═══════════════ */
.kb-module {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s ease;
}
.kb-module:hover { border-color: rgba(37,99,235,.3); box-shadow: 0 16px 36px -18px rgba(0,0,0,.14); }
.kb-module-head {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.kb-module-head .m-icon { font-size: 26px; }
.kb-module-head .m-copy { display: grid; }
.kb-module-head .m-title { font-size: 18px; font-weight: 700; }
.kb-module-head .m-sub { font-size: 13px; color: var(--slate-400); font-weight: 500; }
.kb-module-head .m-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.kb-module-head .m-chev { transition: transform .25s; color: var(--slate-400); }
.kb-module.open .m-chev { transform: rotate(90deg); }
.kb-module-intro { padding: 0 28px 22px; color: var(--slate-500); font-size: 14px; }
.kb-articles { display: none; border-top: 1px solid var(--slate-100); }
.kb-module.open .kb-articles { display: block; }
.kb-article {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 13px 28px;
  border: 0;
  border-bottom: 1px solid var(--slate-100);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.kb-article:last-child { border-bottom: none; }
.kb-article:hover { background: var(--blue-50); color: var(--blue-700); }
.kb-article .a-en { margin-left: auto; font-size: 12px; color: var(--slate-400); font-weight: 500; text-align: right; }
.kb-article .a-min { font-size: 11px; color: var(--slate-400); white-space: nowrap; }
.kb-empty { padding: 24px 28px; color: var(--slate-500); text-align: center; }

/* ═══════════════ 知识库文章详情弹窗 ═══════════════ */
dialog.article-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  overflow: auto;
}
dialog.article-modal::backdrop {
  background: rgba(15,23,42,.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.article-modal-content {
  position: relative;
  width: min(640px, 100%);
  margin: 6vh auto;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
}
.article-modal-content h2 { margin-bottom: 6px; font-size: 24px; font-weight: 900; }
.article-modal-en { margin-bottom: 20px; font-size: 13px; }
.article-modal-reading { margin-top: 16px; font-size: 13px; }
.article-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 16px;
  cursor: pointer;
}

/* ═══════════════ 知识库 · GPA 专区 ═══════════════ */
.gpa-topic { margin-bottom: 46px; }
.gpa-topic .gpa-article { text-decoration: none; }
@media (max-width: 600px) {
  dialog.article-modal { padding: 12px; }
  .article-modal-content { margin: 4vh auto; padding: 28px 20px; border-radius: 18px; }
  .kb-module-head { gap: 12px; padding: 20px 18px; }
  .kb-article { gap: 8px; padding: 13px 18px; }
  .kb-article .a-en { display: none; }
}

/* ═══════════════ 服务 / 流程 ═══════════════ */
.step-list { display: grid; gap: 20px; counter-reset: step; }
.step {
  display: flex; gap: 20px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  padding: 24px 28px;
  transition: all .3s ease;
}
.step:hover { border-color: rgba(37,99,235,.3); box-shadow: 0 12px 28px -14px rgba(0,0,0,.12); }
.step-num {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--blue-600);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.step p { color: var(--slate-500); font-size: 14px; font-weight: 500; }

.guarantee-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.guarantee {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--slate-100);
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--slate-700);
}
.guarantee::before { content: '✓'; color: var(--blue-600); font-weight: 900; }

/* ═══════════════ 工具工作台 ═══════════════ */
.workbench { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.workbench-side {
  background: #fff; border: 1px solid var(--slate-100);
  border-radius: 20px; padding: 20px;
  position: sticky; top: 92px;
}
.workbench-side h3 { font-size: 14px; font-weight: 800; margin-bottom: 12px; color: var(--slate-700); }
.workbench-side .side-list { display: flex; flex-direction: column; gap: 6px; }
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--slate-600);
  transition: all .15s;
}
.side-item:hover { background: var(--slate-50); }
.side-item.active { background: var(--blue-50); color: var(--blue-700); }
.workbench-main { background: #fff; border: 1px solid var(--slate-100); border-radius: 20px; padding: 28px; min-height: 520px; }
.workbench-main h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.workbench-main .wb-desc { color: var(--slate-500); font-size: 14px; margin-bottom: 22px; }

.panel { display: none; }
.panel.active { display: block; }
.upload-zone {
  border: 2px dashed var(--slate-200);
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  color: var(--slate-500);
  transition: all .2s;
  margin-bottom: 20px;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.upload-zone .big { font-size: 40px; display: block; margin-bottom: 8px; }

.canvas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.canvas-box { background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 14px; padding: 12px; }
.canvas-box h4 { font-size: 13px; font-weight: 700; color: var(--slate-600); margin-bottom: 8px; }
.canvas-box canvas { width: 100%; border-radius: 8px; background: #000; image-rendering: pixelated; }

.control-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin: 16px 0; }
.control { display: flex; flex-direction: column; gap: 6px; }
.control label { font-size: 12px; font-weight: 700; color: var(--slate-600); }
.control input[type="range"] { width: 180px; accent-color: var(--blue-600); }
.control input[type="number"], .control input[type="text"], .control select {
  padding: 9px 12px; border: 1px solid var(--slate-200); border-radius: 10px;
  font-family: inherit; font-size: 14px; outline: none;
}
.control input:focus, .control select:focus { border-color: var(--blue-500); }
.control .val { font-size: 12px; color: var(--slate-500); font-weight: 600; }

.result-note { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: var(--blue-700); font-weight: 600; margin-top: 16px; }

/* ═══════════════ 论坛 ═══════════════ */
.post {
  background: #fff; border: 1px solid var(--slate-100); border-radius: 18px; padding: 22px 26px;
  transition: all .25s;
}
.post:hover { border-color: rgba(37,99,235,.25); box-shadow: 0 10px 24px -12px rgba(0,0,0,.1); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.post-title { font-size: 16px; font-weight: 800; }
.post-meta { font-size: 12px; color: var(--slate-400); font-weight: 500; }
.post-body { color: var(--slate-600); font-size: 14px; margin-bottom: 12px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; color: var(--slate-700); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--slate-200); border-radius: 12px;
  font-family: inherit; font-size: 14px; outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue-500); }

/* ═══════════════ 页脚 ═══════════════ */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(96px, max-content)); gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-plate { display: inline-flex; align-items: center; justify-content: center; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.footer-brand-logo { display: block; width: 74px; height: auto; object-fit: contain; }
.footer-brand .nav-logo { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
.footer-brand-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-desc { font-size: 13px; font-weight: 500; max-width: 300px; line-height: 1.7; }
.footer h5 { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 13px; font-weight: 600; transition: color .15s; }
.footer ul a:hover { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; color: var(--slate-500);
}

/* ═══════════════ 通用 ═══════════════ */
.muted { color: var(--slate-500); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.page-hero { padding: 152px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 18px; }
.page-hero p { color: var(--slate-500); font-size: 17px; font-weight: 500; max-width: 680px; margin: 0 auto; }

/* ═══════════════ 响应式 ═══════════════ */
@media (max-width: 1024px) {
  .navbar-inner { padding: 0 12px; }
  .nav-brand { gap: 7px; flex-shrink: 0; }
  .nav-brand-logo { height: 28px; }
  .nav-logo { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .nav-brand-name { font-size: 15px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 6px; font-size: 13px; }
  .nav-login { padding: 7px 10px; font-size: 12px; }
  .nav-search-input { width: 150px; padding: 8px 11px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workbench { grid-template-columns: 1fr; }
  .workbench-side { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 12px 20px 20px; box-shadow: 0 16px 32px rgba(0,0,0,.08);
  }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .canvas-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 140px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ 登录 / 注册 ═══════════════ */
.nav-auth { display: flex; align-items: center; }
.nav-login {
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-700);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.nav-login:hover { border-color: var(--blue-300); color: var(--blue-600); }
.nav-user {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 6px 4px 4px;
  border: 1px solid var(--slate-200); border-radius: 999px; background: #fff;
  white-space: nowrap;
}
.nav-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.nav-user-name {
  font-size: 13px; font-weight: 700; color: var(--slate-700);
  max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-logout {
  border: none; background: var(--slate-100); color: var(--slate-600);
  font-family: inherit; font-size: 12px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.nav-logout:hover { background: #fee2e2; color: #dc2626; }

.auth-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(4px);
  padding: 24px; overflow: auto;
  justify-content: center; align-items: flex-start;
}
.auth-card {
  position: relative;
  width: 100%; max-width: 400px;
  margin: 6vh auto;
  background: #fff; border-radius: 24px; padding: 32px 28px 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
}
.auth-close {
  position: absolute; top: 14px; right: 16px;
  border: none; background: var(--slate-100);
  width: 34px; height: 34px; border-radius: 10px; font-size: 15px; cursor: pointer;
  color: var(--slate-500);
}
.auth-close:hover { background: var(--slate-200); color: var(--slate-800); }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.auth-brand .nav-logo { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
.auth-brand-logo { display: block; height: 26px; width: auto; max-width: 100%; object-fit: contain; }
.auth-title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; }
.auth-tabs { display: flex; gap: 4px; background: var(--slate-100); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.auth-tab {
  flex: 1; border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--slate-500);
  padding: 9px 6px; border-radius: 9px; transition: all .15s; white-space: nowrap;
}
.auth-tab.active { background: #fff; color: var(--blue-700); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.auth-pane .form-field { margin-bottom: 14px; }
.auth-error { display: none; color: #dc2626; font-size: 12px; font-weight: 600; margin: -4px 0 12px; }
.auth-wechat { text-align: center; padding: 8px 0 4px; }
.auth-wechat-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  background: #e8f9ef; color: #07c160;
  border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.btn-wechat {
  background: #07c160; color: #fff;
  box-shadow: 0 15px 30px -10px rgba(7, 193, 96, .4);
}
.btn-wechat:hover { background: #06ad56; transform: translateY(-2px); }
.auth-qr-tip { text-align: center; color: var(--slate-500); font-size: 13px; font-weight: 500; }
.auth-code-row { display: flex; gap: 10px; }
.auth-code-row input { flex: 1; min-width: 0; width: auto; }
.auth-send-btn { flex-shrink: 0; white-space: nowrap; }
.auth-note { color: var(--blue-600); font-size: 12px; font-weight: 600; margin: -4px 0 12px; }

/* ============================================================
 * 《网页设计》视觉对齐层
 * 冷白底、深海军蓝、明亮蓝，以及用于区分 TEM 四大方向的四种色调。
 * 这组规则放在文件末尾，保证旧工具工作台的组件仍可复用。
 * ============================================================ */
:root {
  --ink: #101a35;
  --ink-soft: #50627e;
  --navy: #0d1b33;
  --navy-2: #17365f;
  --electric: #2d67eb;
  --electric-soft: #e8f1ff;
  --paper: #f7faff;
  --line: #dce6f2;
  --mint-line: #b8efdc;
  --blue-panel: #e6f1fb;
  --purple-panel: #eeedfe;
  --teal-panel: #e1f5ee;
  --amber-panel: #faeedA;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(45,103,235,.4); outline-offset: 3px; }

.navbar {
  top: 0;
  border-top: 4px solid var(--mint-line);
}
.navbar-inner { max-width: 1280px; height: 78px; }
/* 滚动态：底色由 app.js 写入 --nav-follow-color，与下方区块保持一致 */
.navbar.scrolled {
  background: var(--nav-follow-color, rgba(247,250,255,.92));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: none;
}
.nav-brand { gap: 12px; }
.nav-logo {
  border-color: #d5e5fb;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(45,103,235,.16);
}
.nav-brand-name { color: var(--ink); letter-spacing: -.02em; }
.nav-links { gap: 2px; }
.nav-links > a,
.nav-drop-btn {
  border: 0;
  background: transparent;
  color: #455673;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.nav-links > a:hover,
.nav-drop-btn:hover,
.nav-links > a.active,
.nav-drop.active .nav-drop-btn {
  color: var(--electric);
  background: var(--electric-soft);
}
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.nav-caret { font-size: 15px; transform: translateY(-1px); }
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  padding: 8px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(24,52,92,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-drop:hover .nav-menu,
.nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.nav-menu a:hover, .nav-menu a.active { background: var(--electric-soft); }
.menu-name { color: var(--ink); font-size: 13px; font-weight: 800; }
.menu-desc { color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.nav-search-input { border-color: #d7e3f4; border-right: 0; background: #fff; }
.nav-search-input::placeholder { color: #8798b5; }
.nav-search-input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(45,103,235,.12); }
.nav-search-btn { background: var(--electric); border-color: var(--electric); box-shadow: 0 8px 18px rgba(45,103,235,.22); }
.nav-search-btn:hover { background: #1f53cf; border-color: #1f53cf; }
.nav-search .ns-item:hover, .nav-search .ns-item.active { background: var(--electric-soft); color: var(--ink); }
.nav-search .ns-kind { color: var(--electric); background: var(--electric-soft); border-color: transparent; }

.home-hero {
  min-height: 640px;
  padding: 184px 0 96px;
  background: #f7faff;
}
.home-hero .hero-bg {
  background:
    radial-gradient(circle at 12% 32%, rgba(215,231,255,.72), transparent 31%),
    radial-gradient(circle at 84% 35%, rgba(229,230,255,.58), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, #fbfcff 100%);
}
.home-hero .hero-bg::before,
.home-hero .hero-bg::after { display: none; }
.home-hero .container { position: relative; z-index: 1; }
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--electric);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
}
.eyebrow::before, .section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(45,103,235,.1);
}
.home-hero h1 {
  max-width: 820px;
  margin: 24px auto 22px;
  color: var(--ink);
  font-size: clamp(48px, 7.2vw, 86px);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: 1.05;
}
.home-hero h1 .accent { color: var(--electric); }
.home-hero .hero-sub {
  max-width: 720px;
  margin-bottom: 34px;
  color: #4c6485;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
}
.home-hero .hero-actions { margin-bottom: 28px; }
.home-hero .btn-primary { background: var(--electric); }
.home-hero .btn-ghost { background: rgba(255,255,255,.76); border-color: #cddcf0; color: var(--ink); }
.home-hero .btn-ghost:hover { border-color: var(--electric); color: var(--electric); }
.hero-footnote {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: #7890ad;
  font-size: 12px;
  font-weight: 700;
}
.hero-footnote span { display: inline-flex; align-items: center; gap: 7px; }
.hero-footnote i { width: 7px; height: 7px; border-radius: 50%; background: #16a37f; }

.section--paper { background: var(--paper); }
.section--white { background: #fff; }
.section-lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-lead h2 { max-width: 680px; margin: 14px 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -.045em; }
.section-lead p { max-width: 620px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.section-lead .btn { flex-shrink: 0; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left p { margin-left: 0; }

.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.direction-card {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.direction-card::after {
  content: '';
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 88px;
  height: 88px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .1;
}
.direction-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(40,73,120,.1); border-color: #9cbbea; }
.direction-card.blue { --dc: #2d67eb; }
.direction-card.purple { --dc: #4a5fe0; }
.direction-card.teal { --dc: #0e87b8; }
.direction-card.amber { --dc: #17365f; }
.direction-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.direction-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--electric-soft);
  color: var(--dc, var(--electric));
  font-size: 20px; font-weight: 600; line-height: 1;
}
.direction-card h3 { color: var(--ink); font-size: 20px; letter-spacing: -.02em; }
.direction-card h3 span { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.direction-desc { max-width: 460px; margin: 12px 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.direction-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; list-style: none; }
.direction-items li { position: relative; padding-left: 14px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.direction-items li::before { content: ''; position: absolute; left: 0; top: .64em; width: 5px; height: 5px; border: 1px solid var(--dc, var(--electric)); border-radius: 50%; }

.dark-band { position: relative; overflow: hidden; background: linear-gradient(115deg, #0b1a31 0%, #192d62 100%); color: #fff; }
.dark-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -250px; border: 1px solid rgba(113,182,255,.18); border-radius: 50%; box-shadow: 0 0 0 42px rgba(113,182,255,.035), 0 0 0 84px rgba(113,182,255,.025); }
.dark-band .container { position: relative; z-index: 1; }
.dark-band .section-label { color: #52c5ff; }
.dark-band .section-label::before { background: #52c5ff; box-shadow: 0 0 0 5px rgba(82,197,255,.12); }
.dark-band h2 { max-width: 690px; margin: 14px 0 12px; color: #fff; font-size: clamp(30px, 4vw, 50px); line-height: 1.14; letter-spacing: -.05em; }
.dark-band .section-lead p { color: #9eb5d4; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-card { min-height: 180px; padding: 20px; border: 1px solid rgba(132,176,222,.22); border-radius: 14px; background: rgba(255,255,255,.055); }
.process-card .process-number { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 22px; border-radius: 9px; background: #42baf1; color: #082546; font-size: 15px; font-weight: 900; }
.process-card h3 { margin-bottom: 8px; color: #fff; font-size: 17px; }
.process-card p { color: #b6c9e0; font-size: 13px; line-height: 1.7; }
.process-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.process-tags span { padding: 3px 10px; border: 1px solid rgba(132,176,222,.3); border-radius: 999px; color: #9eb5d4; font-size: 12px; }
.process-card .process-list { display: grid; gap: 5px; margin-top: 10px; padding-left: 16px; color: #9eb5d4; font-size: 12px; line-height: 1.7; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 72px; align-items: center; }
.story-grid--single { grid-template-columns: minmax(0, 1fr); }
.story-grid--top { align-items: start; }
.story-copy .section-label { margin-bottom: 16px; }
.story-copy h2 { max-width: 610px; margin-bottom: 20px; font-size: clamp(30px, 4vw, 50px); line-height: 1.14; letter-spacing: -.05em; }
.story-copy p { max-width: 640px; margin-bottom: 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
#about .story-copy { width: 100%; max-width: 1100px; }
#about .story-copy h2,
#about .story-copy p { max-width: none; text-align: left; }
.story-copy strong { color: var(--ink); }

.resource-section { background: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.resource-card:hover { border-color: #9cbbea; box-shadow: 0 16px 32px rgba(43,78,124,.09); transform: translateY(-3px); }
.resource-card .resource-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; background: var(--electric-soft); color: var(--electric); font-size: 17px; }
.resource-card h3 { margin-bottom: 8px; font-size: 20px; }
.resource-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.partner-section { border-top: 1px solid #edf2f8; background: #fff; }
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.partner-card { padding: 18px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .18s ease, background .18s ease; }
.partner-card:hover { border-color: #9cbbea; background: #f7faff; }
.partner-card strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.partner-card span { display: block; color: #7c8ea7; font-size: 11px; line-height: 1.5; }

.closing-cta { padding: 86px 0; background: linear-gradient(135deg, #edf4ff 0%, #fafcff 100%); text-align: center; }
.closing-cta h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; }
.closing-cta p { margin-bottom: 26px; color: var(--ink-soft); font-size: 16px; }

.page-hero { padding: 164px 0 72px; background: radial-gradient(circle at 50% 20%, rgba(215,231,255,.75), transparent 45%), linear-gradient(180deg, #f4f8ff 0%, var(--paper) 100%); }
.page-hero--compact { padding: 100px 0 20px; }

/* ═══════════════ GPA 专区 ═══════════════ */
.gpa-zone { padding: 16px 0 8px; }
.gpa-banner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, #f2f7ff 0%, #ffffff 52%, #f4f0ff 100%);
  box-shadow: 0 12px 30px rgba(43,78,124,.07);
}
.gpa-banner-media {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #0b1220;
  overflow: hidden;
}
.gpa-banner-media img { display: block; width: 100%; height: auto; }
.gpa-banner-body { flex: 1; min-width: 0; padding: 4px 8px 4px 0; }
.gpa-banner-body h2 { margin: 10px 0 10px; color: var(--ink); font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.gpa-banner-body p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.gpa-files { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.gpa-files li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.gpa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gpa-hint { color: var(--slate-400); font-size: 12px; }
@media (max-width: 768px) {
  .gpa-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 14px; }
  .gpa-banner-media { flex: none; width: 100%; }
  .gpa-banner-media img { width: 100%; max-height: 240px; object-fit: cover; }
  .gpa-banner-body { padding: 0 2px; }
}
.page-hero .section-label { margin-bottom: 18px; }
.page-hero h1 { color: var(--ink); font-size: clamp(38px, 5.8vw, 68px); font-weight: 850; letter-spacing: -.065em; }
.page-hero p { max-width: 720px; color: var(--ink-soft); line-height: 1.8; }
.page-shell .section { padding-top: 70px; }
.page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.page-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.page-card h2, .page-card h3 { margin-bottom: 12px; color: var(--ink); letter-spacing: -.025em; }
.page-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.page-card ul { display: grid; gap: 9px; margin-top: 18px; padding-left: 18px; color: #516883; font-size: 14px; line-height: 1.65; }

/* ── 检测服务目录（服务目录页，含 services-catalog.js 动态渲染内容） ── */
.services-catalog {
  padding: 96px max(24px, calc(50vw - 600px));
  background: var(--slate-50);
  color: var(--ink);
}

/* SEO 指南卡片 */
.services-seo-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 35px;
}
.services-seo-directory a {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.services-seo-directory a:hover {
  border-color: #9cbbea;
  box-shadow: 0 16px 32px rgba(43, 78, 124, .09);
  transform: translateY(-3px);
}
.services-seo-directory strong { font-size: 16px; letter-spacing: -.01em; }
.services-seo-directory span {
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.services-seo-directory i {
  margin-top: auto;
  color: var(--electric);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

/* 小节眉题（详情面板与「待完善」面板共用） */
.services-kicker {
  margin: 0 0 18px;
  color: var(--electric);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* 分类标签 */
.services-category-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-category-tabs a {
  position: relative;
  min-height: 126px;
  padding: 25px 22px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  scroll-margin-top: 92px;
  transition: color .2s ease, background .2s ease;
}
.services-category-tabs a:last-child { border-right: 0; }
.services-category-tabs a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 100%;
  height: 3px;
  background: var(--electric);
  transition: right .3s ease;
}
.services-category-tabs a.active { color: var(--ink); background: #fff; }
.services-category-tabs a.active::after { right: 0; }
.services-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.services-category-meta b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--electric);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.services-category-meta i {
  padding: 5px 9px;
  color: var(--slate-500);
  white-space: nowrap;
  background: var(--slate-100);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
}
.services-category-tabs a.active .services-category-meta b {
  color: #fff;
  background: var(--electric);
  border-color: var(--electric);
  box-shadow: 0 6px 16px rgba(45, 103, 235, .22);
}
.services-category-tabs a.active .services-category-meta i {
  color: var(--blue-700);
  background: var(--electric-soft);
}
.services-category-tabs strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
}

/* 工作台：左侧服务索引 + 右侧详情 */
.services-workbench {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 640px;
  margin-top: 46px;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(27, 47, 75, .08);
  scroll-margin-top: 92px;
}
.services-index {
  padding: 36px 28px;
  color: #fff;
  background: var(--navy);
}
.services-index-intro {
  padding: 4px 8px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.services-index-intro > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 9px;
  color: #91c1ff;
  background: rgba(70, 148, 245, .12);
  border: 1px solid rgba(113, 174, 246, .25);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.services-index-intro h3 { margin: 12px 0; font-size: 27px; color: #fff; }
.services-index-intro p {
  margin: 0;
  color: #a9b7cb;
  font-size: 13px;
  line-height: 1.7;
}
.services-index button {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 8px;
  color: #a9b7cb;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.services-index button span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #718199;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  transition: all .2s ease;
}
.services-index button i { opacity: 0; font-style: normal; }
.services-index button.active,
.services-index button:hover { color: #fff; transform: translateX(4px); }
.services-index button.active span {
  color: #fff;
  background: var(--electric);
  border-color: var(--electric);
  box-shadow: 0 5px 13px rgba(45, 103, 235, .28);
}
.services-index button.active i { color: #65a8ff; opacity: 1; }

/* 服务详情面板 */
.service-detail { display: block; min-width: 0; }
.service-detail-media {
  position: relative;
  width: 100%;
  height: clamp(390px, 35vw, 520px);
  margin: 0;
  padding: 30px 38px;
  overflow: hidden;
  background: var(--slate-200);
  border: 0;
  cursor: zoom-in;
}
.service-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.service-detail:hover .service-detail-media img { transform: scale(1.012); }
.service-detail-media > p,
.service-image-hint {
  position: absolute;
  bottom: 22px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(13, 27, 51, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
}
.service-detail-media > p { left: 24px; margin: 0; }
.service-image-hint { right: 24px; }
.service-detail-media--placeholder {
  position: relative;
  cursor: default;
  background: linear-gradient(145deg, #e3f0ff, #f8fbff);
}
.service-detail-copy {
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 90px);
  padding: 52px clamp(34px, 5vw, 72px) 60px;
}
.service-detail-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}
.service-description {
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}
.service-detail-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.service-detail-body li {
  padding: 8px 12px;
  color: var(--ink-soft);
  background: var(--electric-soft);
  border-radius: 999px;
  font-size: 12px;
}
.service-coming-soon a,
.service-detail-body > a {
  display: inline-flex;
  justify-content: space-between;
  min-width: 210px;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}
.service-detail-body > a span { font-weight: 400; }

/* 详情面板 · 增强内容块（英文副标 / 规格 / 原理 / 输出 / 图示） */
.service-detail-en {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .04em;
}

.service-detail-body .service-block {
  margin: 0 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.service-detail-body .service-block h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.service-detail-body .service-block > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.service-spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.service-spec-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 14px;
  background: #fff;
}
.service-spec-list dt {
  color: var(--electric);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}
.service-spec-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.service-detail-body ul.service-points { display: block; margin: 0; }
.service-detail-body ul.service-points li {
  position: relative;
  margin: 0 0 9px;
  padding: 0 0 0 16px;
  color: var(--ink-soft);
  background: none;
  border-radius: 0;
  font-size: 13.5px;
  line-height: 1.75;
}
.service-detail-body ul.service-points li:last-child { margin-bottom: 0; }
.service-detail-body ul.service-points li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--electric);
  border-radius: 50%;
  opacity: .5;
}
.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.service-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.service-gallery button {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--slate-100);
  border: 0;
  cursor: zoom-in;
}
.service-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--slate-100);
  transition: transform .35s ease;
}
.service-gallery button:hover img { transform: scale(1.02); }
.service-gallery figcaption {
  padding: 9px 11px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}
.service-note {
  margin: 0 0 26px;
  padding: 12px 15px;
  color: var(--ink-soft);
  background: var(--electric-soft);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.75;
}

/* 「待完善」面板 */
.service-coming-soon {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  padding: 80px;
}
.service-coming-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 270px;
  height: 270px;
  color: var(--electric);
  border: 1px solid var(--blue-200);
  border-radius: 50%;
  font-size: 72px;
  font-weight: 700;
}
.service-coming-mark i {
  position: absolute;
  inset: 28%;
  border: 1px solid var(--blue-200);
  border-radius: 50%;
}
.service-coming-soon h3 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 46px;
  letter-spacing: -.03em;
}
.service-coming-soon p:not(.services-kicker) {
  max-width: 500px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* 图片放大预览 */
.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 54px;
  background: rgba(13, 27, 51, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.service-lightbox[hidden] { display: none; }
.service-lightbox > button {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.service-lightbox > button:hover { background: rgba(255, 255, 255, .2); }
.service-lightbox figure {
  display: grid;
  gap: 16px;
  max-width: min(1280px, 94vw);
  max-height: 88vh;
  margin: 0;
}
.service-lightbox img {
  max-width: 100%;
  max-height: calc(88vh - 40px);
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
}
.service-lightbox figcaption {
  color: rgba(255, 255, 255, .78);
  text-align: center;
  font-size: 13px;
}

/* ── 检测服务目录 · 响应式 ── */
@media (max-width: 1024px) {
  .services-seo-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-category-tabs { grid-template-columns: repeat(3, 1fr); }
  .services-category-tabs a { border-bottom: 1px solid var(--line); }
  .services-workbench { grid-template-columns: 290px 1fr; }
  .service-detail-media { height: 430px; }
  .service-detail-copy { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .services-catalog { padding: 80px 24px; }
  .services-seo-directory { grid-template-columns: 1fr; }
  .services-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 0;
  }
  .services-category-tabs a {
    min-height: 86px;
    padding: 14px 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .services-category-tabs a:last-child { border-right: 1px solid var(--line); }
  .services-category-tabs a::after { bottom: -1px; left: 10px; right: 10px; }
  .services-category-meta b { width: 30px; height: 30px; font-size: 10px; }
  .services-category-meta i { padding: 0; background: transparent; font-size: 10px; }
  .services-category-tabs strong { margin-top: 13px; font-size: 14px; line-height: 1.35; }
  .services-workbench { grid-template-columns: 1fr; margin-top: 30px; }
  .services-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 24px 16px;
    overflow: visible;
  }
  .services-index-intro { grid-column: 1 / -1; padding: 0 0 18px; }
  .services-index-intro h3 { margin: 10px 0; font-size: 24px; }
  .services-index button {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    min-height: 58px;
    padding: 10px;
    color: #d7e3f2;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
  }
  .services-index button span { width: 24px; height: 24px; border-radius: 6px; }
  .services-index button.active,
  .services-index button:hover { transform: none; }
  .services-index button.active {
    background: rgba(45, 103, 235, .18);
    border-color: rgba(101, 168, 255, .55);
  }
  .services-index button i { display: none; }
  .service-detail-media { height: 300px; padding: 18px; }
  .service-detail-copy { padding: 44px 25px 55px; }
  .service-spec-list > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 12px; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-coming-soon { grid-template-columns: 1fr; gap: 40px; padding: 45px 25px; }
  .service-coming-mark { width: 190px; height: 190px; }
  .service-lightbox { padding: 54px 16px 24px; }
}

/* ── 全平台仪器总览 ── */
.equip-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.equip-pill { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.equip-pill:hover { border-color: #9cbbea; color: var(--electric); }
.equip-pill.active { border-color: var(--blue-700); background: var(--blue-700); color: #fff; }
.equip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.equip-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.equip-card:hover { border-color: #9cbbea; box-shadow: 0 16px 32px rgba(43,78,124,.09); transform: translateY(-3px); }
.equip-card.hidden { display: none; }
.equip-photo { aspect-ratio: 4 / 3; background: var(--blue-50); }
.equip-photo img { width: 100%; height: 100%; object-fit: cover; }
.equip-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.equip-head { display: flex; align-items: center; gap: 10px; }
.equip-icon { font-size: 18px; line-height: 1; }
.equip-title { flex: 1; color: var(--ink); font-size: 17px; letter-spacing: -.025em; }
.equip-num { color: var(--slate-300); font-size: 13px; font-weight: 800; }
.equip-maker { margin-top: 6px; color: var(--slate-500); font-size: 13px; }
.equip-cat { align-self: flex-start; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--electric-soft); color: var(--electric); font-size: 12px; font-weight: 700; }
.equip-highlight { margin-top: 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.equip-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.equip-tags span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--slate-50); color: #516883; font-size: 12px; line-height: 1.5; }
.equip-spec-block { margin-top: auto; padding-top: 18px; }
.equip-toggle { padding: 0; border: 0; background: none; color: var(--electric); font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.equip-toggle:hover { color: var(--blue-700); }
.equip-specs { display: none; margin-top: 12px; }
.equip-specs.open { display: block; }
.equip-spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.6; }
.equip-spec-row span:first-child { flex-shrink: 0; color: var(--slate-500); }
.equip-spec-row span:last-child { color: var(--ink); text-align: right; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 22px; }
.qr-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 16px 36px rgba(43,78,124,.08); }
.qr-card img { width: 100%; max-width: 220px; margin: 0 auto 14px; border-radius: 10px; }
.qr-card h3 { margin-bottom: 5px; font-size: 16px; }
.qr-card p { color: var(--ink-soft); font-size: 12px; }
.contact-note { max-width: 680px; margin: 0 auto 30px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; text-align: center; }

.footer { border-top: 1px solid #1f3557; background: var(--navy); color: #9eb5d4; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: 0; text-transform: none; }
.footer-brand-name { color: #fff; }
.footer-bottom { border-top-color: #233a5d; color: #7289a8; flex-wrap: wrap; }
.footer-filings { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer-record { display: inline-flex; align-items: center; gap: 6px; color: #9eb5d4; white-space: nowrap; }
.footer-record img { width: 18px; height: 18px; object-fit: contain; }
.footer-record:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.reveal-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .navbar-inner { padding: 0 18px; }
  .nav-links > a, .nav-drop-btn { padding-left: 8px; padding-right: 8px; font-size: 13px; }
  .nav-search-input { width: 132px; padding: 8px 10px; font-size: 12px; }
  .nav-search-btn { width: 36px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .navbar-inner { height: 70px; }
  .nav-links.open { top: 70px; gap: 3px; padding: 12px 18px 18px; background: rgba(255,255,255,.98); }
  .nav-links.open > a, .nav-links.open .nav-drop-btn { padding: 12px; text-align: left; }
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; justify-content: space-between; }
  .nav-menu { position: static; width: 100%; margin-top: 3px; box-shadow: none; border: 0; background: #f7faff; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-drop.open .nav-menu { display: block; }
  .nav-search { width: 100%; margin: 8px 0 0; flex-wrap: wrap; }
  .nav-search-input { flex: 1; width: auto; padding: 12px 14px; font-size: 14px; }
  .nav-search-btn { width: 46px; }
  .nav-search-results { position: static; width: 100%; flex-basis: 100%; margin-top: 8px; max-height: 46vh; box-shadow: none; }
  .home-hero { min-height: 0; padding: 142px 0 78px; }
  .home-hero h1 { font-size: clamp(43px, 13vw, 68px); }
  .section-lead { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .direction-grid, .resource-grid, .page-grid, .contact-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 0; padding: 24px; }
  .direction-items { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding: 136px 0 58px; }
  .footer-grid { gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── 服务报价与示例展示（自 tem-services 报价页导入，作用域限定在 #pricing） ── */
#pricing { --pricing-navy: #0d1b2a; --pricing-cyan: #38bdf8; --pricing-border: #e2e8f0; --pricing-muted: #64748b; --pricing-shadow: 0 4px 24px rgba(0,0,0,.08); }
#pricing .cat-title { margin: 34px 0 16px; padding-left: 12px; border-left: 4px solid var(--pricing-cyan); color: var(--pricing-navy); font-size: 19px; }
#pricing .cat-title:first-of-type { margin-top: 8px; }
#pricing .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
#pricing .svc-card { display: flex; flex-direction: column; border: 1px solid var(--pricing-border); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--pricing-shadow); transition: transform .2s, box-shadow .2s; }
#pricing .svc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
#pricing .svc-media { padding: 10px; border-bottom: 1px solid var(--pricing-border); background: var(--slate-50); }
#pricing .ex-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--pricing-border); border-radius: 10px; background: #fff; }
#pricing .ex-gallery-frame { grid-template-columns: 1fr; }
#pricing .ex-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 6px; background: var(--slate-50); overflow: hidden; }
#pricing .ex-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
#pricing .ex-ph { color: var(--slate-400); font-size: 12px; }
#pricing .ex-cap { margin-top: 8px; color: var(--pricing-muted); font-size: 12px; text-align: center; }
#pricing .svc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 20px; }
#pricing .svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#pricing .svc-name { color: var(--pricing-navy); font-size: 16px; font-weight: 700; }
#pricing .svc-price { color: #0f766e; font-size: 17px; font-weight: 800; white-space: nowrap; }
#pricing .svc-price .unit { margin-left: 2px; color: var(--pricing-muted); font-size: 12px; font-weight: 600; }
/* 报价暂时隐藏：删掉下面这一行即可恢复显示 */
#pricing .svc-price { display: none; }
#pricing .svc-desc { color: var(--pricing-muted); font-size: 14px; line-height: 1.65; }
#pricing .svc-more { align-self: flex-start; padding: 4px 12px; border: 1px solid rgba(56,189,248,.4); border-radius: 999px; background: transparent; color: #0284c7; font-family: inherit; font-size: 12px; cursor: pointer; transition: all .2s; }
#pricing .svc-more:hover:not(:disabled) { background: rgba(56,189,248,.08); }
#pricing .svc-more:disabled { border-color: var(--slate-300); color: var(--slate-400); cursor: default; background: transparent; }
#pricing .ex-gallery { display: none; margin-top: 10px; }
#pricing .ex-gallery.open { display: block; }
@media (max-width: 768px) {
  #pricing .services-grid { grid-template-columns: 1fr; }
  #pricing .cat-title { margin-top: 28px; }
}

/* ═══════════════ 锚点定位（固定导航留白） ═══════════════ */
section[id], .kb-module[id] { scroll-margin-top: 96px; }

/* ═══════════════ 移动端紧凑布局（一屏看到更多内容） ═══════════════ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* 页面标题区：压窄顶部留白、缩小标题 */
  .page-hero { padding: 92px 0 32px; }
  .page-hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.04em; margin-bottom: 10px; }
  .page-hero p { font-size: 15px; line-height: 1.65; }
  .page-hero .kicker, .page-hero .section-label { margin-bottom: 12px; }

  /* 区块垂直间距 */
  .section { padding: 40px 0; }

  /* 区块标题 */
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
  .section-head p { font-size: 14px; }

  /* 小标签 */
  .kicker { font-size: 12px; padding: 4px 10px; margin-bottom: 12px; }

  /* 卡片网格与卡片 */
  .grid { gap: 14px; }
  .card { padding: 18px 16px; border-radius: 18px; }
  .card-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 20px; margin-bottom: 12px; }
  .card h3 { font-size: 17px; margin-bottom: 6px; }
  .card .card-desc { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }

  /* 按钮 */
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .mt-4 { margin-top: 24px; }
}

/* ═══════════════ 首页板块蓝系区分 ═══════════════ */
/* 数据分析架构：电光蓝浅底 */
#home-architecture #analysis { background: #e8f1ff; }
#home-architecture #analysis .section-label { color: #2d67eb; }
#home-architecture #analysis .section-label::before { background: #2d67eb; box-shadow: 0 0 0 5px rgba(45,103,235,.1); }

/* 交付流程：Hero 渐变底 + 白色卡片 */
#home-architecture #process {
  background:
    radial-gradient(circle at 12% 32%, rgba(215,231,255,.72), transparent 31%),
    radial-gradient(circle at 84% 35%, rgba(229,230,255,.58), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, #fbfcff 100%);
}
#home-architecture #process h2 { color: var(--ink); max-width: none; }
#home-architecture #process .section-label { color: #2d67eb; }
#home-architecture #process .section-label::before { background: #2d67eb; box-shadow: 0 0 0 5px rgba(45,103,235,.1); }
#home-architecture #process .process-card { min-height: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(16,26,53,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
#home-architecture #process .process-card:hover { border-color: #9cbbea; box-shadow: 0 16px 32px rgba(43,78,124,.09); transform: translateY(-3px); }
#home-architecture #process .process-number { background: #17365f; color: #fff; }
#home-architecture #process .process-card h3 { color: var(--ink); }
#home-architecture #process .process-card p { color: var(--ink-soft); }

/* 关于 ANATEM Solutions：电光蓝浅底 */
#home-architecture #about { background: #e8f1ff; }
#home-architecture #about .section-label { color: #2d67eb; }
#home-architecture #about .section-label::before { background: #2d67eb; box-shadow: 0 0 0 5px rgba(45,103,235,.1); }

/* 关于 ANATEM：按钮右对齐，与其他板块按钮对齐 */
#home-architecture #about .story-copy { display: flex; flex-direction: column; max-width: none; }
#home-architecture #about .story-copy .btn { align-self: flex-end; }
.community-entry { display: flex; align-items: center; gap: 16px; margin: 4px 0 24px; }
.community-wechat-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  padding: 18px;
  border: 1px solid rgba(0, 164, 91, .2);
  border-radius: 26px;
  background: rgba(0, 164, 91, .08);
  color: #08c66b;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.community-wechat-icon:hover { transform: translateY(-3px); background: rgba(0, 164, 91, .13); box-shadow: 0 12px 24px rgba(0, 164, 91, .12); }
.community-wechat-icon:focus-visible { outline: 3px solid #08c66b; outline-offset: 3px; }
.community-wechat-icon svg { width: 100%; height: 100%; fill: currentColor; }
.community-wechat-icon .wechat-eye { fill: #e8f1ff; }
.community-entry-copy { display: grid; gap: 5px; }
.community-entry-copy strong { color: var(--ink); font-size: 17px; }
.community-entry-copy > span { color: var(--ink-soft); font-size: 13px; }
dialog.community-qr-modal {
  position: fixed;
  inset: 0;
  display: none;
  width: min(426px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(5, 14, 33, .3);
}
dialog.community-qr-modal[open] { display: block; }
dialog.community-qr-modal::backdrop { background: rgba(8, 16, 32, .68); backdrop-filter: blur(3px); }
.community-qr-modal img { display: block; width: 100%; max-height: calc(100vh - 32px); object-fit: contain; border-radius: 12px; }
.community-qr-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* 平台入口：Hero 渐变底 */
#home-architecture #resources {
  background:
    radial-gradient(circle at 12% 32%, rgba(215,231,255,.72), transparent 31%),
    radial-gradient(circle at 84% 35%, rgba(229,230,255,.58), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, #fbfcff 100%);
}

/* 友情互动：电光蓝浅底 */
#home-architecture #partners { background: #e8f1ff; }
#home-architecture #partners .section-label { color: #2d67eb; }
#home-architecture #partners .section-label::before { background: #2d67eb; box-shadow: 0 0 0 5px rgba(45,103,235,.1); }

/* ═══════════════ 页脚品牌 + 公众号二维码 ═══════════════ */
.footer-brand-row { display: flex; align-items: flex-start; gap: 32px; }
.footer-brand-cell { display: flex; flex-direction: column; align-items: flex-start; }
.footer-qr-group { display: flex; align-items: flex-start; gap: 24px; }
.footer-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.footer-qr-img { width: 80px; height: 80px; object-fit: contain; }
.footer-qr-text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.footer-qr-text strong { color: #fff; font-size: 13px; }
.footer-qr-text span { color: #9eb5d4; font-size: 12px; line-height: 1.5; }

/* ═══════════════ 服务页交付流程：紧凑排版 ═══════════════ */
.section.process-compact { padding: 64px 0; }
.process-compact .section-lead { margin-bottom: 28px; }
.process-compact .process-grid { gap: 12px; }
.process-compact .process-card { min-height: 0; padding: 16px; }
.process-compact .process-number { width: 28px; height: 28px; margin-bottom: 14px; font-size: 14px; }
.process-compact .process-card h3 { font-size: 16px; margin-bottom: 6px; }
.process-compact .process-card p { font-size: 12.5px; line-height: 1.6; }
.process-compact .process-list { gap: 4px; margin-top: 8px; line-height: 1.6; }


═══════════════ 登录弹窗：微信扫码（公众号带参数二维码） ═══════════════ */
.auth-qr-frame {
  position: relative;
  width: 208px;
  height: 208px;
  margin: 0 auto 14px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

/* 二维码必须是白底，否则部分扫码器识别不出来 */
.auth-qr-img { display: block; width: 100%; height: 100%; object-fit: contain; }

.auth-qr-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  box-sizing: border-box;
  text-align: center;
  background: rgba(255, 255, 255, .95);
}

.auth-qr-mask-text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--slate-700, #334155);
}

.auth-qr-status {
  margin: 0 0 8px;
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700, #334155);
}

#wechatSimBtn { width: 100%; justify-content: center; }

/* 服务目录页 Hero 紧凑化：压缩文字上下留白（testing.html） */
.page-hero--short { padding: 110px 0 28px; }
@media (max-width: 1024px) { .page-hero--short { padding: 104px 0 24px; } }
@media (max-width: 768px) { .page-hero--short { padding: 92px 0 20px; } }
