/* banner */
.col-banner{float: right; padding: 0;}
.banner{ width: 100%; height: 520px; padding-top: 24px;}
.banner .swiper-container {
    width: 100%;
    height: 520px; /* 根据需求调整高度 */
}
.banner li{
    background: #EEF1F6;
    border-radius: 15px;
    padding: 20px;
}
.banner li .content{
    display: inline-block;
    width: 50%;
    padding-left: 5%;
    padding-top: 15%;
}
.banner li .content p{
    font-size: 18px;
    color: #4E5562;
    font-weight: 800;
}
.banner li .content h2{
    margin-top: 16px;
    margin-right: 0px;
    margin-left: 0px;
    color: #181D25;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}
.banner li .image{
    position: absolute;
    right: 0;
    top: 0;
}
.banner li .image img{
    max-width: 500px;
    height: auto;
    transition: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
    transition-property: transform;
    transform: scaleX(1) scaleY(1);
}
.banner li .image img:hover{
    transform: scaleX(1.1) scaleY(1.1);
}
.banner .swiper-pagination-bullet{
    height: 30px;
    width: 20%;
    border-radius: unset;
    background-color: unset;
}
.banner .swiper-pagination-bullet::after
{
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 10px;
    background-color: #cccccc73;
}
.banner .content:hover .btn-green:hover{
    color: #fff;
    text-decoration: none;
}
.banner .content:hover .btn-green{
    background-color: var(--main-color-dark);
}

/* 推荐产品 */
#recomend{
    padding: 15px 0;
}

/* 左侧广告图样式 */
.ad_box{
    position: relative;
    margin-top: 25px;
}
.ad_box a{
    display: block;
    background-color: #ccc;
    padding: 30px;
    text-align: center;
    padding-top: 310px;
    min-height: 530px;
    color: #fff;
    font-size: 18px;
    border-radius: 20px;
    text-decoration: none;
}
.ad_box a b{font-size: 52px;}
.ad_box a img{
    position: absolute;
    top: 7%;
    left: 50%;
    max-width: 100%;
    max-height: 78%;
    margin-left: -50%;
    z-index: 4;
    transition: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
    transition-property: transform;
    transform: scaleX(1) scaleY(1);
}
.ad_box a button{
    font-size: 14px;
}
.ad_box a:hover img{
    transform: scaleX(1.1) scaleY(1.1);
}

/* 修改后的CSS */
.ad_box {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* 可选圆角 */
}

.ad_box a {
  position: relative;
  display: block;
  padding: 2rem;
  color: white;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 背景层 */
.ad_box a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  background-size: cover;
  z-index: -1;
}

/* 毛玻璃遮罩层 */
.ad_box a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: all 0.4s ease;
}

/* 悬停效果 */
.ad_box a:hover {
  transform: scale(1.02); /* 可选缩放效果 */
}

.ad_box a:hover::after {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.2);
}

/* 内容定位 */
.ad_box a img {
  position: relative;
  z-index: 3;
  max-width: 300px;
  margin-left: -91%;
  margin-top: 1.5rem;
  margin-bottom: -6rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ad_box b {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.ad_box p {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.btn-green {
  position: relative;
  z-index: 1;
  padding: 0.8rem 2rem;
  background: var(--main-color);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-green:hover {
  background: var(--main-color-half);
}

/* 关于我们基础样式 */
.about-section {
    /* background: linear-gradient(to bottom, #f9fafc 0%, #ffffff 100%); */
    padding: 20px 0 60px 0;
    background: #f9fafc;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    color: #636e72;
    font-size: 1.1rem;
    /* max-width: 600px; */
    margin: 0 auto 2rem;
  }
  
  /* Swiper样式 */
  .about-swiper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    position: relative;
  }
  
  .about-swiper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .about-swiper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-swiper .swiper-button-prev,
  .about-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    color: #fff!important;
    background-image: unset;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .about-swiper .swiper-button-prev::after,
  .about-swiper .swiper-button-next::after {
    font-size: 1.2rem;
    color: #fff;
  }
  .about-swiper .swiper-pagination .swiper-pagination-bullet-active{
    background: #fff!important;
  }
  /* 内容区域样式 */
  #about .about-content{
    padding: 15px;
    margin: 15px;
    margin-top: 0;
    border-radius: 15px;
  }
  #about .about-content:hover{
    box-shadow: 0px 8px 32px -4px rgba(103, 111, 123, 0.1);
    background: transparent;
  }
  #about .about-content h2{
    height: 1em;
    line-height: 0;
  }
  .counter_list li .q_counter_holder{
        background: #fff;
        padding: 10px;
        color: #666;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        text-align: center;
        transition: transform 0.3s;
    }
    .counter_list li .q_counter_holder:hover{
        transform: translateY(-5px);
    }
    .counter_list li .q_counter_holder .counter{
        font-size: 32px;
        font-weight: 600;
        color: var(--main-color);
    }
