.home-cartoon {
    width: 100%;
    position: relative;
    padding-top: 115px;
    text-align: center;
    background: linear-gradient(180deg, #F0F3FF 0%, #FBF3EC 27%, #F0F3FF 62%, #D8E1FF 84%);
}

.xp-cartoon {
    height: 94px;
    justify-content: center;
    padding: 80px 0 50px;
}

.xp-cartoon .cartoon-tit {
    font-weight: 600;
    font-size: 50px;
    color: #1B1E23;
    margin-left: 98px;
}

.xp-cartoon .btn-free {
    background: #FF731B;
    border-radius: 17px 17px 17px 17px;
    border: 1px solid #FF731B;
    font-weight: 800;
    font-size: 16px;
    color: #FFFFFF;
    padding: 6px 16px;
    margin-left: 20px;
    white-space: nowrap;
}

.home-cartoon .xp-txt {
    margin-top: 8px;
    font-weight: 400;
    font-size: 18px;
    color: #646A73;
}

.download-btn {
    background: linear-gradient(180deg, #5995FE 0%, #7B73FF 100%);
    box-shadow: 0 6px 16px 0 rgba(121, 116, 255, 0.35);
    border-radius: 32px 32px 32px 32px;
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    padding: 16px 40px;
    z-index: 999;
}

.home-cartoon .demo-btn {
    background: transparent;
    border: 1px solid #6F69E5;
    border-radius: 32px 32px 32px 32px;
    font-weight: 400;
    font-size: 20px;
    color: #6F69E5;
    padding: 16px 66px;
    margin-left: 36px;
    z-index: 999;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(122, 116, 255, 0.1);
    animation: animate 15s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

.xp-img {
    width: 100%;
    max-width: 1300px;
    margin-top: 38px;
    position: relative;
    bottom: -3px;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 12px;
}

.new-activity {
    width: 100%;
    max-width: 1300px;
    margin: 58px auto;
    padding: 0 12px;
}

.col-new {
    padding: 29px 32px 36px 32px;
    background: url("../images/new-bg.png") 50% no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.col-new .new-left {
    margin-right: 20%;
}

.col-new .new-left img {
    height: 38px;
}

.col-new .new-left .new-tit {
    /* height: 25px; */
    line-height: 25px;
    font-weight: bold;
    font-size: 18px;
    color: #B26B49;
    margin-top: 6px;
}

.col-new .new-left .new-text {
    margin-top: 16px;
    font-size: 14px;
    color: #BA876E;
    line-height: 28px;
}

.col-new .bt {
    padding: 8px 20px;
    line-height: 20px;
    text-align: center;
    background: #FA8616;
    border-radius: 4px 4px 4px 4px;
    font-size: 14px;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
}

.home-merit {
    width: 100%;
    max-width: 1300px;
    background: #FFFFFF;
    margin: 76px auto 0;
    position: relative; /* 使子元素可以使用绝对定位 */
}

.home-merit .merit-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 16px;
    color: #1B1E23;
    padding: 0 0 14px;
    border-bottom: 1px solid #E6E6E6;
}

.merit-tab .tab-item {
    position: relative;
    top: 0;
    cursor: pointer;
    padding: 0 8px 0;
    white-space: nowrap;
    z-index: 99;
}

.merit-tab .tab-item .svg-img {
    width: 14px;
    margin-right: 6px;
    margin-top: 2px;
}

.merit-tab .tab-item .active-img {
    display: none;
}

.merit-tab .tab-item-active {
    color: #6F69E5;
}

.merit-tab .tab-item-active .no-active {
    display: none;
}

.merit-tab .tab-item-active .active-img {
    display: block;
}

.merit-tab .tab-item-active .tab-item-active-line {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 1px;
    background: #E6E6E6;
}

.merit-tab .tab-item-active-line .tab-item-active-line-bar {
    width: 0;
    height: 100%;
    background: #6F69E5;
    animation: progress 5s infinite linear;
}

.content-list {
    min-height: 555px;
    margin-top: 26px;
}

.home-merit .content-item {
    display: none;
}

.home-merit .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-merit .content-site {
    background: url("../images/home-content1.png") no-repeat;
    overflow: hidden;
    padding-right: 27px;
    padding-bottom: 150px;
}

.content-tit {
    font-weight: bold;
    font-size: 34px;
    color: #1B1E23;
    display: flex;
    margin-top: 70px;
    margin-left: 27px;
    position: relative;
}

.content-tit .tit::before {
    content: "";
    position: absolute;
    bottom: -5px;
    width: 39px;
    height: 5px;
    background: #6F69E5;
}

.content-tit img {
    margin-right: 18px;
    width: 32px;
}

.content-txt {
    max-width: 417px;
    font-weight: 400;
    font-size: 18px;
    color: #646A73;
    line-height: 31px;
    margin-top: 26px;
    margin-left: 27px;
}

.con-img {
    width: 100%;
    max-width: 821px;
}

.con-img img {
    width: 100%;
}

.home-merit .content-item {
    position: absolute; /* 使元素位置绝对，不影响文档流 */
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px); /* 初始位置在下方 */
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden; /* 防止影响到布局 */
}

.home-merit .content-item.active {
    display: block;
    opacity: 1;
    transform: translateY(0); /* 从下方滑入 */
    animation: splash 1s ease forwards;
    visibility: visible; /* 当激活时才显示 */
}

@keyframes splash {
    0% {
        transform: translateY(20px); /* 初始从下方 */
        opacity: 0;
    }
    100% {
        transform: translateY(0); /* 最终回到正常位置 */
        opacity: 1;
    }
}

@keyframes progress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.home-function {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; /* 使子元素可以使用绝对定位 */
    text-align: center;
    padding: 0 12px;
}

.home-function .function-tit {
    font-weight: 400;
    font-size: 38px;
    color: #1B1E23;
    margin: 20px 0 40px;
}

.function-list {
    display: inline-flex;
    flex-flow: wrap;
    justify-content: flex-start;
    font-size: 14px;
    align-items: center;
    gap: 28px 28px;
}

.function-list .function-item {
    flex: 0 0 calc(25% - 21px);     /* ✅ 4列布局，减去 gap 的一半 */
    height: 150px;
    border-radius: 15px;
    background: url("../images/home-fun-bg.png") no-repeat;
    background-size: 100% 100%;
    padding: 24px;
}

.function-list .function-item:hover {
    background: url("../images/home-fun-bg-hover.png") no-repeat;
    background-size: 100% 100%;
    transform: scale(1.02);
}

.function-icon .function-name {
    margin-left: 12px;
    font-weight: 400;
    font-size: 20px;
    color: #1B1E23;
    height: 27px;
    line-height: 23px;
}

.function-item .function-txt {
    margin-top: 24px;
    text-align: left;
    font-weight: 400;
    color: #646A73;
    line-height: 25px;
    word-break:break-all;
}

.home-download {
    text-align: center;
    margin: 104px 0 76px;
}

.home-solution {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 50px;
    border-radius: 15px;
    background: url("../images/home-solution-bg.png") 50% no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
}

.home-solution .solution-img {
    max-width: 100%;
}

.home-partner {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
    text-align: center;
}

.home-partner .partner-tit {
    font-size: 38px;
}

.home-partner .partner-tip {
    color: #6F69E5;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.partner-box .partner-left, .partner-box .partner-right {
    cursor: pointer;
}

.partner-box .partner-wrap {
    width: 92%;
    height: 50px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.partner-wrap .partner-list {
    transition: transform 0.5s ease;
}

.partner-list .partner-item {
    flex: 0 0 15.6%;
    height: 46px;
    border-radius: 5px;
    margin: 0 7px;
    text-align: center;
    border: 1px solid #eee;
}

.partner-list .partner-item img {
    height: 100%;
}

.blogroll-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 18px;
}
.blogroll-box .blogroll-item {
    font-weight: 400;
    font-size: 12px;
    color: #646A73;
    display: inline-block;
}

.blogroll-box .blogroll-item:hover {
    color: #6F69E5;
}

@media screen and (max-width: 1400px) {
    .function-list {
        font-size: 12px;
    }
    .function-icon .function-name {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    .xp-cartoon .cartoon-tit {
        font-size: 46px;
        margin-left: 90px;
    }

    .xp-cartoon .btn-free {
        font-size: 14px;
    }

    .home-cartoon .xp-txt {
        font-size: 16px;
    }

    .home-cartoon .btn, .home-download .btn {
        font-size: 18px;
    }

    .col-new .new-left .new-tit {
        font-size: 16px;
    }

    .col-new .new-left .new-text {
        font-size: 12px;
    }

    .col-new .bt {
        font-size: 12px;
    }

    .home-merit .merit-tab {
        font-size: 14px;
    }

    .home-merit .content-site {
        padding-bottom: 100px;
    }

    .content-list {
        min-height: 480px;
    }

    .content-tit {
        font-size: 24px;
    }

    .content-tit img {
        width: 28px;
        margin-top: 4px;
    }

    .content-txt {
        font-size: 14px;
    }

    .home-function .function-tit {
        font-size: 32px;
    }

    .home-partner .partner-tit {
        font-size: 32px;
    }

    .partner-list .partner-item {
        flex: 0 0 32%; /* 平板显示3项 */
    }

    .home-partner .partner-tip {
        font-size: 12px;
    }

    .home-blogroll .blogroll-tit {
        font-size: 14px;
    }
}

@media screen and (max-width: 1000px) {
    .home-merit .content-site {
        padding-bottom: 100px;
    }

    .function-list .function-item {
        flex: 0 0 calc(33.333% - 19px);     /* ✅ 4列布局，减去 gap 的一半 */
    }

    .content-txt {
        font-size: 12px;
    }
}

@media screen and (max-width: 769px) {
    .xp-cartoon {
        padding-top: 12px;
        padding-bottom: 40px;
        display: block;
    }

    .xp-cartoon .cartoon-tit {
        font-size: 26px;
        margin-left: 0;
    }

    .xp-cartoon .btn-free {
        width: 100px;
        font-size: 10px;
        padding: 4px 10px;
        margin: 20px auto;
    }

    .home-cartoon .xp-txt {
        font-size: 14px;
    }

    .home-cartoon .btn, .home-download .btn {
        font-size: 14px;
        padding: 10px 28px;
    }

    .col-new {
        padding: 12px;
    }

    .col-new .new-left {
        margin-right: 12px;
    }

    .col-new .new-left img {
        height: 24px;
    }

    .col-new .new-left .new-tit {
        font-size: 14px;
        margin-top: 0;
    }

    .col-new .new-left .new-text {
        font-size: 10px;
        margin-top: 8px;
    }

    .col-new .bt {
        font-size: 10px;
    }

    .home-merit {
        padding: 0 12px;
    }

    .home-merit .merit-tab {
        font-size: 12px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .merit-tab .tab-item {
        margin-left: 10px;
    }

    .merit-tab .tab-item:first-child {
        margin-left: 0;
    }

    .home-merit .content {
        display: block;
    }

    .home-merit .content-site {
        background: none;
        padding: 0;
        overflow-y: hidden;
    }

    .content-tit {
        margin-top: 20px;
        justify-content: center;
    }

    .content-tit img {
        margin-right: 12px;
        width: 24px;
    }

    .content-txt {
        margin: 12px auto;
        padding: 0 12px;
    }

    .content-tit .tit::before {
        content: "";
        position: absolute;
        bottom: -5px;
        width: 26px;
        height: 5px;
        background: #6F69E5;
    }

    .home-function .function-tit {
        font-size: 24px;
        margin: 20% 0 40px;
    }

    .home-partner .partner-tit {
        font-size: 24px;
    }

    .partner-list .partner-item {
        flex: 0 0 47.8%; /* 小平板显示2项 */
    }

    .function-list .function-item {
        flex: 0 0 calc(50% - 14px);
    }

    .home-download {
        margin: 74px 0 46px;
    }
}

@media (max-width: 500px) {

    .partner-list .partner-item {
        flex: 0 0 95.5%; /* 手机显示1项 */
    }

    .function-list .function-item {
        flex: 0 0 100%; /* 单列 */
    }
}