/* ==========================================
   服务页面专用样式
   ========================================== */

/* 科技感横幅区域 */
.service-banner {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, #00204a 0%, #001835 50%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 187, 240, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 187, 240, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 187, 240, 0.08) 0%, transparent 30%);
  animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* 粒子动画 */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 187, 240, 0.6);
  border-radius: 50%;
  animation: float-particle 15s infinite;
  box-shadow: 0 0 10px rgba(0, 187, 240, 0.8);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(11) { left: 25%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(12) { left: 35%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(13) { left: 45%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(14) { left: 55%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(15) { left: 65%; animation-delay: 1s; animation-duration: 11s; }
.particle:nth-child(16) { left: 75%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(17) { left: 85%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(18) { left: 95%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(19) { left: 5%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(20) { left: 50%; animation-delay: 0s; animation-duration: 16s; }

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* 连接线动画 */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 187, 240, 0.5), transparent);
  animation: line-flow 3s infinite;
}

.connection-line:nth-child(1) { top: 20%; width: 30%; left: 10%; animation-delay: 0s; }
.connection-line:nth-child(2) { top: 40%; width: 40%; left: 50%; animation-delay: 1s; }
.connection-line:nth-child(3) { top: 60%; width: 25%; left: 30%; animation-delay: 2s; }
.connection-line:nth-child(4) { top: 80%; width: 35%; left: 60%; animation-delay: 0.5s; }

@keyframes line-flow {
  0% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0); }
}

.banner-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0, 187, 240, 0.5);
  letter-spacing: 5px;
}

.banner-content h1 span {
  background: linear-gradient(90deg, #00bbf0, #ffffff, #00bbf0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.banner-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 统计数据区域 */
.stats-section {
  background: linear-gradient(180deg, #0a1628 0%, #00204a 100%);
  padding: 60px 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 187, 240, 0.5), transparent);
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(0, 187, 240, 0.3), transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.2), rgba(0, 32, 74, 0.3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 187, 240, 0.3);
  position: relative;
}

.stat-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 187, 240, 0.5);
  animation: icon-pulse 2s ease-out infinite;
}

@keyframes icon-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.stat-icon i {
  font-size: 28px;
  color: #00bbf0;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 187, 240, 0.5);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 服务卡片增强样式 */
.service_section {
  background: linear-gradient(180deg, #f8f8f9 0%, #ffffff 50%, #f8f8f9 100%);
  position: relative;
}

.service_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.5" fill="rgba(0,187,240,0.1)"/></svg>');
  background-size: 30px 30px;
  pointer-events: none;
}

.service-card-enhanced {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 187, 240, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
}

.service-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00bbf0, #00204a, #00bbf0);
  background-size: 200% auto;
  animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.service-card-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.03), rgba(0, 32, 74, 0.03));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card-enhanced:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 187, 240, 0.2);
  border-color: rgba(0, 187, 240, 0.3);
}

.service-card-enhanced:hover::after {
  opacity: 1;
}

.service-icon-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.service-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00204a, #00bbf0);
  border-radius: 30px;
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.service-card-enhanced:hover .service-icon-bg {
  transform: rotate(135deg);
  border-radius: 50%;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 60%;
  max-height: 60%;
  filter: brightness(0) invert(1);
  transition: all 0.5s ease;
}

.service-card-enhanced:hover .service-icon img {
  transform: scale(1.2);
}

.service-card-enhanced h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.service-card-enhanced:hover h5 {
  color: #00bbf0;
}

.service-card-enhanced p {
  color: #666;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}

.service-features li {
  padding: 8px 0;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-features li i {
  color: #00bbf0;
  margin-right: 10px;
  font-size: 12px;
}

.service-link {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #00bbf0;
  border: 2px solid #00bbf0;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00bbf0, #007fa4);
  transition: left 0.4s ease;
  z-index: -1;
}

.service-link:hover {
  color: #ffffff;
}

.service-link:hover::before {
  left: 0;
}

/* 服务流程区域 */
.process-section {
  background: linear-gradient(135deg, #00204a 0%, #001835 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 90%, rgba(0, 187, 240, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 187, 240, 0.08) 0%, transparent 40%);
}

.process-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.process-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.process-title h2 span {
  color: #00bbf0;
}

.process-title p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00bbf0, #00204a, #00bbf0);
  border-radius: 2px;
}

.process-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.process-content {
  width: 45%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 187, 240, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.process-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 187, 240, 0.4);
  transform: translateY(-5px);
}

.process-content h4 {
  color: #00bbf0;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.process-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.process-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00bbf0, #00204a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 187, 240, 0.5);
  z-index: 1;
}

/* 技术栈区域 */
.tech-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f8f9 0%, #ffffff 100%);
  position: relative;
}

.tech-title {
  text-align: center;
  margin-bottom: 60px;
}

.tech-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 15px;
}

.tech-title h2 span {
  color: #00bbf0;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-item {
  width: 150px;
  height: 150px;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 187, 240, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.05), rgba(0, 32, 74, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 187, 240, 0.15);
  border-color: rgba(0, 187, 240, 0.3);
}

.tech-item:hover::before {
  opacity: 1;
}

.tech-item i {
  font-size: 40px;
  color: #00bbf0;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.tech-item:hover i {
  transform: scale(1.2);
}

.tech-item span {
  font-size: 0.9rem;
  color: #00204a;
  font-weight: 500;
}

/* 客户评价区域 */
.testimonials-section {
  background: linear-gradient(135deg, #00204a 0%, #001835 100%);
  padding: 100px 0;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.5" fill="rgba(0,187,240,0.1)"/></svg>');
  background-size: 50px 50px;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.testimonials-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.testimonials-title h2 span {
  color: #00bbf0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0, 187, 240, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 187, 240, 0.4);
  transform: translateY(-5px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 80px;
  color: rgba(0, 187, 240, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bbf0, #00204a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.testimonial-avatar i {
  font-size: 24px;
  color: #ffffff;
}

.testimonial-info h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-info span {
  color: #00bbf0;
  font-size: 0.9rem;
}

/* CTA区域 */
.cta-section {
  background: linear-gradient(135deg, #00bbf0 0%, #00204a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn-primary {
  background: #ffffff;
  color: #00204a;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: #00bbf0;
}

.cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cta-btn-secondary:hover {
  background: #ffffff;
  color: #00204a;
  transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .banner-content h1 {
    font-size: 2.5rem;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-item,
  .process-item:nth-child(even) {
    flex-direction: column;
    padding-left: 80px;
  }

  .process-content {
    width: 100%;
  }

  .process-number {
    left: 30px;
    transform: translateX(-50%);
  }

  .stat-item::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2rem;
  }

  .tech-item {
    width: 120px;
    height: 120px;
  }

  .tech-item i {
    font-size: 30px;
  }
}