/* ===========================================================
   Mondince Technology 技术中心
   依赖 common.css 中的 CSS 变量
   宽度：与全站 .container 一致（max-width: var(--container-max)，padding: 0 20px）
   v2.3（2026-09-17）：取消正文/标题的 em 行宽上限，正文宽度与全站其它页面统一
   =========================================================== */

.tech-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* 保留类名以兼容已有标记，宽度与 .tech-container 保持一致 */
.tech-container--wide { max-width: var(--container-max); }

/* ---------- Hero ---------- */
.tech-hero {
  position: relative;
  background: #14171c;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 92px 0 84px;
}

.tech-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 14, 18, .92) 0%, rgba(12, 14, 18, .78) 46%, rgba(12, 14, 18, .46) 100%);
}

.tech-hero > .tech-container { position: relative; z-index: 1; }

.tech-hero__eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.tech-hero h1 {
  font-size: 2.45rem;
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 16px;
}

.tech-hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 26px;
}

.tech-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.tech-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  overflow: hidden;
}

.tech-hero__fact {
  background: rgba(10, 12, 16, .62);
  padding: 16px 18px;
}

.tech-hero__fact strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.tech-hero__fact span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .74);
  line-height: 1.45;
  display: block;
}

/* 子页面紧凑版 Hero */
.tech-hero--page { padding: 64px 0 58px; }

.tech-hero--page h1 { font-size: 2.05rem;}

.tech-hero--page p {margin-bottom: 0; }

/* ---------- 按钮 ---------- */
.tech-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.tech-btn--primary { background: var(--primary); color: #fff; }
.tech-btn--primary:hover { background: var(--primary-dark); color: #fff; }
.tech-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.tech-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tech-btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.tech-btn--outline:hover { background: var(--primary); color: #fff; }

/* ---------- 子栏目导航 ---------- */
.tech-subnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* is-sticky 由 JS 添加，top 值按主头部实时高度计算，避免和 sticky header 重叠 */
.tech-subnav.is-sticky {
  position: sticky;
  z-index: 60;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.tech-subnav__scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.tech-subnav__scroll::-webkit-scrollbar { display: none; }

.tech-subnav__link {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 30px;
  font-size: .88rem;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
}

.tech-subnav__link:hover { border-color: var(--primary); color: var(--primary); }
.tech-subnav__link.is-active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ---------- 通用区块 ---------- */
.tech-section { padding: 66px 0; }
.tech-section--alt { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-section--tight { padding: 46px 0; }

.tech-eyebrow {
  display: block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.tech-section h2 {
  font-size: 1.85rem;
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--text);
}

.tech-section h3 {
  font-size: 1.18rem;
  line-height: 1.4;
  margin: 26px 0 10px;
  color: var(--text);
}

.tech-lead {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0 0 18px;
}

.tech-section p {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0 0 14px;
}

.tech-section ul,
.tech-section ol { margin: 0 0 16px; padding-left: 22px;}

.tech-section li {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 6px;
}

.tech-section a { color: var(--primary); text-decoration: none; }
.tech-section a:hover { text-decoration: underline; }
.tech-section strong { color: var(--text); }

/* ---------- 入口卡片 ---------- */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}

.tech-card:hover { border-color: var(--primary); box-shadow: 0 10px 28px rgba(0, 0, 0, .09); transform: translateY(-3px); }

.tech-card__media { aspect-ratio: 16 / 10; background: var(--bg-light); overflow: hidden; }
.tech-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tech-card:hover .tech-card__media img { transform: scale(1.045); }

.tech-card__body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }

.tech-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.tech-card__body h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--text); }
.tech-card__body p { font-size: .9rem; line-height: 1.65; color: var(--text-lighter); margin: 0 0 14px; flex: 1; }
.tech-card__more { font-size: .86rem; font-weight: 600; color: var(--primary); }

/* ---------- 图文两栏 ---------- */
.tech-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 44px;
  align-items: center;
}

.tech-split--reverse .tech-split__media { order: -1; }
.tech-split + .tech-split { margin-top: 56px; }

.tech-split__media { margin: 0; }
.tech-split__media img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* ---------- 图片说明 ---------- */
.tech-figure { margin: 0; }

.tech-figure img { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--bg-light); }

.tech-figure figcaption {
  font-size: .84rem;
  color: var(--text-lighter);
  line-height: 1.6;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.tech-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tech-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 表格 ---------- */
.tech-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 10px; background: #fff; }

.tech-table { width: 100%; border-collapse: collapse; min-width: 640px; }

.tech-table caption {
  caption-side: top;
  text-align: left;
  font-size: .84rem;
  color: var(--text-lighter);
  padding: 14px 18px 0;
}

.tech-table th,
.tech-table td {
  padding: 13px 16px;
  text-align: left;
  font-size: .9rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.tech-table thead th {
  background: var(--bg-light);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--border-dark);
}

.tech-table tbody tr:last-child td { border-bottom: none; }
.tech-table tbody tr:hover { background: #fcfcfd; }
.tech-table td strong { color: var(--text); }
.tech-table__note { font-size: .8rem; color: var(--text-lighter); margin-top: 10px; }

/* ---------- 流程时间线 ---------- */
.tech-timeline { margin-top: 34px; position: relative; }

.tech-step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.tech-step:last-child { border-bottom: 1px solid var(--border); }

.tech-step__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: .02em;
}

.tech-step__body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.tech-step__body p { margin: 0 0 10px; }
.tech-step__control {
  display: inline-block;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 8px 14px;
}

/* ---------- 清单 ---------- */
.tech-checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}

