body {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.float-menu {
    position: fixed;
    bottom: 0;
    left: -100vw;
    top: 0;
    width: calc(100vw - 20px);
    box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 100;
    background: #fff;
    background-image: url('../images/std/menu.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    transition: all 0.3s ease-in-out;
}

.float-menu.n-active {
    left: 0;
}

.float-menu ul {
    padding: 80px 20px 20px 20px;
    margin: 0;
    list-style: none;
}

.float-menu li {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.float-menu li:first-child {
    background-color: #f5f6fa;
    border-radius: 10px;
    position: relative;
}

.float-menu li:first-child:after {
    content: '';
    height: 18px;
    width: 5px;
    top: 50%;
    position: absolute;
    right: -20px;
    transform: translateY(-50%);
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #8c55f2;
    display: block;
}

.float-menu li:nth-child(4) {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 35px 15px;
    margin: 15px 0;
}

.float-menu li img {
    width: 20px;
    display: block;
}

.close-menu {
    width: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.root {
    width: 100vw;
    overflow-x: hidden;
    max-width: 700px;
    margin: 0 auto;
    background-image: url('../images/body-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 70px;
}

.header {
    height: 75px;
    width: 100%;
    padding: 23px 20px;
    box-sizing: border-box;
    position: fixed;
    top: -75px;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.60);
    opacity: 0;
    transition: all .3s;
}

.header.n-active {
    top: 0;
    opacity: 1;
}

.header .logo {
    width: 28px;
    height: 28px;
}

.header span {
    font-size: 20px;
    font-weight: 700;
}

.header .menu {
    width: 30px;
    height: 30px;
}

.banner {
    width: calc(100% - 40px);
    padding: 0 20px;
}

.banner-inner {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    margin: 0 auto;
    margin-top: 50px;
}

.banner img {
    position: absolute;
    transition: all 0.3s ease-in-out;
    transform: scale(0)
}

.banner.n-active img {
    transform: scale(1);
}

.banner img.banner-img1 {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
}

.banner img.banner-img2 {
    left: 0;
    bottom: 25%;
    width: 40%;
    transition-delay: 0.1s;
}

.banner img.banner-img3 {
    right: 10%;
    bottom: 12%;
    width: 30%;
    transition-delay: 0.2s;
}


.banner img.banner-img4 {
    right: 20%;
    top: 10%;
    width: 30%;
    transition-delay: 0.3s;
}

.banner img.banner-img5 {
    right: 1%;
    top: 38%;
    width: 25%;
    transition-delay: .4s;
}


.banner img.banner-img6 {
    left: 5%;
    top: 33%;
    width: 20%;
    transition-delay: 0.5s;
}

.banner img.banner-img7 {
    left: 20%;
    bottom: 15%;
    width: 20%;
    transition-delay: 0.6s;
}


.section-1 h1 {
    width: 100%;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-1 h1 span {
    color: #8C55F2;
    font-weight: 700;
}

.section-1 h2 {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-top: 5px;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-1 button {
    width: 250px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(93deg, #8C55F2 5.27%, #8170FF 93.54%);
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 20px auto;
}

.section-2 h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-top: 120px;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-2 h2 span {
    color: #8C55F2;
    font-weight: 700;
}

.section-2-bar {
    width: 100%;

}


.section-2-bar-body {
    width: 100%;
    padding-bottom: 105%;
    margin-top: 45px;
    position: relative;
}

.section-2-bar-inner {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    top: 0;
    padding-left: 60px;
    box-sizing: border-box;
}

.section-2-bar-inner .line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #C7C7CC;
    display: block;
    position: relative;
}

.section-2-bar-inner .line span {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    color: #C7C7CC;
    font-size: 12px;
    display: block;
}

.section-2-bar-inner .line:nth-child(1) {
    top: 0;
}

.section-2-bar-inner .line:nth-child(2) {
    top: 20%;
}

.section-2-bar-inner .line:nth-child(3) {
    top: 40%;
}

.section-2-bar-inner .line:nth-child(4) {
    top: 60%;
}

.section-2-bar-inner .line:nth-child(5) {
    top: 80%;
}

.section-2-bar-inner .line:nth-child(6) {
    top: 100%;
}

.section-2-bar-inner .bar-container {
    position: absolute;
    bottom: -5px;
    left: 60px;
    right: 0;
    top: 0;
}

.section-2-bar-inner .bar-container .bar {
    position: absolute;
    width: 25%;
    height: 0;
    bottom: 0;
    padding: 0 2%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    box-sizing: border-box;
    gap: 5px;
    transition: all 1s ease-in-out;
}

.section-2.n-active .section-2-bar-inner .bar-container .bar {
    height: 100%;
}

.section-2-bar-inner .bar-container .bar:after {
    content: '';
    color: #c7c7c7;
    font-size: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 15px);
}

.section-2-bar-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
    font-size: 9px;
    box-sizing: border-box;
}

.section-2-bar-footer span {
    display: flex;
    align-items: center;
}

.section-2-bar-footer span:before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    margin-right: 5px;
}

.section-2-bar-footer span:nth-child(1):before {
    background: #8C55F2;
}


.section-2-bar-footer span:nth-child(2):before {
    background: #8E8E93;
}


.section-2-bar-footer span:nth-child(3):before {
    background: #AEAEB2;
}

.section-2-bar-inner .bar-container .bar span {
    flex-grow: 1;
    height: 100%;
}



.section-2-bar-inner .bar-container .bar span:nth-child(1) {
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #8C55F2 0%, #B69AFF 100%);
}

.section-2-bar-inner .bar-container .bar span:nth-child(2) {
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, var(--Grays-Gray, #8E8E93) 0%, var(--Grays-Gray-5, #E5E5EA) 100%);
}

.section-2-bar-inner .bar-container .bar span:nth-child(3) {
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, var(--Grays-Gray-2, #AEAEB2) 0%, var(--Grays-Gray-6, #F2F2F7) 100%);
}

.section-2-bar-inner .bar-container .bar:nth-child(1) {
    left: 0;
}

.section-2-bar-inner .bar-container .bar:nth-child(1):after {
    content: 'Mathematics';
}

.section-2-bar-inner .bar-container .bar:nth-child(2) {
    left: 25%;
}

.section-2-bar-inner .bar-container .bar:nth-child(2):after {
    content: 'Science';
}

.section-2-bar-inner .bar-container .bar:nth-child(3) {
    left: 50%;
}

.section-2-bar-inner .bar-container .bar:nth-child(3):after {
    content: 'Humanities';
}

.section-2-bar-inner .bar-container .bar:nth-child(4) {
    left: 75%;
}

.section-2-bar-inner .bar-container .bar:nth-child(4):after {
    content: 'Business';
}


.section-3 h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-3 {
    box-sizing: border-box;
    padding: 0 20px;
}

.section-3 img {
    margin-top: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.section-3 span {
    display: block;
    color: #8C55F2;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.section-3 button {
    width: 250px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(93deg, #8C55F2 5.27%, #C294FF 93.54%);
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 20px auto;
}

.section-4 {
    width: 100%;
    margin-top: 120px;
    position: relative;
}

.section-4 img {
    width: 100%;
}

.section-4-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 0 20px 30px 20px;
    box-sizing: border-box;
}

.section-4-content h4 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.section-4-content h5 {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-top: 10px;
}

.section-4-content button {
    width: 250px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(93deg, #8C55F2 5.27%, #C294FF 93.54%);
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 20px auto;
}

.section-5 {
    width: 100%;
    box-sizing: border-box;
    margin-top: 35px;
}

.section-5-score-card {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-5-score-card-value {
    color: #8C55F2;
    font-size: 50px;
    font-style: normal;
    font-weight: 1000;
    line-height: 1;
}

.section-5-score-card-star {
    height: 15px;
    transform: translateY(-4px);
}

.section-5-score-card-content {
    padding: 0 20px;
}

.section-5-score-card-title {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.section-5-score-card-subtitle {
    color: #000;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.section-5-score-card>img {
    height: 85px;
}

.section-5-score-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    color: #000;
}

.section-5-score-value {
    font-size: 44px;
}

.section-5-score-unit {
    font-size: 26px;
    margin-top: 4px;
}

.section-5-score-count {
    display: block;
    margin-top: 6px;
    color: #828689;
    font-size: 14px;
    font-weight: 600;
}

.section-5>span {
    width: 100%;
    margin-top: 15px;
    color: #000;
    display: block;
    text-align: center;
    font-size: 20px;
}


.swiper-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.swiper-container .swiper-wrapper {
    transition-timing-function: linear;
}

/* 图片项样式，统一尺寸，避免变形 */
.swiper-slide {
    width: 400px;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例，裁剪多余部分 */
}

.section-6 {
    margin-top: 60px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.section-6::-webkit-scrollbar {
    display: none;
}

.scored-items {
    display: flex;
    width: max-content;
    will-change: transform;
    gap: 20px;

    &::-webkit-scrollbar,
    &::scrollbar {
        display: none;
    }
}

.scored-items-item {
    flex: 0 0 auto;
}

@keyframes score-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-1 * var(--marquee-distance, 0px)), 0, 0);
    }
}

.scored-items-item {
    width: 410px;
    background-color: #f9f9f9;
    border-radius: 35px;
    padding: 40px 30px;
    margin-right: 0;

}

.scored-items-avatar {
    width: 60px;
}

.scored-items-star {
    width: 24px;
    height: 24px;
    margin-left: 5px;
}

.footer {
    margin-top: 70px;
    position: relative;
    padding: 30px 20px 130px 20px;
    box-sizing: border-box;
}

.footer:before {
    content: '';
    display: block;
    height: 1px;
    background-color: #C7C7CC;
    position: absolute;
    left: 20px;
    top: 0;
    right: 20px;
}

.footer>h1 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.footer>span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #000;
}

.footer a img {
    width: 30px;
    margin-right: 10px;
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 30px;
}

.footer-bottom h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.footer ul a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    margin-top: 6px;
    display: block;
}

.footer-bottom .footer-download {
    width: 160px;
    margin-top: 10px;
}



.home-to-app {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background: #FFF;
    box-shadow: 0 -1.3px 17px 4px rgba(0, 0, 0, 0.25);
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    padding-bottom: calc(env(safe-area-inset-bottom) + 15px);
    padding-botton: calc(constant(safe-area-inset-bottom) + 15px);
    display: none;

    &.n-active {
        display: flex;
    }

    .home-to-app-logo {
        width: 36px;
        height: 36px;
    }
}


.home-to-app-close {
    width: 7px;
    height: 7px;
    margin: 10px;
}

.home-to-app-button {
    border: none;
    outline: none;
    width: 90px;
    height: 30px;
    background: rgba(140, 85, 242, 0.15);
    text-decoration: none;
    border-radius: 8px;
    color: #8C55F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}