/* 产品专题 页面样式（由原型导出） */
/* ============================================================
   真空吸具系统 专题页
   ============================================================ */

/* ---------- 专题 Hero ---------- */
.topic-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 96px 0 88px;
  overflow: hidden;
}
.topic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.topic-hero::after {
  content: "";
  position: absolute;
  top: -140px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14,78,140,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.topic-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.topic-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red);
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.topic-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.topic-hero h1 .hl { color: var(--brand-red-light); }
.topic-hero .en-sub {
  font-size: 14px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.topic-hero .hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 36px;
}
.topic-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.topic-hero-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.topic-hero-img img { width: 100%; height: auto; }
.topic-hero-img .float-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--brand-orange);
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(6,182,212,0.4);
}

/* 数据条 */
.topic-stats {
  background: var(--brand-red);
  position: relative;
  overflow: hidden;
}
.topic-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.topic-stats-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.topic-stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.topic-stat:last-child { border-right: none; }
.topic-stat .num { font-size: 40px; font-weight: 900; color: #fff; line-height: 1; }
.topic-stat .num .unit { font-size: 16px; font-weight: 600; margin-left: 4px; opacity: 0.85; }
.topic-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 8px; letter-spacing: 1px; }

/* ---------- 痛点对比 ---------- */
.topic-pain { padding: 110px 0; background: var(--bg); }
.pain-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pain-card {
  border-radius: 6px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.pain-card--old {
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.pain-card--new {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff;
  border: 1px solid rgba(14,78,140,0.4);
}
.pain-card--new::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pain-card-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.pain-card--old .pain-card-tag { background: var(--gray); color: #fff; }
.pain-card--new .pain-card-tag { background: var(--brand-red); color: #fff; }
.pain-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 20px; position: relative; z-index: 1; }
.pain-card ul { position: relative; z-index: 1; }
.pain-card ul li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px dashed var(--line);
}
.pain-card--new ul li { border-bottom-color: var(--line-dark); color: rgba(255,255,255,0.85); }
.pain-card ul li:last-child { border-bottom: none; }
.pain-card--old ul li { color: var(--steel); }
.pain-card ul li svg { flex-shrink: 0; margin-top: 4px; }
.pain-card--old ul li svg { color: var(--gray); }
.pain-card--new ul li svg { color: var(--brand-red-light); }

/* ---------- 结构分解 ---------- */
.topic-structure { padding: 110px 0; background: var(--bg-soft); }
.structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.structure-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.structure-visual img { width: 100%; height: auto; }
.structure-list { display: flex; flex-direction: column; gap: 0; }
.structure-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.structure-item:first-child { border-top: 1px solid var(--line); }
.structure-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--brand-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-red);
}
.structure-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.structure-item p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ---------- 八大特性 ---------- */
.topic-features { padding: 110px 0; background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.topic-features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.topic-features .section-title { color: #fff; }
.topic-features .section-title .en { color: rgba(255,255,255,0.4); }
.topic-features .section-desc { color: rgba(255,255,255,0.55); }
.tf-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 26px 22px;
  transition: all 0.3s;
  position: relative;
}
.tf-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.tf-card:hover { background: rgba(14,78,140,0.1); border-color: rgba(14,78,140,0.35); transform: translateY(-4px); }
.tf-card:hover::before { transform: scaleX(1); }
.tf-card-icon {
  width: 44px; height: 44px;
  background: rgba(14,78,140,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-red-light);
  margin-bottom: 16px;
}
.tf-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tf-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ---------- 系列矩阵 ---------- */
.topic-series { padding: 110px 0; background: var(--bg); }
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.series-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s;
  position: relative;
}
.series-card:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.1); transform: translateY(-4px); border-color: rgba(14,78,140,0.25); }
.series-card-img {
  height: 200px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #fff;
}
.series-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.4s; }
.series-card:hover .series-card-img img { transform: scale(1.06); }
.series-card-body { padding: 24px; }
.series-card-body .tag-row { display: flex; gap: 6px; margin-bottom: 12px; }
.series-card-body h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.series-card-body p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.series-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
}
.series-card:hover .series-card-link { gap: 10px; }
.series-card-link { transition: gap 0.2s; }

/* ---------- 选型流程 ---------- */
.topic-flow { padding: 110px 0; background: var(--bg-soft); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow-step {
  padding: 0 16px;
  text-align: center;
  position: relative;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14,78,140,0.4));
}
.flow-step:first-child::before { display: none; }
.flow-step-num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-red);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(14,78,140,0.12);
}
.flow-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 12px; color: var(--gray); line-height: 1.7; }

