/* 服务中心页面样式 - AI风格 */

/* 使用主CSS变量，统一配色风格 */

/* 页面标题区 - 使用AI渐变Hero */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  margin-top: -70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero-subtitle {
  font-size: 20px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* 区块标题通用样式 */
.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
}

/* 核心业务区 */
.core-services {
  padding: 80px 0;
  background: var(--light-bg);
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.core-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.core-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.core-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.core-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #555;
}

.service-features li i {
  color: var(--primary-color);
  font-size: 12px;
}

.service-btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.service-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* 拓展业务区 */
.extended-services {
  padding: 80px 0;
  background: white;
}

.extended-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.extended-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--light-border);
  transition: all 0.3s ease;
  text-align: center;
}

.extended-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon-small {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: white;
}

.service-title-small {
  font-size: 18px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 12px;
}

.service-desc-small {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 服务流程区 */
.service-process {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light-bg) 0%, white 100%);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  font-size: 64px;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.1);
  line-height: 1;
  margin-bottom: -30px;
  position: relative;
  z-index: 0;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
  margin-top: 40px;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--primary-color);
}

/* 为什么选择我们 */
.why-choose-us {
  padding: 80px 0;
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--light-border);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.advantage-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* CTA区域 - 使用AI渐变 */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  color: white;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.cta-actions .btn-outline {
  border-color: white;
  color: white;
}

.cta-actions .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .core-services-grid {
    grid-template-columns: 1fr;
  }
  
  .extended-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .process-step {
    flex: 0 0 calc(50% - 40px);
    max-width: none;
  }
  
  .process-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .page-hero-title {
    font-size: 36px;
  }
  
  .page-hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .core-services,
  .extended-services,
  .service-process,
  .why-choose-us {
    padding: 60px 0;
  }
  
  .core-card {
    padding: 28px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  
  .service-title {
    font-size: 20px;
  }
  
  .extended-services-grid {
    grid-template-columns: 1fr;
  }
  
  .extended-card {
    padding: 24px;
  }
  
  .process-step {
    flex: 0 0 100%;
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .advantage-card {
    padding: 32px 24px;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .cta-subtitle {
    font-size: 16px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .core-card {
    padding: 24px 20px;
  }
  
  .service-features li {
    font-size: 13px;
  }
}

/* 动画延迟 -  staggered animation */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }
