/* 智能体矩阵样式 */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 35px;
    margin: 40px 10px;
}

.agent-item {
    text-align: center;
    /* transition: all 0.3s ease; */
}

.agent-item .agent-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px 35px 65px 35px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    /* transition: all 0.3s ease; */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*cursor: pointer;*/
}

.agent-item .agent-card:hover {
    /* transform: translateY(-8px); */
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
}

.agent-item .agent-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.agent-item .agent-icon img {
    max-width: 50px;
    max-height: 50px;
}

.agent-item .agent-info {
    margin-top: 10px;
}

.agent-item .agent-info h5 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.agent-item .agent-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.trial-section{
    position: relative;
    background-color: #FFFFFF;
    padding: 40px 0 10px 0;
    text-align: center;
}

.trial-button {
    display: inline-block;
    margin: 0 auto;
    padding: 15px 10px 0 10px;
}
  
.trial-button:hover {

}

/* 智能体矩阵区域样式 */
.agents-section {
    position: relative;
    background-color: #FFFFFF;
}

.agents-content {
    position: relative;
}

.agents-matrix {
    position: relative;
    padding: 30px 0;
}

.agents-matrix .title {
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.agents-matrix .description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.agents-section .swiper {
    height: 586px;
    width: calc(100% - 100px);
}

/* Swiper样式 */
.agentsSwiper {
    position: relative;
    overflow: hidden; /* 改回hidden确保轮播逻辑正确 */
    padding: 0;
    margin: 0 60px;
}

.agentsSwiper .swiper-wrapper {
    height: 586px;
    overflow: visible; /* 将visible移到wrapper上 */
}

.agentsSwiper .swiper-slide {
    visibility: hidden; /* 默认隐藏非活动幻灯片 */
}

.agentsSwiper .swiper-slide-active,
.agentsSwiper .swiper-slide-next,
.agentsSwiper .swiper-slide-prev {
    visibility: visible; /* 只显示活动及相邻幻灯片 */
}

.agentsSwiper .swiper-button-next,
.agentsSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: -20px;
}
.swiper-button-next, .swiper-button-prev 
{
    top: 55%;
}

.agentsSwiper .swiper-button-next:after,
.agentsSwiper .swiper-button-prev:after {
    font-size: 0px;
    color: #333;
}
.agents-section .swiper-button-next img {
    width: 30px;
}

