/*
  服务详情页专用样式
  文件: css/pages/_service-page.css
  模板: templates/page-*.php (各服务详情页)
  依赖: front-page.css (复用变量和组件样式)
*/

/* ============================================
   Hero 横幅 - 全新设计
   ============================================ */
.sp-hero {
  position: relative;
  padding: 0;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

/* 背景层 */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 光晕装饰 */
.sp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.sp-hero-glow--top {
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--hero-accent, #27C5FF) 0%, transparent 70%);
}
.sp-hero-glow--bottom {
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
}

/* 网格纹理 */
.sp-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.sp-hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding-bottom: 48px;
  
  text-align: left;
}

/* 面包屑导航 */
.sp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.sp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color .2s;
}
.sp-breadcrumb a:hover {
  color: var(--hero-accent, #27C5FF);
}
.sp-breadcrumb a svg {
  opacity: .7;
}
.sp-sep {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.3);
}
.sp-current {
  color: var(--hero-accent, #27C5FF);
  font-weight: 600;
}



.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--hero-eyebrow, #9fdfff);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.sp-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--hero-accent, #27C5FF);
  border-radius: 1px;
}

.sp-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  color: #fff !important;
}

.sp-hero-desc {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.75) !important;
  
}

/* 强制Hero内所有文字白色 */
.sp-hero,
.sp-hero * {
  color: #fff;
}
.sp-hero .sp-hero-desc {
  color: rgba(255,255,255,.75);
}
.sp-hero .sp-breadcrumb {
  color: rgba(255,255,255,.6);
}
.sp-hero .sp-breadcrumb a {
  color: rgba(255,255,255,.8);
}
.sp-hero .sp-current {
  color: var(--hero-accent, #27C5FF);
}

/* 底部装饰线 */
.sp-hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 3;
}
.sp-hero-line-accent {
  display: block;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, var(--hero-accent, #27C5FF), transparent);
  border-radius: 0 2px 2px 0;
}

/* 背景图片遮罩层 */
.sp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(12,26,58,0.92) 0%, rgba(26,58,108,0.85) 40%, rgba(37,99,235,0.78) 100%);
  pointer-events: none;
}

/* Hero主题色覆盖 - 统一使用蓝色系 */
.sp-hero--default .sp-hero-glow--top { background: radial-gradient(circle, #60a5fa 0%, transparent 70%); }

/* Hero搜索框 */
.sp-hero-search {
  margin-top: 32px;
  max-width: 520px;
}

.sp-hero-search__box {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 5px 5px 5px 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.sp-hero-search__box:focus-within {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.2);
}

.sp-hero-search__icon {
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-right: 10px;
}

.sp-hero-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  padding: 10px 0;
  min-width: 0;
}

.sp-hero-search__input::placeholder {
  color: rgba(255,255,255,0.4);
}

.sp-hero-search__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.sp-hero-search__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(59,130,246,0.4);
}

/* 响应式 */
@media (max-width: 768px) {
  .sp-hero { min-height: 320px; }
  .sp-hero .container { padding: 0 20px; }
  .sp-breadcrumb { font-size: 12px; padding: 6px 12px; }
  .sp-hero-content { max-width: 100%; }
  .sp-hero-line-accent { width: 80px; }
  .sp-hero-search { max-width: 100%; }
  .sp-hero-search__box { padding: 4px 4px 4px 12px; }
  .sp-hero-search__input { font-size: 14px; padding: 8px 0; }
  .sp-hero-search__btn { width: 40px; height: 40px; }
}

/* 概述区 */
.sp-intro {
  padding: 64px 0;
}
.sp-intro .section-head p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--steel);
}
.sp-intro .section-head p + p {
  margin-top: 12px;
}

/* 医疗标签 */
.medical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.medical-tags span {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(39,197,255,.35);
  border-radius: 100px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  background: rgba(39,197,255,.06);
}

/* 认证卡片网格 - 全球认证页专用 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.cert-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(8,38,80,.15);
}
.cert-card .cert-region {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.cert-card .cert-region.america { background: #e8f0fe; color: #1967d2; }
.cert-card .cert-region.europe { background: #e6f4ea; color: #137333; }
.cert-card .cert-region.asia { background: #fce8e6; color: #c5221f; }
.cert-card .cert-region.other { background: #f3e8fd; color: #7b1fa2; }

.cert-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.cert-card p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* 标准矩阵表格 - 测试能力页专用 */
.std-matrix-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.std-matrix-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}
.std-matrix-table th {
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--blue), #064a9d);
  color: #fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.std-matrix-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.std-matrix-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.std-matrix-table tr:nth-child(even) td {
  background: var(--soft);
}
.std-matrix-table td:first-child {
  font-weight: 700;
  color: var(--blue);
}
.std-matrix-table .check-yes {
  color: var(--green);
  font-weight: 800;
}
.std-matrix-table .check-partial {
  color: var(--accent);
  font-weight: 700;
}