/* ---------- FAQ ---------- */
.topic-faq { padding: 110px 0; background: var(--bg); }
.faq-list { max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand-red); }
.faq-q .q-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: rgba(14,78,140,0.08);
  color: var(--brand-red);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 900;
}
.faq-q .q-arrow { margin-left: auto; transition: transform 0.25s; color: var(--gray); flex-shrink: 0; }
.faq-item.open .faq-q .q-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 22px 20px 62px;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.9;
}
.faq-item.open .faq-a { display: block; }

@media (max-width: 1024px) {
  .topic-hero-grid, .pain-compare, .structure-grid { grid-template-columns: 1fr; gap: 40px; }
  .tf-grid { grid-template-columns: repeat(2, 1fr); }
  .series-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-step::before { display: none; }
  .topic-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .topic-stat:nth-child(2) { border-right: none; }
  .topic-stat:nth-child(3), .topic-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 600px) {
  .topic-hero h1 { font-size: 32px; }
  .tf-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   以下为「专题模块」新增的六种分栏
   （媒体图文 / 应用场景 / 技术参数表 / 全宽横幅 / 图文段落 / 客户案例）
   ============================================================ */

/* ---------- 图文详解：图在右侧 / 纯段落 ---------- */
.structure-grid--rev .structure-visual { order: 2; }
.structure-item--para { border-top: 1px solid var(--line); }
.structure-item--para p { font-size: 14px; color: var(--steel); line-height: 1.9; }
.structure-item--para p + p { margin-top: 12px; }

/* ---------- 应用场景 ---------- */
.topic-scenes { padding: 110px 0; background: var(--bg); }
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.scene-card:hover {
  box-shadow: 0 16px 44px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: rgba(14,78,140,0.25);
}
.scene-card-img {
  height: 176px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scene-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.scene-card:hover .scene-card-img img { transform: scale(1.06); }
.scene-card-img svg { width: 46px; height: 46px; color: var(--gray-light); }
.scene-card-body { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.scene-card-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.scene-card-body p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ---------- 技术参数表 ---------- */
.topic-specs { padding: 110px 0; background: var(--bg-soft); }
.specs-wrap {
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 15px 24px;
  letter-spacing: 0.5px;
}
.specs-table td {
  padding: 15px 24px;
  font-size: 14px;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}
.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr:nth-child(even) { background: #FAFAFB; }
.specs-table td:first-child { font-weight: 700; color: var(--ink); width: 38%; }

/* ---------- 全宽横幅 ---------- */
.topic-banner {
  position: relative;
  padding: 96px 0;
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.topic-banner-mask { position: absolute; inset: 0; background: rgba(20,23,28,0.72); }
.topic-banner--img .topic-banner-mask {
  background: linear-gradient(90deg, rgba(20,23,28,0.94) 0%, rgba(20,23,28,0.66) 58%, rgba(20,23,28,0.42) 100%);
}
.topic-banner-inner { position: relative; z-index: 2; }
.topic-banner-inner h2 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 780px;
}
.topic-banner-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 30px;
  max-width: 660px;
}

/* ---------- 图文段落 ---------- */
.topic-richtext { padding: 110px 0; background: var(--bg); }
.richtext-body { max-width: 880px; }
.richtext-body p { font-size: 15px; color: var(--steel); line-height: 2; margin-bottom: 18px; }
.richtext-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.richtext-list li { display: flex; gap: 12px; font-size: 14px; color: var(--steel); line-height: 1.8; }
.richtext-list li svg { flex-shrink: 0; margin-top: 5px; color: var(--brand-red); }

/* ---------- 客户案例 ---------- */
.topic-cases { padding: 110px 0; background: var(--bg-soft); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px 26px;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--brand-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}
.case-card:hover::before { transform: scaleY(1); }
.case-card-quote-mark {
  font-size: 46px;
  font-weight: 900;
  color: rgba(14,78,140,0.16);
  line-height: 1;
  margin-bottom: 8px;
}
.case-card-quote { font-size: 14px; color: var(--steel); line-height: 1.9; margin-bottom: 22px; }
.case-card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-card-name { font-size: 14px; font-weight: 700; }
.case-card-ind {
  font-size: 12px;
  color: var(--brand-red);
  background: rgba(14,78,140,0.08);
  border-radius: 2px;
  padding: 2px 8px;
}

@media (max-width: 1024px) {
  .scenes-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-banner-inner h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .scenes-grid, .cases-grid { grid-template-columns: 1fr; }
  .topic-banner { padding: 64px 0; }
  .topic-banner-inner h2 { font-size: 24px; }
  .specs-table th, .specs-table td { padding: 12px 14px; font-size: 13px; }
}
