
/* 全局变量 */
:root {
    --primary-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', 'PingFang SC', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

/* 滚动淡入动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 玻璃态效果 */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Hero 星空背景动效 */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 3s infinite ease-in-out;
}
@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* 双环交织图形 */
.ring-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #06b6d4;
    border-bottom-color: #06b6d4;
    animation: spin 8s linear infinite;
}
.ring-1 {
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    margin: 50px;
}
.ring-2 {
    top: 20px;
    left: 80px;
    width: 200px;
    height: 200px;
    border-top-color: #8b5cf6;
    border-bottom-color: #8b5cf6;
    animation: spin 6s linear infinite reverse;
}
.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 悬浮卡片效果 */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 渐变文字 */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航栏滚动效果 */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 流程连线 */
.process-line {
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}
.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s ease;
}
.visible .process-line::after {
    transform: scaleX(1);
}

/* 按钮波纹效果 */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}
#tongdian .swiper-slide{
    display: flex;
}
#tongdian .swiper-slide .rounded-2xl{
    width: 50%;
}

#contact {
    padding-bottom: 0.2rem!important;
}

#advantages .rounded-xl {
    flex-shrink: 0;
    margin-right: 20px;
    align-self: center;
}
#advantages .bbb {
    display: flex;width: 100%;
  }
#advantages .bbb1 {
    display: flex;flex-direction: column;
  }
  #advantages .swiper-slide{height:290px;}
  #tech .swiper-slide{height:195px;}
  #contact .swiper-slide{height:390px;}


  @media screen and (min-width:968px) and (max-width:1300px){
    .a13 .md\:text-6xl {
        font-size: 2.75rem!important;
        line-height: 1;
    }
    .a13 .md\:text-3xl {
        font-size: 1.475rem;
        line-height: 2.25rem;
    }
    .a13 .mb-8 {
        margin-bottom: 1rem;
    }
    .a13 .mb-10 {
        margin-bottom: 1rem;
    }
  }

@media screen and (max-width: 968px) {
    #tongdian .swiper-slide{
        display: flex;
        flex-direction: column;
    }
    #tongdian .swiper-slide .rounded-2xl{
        width: 100%;
    }
    #advantages .bbb {
        display: block;
      }
      #advantages .bbb1 {
        display: block;flex-direction: column;
      }
      #advantages .swiper-slide{height:auto;}
      #tech .swiper-slide{height:auto;}
      #contact .swiper-slide{height:auto;}
}

@media screen and (max-width: 767px) {
    .yingying{
      box-shadow: 0 5px 12px rgb(0 0 0 / 20%);
    border-radius: 1.5rem;
    }
  }
  