/* =========================================================
 * 站点样式：浅色主题 / 卡片式布局 / 移动优先响应式
 * ========================================================= */

:root {
  --bg: #f5f7fa;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --border: #e3e8ef;
  --border-strong: #d3dae4;
  --text: #1a2230;
  --text-sub: #5a6779;
  --text-mute: #8b97a8;
  --brand: #2f6fed;
  --brand-dark: #2258c9;
  --brand-soft: #eaf1ff;
  --green: #1d9a6c;
  --green-soft: #e6f6ef;
  --orange: #d98212;
  --orange-soft: #fdf2e2;
  --red: #d64545;
  --red-soft: #fdeceb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, .05), 0 2px 8px rgba(20, 30, 50, .04);
  --shadow-md: 0 4px 12px rgba(20, 30, 50, .08), 0 12px 28px rgba(20, 30, 50, .06);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- 顶部 ---------------- */
.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  padding-top: 34px;
  padding-bottom: 26px;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .2px;
}

.site-slogan {
  margin: 6px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}

.site-slogan.strong{
  font-weight: bold;
}
.stat-row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.stat-item .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.stat-item .label {
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ---------------- Tab ---------------- */
.tabbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.tabbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabbar-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 16px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-sub);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--brand);
  font-weight: 600;
  border-bottom-color: var(--brand);
}

/* ---------------- 工具条 ---------------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 4px;
}

.search-box {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}

.search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .12);
}

.search-box .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-mute);
  pointer-events: none;
}

.toolbar-hint {
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------------- 面板 / 分类区块 ---------------- */
.panel { display: none; padding-bottom: 40px; }
.panel.active { display: block; }

.panel-intro {
  margin: 0 0 22px;
  color: var(--text-sub);
  font-size: 14px;
}

.cat-block { margin-bottom: 34px; }

.cat-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 3px solid var(--brand);
}

.cat-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.cat-sub {
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------------- 卡片网格 ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #cddcf7;
  box-shadow: var(--shadow-md);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.card-icon svg { width: 23px; height: 23px; }

.card-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

.card-meta {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
  background: var(--bg-soft);
  color: var(--text-sub);
  white-space: nowrap;
}

.chip-ver { background: var(--green-soft); color: var(--green); }
.chip-tab { background: var(--brand-soft); color: var(--brand); }

.card-desc {
  margin: 12px 0 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
  flex: 1 1 auto;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all .16s ease;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  flex: 1 1 auto;
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn svg { width: 15px; height: 15px; }

.empty-tip {
  padding: 40px 0;
  text-align: center;
  color: var(--text-mute);
  font-size: 14px;
}

/* ---------------- 详情页 ---------------- */
.detail-head {
  background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%);
  border-bottom: 1px solid var(--border);
}

.detail-head .wrap { padding-top: 26px; padding-bottom: 30px; }

.crumb {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.crumb a { color: var(--text-sub); }
.crumb a:hover { color: var(--brand); }
.crumb .sep { margin: 0 6px; color: var(--border-strong); }

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.detail-icon svg { width: 30px; height: 30px; }

.detail-title { margin: 0; font-size: 25px; font-weight: 700; }

.detail-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-mute);
}

.detail-desc {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
}

.detail-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.detail-body { padding: 30px 0 50px; }

.section { margin-bottom: 38px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 3px;
  background: var(--brand);
}

.section-note {
  margin: -8px 0 16px;
  color: var(--text-mute);
  font-size: 13.5px;
}

/* 功能清单 */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.fn-item {
  display: flex;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-sub);
}

.fn-item .idx {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.fn-item strong { color: var(--text); font-weight: 600; }

/* 架构 */
.arch-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-sub);
  font-size: 14px;
  margin: 0 0 16px;
}

.arch-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 10px;
}

.arch-node {
  flex: 1 1 0;
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.arch-node .n-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
}

.arch-node .n-idx {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0 8px;
}

.arch-arrow {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: var(--border-strong);
}

.arch-arrow svg { width: 20px; height: 20px; }

.arch-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.arch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.arch-card h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-card h4 .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.arch-card p { margin: 0; font-size: 13.5px; color: var(--text-sub); }

/* 版本系列标签页（v1.1 ~ v1.4） */
.ver-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.ver-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-sub);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all .16s ease;
}

.ver-tab:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.ver-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.ver-tab .cnt {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-mute);
  font-size: 11.5px;
  line-height: 18px;
  text-align: center;
}

.ver-tab.active .cnt {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* 系列包下载条（位于每个版本标签页内容的最上方） */
.ver-dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--brand-soft);
  border: 1px solid #d5e2ff;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin: 0 0 14px;
}

.vd-info { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }

.vd-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.vd-sub { font-size: 12.5px; color: var(--text-mute); }

.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13.5px;
  flex: 0 0 auto;
}

.ver-panel { display: none; }
.ver-panel.active { display: block; }

