.header {
    position: sticky;
    background-color: #ffffff;
}

/* banner开始 */
.banner {
    height: 490px;
    padding-top: 133px;
    background: url('../static/instantMessaging_banner.png') no-repeat
            center/cover,
        rgba(0, 128, 0, 0);
}

.banner .text-content > h1 {
    font-size: 54px;
    color: rgb(24, 28, 31);
    font-weight: 600px;
}

.banner .text-content > .msg {
    font-size: 18px;
    color: rgb(24, 28, 31);
    font-weight: 400;
    line-height: 26px;
    margin-top: 12px;
}

.banner .text-content > .btns {
    display: flex;
    align-items: center;
    gap: 0 20px;
    margin-top: 58px;
}

.banner .text-content > .btns .btn {
    height: 44px;
    line-height: 44px;
    padding: 0 22px;
    font-size: 18px;
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.banner .text-content > .btns .btn.register {
    background: linear-gradient(
        112deg,
        rgb(181, 33, 255) 0%,
        rgb(101, 76, 255) 20%,
        rgb(50, 102, 255) 69%,
        rgb(0, 127, 255) 99%
    );
    color: #ffffff;
}

.banner .text-content > .btns .btn.register:hover {
    background: linear-gradient(
        112deg,
        #d6a3ff,
        #9185ff 34%,
        #808eff 66%,
        #72a1ff 99%
    );
}

.banner .text-content > .btns .btn.download {
    background-color: #fff;
    border: 1px solid rgba(0, 127, 255, 0.478);
    color: #0072e4;
}

.banner .text-content > .btns .btn.download:hover {
    background: linear-gradient(
            0deg,
            hsla(219, 8%, 52%, 0.16),
            hsla(219, 8%, 52%, 0.16)
        ),
        #fff;
}
/* banner结束 */

/* 锚点导航开始 */
.anchor {
    position: sticky;
    z-index: 99;
    left: 0;
    top: 90px;
}

.anchor > .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.anchor .tabs {
    display: flex;
    align-items: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: hsla(0, 0%, 100%, 0.8);
    border: 1px solid hsla(210, 5%, 54%, 0.16);
    border-radius: 40px;
    box-shadow: 1px 3px 32px 0 rgba(50, 73, 198, 0.08),
        6px 16px 48px 0 rgba(50, 73, 198, 0.12);
    padding: 4px;
    position: relative;
    gap: 0 8px;
    overflow: hidden;
}

.anchor .tabs .tab {
    color: #83898f;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    padding: 9px 16px;
    border-radius: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
    transition: 0.3s;
}

.anchor .tabs .tab:hover {
    background: hsla(219, 8%, 52%, 0.06);
}

.anchor .tabs.move .tab:hover {
    background: none;
    transition: 0s;
}

.anchor .tabs .tab.active {
    color: #181c1f;
}

.anchor .tabs .bg-slider {
    position: absolute;
    z-index: -1;
    border-radius: 25px;
    transition: width 0.3s ease, left 0.3s ease;
    background: hsla(219, 8%, 52%, 0.06);
}
/* 锚点导航结束 */

/* 图文区域开始 */
.graphic-text {
    padding: 100px 0;
}

.graphic-text .list .item {
    margin-top: 200px;
}

.graphic-text .list .item:first-of-type {
    margin: 0;
}

.graphic-text .list .item .title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graphic-text .list .item .title > h2 {
    line-height: 64px;
    font-size: 48px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: #000;
}

.graphic-text .list .item .title > .msg {
    font-size: 24px;
    line-height: 36px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: #666;
    margin-top: 14px;
}

.graphic-text .list .item .cards .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    margin-top: 100px;
}

.graphic-text .list .item .cards .card > .text-content {
    flex-shrink: 0;
    width: 515px;
}

.graphic-text .list .item .cards .card > .text-content > h3 {
    color: #181c1f;
    font-size: 36px;
    font-weight: 600;
}

.graphic-text .list .item .cards .card > .text-content > .msg {
    color: #384146;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 12px;
}

