
.index-hero {
    position: relative;
    padding-top: 200px;
    height: 800px;
    background: url("../../asserts/image/index/hero-bg.png") no-repeat center center/cover;
}

.index-hero-filter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 0, 45, 0.25) -3%, rgba(16, 0, 45, 0) 100%);
    z-index: 1;
    pointer-events: none; /* 允许点击穿透到下层元素 */
}

/* 确保hero内容在遮罩上方 */
.index-hero .container {
    position: relative;
    z-index: 2;
}

.index-hero-title{
    font-size: 56px;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 0em;
    color: #FFFFFF;
    text-shadow: 4px 4px 13.9px rgba(163, 85, 230, 0.27);
}

.index-hero-des{
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0em;

    color: rgba(255, 255, 255, 0.75);
}    

.index-hero-button{
    position: relative;
    width: 358px;
    min-width: 280px;
    height: 56px;
    padding: 9px 9px 9px 32px;
    font-size: 18px;
    font-weight: 900;
    line-height: 26px;
    letter-spacing: 0em;
    text-align: left;
}

.rounded-btn{
    position: absolute;
    top: 9px;
    right: 9px;
    display: block;
    border-radius: 100%;
    background-color: white;
    width: 38px;
    height: 38px;
}

.index-hero-card{
    display: flex;
    align-items: center;
    padding: 16px;
    width: 530px;
    height: 56px;
    border-radius: 8px;
    background: white;
    box-sizing: border-box;
    border: 1px solid rgba(163, 85, 230, 0.1);
    box-shadow: 4px 4px 24px 0px rgba(163, 85, 230, 0.25);
    font-size: 16px;
    color: rgba(163, 85, 230, 0.75);
    font-weight: 400;
}

.index-hero-card img{
    width: 24px;
    height: 24px;
}
.index-hero-card .strong-text{
    font-weight: 600;
    color: #a355e6;
}

/* 确保app-swiper遵循容器宽度 */
.app-swiper,
.app-swiper * {
    box-sizing: border-box;
}

/* ===== 客户logo跑马灯 ===== */
.client {
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    width: calc(180px * 18);
}

.client-item {
    width: 180px;
    height: 110px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
    transition: opacity 0.3s ease;
}

.client-item:hover {
    opacity: 1;
}

.client-item img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
}


/* 跑马灯动画 */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 8)); /* 移动一组的距离 */
    }
}

