/* ==================== Services Page 服务内容页面 ==================== */

/* 顶部广告/横幅区域 */
.services-hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.services-hero-background {
  position: absolute;
  inset: 0;
  background: #0a1a2e;
  background-image: 
    /* 扭曲的波浪形状 */
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(100, 200, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 600px 800px at 80% 70%, rgba(35, 107, 228, 0.06) 0%, transparent 50%),
    /* 不规则的扭曲形状 */
    conic-gradient(from 45deg at 50% 50%, rgba(100, 200, 255, 0.03) 0deg, transparent 60deg, rgba(35, 107, 228, 0.04) 120deg, transparent 180deg, rgba(100, 200, 255, 0.03) 240deg, transparent 300deg),
    /* 点阵图案 */
    radial-gradient(circle, rgba(100, 200, 255, 0.12) 1.5px, transparent 1.5px),
    /* 扭曲的连接线 */
    repeating-linear-gradient(
      35deg,
      transparent 0px,
      transparent 48px,
      rgba(100, 200, 255, 0.04) 49px,
      rgba(100, 200, 255, 0.04) 51px,
      transparent 52px
    ),
    repeating-linear-gradient(
      -35deg,
      transparent 0px,
      transparent 48px,
      rgba(35, 107, 228, 0.04) 49px,
      rgba(35, 107, 228, 0.04) 51px,
      transparent 52px
    );
  background-size: 
    100% 100%,
    100% 100%,
    200% 200%,
    60px 60px,
    70px 70px,
    70px 70px;
  background-position: 
    0 0,
    0 0,
    0 0,
    30px 30px,
    0 0,
    0 0;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

.services-hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    /* 扭曲的圆形装饰 */
    radial-gradient(circle 300px at 10% 20%, rgba(100, 200, 255, 0.1) 0%, transparent 70%),
    radial-gradient(circle 250px at 90% 80%, rgba(35, 107, 228, 0.08) 0%, transparent 70%),
    /* 扭曲的线条 */
    linear-gradient(135deg, transparent 40%, rgba(100, 200, 255, 0.03) 50%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(35, 107, 228, 0.03) 50%, transparent 60%);
  background-size: 
    100% 100%,
    100% 100%,
    200% 100%,
    200% 100%;
  background-position: 
    0 0,
    0 0,
    0 0,
    0 0;
  pointer-events: none;
  z-index: 1;
  animation: heroBackgroundShift 20s ease-in-out infinite;
}

@keyframes heroBackgroundShift {
  0%, 100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(20px) translateY(-20px) scale(1.05);
  }
}

.services-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.services-hero-content {
  max-width: 800px;
}

.services-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #64c8ff 0%, #236be4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 700px;
}

.services-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.services-hero-btn-primary,
.services-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-hero-btn-primary {
  background: #236be4;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(35, 107, 228, 0.3);
}

.services-hero-btn-primary:hover {
  background: #1a5dd1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 107, 228, 0.4);
}

.services-hero-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.services-hero-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.services-btn-arrow {
  width: 18px;
  height: 18px;
}

/* 模块1: 智能体开发 */
.services-module-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.services-module-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(35, 107, 228, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(100, 200, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.services-module-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-module-content {
  position: relative;
  z-index: 2;
}

.services-module-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.services-module-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #236be4 0%, #64c8ff 100%);
  border-radius: 2px;
  margin-bottom: 24px;
}

.services-module-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.services-module-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.services-module-btn-primary,
.services-module-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-module-btn-primary {
  background: #236be4;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(35, 107, 228, 0.3);
}

.services-module-btn-primary:hover {
  background: #1a5dd1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 107, 228, 0.4);
}

.services-module-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.services-module-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.services-module-icon {
  width: 18px;
  height: 18px;
}

.services-module-image {
  position: relative;
  z-index: 2;
}

.services-module-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.services-module-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.services-module-image-container:hover .services-module-img {
  transform: scale(1.05);
}

.services-module-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.services-module-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  pointer-events: none;
}

