/* ===== 微信小程序定制专题（差异化布局，沿用整站蓝色主色） ===== */

.topic-wechat-page .topic-hero-accent {
  background: linear-gradient(135deg, #a8c4ff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- 八步流程：横向步骤条 + 卡片 ----- */
.wx-steps-road {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
  position: relative;
}

.wx-steps-road .wx-step-card:nth-child(-n+4)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -8px;
  width: 14px;
  height: 2px;
  background: rgba(24, 77, 196, .25);
  z-index: 2;
}

.wx-steps-road .wx-step-card:nth-child(4)::after,
.wx-steps-road .wx-step-card:nth-child(8)::after {
  display: none;
}

.wx-step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--r) - 4px);
  padding: 22px 18px 20px;
  box-shadow: var(--sh);
  transition: var(--tr);
}

.wx-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-m);
  border-color: rgba(24, 77, 196, .25);
}

.wx-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(24, 77, 196, .28);
}

.wx-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin: 0 0 10px;
}

.wx-step-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
}

/* ----- 功能模块：四列图标卡 ----- */
.wx-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.wx-module-card {
  background: #fff;
  border-radius: var(--r);
  padding: 26px 20px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  text-align: center;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.wx-module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
  opacity: 0;
  transition: opacity .3s;
}

.wx-module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-l);
}

.wx-module-card:hover::before {
  opacity: 1;
}

.wx-module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.wx-module-card .topic-adv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 14px;
}

.wx-module-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.wx-module-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
  text-align: left;
}

/* ----- 行业方案：左右交替大卡片 ----- */
.wx-industry-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.wx-industry-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  background: #fff;
  border-radius: calc(var(--r) + 2px);
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  transition: var(--tr);
}

.wx-industry-item:hover {
  box-shadow: var(--sh-m);
  border-color: rgba(24, 77, 196, .15);
}

.wx-industry-item:nth-child(even) {
  background: linear-gradient(135deg, #fff 0%, var(--blue-bg) 100%);
}

.wx-industry-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--blue-bg), #fff);
  border: 2px solid rgba(24, 77, 196, .12);
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.wx-industry-body {
  min-width: 0;
}

.wx-industry-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.4;
}

.wx-industry-lead {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.5;
}

.wx-industry-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
  margin: 0;
}

.wx-industry-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--r-s);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
  text-align: center;
  border-left: 4px solid var(--blue);
}

/* ----- 响应式 ----- */
@media (max-width: 1200px) {
  .wx-steps-road {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wx-steps-road .wx-step-card::after {
    display: none;
  }

  .wx-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .wx-steps-road,
  .wx-module-grid {
    grid-template-columns: 1fr;
  }

  .wx-industry-item {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 14px;
  }

  .wx-industry-index {
    width: 52px;
    height: 52px;
    font-size: 20px;
    border-radius: 14px;
  }
}
