/* Tab 切换样式 */
.process-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 50px 0;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn .tab-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: #f97316;
  color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.tab-btn.active {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
  transform: translateY(-2px);
}

.tab-btn.active .tab-icon {
  color: #fff;
}

/* 主内容区域切换 */
.main-departure,
.main-arrival {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.main-departure.hidden,
.main-arrival.hidden {
  display: none;
}

.main-departure {
  opacity: 1;
  transform: translateY(0);
}

.main-departure.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.main-arrival {
  opacity: 0;
  transform: translateY(-10px);
}

.main-arrival.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.process-hero {
  padding: 100px 0;
  text-align: center;
  background: #fff;
}

.process-visual {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 80px 0;
}

.process-visual::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #eff6ff 100%);
  z-index: 1;
}

.process-node {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.node-icon {
  width: 90px;
  height: 90px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  border: 8px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.process-node:hover .node-icon {
  background: #3b82f6;
  transform: scale(1.1);
}

.node-number {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 3px solid #fff;
}

.node-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 0 10px;
  min-height: 160px;
}

.node-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.node-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.commitment-section {
  background: #f8f9fa;
  padding: 100px 0;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.commitment-card {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.commitment-card .icon {
  color: #3b82f6;
  margin-bottom: 20px;
}

.commitment-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.commitment-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.cta-banner {
  background:
    linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.9)),
    url("/wp-content/themes/xzyky/assets/images/cta_banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: #fff;
  border-radius: 20px;
  margin: 80px 0;
}

.cta-banner h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .process-visual {
    flex-wrap: wrap;
    gap: 40px;
  }

  .process-visual::before {
    display: none;
  }

  .process-node {
    flex: 0 0 calc(50% - 20px);
  }

  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-node {
    flex: 0 0 100%;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }
}