/* 订阅部分 */
.subscribe_box{
    padding: 20px;
}
.subscribe_form {
    margin: 2rem 5rem;
    padding: 30px 300px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    /* border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1); */
  }
  .subscribe_form:hover{
    box-shadow: 0px 8px 32px -4px rgba(103, 111, 123, 0.1);
    background: transparent;
  }
  
  #subscribe-form {
    display: flex;
    gap: 15px;
    position: relative;
  }
  
  #subscribe-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--main-color);
    border-radius: 8px;
    background: var(--background);
    color: #fff;
    font-family: 'Segoe UI', system-ui;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  #subscribe-form input::placeholder {
    color: #636e72;
    font-weight: 300;
  }
  
  #subscribe-form input:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 15px var(--main-color-half);
  }
  
  #subscribe-form button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--text-green) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }
  
  #subscribe-form button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.2),
      transparent
    );
    transition: left 0.6s;
  }
  
  #subscribe-form button:hover::after {
    left: 100%;
  }
  
  #subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--main-color-half);
  }
  
  #subscribe-form button:active {
    transform: translateY(1px);
  }

  /* 文章模块 */
  .article-section{
    background: rgb(0 0 0 / 2%);
  }
  .article_cat{
    border-radius: 12px;
  }
  .article_cat:hover{
    box-shadow: 0px 8px 32px -4px rgba(103, 111, 123, 0.1);
    background: transparent;
  }
  .article_list{
    padding: 10px 0 30px 0;
  }
  .article_box{
    position: relative;
    padding: 5px 0;
  }
  .article_box .article_img{
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  .article_box .article_img img{
    width: 100%;
  }
  .article_box .article_img:hover img{
    transition: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
    transition-property: transform;
    transform: scaleX(1.1) scaleY(1.1);
  }
  .article_box .article_info{
    display: block;
  }
  .article_box a{
    text-decoration: none;
    color: #666;
  }
  /* .article_list .article_box:first-child .article_info{
    position: absolute;
    width: 100%;
    padding: 5px 3%;
    bottom: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.8);
  } */
  .article_box .article_info .article_title{
    padding-left: 15px;
    width: 87%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    transition: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
  }
  .article_box .article_info .article_title a{
    transition-property: transform;
  }
  .article_box .article_info .article_title:hover{
    transform: translateX(5px);
  }
  .article_box .article_info .article_title:hover a{
    color: var(--main-color);
  }
  .article_box .article_info .article_title::after{
    /* content: '·';
    position: absolute;
    left: 4px;
    top: 3px;
    color: #0a957d;
    width: 20px;
    height: 30px;
    font-size: 17px; */
  }
  .article_box .article_desc{
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 10px;
    transition: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
    transition-property: transform;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
  }
  .article_box .article_desc a{ font-weight: bold; color: #fff;}
  .article_box .article_desc p{
    display: none;
    color: #ccc;
  }
  .article_box:hover .article_desc p{
    display: block;
    margin-top: 8px;
    font-size: 11px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
  }
  .article_box:hover .article_desc .article_date{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0px 8px;
    border-left: 1px solid #ccc;
  }
  .article_list .article_box:first-child{
    padding-bottom: 0px;
    margin-bottom: 30px;
  }
  .article_list .article_box:nth-child(2){
    border-top: 1px solid #ccc;
    padding-top: 15px;
  }
  .article_list .article_box:first-child .article_info .article_title::after{
    content: '>';
    left: 12px;
    top: 1px;
  }
  .article_box .article_info .article_date{
    float: left;
    clear: both;
    color: #ccc;
    margin-left: 5px;
  }

/* 移动端调整 */
@media screen and (max-width: 960px) {
    /* .banner{max-width: 390px;} */

    .about-section {
        padding: 30px 10px;
    }
    
    .media-wrapper {
        margin-bottom: 40px;
    }
    
    .about-swiper img {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .col-banner{
        float: unset;
        padding: 15px 0;
    }
    .banner{
        margin-top: 45px;
    }
    .banner li .content{
        display: block;
        width: 100%;
        text-align: center;
    }
    .banner li .image{
        position: relative;
        margin-top: -40px;
    }
    .banner li .content h2{font-size: 32px;}
    .banner li .image img{
        max-width: 100%;
    }
    .section-title {
        font-size: 2rem;
    }

    .about-swiper .swiper-button-prev,
    .about-swiper .swiper-button-next {
        display: none;
    }

    #about .about-content{
        margin: 0;
        margin-bottom: 20px;
    }
    #about .about-content h2{
        height: unset;
        line-height: 100%;
        margin-bottom: 15px;
    }
    #about .counter_text{
        font-size: 12px;
        height: 31px;
        word-break: break-word;
    }
    .subscribe_form {
      padding: 30px 0px;
    }
    #subscribe-form {
        flex-direction: column;
      }
      
    #subscribe-form button {
    width: 100%;
    padding: 1rem;
    }

    .article-section .row{
      padding: 0 15px;
    }
}

/* 加载动画 */
@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  
  #subscribe-form:focus-within {
    animation: neonPulse 2s infinite;
  }