.ceo-home {
    --header-height: 62px;
    --footer-height: 546px;

    #mainWrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
        will-change: transform;
        height: calc(100vh);
        overflow: hidden auto;
    }

    * {
        box-sizing: border-box;
    }

    .page {
        /*scroll-snap-align: start;*/

        .main-content {
            min-height: calc(
                    100vh - var(--header-height) - var(--footer-height)
            );
        }
    }
}

.ceo-home-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;

    .shape-1 {
        position: absolute;
        width: 14.6vw;
        height: 8.4vw;
        top: 65vw;
        left: 49vw;
        background: linear-gradient(145deg, #4c85fe 21.23%, #7eaeff 85.4%);
        box-shadow: 18.5px 17.5px 21.4px 0 rgba(255, 255, 255, 0.25) inset;
        filter: drop-shadow(21.5px 28.5px 27.1px rgba(150, 191, 249, 0.56));
        border-radius: 50%;
    }

    .left-top {
        position: absolute;
        width: 140.4vw;
        height: 81.2vw;
        top: -55vw;
        left: -40vw;
        border-radius: 9.4vw;
        transform: rotate(26.471deg);
        transform-origin: 0 0;
        box-shadow:
                -47.5px 17.5px 34.2px 0px rgba(191, 220, 254, 0.76),
                -2px -1px 5.5px 0px rgba(255, 255, 255, 0.61) inset;
        backdrop-filter: blur(2px);
        overflow: hidden;

        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                    269deg,
                    rgba(217, 234, 254, 0.88) 1.78%,
                    rgba(181, 213, 255, 0.88) 152.73%
            );
        }
    }

    .right-top {
        position: absolute;
        width: 60vw;
        height: 60vw;
        top: 0vw;
        right: -20vw;
        border-radius: 50%;
        background: white;
        box-shadow:
                -13px -8px 29.2px 0px rgba(141, 192, 255, 0.56),
                0px 4px 4px 0px rgba(255, 255, 255, 0.61) inset;
        backdrop-filter: blur(18rem);
        overflow: hidden;

        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                    269deg,
                    rgba(217, 234, 254, 0.66) 1.78%,
                    rgba(181, 213, 255, 0.66) 152.73%
            );
        }
    }

    .bg-item-1 {
        position: absolute;
        background-image: url("https://website.weilaigpt.cn/bg-item-1.png");
        background-size: 100% 100%;
        width: 28vw;
        height: 21vw;
        top: 35vw;
        right: -1vw;
    }

    .bg-item-2 {
        position: absolute;
        background-image: url("https://website.weilaigpt.cn/bg-item-1.png");
        background-size: 100% 100%;
        width: 28vw;
        height: 20vw;
        left: 0;
        bottom: 0;
    }

    @media screen and (min-width: 768px) {
        .shape-1 {
            width: 7.3vw;
            height: 4.2vw;
            top: 25vw;
            left: 57.4vw;
            border-radius: 9999px;
        }

        .left-top {
            width: 70.2vw;
            height: 40.6vw;
            top: -31.5vw;
            left: 12.5vw;
        }

        .right-top {
            width: 36.3vw;
            height: 36.3vw;
            top: -8vw;
            right: -3.5vw;
        }

        .bg-item-1 {
            width: 16vw;
            height: 12vw;
            top: 11.7vw;
            right: 2vw;
        }

        .bg-item-2 {
            width: 15.9vw;
            height: 11.5vw;
            left: 0;
            bottom: 0;
        }
    }
}

