/* 中信保页面独有样式 */
@keyframes flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 103, 252, 0.15);
}

.dot-pattern {
  background-image: radial-gradient(circle, #0067FC 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

/* 中信保数据库模板：复用原版页面的区块与卡片视觉 */
.zxb-section .max-w-content {
  max-width: 1200px;
  box-sizing: border-box;
}

.zxb-section .section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #0067fc;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.zxb-section .card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.zxb-section .card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 184, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 103, 252, 0.15);
}

/* 原 .zxb-feature-media 已并入 show_function.css 的 .feature-capability-media（与电子商务平台共用） */

.zxb-section .avatar-placeholder {
  display: flex;
  width: 80px;
  height: 80px;
  margin-right: auto;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f5f7fa;
  box-shadow: 0 0 0 6px rgba(0, 103, 252, 0.06);
}

.zxb-section .avatar-placeholder svg {
  width: 40px;
  height: 40px;
}

.zxb-section .step-circle {
  position: relative;
  z-index: 1;
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0067fc, #03b8ff);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(0, 103, 252, 0.08);
}

.zxb-section .step-circle.pulse {
  animation: zxb-step-pulse 2.5s ease-in-out infinite;
}

.zxb-section .workflow-connector {
  background: linear-gradient(90deg, #0067fc, #03b8ff, #0067fc);
  background-size: 200% 100%;
  animation: zxb-connector-flow 4s linear infinite;
}

#steps-desktop > .workflow-connector {
  position: absolute;
  top: 20px;
  right: 10%;
  left: 10%;
  height: 2px;
}

#steps-desktop .step-node {
  min-width: 0;
}

#steps-desktop .step-node > p {
  width: 160px;
  max-width: 160px;
  margin-right: auto;
  margin-left: auto;
}

.zxb-section .icon-box {
  display: flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.zxb-section .icon-box img,
.zxb-section .icon-box svg {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.zxb-governance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.zxb-governance-card {
  width: 100%;
  flex: 0 1 282px;
}

.zxb-governance-icon {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.zxb-governance-icon img,
.zxb-governance-icon svg {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@keyframes zxb-step-pulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(0, 103, 252, 0.08);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 103, 252, 0.03);
  }
}

@keyframes zxb-connector-flow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes zxb-connector-flow-vertical {
  0% {
    background-position: 0 200%;
  }
  100% {
    background-position: 0 -200%;
  }
}

@media (max-width: 1023px) {
  .zxb-section .workflow-connector {
    background: linear-gradient(180deg, #0067fc, #03b8ff, #0067fc);
    background-size: 100% 200%;
    animation-name: zxb-connector-flow-vertical;
  }

  .zxb-section .whitespace-nowrap {
    white-space: normal;
  }
}

@media (max-width: 639px) {
  .zxb-governance-card {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zxb-section .step-circle.pulse,
  .zxb-section .workflow-connector {
    animation: none;
  }
}
