/* 通用样式 */

/* 全局加载动画 */
.spinner { 
  margin: 0 auto; 
  width: auto;
  height: 90px; 
  text-align: center; 
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
} 

.spinner > div { 
  background-color: #8B8CBE; 
  height: 100%; 
  width: 8px; 
  display: inline-block; 
  margin: 0 3px;
  
  -webkit-animation: sk-stretchdelay 0.8s infinite ease-in-out; 
  animation: sk-stretchdelay 0.8s infinite ease-in-out; 
} 

.spinner .rect2 { 
  -webkit-animation-delay: -0.7s; 
  animation-delay: -0.7s; 
} 

.spinner .rect3 { 
  -webkit-animation-delay: -0.6s; 
  animation-delay: -0.6s; 
} 

.spinner .rect4 { 
  -webkit-animation-delay: -0.5s; 
  animation-delay: -0.5s; 
} 

.spinner .rect5 { 
  -webkit-animation-delay: -0.4s; 
  animation-delay: -0.4s; 
} 

@-webkit-keyframes sk-stretchdelay { 
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) } 
} 

@keyframes sk-stretchdelay { 
  0%, 40%, 100% { 
    transform: scaleY(0.4); 
    -webkit-transform: scaleY(0.4); 
  }  20% { 
    transform: scaleY(1.0); 
    -webkit-transform: scaleY(1.0); 
  } 
}

/* 全局字体设置 */
* {
  font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.section {
  width: 100%;
  padding: 60px 0;
}

/* 平板端优化 - 为产品服务section添加上外边距 */
@media (min-width: 769px) and (max-width: 1366px) {
  .section.products {
    margin-top: 40px;
  }
}

/* 移动端减少section间距 */
@media (max-width: 768px) {
  .section {
    padding: 20px 0;
  }
  
  /* 特别针对轮播图后的第一个section减少上边距 */
  .section.mobile-products {
    padding-top: 10px;
  }
}

.section-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box; /* 确保padding计入宽度 */
  width: 100%; /* 防止超出视口 */
}

/* 大屏进一步放宽整体最大宽度 */
@media (min-width: 1600px) {
  .section-content {
    max-width: 1600px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 600;
  /* color: #333; */
  margin-bottom: 15px;
}

.section-desc {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 4px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #8b8cbe;
  border-color: #8b8cbe;
}

.btn-primary:hover {
  color: #fff;
  background-color: #7a7ba8;
  border-color: #7a7ba8;
}

.btn-normal {
  color: #fff;
  background-color: #8b8cbe;
  border-color: #8b8cbe;
}