/* 资质列表 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.honor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.honor-item .honor-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}
.honor-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* 路径对比表 - FCC页专用 */
.path-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.path-card {
  padding: 28px 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.path-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.path-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, #f0f7ff, #fff);
}
.path-card .path-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.path-card.featured .path-badge {
  background: var(--blue);
  color: #fff;
}
.path-card .path-badge:not(.featured) {
  background: var(--soft);
  color: var(--steel);
}
.path-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}
.path-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.path-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--steel);
  border-bottom: 1px dashed var(--line);
}
.path-card ul li:last-child {
  border-bottom: none;
}

/* 品类详情网格 - 消费电子页专用 */
.category-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.category-detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.category-detail-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-detail-card h3 .cat-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  color: var(--blue);
  font-size: 16px;
}
.category-detail-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}
.category-detail-card .cat-reqs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-detail-card .cat-reqs li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--ink);
}
.category-detail-card .cat-reqs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* 设备分类卡片 - 医疗器械页专用 */
.medical-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.med-device-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.med-device-card:hover {
  transform: translateY(-3px);
}
.med-device-card .med-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 24px;
  color: #fff;
}
.med-device-card .med-icon.home { background: linear-gradient(135deg, #43a047, #2e7d32); }
.med-device-card .med-icon.pro { background: linear-gradient(135deg, #1e88e5, #1565c0); }
.med-device-card .med-icon.ivd { background: linear-gradient(135deg, #8e24aa, #6a1b9a); }
.med-device-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}
.med-device-card p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* 响应式 */
@media (max-width: 992px) {
  .sp-hero { padding: 72px 0 56px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .test-matrix { grid-template-columns: 1fr; }
  .capability-list { grid-template-columns: 1fr; }
  .path-compare { grid-template-columns: 1fr; }
  .category-detail-grid { grid-template-columns: 1fr; }
  .medical-device-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sp-hero { padding: 56px 0 44px; }
  .sp-hero h1 { font-size: 28px; }
  .section { padding: 48px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr; }
  .matrix-panel h3 { font-size: 18px; }
  .check-list { grid-template-columns: 1fr; }
  .process { overflow-x: auto; flex-wrap: nowrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ====== 视觉层次多样化：Section背景变体 ====== */

/* 深色section增强 - 带微妙渐变和纹理 */
.section.dark {
  background: linear-gradient(180deg, #041327 0%, #061a35 50%, #082650 100%);
  position: relative;
}
.section.dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(39,197,255,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(18,103,241,.03) 0%, transparent 50%);
  pointer-events: none;
}
.section.dark .eyebrow { color: #9fdfff; }
/* 只对section直接子元素的标题和段落生效，不嵌套组件内的 */
.section.dark > .container > .section-head h2,
.section.dark > h2 {
  color: #fff;
}
.section.dark > .container > .section-head h3,
.section.dark > h3 {
  color: rgba(255,255,255,.9);
}
.section.dark > .container > .section-head p,
.section.dark > .container > .sp-intro > p,
.section.dark > p {
  color: rgba(255,255,255,.65);
}
/* 只对section直接子元素的check-list生效，不嵌套组件内的 */
.section.dark > .container > .check-list li,
.section.dark > .check-list li {
  color: rgba(255,255,255,.8);
}
.section.dark > .container > .check-list li::before,
.section.dark > .check-list li::before {
  background: var(--cyan);
}

/* ====== 嵌套组件颜色重置：阻止从.section.dark继承白色 ======
   原因：front-page.css中 .section.dark { color: var(--white) } 
   会导致所有子元素继承白色，包括嵌套的卡片/列表等组件
   解决方案：为常见嵌套组件显式设置正确的颜色 */
.section.dark .service-card,
.section.dark .service-card h3,
.section.dark .service-card p {
  color: var(--ink);
}
.section.dark .service-card p {
  color: var(--steel);
}
.section.dark .dual-col,
.section.dark .dual-col h3,
.section.dark .dual-col h4,
.section.dark .dual-col li,
.section.dark .dual-col p {
  color: var(--ink);
}
.section.dark .matrix-panel,
.section.dark .matrix-panel h3,
.section.dark .matrix-panel li,
.section.dark .matrix-panel p {
  color: var(--ink);
}
.section.dark .domain-card,
.section.dark .domain-card strong,
.section.dark .domain-card p {
  color: var(--ink);
}
.section.dark .domain-card p {
  color: var(--steel);
}
.section.dark .cert-card,
.section.dark .cert-card h3,
.section.dark .cert-card p {
  color: var(--ink);
}
.section.dark .med-device-card,
.section.dark .med-device-card h3,
.section.dark .med-device-card p {
  color: var(--ink);
}
.section.dark .category-detail-card,
.section.dark .category-detail-card h3,
.section.dark .category-detail-card p,
.section.dark .category-detail-card li {
  color: var(--ink);
}
.section.dark .category-detail-card p,
.section-dark .category-detail-card li {
  color: var(--steel);
}
.section-dark .capability-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.section.dark .capability-item strong { color: #9fdfff; }
.section.dark .capability-item span { color: rgba(255,255,255,.55); }

/* consumer-capability-item 在 dark section 中颜色重置 */
.section.dark .consumer-capability-item,
.section.dark .consumer-capability-item strong,
.section.dark .consumer-capability-item span {
  color: var(--ink);
}
.section.dark .consumer-capability-item span {
  color: var(--steel);
}

/* ====== 默认(非dark)section颜色确保可见 ====== */
.section:not(.dark):not(.sp-hero):not(.contact-section) h2 {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) h3 {
  color: var(--ink);
}

.section:not(.dark):not(.sp-hero):not(.contact-section) .check-list li {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .capability-item strong {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .capability-item span {
  color: var(--steel);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .domain-card strong {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .domain-card p {
  color: var(--steel);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .service-card h3 {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .service-card p {
  color: var(--steel);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .path-card h3 {
  color: var(--ink);
}
.section:not(.dark):not(.sp-hero):not(.contact-section) .matrix-panel h3 {
  color: var(--ink);
}

/* soft背景section也用深色文字 */
.section.soft h2,
.section.soft h3,
.section.soft p,
.section.soft .check-list li,
.section.soft .capability-item strong,
.section.soft .domain-card strong {
  color: var(--ink);
}
.section.soft p,
.section.soft .capability-item span,
.section.soft .domain-card p {
  color: var(--steel);
}

/* 浅色soft section增强 - 带微妙的图案 */
.section.soft {
  background:
    radial-gradient(circle at 10% 90%, rgba(39,197,255,.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(18,103,241,.03) 0%, transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fb 50%, #fff 100%);
}

/* 默认白色section微调 */
.section:not(.dark):not(.soft):not(.sp-hero):not(.contact-section) {
  background: #fff;
}

/* ====== 特殊布局变体：左图右文（用于带图片说明的section）====== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.split-layout.reverse {
  direction: rtl;
}
.split-layout.reverse > * {
  direction: ltr;
}
.split-visual {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.split-text h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}
.split-text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}
.split-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.split-text ul li {
  padding: 5px 0 5px 24px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}
.split-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* ====== 数字统计条 ====== */
.stats-bar {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat-box {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .25s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
}
.stat-box .stat-num {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}
.stat-box .stat-label {
  font-size: 13px;
  color: var(--steel);
  margin-top: 4px;
}

/* ====== 引用/高亮块 ====== */
.quote-block {
  position: relative;
  padding: 32px 36px;
  margin-top: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f7ff, #eef4ff);
  border-left: 4px solid var(--blue);
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 48px;
  color: var(--cyan);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
}
.quote-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

/* ====== 时间线横向 ====== */
.timeline-horizontal {
  display: flex;
  gap: 0;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.tl-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.tl-step::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.tl-step:last-child::after { display: none; }
.tl-step .tl-num {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.tl-step h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.tl-step p {
  margin: 0;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}

/* ====== 对比表格增强 ====== */
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--blue), #064a9d);
  color: #fff;
  font-weight: 700;
  text-align: left;
}
.compare-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table tbody tr:nth-child(even) td { background: var(--soft); }
.compare-table tbody tr:hover td { background: #e8f0fe; }
.compare-table .col-highlight {
  background: linear-gradient(180deg, #eef4ff, #f0f7ff) !important;
  font-weight: 700;
  color: var(--blue);
}

/* ====== 标签云增强 ====== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.tag-cloud .tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s ease;
  cursor: default;
}
.tag-cloud .tag.blue {
  background: #e8f0fe;
  color: #1967d2;
  border: 1px solid #d2e3fc;
}
.tag-cloud .tag.green {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}
.tag-cloud .tag.orange {
  background: #fef7e0;
  color: #ea8600;
  border: 1px solid #fdeacc;
}
.tag-cloud .tag.purple {
  background: #f3e8fd;
  color: #7b1fa2;
  border: 1px solid #e8d0f5;
}
.tag-cloud .tag.red {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}
.tag-cloud .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* ====== 图标特性列表 ====== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.feature-item:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(18,103,241,.1);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-icon.blue { background: linear-gradient(135deg, #e8f0fe, #d2e3fc); }
.feature-icon.cyan { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.feature-icon.green { background: linear-gradient(135deg, #e6f4ea, #c8e6c9); }
.feature-icon.orange { background: linear-gradient(135deg, #fef7e0, #ffe0b2); }
.feature-icon.purple { background: linear-gradient(135deg, #f3e8fd, #e1bee7); }
.feature-icon.red { background: linear-gradient(135deg, #fce8e6, #ffcdd2); }
.feature-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.feature-content p {
  margin: 0;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
}

/* ====== CTA横幅 ====== */
.cta-banner {
  margin-top: 40px;
  padding: 48px 40px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner.gradient-blue {
  background: linear-gradient(135deg, #1267f1 0%, #064a9d 50%, #041327 100%);
  color: #fff;
}
.cta-banner.gradient-cyan {
  background: linear-gradient(135deg, #27c5ff 0%, #1267f1 100%);
  color: #fff;
}
.cta-banner h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
}
.cta-banner p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: .85;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
}
.cta-banner.gradient-blue .btn {
  background: #fff;
  color: var(--blue);
}
.cta-banner.gradient-blue .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.cta-banner.gradient-cyan .btn {
  background: #fff;
  color: var(--blue);
}

/* 响应式补充 */
@media (max-width: 992px) {
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
  .split-layout.reverse { direction: ltr; }
  .stats-bar { gap: 16px; }
  .stat-box { min-width: 120px; }
  .feature-list { grid-template-columns: 1fr; }
  .timeline-horizontal { flex-direction: column; }
  .tl-step::after { display: none !important; }
}

@media (max-width: 768px) {
  .split-visual { height: 220px; font-size: 48px; }
  .stat-box .stat-num { font-size: 28px; }
  .quote-block { padding: 24px 20px; }
  .quote-block p { font-size: 15px; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner h3 { font-size: 20px; }
}

/* 有背景图的section */
.section.has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  z-index: 0;
}

/* overlay遮罩层 - 确保背景图上的文字清晰可见 */
.section.has-bg-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 19, 39, 0.75);
  z-index: 0;
  pointer-events: none;
}

/* 内容层级提升 - 确保内容在遮罩层之上 */
.section.has-bg-image > * {
  position: relative;
  z-index: 1;
}

/* 深色背景图section - 只对section级直接子元素强制白色文字 */
.section.has-bg-image.dark > .container > .section-head,
.section.has-bg-image.dark > .container > .section-head h2,
.section.has-bg-image.dark > .container > .section-head h3,
.section.has-bg-image.dark > .container > .section-head p {
  color: #ffffff !important;
}

.section.has-bg-image.dark > .container > .eyebrow {
  color: #9fdfff !important;
}

/* section级描述文本（非嵌套组件内的）*/
.section.has-bg-image.dark > .container > .sp-intro > p,
.section.has-bg-image.dark > .container > .desc-text {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 浅色背景图section - 只对section级直接子元素强制深色文字 */
.section.has-bg-image:not(.dark) > .container > .section-head,
.section.has-bg-image:not(.dark) > .container > .section-head h2,
.section.has-bg-image:not(.dark) > .container > .section-head h3,
.section.has-bg-image:not(.dark) > .container > .section-head p {
  color: var(--ink) !important;
}

.section.has-bg-image:not(.dark) > .container > .sp-intro > p,
.section.has-bg-image:not(.dark) > .container > .desc-text {
  color: var(--steel) !important;
}

/* 增强深色section视觉效果 - 微妙光晕和纹理 */
.section.dark::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 70% 80%, rgba(39,197,255,.02) 0%, transparent 40%),
    radial-gradient(circle at 30% 20%, rgba(18,103,241,.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* 响应式优化 - 移动端背景图section调整 */
@media (max-width: 768px) {
  .section.has-bg-image {
    min-height: 300px;
    padding: 48px 0;
  }
  
  .section.has-bg-image::before {
    background: rgba(4, 19, 39, 0.8);
  }
  
  /* 移动端深色背景图文字稍大，提升可读性 */
  .section.has-bg-image.dark h2 {
    font-size: clamp(24px, 5vw, 32px);
  }
  
  .section.has-bg-image.dark p,
  .section.has-bg-image.dark li {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ====== domain-grid 3列变体（用于长内容场景如EMC整改案例）====== */
.domain-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.domain-grid-3col .domain-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.domain-grid-3col .domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8,38,80,.12);
}

.domain-grid-3col .domain-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
}

.domain-grid-3col .domain-card p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* 深色背景下的domain-grid-3col */
.section.dark .domain-grid-3col .domain-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
}

.section.dark .domain-grid-3col .domain-card strong {
  color: #9fdfff;
}

.section.dark .domain-grid-3col .domain-card p {
  color: rgba(255,255,255,.7);
}

/* 响应式：3列网格在平板变2列，手机变1列 */
@media (max-width: 992px) {
  .domain-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .domain-grid-3col {
    grid-template-columns: 1fr;
  }
}
