body {
    margin: 0;
    background: #fff8fa;
}

.top-bar {
    width: 100%;
    height: 68px;
    background: #fff;
}
.top-bar .top-bar-main {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.top-bar .top-bar-main .title {
    line-height: 68px;
    font-weight: 700;
    color: #fa7ea1;
    font-size: 28px;
    margin-left: 15px;
}

.banner {
    width: 100%;
    height: 1080px;
    position: relative;
    overflow: hidden;
}
.banner .background {
    max-width: 1200px;
    height: 1080px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    transform: translateZ(0);
    display: flex;
    justify-content: center;
    z-index: 0;
}
.banner .background .inner-image {
    width: 1200px;
    height: 2160px;
    position: absolute;
    top: -100px;
    z-index: 0;
    animation: move-bg 60s linear 0s infinite;
}
@keyframes move-bg {
    to { transform: translateY(-58.88%);}
}

.banner .modal {
    opacity: 95%;
    width: 100%;
    height: 1080px;
    background: linear-gradient(180deg,#161616,#232323 8.11%,#181818b5 48.96%,#232323 92.48%,#303030);
    position: absolute;
    top: 0;
    z-index: 1;
}
.banner .intro {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.banner .intro .icon {
    width: 86px;
    height: auto;
    position: absolute;
    margin: 320px 0 0 350px;
    z-index: 3;
}
.banner .intro .title {
    line-height: 72px;
    font-weight: 700;
    color: #fff;
    font-size: 52px;
    margin-top: 360px;
    z-index: 4;
}
.banner .intro .description {
    line-height: 32px;
    font-weight: 700;
    color: #fff2f6;
    font-size: 22px;
    margin-top: 6px;
}
.banner .intro .button-row {
    display: flex;
    flex-direction: row;
    height: 68px;
    margin-top: 130px;
}
.banner .intro .button-row .button {
    width: 286px;
    height: 68px;
    background: #fa7ea1;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.banner .intro .button-row .button:hover {
    transform: scale(1.05);
}
.banner .intro .button-row .button img {
    width: 24px;
    height: 24px;
}
.banner .intro .button-row .button span {
    line-height: 24px;
    font-weight: 700;
    color: #fff2f6;
    font-size: 18px;
    margin-left: 20px;
    margin-top: -2px;
}
.banner .intro .button-row .button + .button {
    margin-left: 100px;
}

.info {
    width: 100%;
    margin: 50px 0;
    padding: 0 20px;
    box-sizing: border-box;
}
.info .info-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.info .info-main .title {
    line-height: 35px;
    font-weight: 700;
    color: #fa7ea1;
    font-size: 26px;
}
.info .info-main .description {
    line-height: 25px;
    font-weight: 500;
    color: #505050;
    font-size: 18px;
    margin-top: 8px;
}

.cards {
    width: 100%;
    margin-top: 60px;
    padding: 0 20px;
    box-sizing: border-box;
}
.cards .cards-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.cards .cards-main .card {
    width: calc(33.333333% - 14px);
    min-width: 300px;
    position: relative;
}
.cards .cards-main .card .card-main {
    transition: all .3s ease-out;
    box-shadow: 0 9px 10px #b18a953b;
    height: 320px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
.cards .cards-main .card .card-main .title {
    line-height: 27px;
    font-weight: 700;
    color: #898989;
    font-size: 20px;
}
.cards .cards-main .card .card-main .description {
    line-height: 20px;
    font-weight: 500;
    color: #898989;
    font-size: 14px;
    margin-top: 8px;
}
.cards .cards-main .card .card-main .card-icon {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.cards .cards-main .card .card-main .card-icon img {
    width: 200px;
    height: 200px;
}
.cards .cards-main .card .card-background {
    width: 100%;
    height: 100%;
    background: #ffe1e9;
    border-radius: 8px;
    box-shadow: 0 17px 20px #b18a953b;
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    display: none;
}
.cards .cards-main .card:hover .card-main {
    margin: 10px 0 -10px;
}
.cards .cards-main .card:hover .card-main .title {
    color: #505050;
}
.cards .cards-main .card:hover .card-background {
    display: unset;
}

.contents {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.contents .contents-main {
    max-width: 1200px;
    height: auto;
    min-height: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.contents .contents-main .content {
    width: calc(20% - 12px);
    min-width: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contents .contents-main .content img {
    width: 95%;
    height: auto;
    transition: all .3s ease-out;
}
.contents .contents-main .content:hover img {
    width: 100%;
}

.qrcode {
    width: 100%;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.qrcode .text {
    line-height: 28px;
    font-weight: 500;
    color: #505050;
    font-size: 18px;
    text-align: center;
}
.qrcode .qrcode-main {
    width: 280px;
    height: 280px;
    background: #fff;
    border-radius: 10px;
    margin-top: 50px;
}
.qrcode .qrcode-main img {
    width: 240px;
    height: 240px;
    margin: 20px;
}

.footer {
    width: 100%;
    margin-top: 100px;
    padding: 0 20px;
    box-sizing: border-box;
}
.footer .footer-main {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #f1dfe4;
    text-align: center;
    padding: 40px 0;
}
.footer .footer-main span {
    line-height: 20px;
    color: #a0a0a0;
    font-size: 14px;
    letter-spacing: -0.67px;
}

/* 平板响应式 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .banner .intro .icon {
        margin: 320px 0 0 250px;
    }

    .cards .cards-main .card {
        width: calc(50% - 10px);
    }

    .contents .contents-main .content {
        width: calc(25% - 11.25px);
        min-width: 150px;
    }
}

/* 手机响应式 (最大768px) */
@media screen and (max-width: 768px) {
    .top-bar {
        height: 56px;
    }

    .top-bar .top-bar-main .title {
        line-height: 56px;
        font-size: 24px;
        margin-left: 0;
    }

    .banner {
        height: 100vh;
        min-height: 600px;
    }

    .banner .background,
    .banner .modal {
        height: 100vh;
        min-height: 600px;
    }

    .banner .background .inner-image {
        width: 150%;
        height: auto;
        min-height: 200vh;
    }

    .banner .intro .icon {
        width: 60px;
        position: relative;
        margin: 0;
        margin-top: 80px;
    }

    .banner .intro .title {
        font-size: 36px;
        line-height: 48px;
        margin-top: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .banner .intro .description {
        font-size: 18px;
        line-height: 28px;
        padding: 0 20px;
        text-align: center;
    }

    .banner .intro .button-row {
        flex-direction: column;
        height: auto;
        margin-top: 60px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        align-items: center;
    }

    .banner .intro .button-row .button {
        width: 100%;
        max-width: 320px;
        height: 56px;
    }

    .banner .intro .button-row .button + .button {
        margin-left: 0;
        margin-top: 20px;
    }

    .banner .intro .button-row .button span {
        font-size: 16px;
    }

    .info .info-main .title {
        font-size: 22px;
        line-height: 30px;
    }

    .info .info-main .description {
        font-size: 16px;
        line-height: 24px;
    }

    .cards .cards-main .card {
        width: 100%;
        min-width: unset;
        margin-bottom: 20px;
    }

    .cards .cards-main .card .card-main {
        height: auto;
        min-height: 280px;
        padding: 20px;
    }

    .cards .cards-main .card .card-main .card-icon img {
        width: 150px;
        height: 150px;
    }

    .contents .contents-main {
        justify-content: center;
    }

    .contents .contents-main .content {
        width: calc(50% - 7.5px);
        min-width: 140px;
    }

    .qrcode {
        margin-top: 100px;
    }

    .qrcode .text {
        font-size: 16px;
        line-height: 24px;
    }

    .qrcode .qrcode-main {
        width: 240px;
        height: 240px;
    }

    .qrcode .qrcode-main img {
        width: 200px;
        height: 200px;
        margin: 20px;
    }

    .footer {
        margin-top: 60px;
    }

    .footer .footer-main {
        padding: 30px 0;
    }
}

/* 小屏手机 (最大480px) */
@media screen and (max-width: 480px) {
    .banner .intro .title {
        font-size: 28px;
        line-height: 40px;
    }

    .banner .intro .description {
        font-size: 16px;
        line-height: 24px;
    }

    .cards .cards-main .card .card-main .title {
        font-size: 18px;
    }

    .cards .cards-main .card .card-main .description {
        font-size: 13px;
    }

    .contents .contents-main .content {
        width: calc(50% - 7.5px);
        min-width: 120px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .cards .cards-main .card .card-background {
        display: unset;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .cards .cards-main .card:active .card-background {
        opacity: 1;
    }

    .banner .intro .button-row .button:active {
        transform: scale(0.95);
    }
}