.ceo-home-index {
    .wrapper {
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;

        .main-title {
            font-size: 36px;
            font-weight: bold;
            text-align: center;
            display: flex;
            flex-direction: column;
            color: transparent;
            background: linear-gradient(90deg, #8D5FDD 0%, #4279FF 100%);
            background-clip: text;
            line-height: 50px;

            .separate {
                display: none;
            }

            .line-break {
                display: inline;
            }
        }

        .sub-title {
            margin-top: 40px;
            font-size: 16px;
            font-weight: 600;
            color: #252432;
            line-height: 20px;
            text-align: center;
        }

        .button-content {
            margin-top: 50px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            column-gap: 30px;
            row-gap: 30px;

            button, a {
                width: 165px;
                height: 45px;
                border-radius: 10px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                font-size: 14px;
                font-weight: 600;
            }

            button {
                color: white;
                background: linear-gradient(90deg, #8D5FDD 0%, #4279FF 100%);
                border: none;

                &:hover {
                    opacity: 0.7;
                }
            }

            a {
                color: #4379FF;
                border: 1px solid #4379FF;

                &:hover {
                    background: rgba(255,255,255,0.5);
                }
            }
        }
    }

    @media screen and (min-width: 768px) {
        .wrapper {
            min-width: 1216px;
            width: 70%;

            .main-title {
                font-size: 60px;
                flex-direction: row;
                line-height: 60px;

                .separate {
                    display: inline;
                }

                .line-break {
                    display: none;
                }
            }

            .sub-title {
                margin-top: 57px;
                font-size: 18px;
                line-height: 18px;
            }

            .button-content {
                margin-top: 70px;
                column-gap: 70px;

                button, a {
                    width: 211px;
                    height: 60px;
                    font-size: 16px;
                }

                button {
                    font-size: 16px;
                }
            }
        }
    }
}

.ceo-home-advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background: #f9f9f9;

    .wrapper {
        width: 100%;
        padding: 20px 20px;

        .card-title {
            color: #252432;
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 26px;
        }

        .card-desc {
            margin-top: 20px;
            color: #8987A1;
            text-align: center;
            font-size: 16px;
        }

        .card-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            margin-top: 45px;
            column-gap: 15px;
            row-gap: 15px;

            .card-list-item {
                border-radius: 10px;

                .list-header {
                    height: 150px;
                    padding: 20px 12px;
                    box-shadow: 0 4px 4px 0 rgba(47, 109, 253, 0.30);
                    color: white;
                    border-radius: 10px;

                    .list-title {
                        font-size: 18px;
                        font-weight: 600;
                        line-height: 20px;
                    }

                    .list-desc {
                        font-size: 14px;
                        margin-top: 12px;
                    }
                }

                .list-content {
                    margin-top: -36px;
                    padding: 20px 12px;
                    background: rgba(255, 255, 255, 0.60);
                    box-shadow: 0 2px 20px 0 rgba(51, 69, 153, 0.21), 1px 1px 2px 0 rgba(255, 255, 255, 0.64) inset;
                    backdrop-filter: blur(20px);
                    border-radius: 10px;

                    .list-desc {
                        color: #242424;
                        font-size: 14px;
                        font-weight: 600;
                        margin-bottom: 10px;
                    }

                    .list-text {
                        display: flex;
                        align-items: start;
                        color: #757575;
                        font-size: 12px;
                        line-height: 140%;
                        letter-spacing: 0.32px;

                        .list-text-declare {
                            flex: none;
                            width: 10px;
                            height: 10px;
                            background: #4C78FD;
                            border-radius: 50%;
                            margin-right: 4px;
                            margin-top: 4px;
                        }
                    }

                    .list-text + .list-text {
                        margin-top: 5px;
                    }
                }
            }
        }
    }

    @media screen and (min-width: 768px) {
        padding: 100px 0;

        .wrapper {
            min-width: 1216px;
            width: 70%;
            padding: 64px 0;

            .card-title {
                font-size: 36px;
                line-height: 34px;
            }

            .card-desc {
                font-size: 16px;
            }

            .card-list {
                grid-template-columns: repeat(4, 1fr);
                margin-top: 60px;
                column-gap: 36px;

                .card-list-item {
                    .list-header {
                        padding: 36px 24px;

                        height: 172px;

                        .list-title {
                            font-size: 20px;
                            line-height: 24px;
                        }

                        .list-desc {
                            font-size: 14px;
                            margin-top: 16px;
                        }
                    }

                    .list-content {
                        margin-top: -50px;
                        padding: 20px 24px;

                        .list-desc {
                            font-size: 16px;
                            line-height: 22px;
                            margin-bottom: 14px;
                        }

                        .list-text {
                            font-size: 14px;

                            .list-text-declare {
                                width: 12px;
                                height: 12px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.ceo-home-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;

    .wrapper {
        width: 100%;
        padding: 40px 20px;

        .card-title {
            color: #252432;
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 35px;
        }

        .card-list {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            align-items: end;
            margin-top: 45px;
            column-gap: 50px;
            row-gap: 15px;

            .card-list-item {
                border-radius: 10px;

                .list-header {
                    height: 88px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    color: white;
                    border-radius: 10px 10px 0 0;
                    background-size: 100% 100%;

                    &:nth-child(even) {
                        background-image: url('../image/home_service_title_purple.png');
                    }

                    &:nth-child(odd) {
                        background-image: url('../image/home_service_title_blue.png');
                    }

                    .list-title {
                        font-size: 18px;
                        font-weight: 600;
                        line-height: 20px;
                    }

                    .list-desc {
                        font-size: 14px;
                        margin-top: 8px;
                    }
                }

                .list-content {
                    padding: 20px 12px;
                    background: white;
                    box-shadow: 0 2px 20px 0 rgba(51, 69, 153, 0.21), 1px 1px 2px 0 rgba(255, 255, 255, 0.64) inset;
                    backdrop-filter: blur(20px);

                    .list-text {
                        display: flex;
                        align-items: start;
                        color: #737373;
                        font-size: 12px;
                        line-height: 140%;
                        letter-spacing: 0.32px;

                        .list-text-declare {
                            flex: none;
                            width: 10px;
                            height: 10px;
                            background-image: url("https://website.weilaigpt.cn/home-service-star.png");
                            background-size: 100% 100%;
                            margin-right: 4px;
                            margin-top: 4px;
                        }
                    }

                    .list-text + .list-text {
                        margin-top: 5px;
                    }

                    .list-link {
                        display: inline-block;
                        margin-top: 20px;
                        height: 40px;
                        line-height: 40px;
                        border-radius: 20px;
                        font-size: 16px;
                        font-weight: 600;
                        color: white;
                        padding: 0 27px;

                        &:hover {
                            opacity: 0.7;
                        }
                    }
                }
            }
        }

        .box-bg {
            display: none;
            background-image: url("https://website.weilaigpt.cn/home-service-box-bg.png");
            background-size: 100% 100%;
        }
    }

    @media screen and (min-width: 768px) {
        .wrapper {
            min-width: 1216px;
            width: 70%;
            padding: 100px 0;

            .card-title {
                font-size: 36px;
                line-height: 34px;
            }

            .card-list {
                margin-top: 96px;
                padding: 0 72px;
                grid-template-columns: repeat(3, 1fr);

                .card-list-item {
                    .list-header {
                        height: 88px;

                        .list-title {
                            font-size: 20px;
                            line-height: 24px;
                        }

                        .list-desc {
                            font-size: 14px;
                            margin-top: 6px;
                        }
                    }

                    .list-content {
                        padding: 32px;
                        height: 222px;

                        .list-text {
                            font-size: 16px;

                            .list-text-declare {
                                width: 14px;
                                height: 14px;
                            }
                        }

                        .list-text + .list-text {
                            margin-top: 10px;
                        }
                    }
                }
            }

            .card-list-item:nth-child(even) .list-content {
                height: 252px;
                padding: 52px 32px;

                .list-link {
                    margin-top: 30px;
                }
            }

            .box-bg {
                display: block;
                margin-top: -114px;
                height: 280px;
                padding-top: 180px;
                color: white;

                .box-bg-title {
                    text-align: center;
                    font-size: 24px;
                    font-weight: 600;
                    line-height: 24px;
                }

                .box-bg-desc {
                    margin-top: 16px;
                    text-align: center;
                    font-size: 16px;
                }
            }
        }
    }
}

.ceo-home-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #EFF3FF;

    .wrapper {
        width: 100%;
        padding: 40px 20px;

        .card-title {
            color: #252432;
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 26px;
        }

        .card-desc {
            margin-top: 20px;
            color: #8987A1;
            text-align: center;
            font-size: 16px;
        }

        .card-list {
            margin-top: 40px;

            .card-list-item {
                display: flex;
                flex-direction: column;
                justify-content: center;

                .left {
                    height: 100%;
                    flex: none;
                    display: block;
                    border-radius: 20px;
                }

                .right {
                    display: none;
                    border-radius: 20px;
                }

                .center {
                    flex: 1;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    & > div {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }

                    .list-title {
                        margin-top: 25px;
                        font-size: 30px;
                        font-weight: 600;
                        line-height: 34px;
                        background: linear-gradient(90deg, #8D5FDD 0%, #4279FF 100%);
                        background-clip: text;
                        color: transparent;
                        text-align: center;
                    }

                    .list-desc {
                        margin-top: 10px;
                        color: #252432;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 600;
                        text-align: center;
                    }

                    .list-text {
                        margin-top: 10px;
                        color: #8987A1;
                        font-size: 14px;
                        text-align: center;
                    }

                    .list-link {
                        display: inline-block;
                        margin-top: 30px;
                        border: 2px solid #FFF;
                        background: linear-gradient(90deg, #F8949F 0%, #9D5AF8 100%);
                        box-shadow: 2px 4px 4px 0 rgba(103, 60, 146, 0.24);
                        padding: 20px 48px;
                        border-radius: 9999px;
                        color: white;
                        font-size: 18px;
                        font-weight: 600;

                        &:hover {
                            opacity: 0.7;
                        }
                    }
                }
            }

            .card-list-item + .card-list-item {
                margin-top: 62px;
            }
        }
    }

    @media screen and (min-width: 768px) {
        .wrapper {
            /*min-width: 1216px;*/
            /*width: 70%;*/
            width: 1000px;
            padding: 124px 0;

            .card-title {
                font-size: 36px;
                line-height: 34px;
            }

            .card-desc {
                font-size: 16px;
            }

            .card-list {
                margin-top: 120px;

                .card-list-item {
                    flex-direction: row;
                    height: 400px;
                    column-gap:  86px;

                    .left {
                        height: 100%;
                        flex: none;
                        display: block;
                        border-radius: 20px;
                    }

                    .right {
                        display: none;
                        border-radius: 20px;
                    }

                    .center {
                        justify-content: right;

                        & > div {
                            display: block;
                        }

                        .list-title {
                            margin-top: 0;
                            font-size: 40px;
                            line-height: 44px;
                            text-align: left;
                        }

                        .list-desc {
                            margin-top: 15px;
                            font-size: 18px;
                            text-align: left;
                        }

                        .list-text {
                            margin-top: 15px;
                            font-size: 16px;
                            text-align: left;
                        }

                        .list-link {
                            margin-top: 60px;
                            font-size: 18px;
                        }
                    }

                    &:nth-child(even) {
                        .left {
                            display: none;
                        }

                        .right {
                            display: block;
                            height: 100%;
                            flex: none;
                        }

                        .center {
                            justify-content: left;
                        }
                    }
                }

                .card-list-item + .card-list-item {
                    margin-top: 62px;
                }
            }
        }
    }
}

.ceo-home-example {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;

    .wrapper {
        width: 100%;
        padding: 40px 20px;

        .card-title {
            color: #252432;
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 26px;
        }

        .card-desc {
            margin-top: 20px;
            color: #8987A1;
            text-align: center;
            font-size: 16px;
        }

        .card-list {
            margin-top: 40px;

            .example-write, .example-ppt {
                display: flex;
                column-gap: 66px;
                overflow-x: hidden;
                position: relative;
            }

            .example-ppt {
                margin-top: 60px;
                justify-content: end;
            }

            .example-card {
                position: relative;
                flex: none;
                width: 16%;
                min-width: 200px;
                border-radius: 10px;
                overflow: hidden;
                padding: 10px;
                border: 1px solid #e5e5e5;

                & > img {
                    width: 100%;
                }

                .card-bg {
                    position: absolute;
                    height: 40px;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    border-radius: 0 0 10px 10px;
                    background: #ddd;
                }

                .card-desc {
                    position: absolute;
                    height: 40px;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    border-radius: 0 0 10px 10px;
                    background: rgba(255, 255, 255, 0.7);
                    /*filter: blur(10px);*/
                }

                .card-desc-content {
                    position: absolute;
                    height: 40px;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    border-radius: 0 0 10px 10px;
                    display: flex;
                    align-items: center;
                    padding: 0 10px;
                    font-size: 14px;

                    &.write {
                        color: #4379FF;
                    }

                    &.ppt {
                        color: #f27411;
                    }

                    .bg-write {
                        flex: none;
                        width: 20px;
                        height: 20px;
                        margin-right: 4px;
                        border-radius: 4px;
                        background-image: url("https://website.weilaigpt.cn/home-example-icon-write.png");
                        background-size: 100% 100%;
                    }

                    .bg-ppt {
                        flex: none;
                        width: 20px;
                        height: 20px;
                        margin-right: 4px;
                        border-radius: 4px;
                        background-image: url("https://website.weilaigpt.cn/home-example-icon-ppt.png");
                        background-size: 100% 100%;
                    }
                }
            }

            .bg-side {
                --tw-gradient-from: rgb(255 255 255 / 0);
                --tw-gradient-to: #fff;

                position: absolute;
                width: 20%;
                height: 100%;
            }

            .bg-side-left {
                left: 0;
                background-image: linear-gradient(to left, var(--tw-gradient-from), var(--tw-gradient-to));
            }

            .bg-side-right {
                right: 0;
                background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
            }
        }
    }

    @media screen and (min-width: 768px) {
        .wrapper {
            min-width: 1216px;
            width: 70%;
            padding: 105px 0;

            .card-title {
                font-size: 36px;
                line-height: 34px;
            }

            .card-desc {
                font-size: 16px;
            }

            .card-list {
                margin-top: 60px;
            }
        }
    }
}


.ceo-home-file {
    .ceo-home-title {
        .card-title {
            color: #252432;
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 26px;
        }

        .card-desc {
            margin-top: 20px;
            color: #8987A1;
            text-align: center;
            font-size: 16px;
        }
    }

    @media screen and (min-width: 768px) {
        .ceo-home-title {
            .card-title {
                font-size: 36px;
                line-height: 34px;
            }

            .card-desc {
                font-size: 16px;
            }
        }
    }
}