.graphic-text .list .item .cards .card > .img {
    flex-shrink: 0;
    border-radius: 16px;
    box-shadow: 0 6px 16px 0 rgba(50, 73, 198, 0.02),
        0 8px 48px 0 rgba(50, 73, 198, 0.12);
    flex: 1;
    height: 100%;
    min-width: 387px;
    border-radius: 16px;
    overflow: hidden;
}

.graphic-text .list .item .cards .card.reverse > .img {
    order: -1;
}

.graphic-text .list .item .cards .card > .img img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}
/* 图文区域结束 */

/* ≤1280：超小桌面 */
@media (max-width: 1280px) {
    .banner {
        height: 390px;
    }

    .banner .text-content > h1 {
        font-size: 48px;
    }

    .banner .text-content > .btns {
        margin-top: 40px;
    }

    .graphic-text .list .item {
        margin-top: 150px;
    }

    .graphic-text .list .item .cards .card > .text-content {
        width: 400px;
    }

    .graphic-text .list .item .title > h2 {
        line-height: calc(40.26374px + 1.8315vw);
        font-size: calc(29.01099px + 1.4652vw);
    }

    .graphic-text .list .item .title > .msg {
        line-height: calc(31.25275px + 0.3663vw);
        font-size: calc(14.50549px + 0.7326vw);
    }

    .graphic-text .list .item .cards .card > .text-content > h3 {
        font-size: calc(-1.23364px + 2.80374vw);
    }

    .graphic-text .list .item .cards .card > .text-content > .msg {
        font-size: calc(7.79439px + 0.46729vw);
    }

    .anchor .tabs {
        display: none;
    }

    .anchor .tabs .tab {
        padding: calc(5.8972px + 0.23364vw) calc(3.58879px + 0.93458vw);
        line-height: calc(2.28037px + 1.63551vw);
        font-size: calc(7.79439px + 0.46729vw);
    }
}

/* ≤1024：大平板/小笔电 */
@media (max-width: 1024px) {
    .banner {
        height: 350px;
        padding-top: 80px;
    }

    .banner .text-content > h1 {
        font-size: 46px;
    }

    .banner .text-content > .btns {
        margin-top: 30px;
    }

    .graphic-text {
        padding: 50px 0;
    }

    .graphic-text .list .item {
        margin-top: 80px;
    }

    .graphic-text .list .item .cards .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        margin-top: 50px;
    }

    .graphic-text .list .item .cards .card > .text-content,
    .graphic-text .list .item .cards .card > .img {
        width: 100%;
    }

    .graphic-text .list .item .cards .card.reverse > .img {
        order: 1;
    }

    .graphic-text .list .item .title > h2 {
        line-height: calc(26px + 3.73333vw);
        font-size: calc(16px + 3.2vw);
    }

    .graphic-text .list .item .cards .card > .text-content > h3 {
        font-size: 4.8vw;
    }

    .graphic-text .list .item .cards .card > .text-content > .msg {
        font-size: 3.2vw;
        line-height: 4vw;
    }

    .anchor .tabs .tab {
        padding: calc(5.8972px + 0.73364vw) calc(3.58879px + 1.83458vw);
        line-height: calc(2.28037px + 1.63551vw);
        font-size: calc(7.79439px + 0.66729vw);
    }
}

/* ≤640：小平板/横屏手机 */
@media (max-width: 640px) {
    .graphic-text .list .item .cards .card {
        gap: 30px;
        margin-top: 30px;
    }
}

/* ≤768：标准平板 */
@media (max-width: 768px) {
    .banner {
        height: 280px;
        padding-top: 50px;
    }

    .banner .text-content > h1 {
        font-size: 42px;
    }
}

/* ≤480：大屏幕手机 */
@media (max-width: 480px) {
    .banner .text-content > h1 {
        font-size: 36px;
    }

    .graphic-text .list .item .cards .card {
        gap: 25px;
    }

    .graphic-text .list .item .cards .card > .img {
        min-width: auto;
    }
}