/* 暂停动画（鼠标悬停时） */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* app */
.app{
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.app-swiper{
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* 确保app-swiper内的所有元素都遵循容器宽度 */
.app-swiper .swiper-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.app-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
}

.app-swiper .row {
    max-width: 100%;
    margin: 0;
}

.app-swiper .col-md-6,
.app-swiper .col-xl-6 {
    max-width: 100%;
    padding: 0 15px;
}

.app-intro{
    max-width: 588px;
}

.app-intro-title{
    font-size: 44px;
    font-weight: 800;
    line-height: 140%;
}

.app-intro-des{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: rgba(163, 85, 230, 0.75);
}

.app-intro-button{
    width: 210px;
    height: 56px;
    font-size: 18px;
    font-weight: 800;
}

.app-img{
    max-width: 588px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-img img{
    width: 100%;
    height: auto;
    max-width: 100%;
}

.advantage{
    padding: 80px 0;
    background: linear-gradient(90deg, #2F0C6E 1%, #6944AA 49%, #330C79 100%);
    display: flex;
    align-items: center;
    min-height: 600px;
}

.advantage-item{
    min-height: 450px;
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border: 4px solid #FFFFFF;
    box-shadow: 4px 4px 24px 0px rgba(163, 85, 230, 0.25);
    background: linear-gradient(180deg, #F2EAFF -3%, #FFFFFF 55%);
    height: 100%;
}

.advantage-item img{
    width: 134px;
    height: 134px;
}

.advantage-title{
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
}

.advantage-des{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0em;
}


.testimonials{
    margin: 100px 0;
}

.section-title{
    font-size: 32px;
    font-weight: bold;
    line-height: 140%;
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 24px;
    border-radius: 12px;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid rgba(163, 85, 230, 0.1);
    box-shadow: 0px 6.65px 5.32px 0px rgba(0, 0, 0, 0.0283),0px 12.52px 10.02px 0px rgba(0, 0, 0, 0.035);
    transition: all 0.3s ease;
}

.testimonials-item-img{
    width: 150px;
    height: 150px;
}

.testimonials-item-img img{
    width: 90%;
    height: 90%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimonials-item-content-text{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    color: rgba(163, 85, 230, 0.75);
    min-height: 100px;
}

.testimonials-item-content-star,.testimonials-item-content-name{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
}

.testimonials-item-content-name{
    color: #a355e6;
    font-weight: 600;
}

.testimonials-item-content-line{
    width: 100%;
    height: 1px;
    background: rgba(163, 85, 230, 0.1);
}

.testimonials-item:hover{
    box-shadow: 0px 6.65px 5.32px 0px rgba(0, 0, 0, 0.0283),0px 12.52px 10.02px 0px rgba(0, 0, 0, 0.035);
    transform: translateY(-10px);
    background: linear-gradient(180deg, #F2EAFF -3%, #FFFFFF 55%);
    border: 1px solid rgba(163, 85, 230, 0.1);
}

.testimonials-item:hover .testimonials-item-img img{
    transform: scale(1.05);
}

.swiper-pagination{
    .swiper-pagination-bullet{
        background: #a355e6;
        border-radius: 100%;
    }
    .swiper-pagination-bullet-active{
        background: #2C1E48;
        width: 20px;
        height: 10px;
        border-radius: 100px;
    }
}

/* app-swiper分页器样式 */
.app-swiper-pagination{
    position: relative;
    margin-top: 40px;
    text-align: center;
}

.app-swiper-pagination .swiper-pagination-bullet{
    background: rgba(163, 85, 230, 0.3);
    border-radius: 100%;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.app-swiper-pagination .swiper-pagination-bullet-active{
    background: #ff8930;
    width: 24px;
    height: 12px;
    border-radius: 100px;
}

.swiper-wrapper{
    padding: 10px 0px;
    margin-bottom: 70px;
}

.compare{
    padding: 0 0 100px 0;
}

.compare-table{
    border-radius: 20px;
    overflow-x: scroll;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.compare-table::-webkit-scrollbar{
    display: none;
}


table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
td {
    height: 80px;
    padding: 0; /* 去除内边距 */
    margin: 0; /* 去除外边距 */
    border-width: 1px;
    border-style: solid;
    border-color: rgba(163, 85, 230, 0.1);
    padding: 27px 28px;
    font-weight: 600;
    line-height: 24px;
    width: 25%;
    min-width: 240px;
    vertical-align: middle;
}

td img{
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.compare-col1 {
    background-color: #2C1E48;
    color: white;
}
.compare-col2 {
    background-color: #ff8930;
    color: white;
}
.compare-col3 {
    background-color: #FFFFFF;
    color: #a355e6;
}
.compare-col4 {
    background-color: #F6F6F7;
    color: #a355e6;
}







.trust{
    padding: 80px 0;
    background-color: #F6F2FE;
}

.trust-item{
    position: relative;
    box-sizing: border-box;
    border-radius: 0px 8px 8px 0px;
    border-width: 0px 0px 0px 6px;
    border-style: solid;
    padding: 24px 32px;
    min-height: 258px;
    transition: all 0.3s ease-in-out;
    background-color: #FFFFFF;
    box-shadow: 0px 12.52px 10.02px 0px rgba(20, 0, 65, 0.035),0px 6.65px 5.32px 0px rgba(19, 0, 60, 0.0283);
}

.trust-item-quote{
    position: absolute;
    top: 24px;
    right: 32px;
    width: 42px;
    height: 42px;
}

.trust-item-icon{
    width: 68px;
    height: 68px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-item-title{
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.trust-item-des{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: rgba(163, 85, 230, 0.75);
}

.trust-item:hover{
    box-shadow: 0px 12.52px 10.02px 0px rgba(20, 0, 65, 0.035),0px 6.65px 5.32px 0px rgba(19, 0, 60, 0.0283);
    transform: translateY(-10px);
}

.download{
    padding: 80px 0;
}

.download-item{
    position: relative;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid rgba(163, 85, 230, 0.1);
    min-height: 270px;
    border-radius: 8px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.download-item-title{
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
}

.download-item-des{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: rgba(163, 85, 230, 0.75)
}

.download-item-button img{
    width: 160px;
    height: 48px;
}

.download-item-icon-appstore{
    width: 148px;
    height: 193px;
    position: absolute;
    bottom: -60px;
    right: 0;
}

.download-item-icon-android{
    width: 220px;
    height: 220px;
    position: absolute;
    bottom: -84px;
    right: 0;
}

.download-item:hover{
    box-shadow: 0px 12.52px 10.02px 0px rgba(20, 0, 65, 0.035),0px 6.65px 5.32px 0px rgba(19, 0, 60, 0.0283);
    transform: translateY(-10px);
}

@media (max-width: 767px) {
    
    .index-hero {
        padding-top: 120px;
        height: auto;
        min-height: 600px;
        text-align: center;
    }
    
    .index-hero-title {
        font-size: 36px;
    }
    
    .index-hero-des {
        font-size: 16px;
    }
    
    .index-hero-button {
        width: 280px;
        margin: 0 auto;
    }
    
    .index-hero-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        flex-direction: column;
        height: 60px;
        padding: 0;
        justify-content: center;
    }
    
    /* 移动端跑马灯优化 */
    .client {
        padding: 40px 0;
    }
    
    .marquee-content {
        animation-duration: 25s; /* 移动端稍快一些 */
        width: calc(120px * 16); /* 调整移动端宽度 */
    }
    
    .client-item {
        width: 120px;
        height: 80px;
    }
    
    .client-item img {
        max-width: 80px;
        max-height: 40px;
    }
    
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 8)); /* 移动端距离调整 */
        }
    }
    
    .app {
        padding: 60px 0;
        text-align: center;
    }
    
    .app-intro {
        margin-bottom: 40px;
    }
    
    .app-intro-title {
        font-size: 32px;
    }
    
    .app-swiper-pagination {
        margin-top: 30px;
    }
    
    /* 移动端app-swiper宽度控制 */
    .app-swiper {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .app-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .advantage {
        padding: 60px 0;
    }
    
    .advantage-item {
        margin-bottom: 30px;
        min-height: 350px;
    }
    
    .advantage-title {
        font-size: 18px;
    }
    
    .advantage-des {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .index-hero-title {
        font-size: 28px;
    }
    
    .index-hero-button {
        width: 280px;
    }
    
    .app-intro-title {
        font-size: 28px;
    }
    
    .advantage-item {
        min-height: 300px;
        padding: 15px 20px;
    }
    
    .advantage-item img {
        width: 100px;
        height: 100px;
    }
}

/* Home announcement image popup */
.home-announcement {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.home-announcement.is-open {
    display: flex;
}

.home-announcement__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 12, 48, 0.76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
    animation: homeAnnouncementFade 180ms ease-out both;
}

.home-announcement__dialog {
    position: relative;
    z-index: 1;
    width: min(1000px, 100%);
    max-height: 90vh;
    max-height: 90svh;
    overflow: hidden;
    border: 1px solid rgba(219, 201, 255, 0.9);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(17, 7, 42, 0.38);
    animation: homeAnnouncementEnter 240ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.home-announcement__visual {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f7f3ff;
}

.home-announcement__image {
    display: block;
    width: 100%;
    max-height: calc(90vh - 72px);
    max-height: calc(90svh - 72px);
    object-fit: contain;
    user-select: none;
}

.home-announcement__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0 0 2px;
    border: 1px solid rgba(87, 48, 157, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #47258f;
    font: 400 27px/1 Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(34, 16, 70, 0.12);
    transition: background-color 160ms ease, transform 160ms ease;
}

.home-announcement__close:hover {
    transform: scale(1.06);
    background: #f3ecff;
}

.home-announcement__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 10px 20px;
    border-top: 1px solid #eee7fa;
    background: #fff;
}

.home-announcement__nav {
    display: grid;
    place-items: center;
    justify-self: start;
    width: 42px;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e3d8f6;
    border-radius: 999px;
    background: #fff;
    color: #39236c;
    font: 600 14px/1 'Roboto Flex', Tahoma, sans-serif;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.home-announcement__nav:last-child {
    justify-self: end;
}

.home-announcement__nav:hover {
    border-color: #7747cc;
    background: #f5efff;
    color: #5b31b0;
}

.home-announcement__nav span[aria-hidden="true"] {
    font-size: 21px;
    line-height: 1;
}

.home-announcement__page {
    color: #7858ae;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}

.home-announcement__close:focus-visible,
.home-announcement__nav:focus-visible {
    outline: 3px solid #ffb742;
    outline-offset: 3px;
}

@keyframes homeAnnouncementFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes homeAnnouncementEnter {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .home-announcement {
        padding: 16px;
    }

    .home-announcement__dialog {
        border-radius: 14px;
    }

    .home-announcement__image {
        max-height: calc(90vh - 78px);
        max-height: calc(90svh - 78px);
    }

    .home-announcement__close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .home-announcement__controls {
        gap: 8px;
        min-height: 60px;
        padding: 8px 10px;
    }

    .home-announcement__nav {
        width: 38px;
        min-height: 40px;
        height: 40px;
    }

    .home-announcement__nav span[aria-hidden="true"] {
        font-size: 19px;
    }

    .home-announcement__page {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-announcement__backdrop,
    .home-announcement__dialog {
        animation: none;
    }

    .home-announcement__close,
    .home-announcement__nav {
        transition: none;
    }
}