.agents-section .swiper-button-prev img{
    width: 30px;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: '';
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after
{
    content: '';
}
.swiper-button-next, .swiper-rtl .swiper-button-prev 
{
    right: -10px;
    left: auto;
}

.agentsSwiper .swiper-button-next {
    right: -60px;
}

.agentsSwiper .swiper-button-prev {
    left: -60px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .agentsSwiper {
        margin: 0 40px;
    }

    .agent-item .agent-card {
        padding: 30px 35px 45px 35px;
    }
    
    .agentsSwiper .swiper-button-next {
        right: -40px;
    }
    
    .agentsSwiper .swiper-button-prev {
        left: -40px;
    }
    .agent-item .agent-icon img {
        max-width: 45px;
        max-height: 45px;
        top: inherit;
        left: inherit;
        transform: none;
    }
    .agents-section .swiper-button-next {
        right: -20px;
    }
    
    .agents-section .swiper-button-prev {
        left: -20px;
    }

    .agents-section .swiper-button-next img {
        width: 20px;
    }
    
    .agents-section .swiper-button-prev img{
        width: 20px;
    }
    .agents-section {
        padding: 0 20px;
    }
    .agentsSwiper .swiper-wrapper {
        height: 736px;
        overflow: visible; /* 将visible移到wrapper上 */
    }

    .agents-section .swiper {
        height: 736px;
        width: calc(100% - 80px);
    }
}

@media (max-width: 768px) {

    .trial-section .container{
        padding: 0;
    }

    .trial-button {
        display: inline-block;
        margin: 0 auto;
        padding: 15px 0 0 0;
    }

    .trial-button img{
        width: 250px;
    }

    .agents-section {
        min-height: auto;
    }
    
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        margin: 30px 0;
    }

    .agent-item .agent-card {
        padding: 25px 25px 35px 25px;
    }
    
    .agentsSwiper {
        margin: 0 30px;
    }
    
    .agentsSwiper .swiper-button-next,
    .agentsSwiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .agentsSwiper .swiper-button-next {
        right: -30px;
    }
    
    .agentsSwiper .swiper-button-prev {
        left: -30px;
    }
    
    .agentsSwiper .swiper-button-next:after,
    .agentsSwiper .swiper-button-prev:after {
        font-size: 16px;
    }

    .agent-item .agent-icon img {
        max-width: 45px;
        max-height: 45px;
        top: inherit;
        left: inherit;
        transform: none;
    }
    .agents-section .swiper-button-next {
        right: -12px;
    }
    
    .agents-section .swiper-button-prev {
        left: -12px;
    }

    .agents-section .swiper-button-next img {
        width: 12px;
    }
    
    .agents-section .swiper-button-prev img{
        width: 12px;
    }
    .agents-section {
        padding: 0 20px;
    }

    .agentsSwiper .swiper-wrapper {
        height: 877px;
        overflow: visible; /* 将visible移到wrapper上 */
    }

    .agents-section .swiper {
        height: 877px;
        width: calc(100% - 80px);
    }
    
    .agents-matrix .title {
        font-size: 24px;
    }
    
    .agents-matrix .description {
        font-size: 14px;
        margin-bottom: 20px;
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        margin: 20px 0;
    }
    
    .agent-item .agent-icon {
        width: 60px;
        height: 60px;
    }
    
    .agent-item .agent-icon img {
        max-width: 35px;
        max-height: 35px;
        top: inherit;
        left: inherit;
        transform: none;
    }
    
    .agents-section .swiper-button-next {
        right: -10px;
    }
    
    .agents-section .swiper-button-prev {
        left: -10px;
    }

    .agents-section .swiper-button-next img {
        width: 20px;
    }
    
    .agents-section .swiper-button-prev img{
        width: 20px;
    }
    
    .agents-matrix {
        position: relative;
        padding-top: 16px;
        padding-bottom: 0;
    }
    
    .agent-item .agent-card {
        padding: 10px 10px;
    }
    
    .agent-item .agent-info h5 {
        font-size: 14px;
    }
    
    .agents-section {
        padding: 0 20px;
    }

    .agents-section .swiper {
        height: 556px;
        width: calc(100% - 60px);
    }
    
    .agents-content {
        padding: 20px 0 !important;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

.wow.fadeInUp.animated {
    animation-duration: 0.8s;
}

/* 产品亮点样式 */
.productInfo {
    background-color: #f8f9fa;
    padding: 0;
}

.productInfo .highlight {
    margin-top: 0;
    padding-bottom: 0;
}

.highlight .title {
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.highlight .description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.highlight-content {
    display: flex;
    flex-direction: column;
}

.highlight-item{
    padding: 70px 0;
}

.highlight-item .container{
    display: flex;
    align-items: center;
    position: relative;
}

.highlight-item:nth-child(odd){
    background-color:#F8F8F8;
}

.highlight-item:nth-child(even) .container {
    flex-direction: row-reverse;
}

.highlight-item .highlight-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-item .highlight-image img {
    max-width: 100%;
    height: 260px;
    border-radius: 10px;
}

.highlight-item .highlight-text {
    flex: 1;
    max-width: 55%;
    padding: 0 30px;
}

.highlight-item .highlight-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.highlight-item .highlight-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
    .productInfo {
        padding: 0 0;
    }

    .highlight-item{
        padding: 20px 0;
    }
    
    .highlight .title {
        font-size: 24px;
    }
    
    .highlight .description {
        margin-bottom: 30px;
    }
    
    .highlight-content {
        gap: 0;
    }
    
    .highlight-item .container,
    .highlight-item:nth-child(even) .container{
        flex-direction: column;
    }
    
    .highlight-item .highlight-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .highlight-item .highlight-image img {
        height: 200px;
    }
    
    .highlight-item .highlight-text {
        max-width: 100%;
        padding: 16px;
    }
    
    .highlight-item .highlight-text h3 {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .highlight-item .highlight-text p {
        font-size: 14px;
        text-align: left;
    }
}

/* 新闻概要部分样式 */
.news-section {
    background-color: #1a1f2b;
    padding: 80px 0;
    color: #fff;
    background-image:  url('../images/ai_news_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-section .title {
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: #fff;
}

.news-section .description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
}

.news-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-dot {
    width: 10px;
    height: 10px;
    background-color: #3e90ff;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 7px;
    flex-shrink: 0;
}

.news-card a {
    text-decoration: none;
    color: #fff;
    flex-grow: 1;
}

.news-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* 新闻部分响应式调整 */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-section .title {
        font-size: 24px;
    }
    
    .news-section .description {
        margin-bottom: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-card {
        padding: 20px;
    }
}

.nav {
    position: static;
}

/* 新增banner样式 */
.banner {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background-color: #1a1f2b;
}

.banner-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 使用更平滑的缓动函数 */
    max-width: 1920px;
}

.banner-container .container{
    padding: 0;
}

.banner-content {
    flex: 1;
    padding: 0 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-color: #1a1f2b;
}

.banner-content-info{
    max-width: 560px;
    margin-left: auto;
}

.banner-content h1 {
    font-size: 70px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-align: justify;
    word-spacing: 0.5em; /* 增加单词间距 */
    letter-spacing: 0.1em; /* 增加字母间距 */
    width: 100%;
}

.banner-content h2 {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 45px;
    color: #FFFFFF;
    text-align: justify;
    word-spacing: 0.5em; /* 增加单词间距 */
    letter-spacing: 0.15em; /* 增加字母间距 */
    width:100%
}

.banner-content p {
    font-size: 18px;
    color: #C0C0C0;
    margin-bottom: 30px;
    line-height: 2.0;
}

/* 新增视频相关样式 */
.banner-video {
    position: relative;
    flex: 1;
    height: 900px;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.play-button {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* 视频播放时隐藏播放按钮 */
.video-playing .video-overlay {
    display: none;
}


.banner-content {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

/* 内容区域收起状态 */
.banner-content.content-collapsed {
    /* flex: 0; */
    height: 0;
    /* width: 0; */
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    /* display: none; */
    padding: 0;
    margin: 0;
    transform: translateX(-100%); /* 向左移出屏幕 */
    transition: 
        opacity 0.3s ease,
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 视频区域展开状态 */
.banner-video.video-expanded {
    flex: 1 0 100%;
    max-width: 100%;
    transform: translateX(0); /* 确保视频区域完全展开 */
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .banner {
        margin-top: 0;
        min-height: 400px;
    }
    
    .banner-container {
        flex-direction: column;
        padding: 0;
    }
    
    .banner-content {
        padding: 40px 20px 20px 20px;
        margin-bottom: 30px;
        text-align: center;
        height: auto;
    }

    .banner-content-info{
        max-width: 100%;
        margin: 0 auto;
    }

    .banner-content p {
        margin-bottom: 0px;
    }
    
    .banner-video {
        width: 100%;
        height: 300px;
    }

}

@media (max-width: 480px) {
    .banner {
        min-height: 300px;
    }
    
    .banner-content-info{
        max-width: 100%;
        margin: 0 auto;
      
    }

    .banner-content h1 {
        font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 2.6rem;
        text-align: left;
        margin-bottom: 10px;
        padding-left: 20px;
    }

    .banner-content h2 {
        font-size: 22px;
        text-align: left;
        padding-left: 20px;
    }
    
    .banner-content p {
        font-size: 14px;
        padding: 0 20px;
        text-align: left;
    }
    
    .banner-video {
        height: auto;
        width: 100%;
    }
}

.agent-footer {
    min-height: 248px;
    background-color: #FFFFFF;
    padding: 40px 0 20px 0;
}

.agent-footer .footer-content {
    display: flex;
}

.agent-footer .left {
    width: 150px;
    flex:0;
}

.agent-footer .footer-logo {

}

.agent-footer .footer-ai {
    margin-top: 32px;
}

.agent-footer .links {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #101010;

}

.agent-footer .links ul {
    padding-left: 8px;
}

.agent-footer .links ul h6 {
    font-size: 14px;
    color: #101010;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.agent-footer .links ul li {
    list-style: none;
    display: block;
    clear: both;
    font-family: PingFangSC-Regular;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 12px;

}

.agent-footer .links ul li a {
    color: #101010;
    text-decoration: none;
}

.agent-footer .links ul li a:hover {
    color: #3282F6;
    text-decoration: none;
}


.agent-footer .right {
    width: 300px;
    padding-left:12px;
    /*margin-left:auto;*/
}

.agent-footer .right .footer-email {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #101010;
    line-height: 22px;
    font-weight: 400;
}

.agent-footer .right .footer-icons {

}

.agent-footer .right .footer-qrcode {
    background-color: #FFFFFF;
    width: 100px;
}

.agent-footer .copyright {
    font-size: 12px;
    color: #979797;
    line-height: 20px;
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
}
@media only screen and (max-width:991.98px){
    .agent-footer .footer-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content:space-around;
    }
    .agent-footer .left{
        margin-bottom:12px;
        width:100%;
        text-align:center;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .agent-footer .footer-ai {
        margin-top: 0;
    }
    .agent-footer .links{
        display:none;
        flex:0 0 100%;
    }
    .agent-footer .links ul {
        padding-top: 8px;
        width:100%;
        text-align:center;
    }
    .agent-footer .right {
        width: 100%;
        text-align:center;
        padding-bottom: 8px;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}