/* 版本卡片 */
.version {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.version-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.version-tag {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.version-date { font-size: 13px; color: var(--text-mute); }

.badge-latest {
  font-size: 12px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.change-group { display: flex; gap: 10px; padding: 12px 0 0; }

.change-group .g-label {
  flex: 0 0 auto;
  width: 52px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.g-added { background: var(--green-soft); color: var(--green); }
.g-optimized { background: var(--brand-soft); color: var(--brand); }
.g-fixed { background: var(--red-soft); color: var(--red); }

.change-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.change-group li {
  position: relative;
  padding: 1px 0 1px 14px;
  font-size: 14px;
  color: var(--text-sub);
}

.change-group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* 相关卡片 */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.rel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  transition: all .16s ease;
}

.rel-card:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.rel-card .rel-icon { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; }
.rel-card .rel-icon svg { width: 22px; height: 22px; }
.rel-card .rel-name { font-weight: 600; font-size: 14.5px; }
.rel-card .rel-sub { font-size: 12.5px; color: var(--text-mute); }

/* 主内容撑开剩余高度，保证 footer 吸底 */
main {
  flex: 1 1 auto;
  width: 100%;
}

/* 页脚：内容不足一屏时靠 margin-top:auto 贴底；页面可滚动时用 sticky 常驻视口底部 */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 0;
  padding-bottom: calc(1px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 16px rgba(20, 30, 50, .05);
  color: var(--text-mute);
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* 提示条 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: rgba(26, 34, 48, .94);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 99;
  max-width: 90vw;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 快速导航 ---------------- */
.quick-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.quick-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand);
  background: var(--brand-soft);
  transition: all .16s ease;
}

.quick-link:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------------- 产品总览 ---------------- */
.products-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.products-intro h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.products-intro p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.7;
}

.products-intro strong {
  color: var(--brand);
}

/* ---------------- 页脚 ---------------- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-sub);
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-info {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 12px;
}

.footer-info span {
  margin-right: 24px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-img {
  display: inline-block;
  width: 120px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .16s ease;
}

.social-img:hover {
  border-color: var(--brand);
}

.social-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .site-title { font-size: 22px; }
  .about-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .about-grid-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  .site-header .wrap { padding-top: 24px; padding-bottom: 20px; }
  .stat-row { gap: 18px; }
  .card-grid,
  .fn-grid,
  .arch-list { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .detail-title { font-size: 21px; }
  .detail-icon { width: 48px; height: 48px; }
  .detail-icon svg { width: 26px; height: 26px; }
  .arch-flow { flex-direction: column; gap: 6px; }
  .arch-arrow { flex: 0 0 auto; height: 22px; transform: rotate(90deg); }
  .change-group { flex-direction: column; gap: 4px; }
  .change-group .g-label { width: 52px; }
  .card-actions .btn { flex: 1 1 auto; }
  .ver-dl { flex-direction: column; align-items: stretch; }
  .ver-dl .btn-sm { width: 100%; }
  .about-grid,
  .about-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tab-btn { padding: 12px 10px 10px; font-size: 13px; }
  .brand-row { flex-direction: column; }
  .stat-row { gap: 16px; }
}

@media (max-width: 380px) {
  .tab-btn { padding: 10px 8px 8px; font-size: 12px; }
}

/* ---------------- 关于我们页面 ---------------- */
.about-main {
  padding-top: 30px;
}

.about-section {
  margin-bottom: 40px;
}

.about-section .section-title {
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.about-card {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
}

.about-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.about-icon svg {
  width: 22px;
  height: 22px;
}

.about-content {
  flex: 1;
  min-width: 0;
}

.about-content h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.about-content p {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  word-break: break-all;
}

.about-desc {
  color: var(--text-mute) !important;
  font-size: 12.5px !important;
}

.about-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.about-contact .section-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.contact-item {
  text-align: center;
}

.contact-label {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
  transition: border-color .16s ease, transform .16s ease;
}

.contact-img:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

/* ---------------- 详情页新增板块（产品概述 / 架构图 / 场景 / 规格） ---------------- */
.ov-text p { margin: 0 0 12px; color: var(--text-sub); font-size: 14.5px; }
.ov-text p:last-child { margin-bottom: 0; }

.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.hl-card h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; }
.hl-card p { margin: 0; font-size: 13.5px; color: var(--text-sub); }

.sub-title { margin: 20px 0 10px; font-size: 15px; font-weight: 700; }

.arch-figure { margin: 0; }

.arch-img-link {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.arch-img-link:hover { border-color: var(--brand); }
.arch-img { display: block; width: 100%; height: auto; }
.arch-figure figcaption { margin-top: 8px; font-size: 12.5px; color: var(--text-mute); text-align: center; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip-sm {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  white-space: nowrap;
}

.chip-sm.chip-soft { background: var(--bg-soft); color: var(--text-sub); }

.arch-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  color: var(--text-sub);
  font-size: 13.5px;
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.sc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 16px 14px;
}

.sc-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.sc-card p { margin: 0; font-size: 13.5px; color: var(--text-sub); }

.sc-idx {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 1px 7px;
}

.spec-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.spec-table th,
.spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 190px; font-weight: 600; color: var(--text); background: var(--bg-soft); white-space: nowrap; }
.spec-table td { color: var(--text-sub); }

@media (max-width: 900px) {
  .about-contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hl-grid,
  .sc-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 120px; padding: 10px 12px; }
  .spec-table td { padding: 10px 12px; }
}