.services-module-image-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.services-module-image-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* 移动端适配 */
@media (max-width: 968px) {
  .services-module-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-module-image {
    order: -1;
  }
  
  .services-hero-title {
    font-size: 42px;
  }
  
  .services-module-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .services-hero-section {
    min-height: 400px;
    padding: 60px 0 80px;
  }
  
  .services-hero-title {
    font-size: 36px;
  }
  
  .services-hero-description {
    font-size: 16px;
  }
  
  .services-module-section {
    padding: 60px 0;
  }
  
  .services-module-title {
    font-size: 32px;
  }
  
  .services-module-description {
    font-size: 16px;
  }
}

/* ==================== 模块二: 核心服务体系 ==================== */
.core-services-grid-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.core-services-grid-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(35, 107, 228, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(100, 200, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.core-services-grid-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.core-services-grid-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #64c8ff 0%, #236be4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.core-services-grid-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.core-services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.core-service-card-item {
  background: rgba(26, 35, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.core-service-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 107, 228, 0.5);
  box-shadow: 0 12px 40px rgba(35, 107, 228, 0.2);
  background: rgba(26, 35, 50, 0.8);
}

.core-service-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: #64c8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-service-card-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.core-service-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.core-service-card-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  flex-grow: 1;
}

.core-service-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #64c8ff;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.core-service-card-link:hover {
  color: #236be4;
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .core-services-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .core-services-grid-section {
    padding: 60px 0;
  }
  
  .core-services-grid-header {
    margin-bottom: 40px;
  }
  
  .core-services-grid-title {
    font-size: 32px;
  }
  
  .core-services-grid-subtitle {
    font-size: 16px;
  }
  
  .core-services-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .core-service-card-item {
    padding: 24px;
  }
  
  .core-service-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }
  
  .core-service-card-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .core-service-card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* ==================== 统计数据展示（合并到模块二中） ==================== */

.services-stats-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  background: rgba(26, 35, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px 40px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-top: 80px;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
}

.services-stat-item {
  text-align: center;
  position: relative;
}

.services-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
}

.services-stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #64c8ff 0%, #236be4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.services-stat-label {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 968px) {
  .services-stats-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 30px;
  }
  
  .services-stat-item:not(:last-child)::after {
    display: none;
  }
  
  .services-stat-item:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .services-stats-wrapper {
    grid-template-columns: repeat(3, 1fr);
    padding: 40px 24px;
    gap: 16px;
    margin-top: 60px;
  }
  
  .services-stat-item:not(:last-child)::before {
    display: none;
  }
  
  .services-stat-item:not(:last-child)::after {
    display: block;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .services-stat-number {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .services-stat-label {
    font-size: 14px;
  }
}

/* ==================== 模块四: CTA区域和特性展示 ==================== */
.services-cta-section {
  padding: 100px 0;
  background: #101828;
  position: relative;
}

.services-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.services-cta-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.services-cta-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #64c8ff;
}

.services-cta-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

.services-cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.services-cta-btn-primary,
.services-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-cta-btn-primary {
  background: #64c8ff;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(100, 200, 255, 0.3);
}

.services-cta-btn-primary:hover {
  background: #4db8e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(100, 200, 255, 0.4);
}

.services-cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #1a2332;
}

.services-cta-btn-secondary:hover {
  background: rgba(26, 35, 50, 0.3);
  border-color: #236be4;
  color: #ffffff;
}

.services-cta-arrow {
  width: 18px;
  height: 18px;
}

/* 特性卡片网格 */
.services-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.services-feature-card {
  background: rgba(26, 35, 50, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.services-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 200, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.services-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: #64c8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.services-feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.services-feature-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .services-cta-section {
    padding: 60px 0;
  }
  
  .services-cta-header {
    margin-bottom: 50px;
  }
  
  .services-cta-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .services-cta-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .services-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .services-cta-btn-primary,
  .services-cta-btn-secondary {
    justify-content: center;
    width: 100%;
  }
  
  .services-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .services-feature-card {
    padding: 28px 20px;
  }
  
  .services-feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }
  
  .services-feature-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .services-feature-description {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .services-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