.tech-checklist li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--text-light);
}

.tech-checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-size: .8rem;
}

/* ---------- 提示块 ---------- */
.tech-callout {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 26px 0;
}

.tech-callout h3 { margin: 0 0 8px; font-size: 1rem; }
.tech-callout p:last-child { margin-bottom: 0; }

/* ---------- 矩阵表 ---------- */
.tech-matrix__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.tech-matrix__legend a {
  font-size: .84rem;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-light);
  text-decoration: none;
}

.tech-matrix__legend a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- FAQ ---------- */
.tech-faq { margin-top: 30px; border-top: 1px solid var(--border); }

.tech-faq__item { border-bottom: 1px solid var(--border); }

.tech-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
}

.tech-faq__q i { color: var(--primary); font-size: .9rem; margin-top: 5px; transition: transform .3s ease; flex: 0 0 auto; }
.tech-faq__item.is-open .tech-faq__q i { transform: rotate(45deg); }

.tech-faq__a { display: none; padding: 0 0 22px; }
.tech-faq__item.is-open .tech-faq__a { display: block; }
.tech-faq__a p { margin: 0 0 12px; }
.tech-faq__a p:last-child { margin-bottom: 0; }

/* ---------- 内链模块 ---------- */
.tech-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.tech-related__card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.tech-related__card:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(0, 0, 0, .07); }
.tech-related__card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--text); }
.tech-related__card p { margin: 0; font-size: .88rem; color: var(--text-lighter); line-height: 1.65; }
.tech-related__card span { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--primary); }

/* ---------- 底部 CTA ---------- */
.tech-cta {
  background: #14171c;
  color: #fff;
  padding: 62px 0;
  text-align: center;
}

.tech-cta h2 { color: #fff; font-size: 1.75rem; margin: 0 0 14px; }
.tech-cta p { color: rgba(255, 255, 255, .82); font-size: .98rem; line-height: 1.8;margin: 0 auto 26px; }
.tech-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.tech-cta__points {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  font-size: .86rem;
  color: rgba(255, 255, 255, .75);
  list-style: none;
  padding: 0;
}

.tech-cta__points li { margin: 0; color: rgba(255, 255, 255, .75); }
.tech-cta__points li i { color: var(--primary); margin-right: 7px; }

/* ---------- 面包屑后的窄引导条 ---------- */
.tech-intro-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.tech-intro-bar p { margin: 0; font-size: .92rem; color: var(--text-light); line-height: 1.7;}
.tech-intro-bar strong { color: var(--text); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .tech-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .tech-hero { padding: 66px 0 60px; }
  .tech-hero h1 { font-size: 2rem; }
  .tech-split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tech-split--reverse .tech-split__media { order: 0; }
  .tech-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .tech-hero { padding: 48px 0 44px; }
  .tech-hero h1 { font-size: 1.62rem; }
  .tech-hero p { font-size: .95rem; }
  .tech-hero__fact strong { font-size: 1.1rem; }
  .tech-section { padding: 44px 0; }
  .tech-section h2 { font-size: 1.35rem; }
  .tech-section h3 { font-size: 1.05rem; }
  .tech-cards,
  .tech-gallery,
  .tech-gallery--2,
  .tech-related,
  .tech-checklist { grid-template-columns: minmax(0, 1fr); }
  .tech-step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .tech-step__num { font-size: 1.2rem; }
  .tech-btn { width: 100%; justify-content: center; }
  .tech-cta { padding: 46px 0; }
  .tech-cta h2 { font-size: 1.3rem; }
}

/* ===========================================================
   v2.4（2026-09-18）：权威化组件
   数据条 / 来源清单 / 署名 / 结果徽标 / 说明段
   依赖 common.css 中的 CSS 变量
   =========================================================== */

/* ---------- 工厂数据条 ---------- */
.tech-factbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 28px 0 0;
}

.tech-factbar__item {
  background: #fff;
  padding: 20px 18px;
  text-align: center;
}

.tech-factbar__num {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 4px;
}

.tech-factbar__label {
  display: block;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-lighter);
}

/* ---------- 结果徽标 ---------- */
.tech-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.tech-badge--pass { background: #dcfce7; color: #166534; }
.tech-badge--info { background: #e0e7ff; color: #3730a3; }

/* ---------- 说明段 ---------- */
.tech-note {
  font-size: .84rem;
  line-height: 1.7;
  color: var(--text-lighter);
  margin: 16px 0 0;
}

/* ---------- 来源清单 ---------- */
.tech-sources {
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.tech-sources li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 10px;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-lighter);
}

.tech-sources li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .55;
}

.tech-sources__title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-lighter);
  margin: 0 0 14px;
}

/* ---------- 署名 ---------- */
.tech-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 18px;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text-lighter);
}

.tech-byline strong { color: var(--text); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .tech-factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .tech-factbar { grid-template-columns: 1fr; }
  .tech-factbar__item { padding: 16px 14px; }
}
