/* 流程页面样式 */

/* 流程区域 */
.process-section {
  min-height: calc(100vh - 106px - 300px);
  background: #f5f5f5;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.process-bg-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  /*background: linear-gradient(135deg, rgba(240, 240, 240, 0.8) 0%, transparent 100%);*/
  pointer-events: none;
}

.process-bg-left::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: 300px;
  /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 300"><path d="M0 150 Q75 100 150 150 Q75 200 0 150" fill="none" stroke="%23e0e0e0" stroke-width="1"/><path d="M0 120 Q75 70 150 120" fill="none" stroke="%23e8e8e8" stroke-width="1"/><path d="M0 180 Q75 230 150 180" fill="none" stroke="%23e8e8e8" stroke-width="1"/></svg>') no-repeat center;*/
}

.process-bg-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  /*background: linear-gradient(-45deg, rgba(200, 210, 220, 0.4) 0%, transparent 70%);*/
  pointer-events: none;
}

/* 标签切换 */
.process-tabs {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.process-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: #ddd;
}

.process-tab {
  background: none;
  border: none;
  font-size: 16px;
  color: #666;
  padding: 12px 20px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.process-tab:hover {
  color: #e85a3c;
}

.process-tab.active {
  color: #e85a3c;
}

.process-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #e85a3c;
  z-index: 1;
}

/* 流程内容 */
.process-content {
  position: relative;
}

/* ===== 新流程样式 ===== */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 单个步骤 */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

/* 步骤编号圆圈 */
.step-number {
  width: 44px;
  height: 44px;
  background: #6366f1;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.4);
}

/* 步骤文字 */
.step-text {
  font-size: 13px;
  color: #333;
  text-align: center;
  line-height: 1.4;
  max-width: 100px;
}

/* 箭头 */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-bottom: 30px;
}

.step-arrow svg {
  width: 20px;
  height: 20px;
}

/* 详细查看按钮 */
.process-action {
  text-align: center;
  margin-top: 50px;
}

.btn-detail {
  display: inline-block;
  background: #e88a6f;
  color: #fff;
  padding: 16px 80px;
  border-radius: 30px;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(232, 138, 111, 0.4);
}

.btn-detail:hover {
  background: #d67a5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 138, 111, 0.5);
}

/* 响应式 */
@media (max-width: 1200px) {
  .process-flow {
    gap: 6px;
  }
  
  .process-step {
    min-width: 80px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .step-text {
    font-size: 12px;
    max-width: 85px;
  }
  
  .step-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 992px) {
  .process-flow {
    gap: 15px 10px;
  }
  
  .process-step {
    min-width: 100px;
  }
  
  .step-arrow {
    margin-bottom: 0;
  }
  
  .process-tabs {
    gap: 30px;
  }
  
  .process-tabs::after {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 40px 0 60px;
  }
  
  .process-tabs {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .process-tab {
    font-size: 14px;
    padding: 10px 16px;
  }
  
  .process-tabs::after {
    width: 250px;
  }
  
  .process-flow {
    gap: 12px 8px;
  }
  
  .step-arrow {
    display: none;
  }
  
  .process-step {
    width: calc(33.33% - 10px);
    min-width: auto;
  }
  
  .btn-detail {
    padding: 14px 60px;
    font-size: 15px;
  }
  
  .process-bg-left,
  .process-bg-right {
    display: none;
  }
}

@media (max-width: 480px) {
  .process-step {
    width: calc(50% - 8px);
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  
  .step-text {
    font-size: 11px;
  }
}
