#app {
    transition: opacity .4s;
}

[v-cloak] {
    /* display: none; */
    opacity: 0;
}

/* @font-face {
    font-family: HarmonyOS_Sans_SC_Medium;
    font-style: normal;
    font-display: swap;
    src: url('/static/fonts/HarmonyOS_Sans_SC_Regular.ttf'),

} */

html {
    font-family: HarmonyOS_Sans_SC_Medium, Microsoft Yahei, PingFang, sans-serif;
}

* {
    font-family: HarmonyOS_Sans_SC_Medium, Microsoft Yahei, PingFang, sans-serif;
}



code,
kbd,
pre,
samp {
    font-family: inherit;
}

img {
    width: 100%;
}


/* 自定义滚动条 */
::-webkit-scrollbar {
    border-radius: 10px;
    /* 滚动条宽度 */
    width: 10px;
    /* 滚动条圆角 */
    height: 10px;
}

* {
    scrollbar-color: auto !important;
}

/* 自定义滚动条滑块 */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /* 滚动条圆角 */
    background: #c1c1c1;
    /* 滚动条颜色 */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* 滚动条悬停颜色 */
}

/* 滑块悬停时的样式 */
/* 自定义滚动条轨道的可滚动部分 */
::-webkit-scrollbar-track-piece {
    border-radius: 10px;
    background-color: #f1f1f1;
    /* 设置轨道背景颜色 */
}

/* 自定义滚动条轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* 设置轨道背景颜色 */
    border-radius: 10px;
    /* 设置轨道圆角 */
}

.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.home .animated-gradient {
    background: linear-gradient(90deg, #065691, #2e8ead, #40ae93, #31a34f);
    background-size: 400% 400%;
    animation: gradientAnimation 3s ease infinite;
}

.home .solutionBtn:hover {
    background: linear-gradient(90deg, #67c4dd, #3ad7ac);
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


header[data-color="light"] {
    /* 当 data-color 为 light 时的样式 */
    background-color: #fff;
    color: #333;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

header[data-color="dark"] {
    /* 当 data-color 为 default 时的样式 */
    /* background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7203256302521008) 0%,
            rgba(31, 31, 31, 0.4290091036414566) 20%,
            rgba(255, 255, 255, 0) 100%); */
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.nav-b.on {
    opacity: 100 !important;
}

.about .sect:nth-child(2n) {
    flex-direction: row-reverse;
}


@media (max-width: 1024px) {
    .text-\[48rem\] {
        font-size: 30rem !important;
    }

    .text-\[46rem\] {
        font-size: 30rem !important;
    }

    .text-\[44rem\] {
        font-size: 30rem !important;
    }

    .text-\[42rem\] {
        font-size: 30rem !important;
    }

    .text-\[40rem\] {
        font-size: 30rem !important;
    }

    .text-\[38rem\] {
        font-size: 28rem !important;
    }

    .text-\[36rem\] {
        font-size: 28rem !important;
    }

    .text-\[34rem\] {
        font-size: 24rem !important;
    }

    .text-\[32rem\] {
        font-size: 24rem !important;
    }

    .text-\[30rem\] {
        font-size: 24rem !important;
    }

    .text-\[26rem\] {
        font-size: 23rem !important;
    }

}

.banner-pagination,
.solution-pagination {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.banner-pagination .swiper-pagination-bullet,
.solution-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.banner-pagination .swiper-pagination-bullet-active,
.solution-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    transform: scale(1.2);
    opacity: 1;
}