
body {
    margin: 0;
    font-family: '微软雅黑', sans-serif;
}

.left {
    float: left;
}

.right {
    float: right;
}

.contain {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.fixBar {
    background: #0f3871;
    height: 70px;
    line-height: 70px;
    width: 100%;
    z-index: 2;
}

.logo {
    width: 197px;
    height: 45px;
    display: block;
    position: relative;
    top: 50%;
    margin-top: -23px;
    margin-left: 45px;
}

.bannerBox {
    height: 680px;
    background-size: 100% 100%;
}

.banContent {
    width: 100%;
    height: 100%;
    padding: 60px 45px;
    box-sizing: border-box;
}

.banContent::after {
    content: '';
    display: block;
    clear: both;
}

.txtLeft {
    color: white;
}

.txtTit {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.title-box {
    margin-bottom: 20px;
}

.nfdw-logo {
    float: left;
    width: 130px;
    height: 130px;
    margin-right: 10px;
}

.nfdw-logo > img {
    width: 100%;
    height: 100%;
}

.title-box::after {
    content: '';
    display: block;
    clear: both;
}

.txts {
    font-size: 14px;
    margin-top: 25px;
}

/* 下载区域 */
.loadBox {
    margin-top: 40px;
}

.loadBox::after {
    content: '';
    display: block;
    clear: both;
}

/* 二维码 */
.code {
    float: left;
    width: 165px;
    height: 165px;
}

.code > img {
    display: block;
    width: 100%;
    height: 100%;
}

/* 下载按钮通用样式 */
.loadBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    width: 210px;
    height: 50px;
    padding: 0 12px;

    border: 2px solid white;
    border-radius: 20px;

    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;

    margin-left: 60px;
    cursor: pointer;

    color: #0b5597;
    text-decoration: none;
    background: #fff;
}

.loadBtn:hover {
    border-color: #0f3871;
    text-decoration: none;
}

/* 图标统一尺寸和间距 */
.loadBtn > img {
    display: block;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin: 0 10px 0 0;
}

/* iOS 按钮 */
.ios {
    margin-top: 10px;
    margin-bottom: 45px;
}

/* Android 按钮 */
.andrion {
    margin-top: 0;
    margin-bottom: 0;
}

/* 桌面端轮播图 */
.slideBox {
    width: 300px;
    height: 460px;
    margin-right: 45px;
}

#swiper {
    width: 300px;
}

.slideBox img {
    width: 100%;
}

/* 桌面端 */
@media only screen and (min-width: 991px) {
    .bannerBox {
        background: url(../img/banner-pc.png) no-repeat top right;
        background-size: 100% 100%;
    }

    .slideBox img {
        height: 624px;
    }

    .txtTit {
        letter-spacing: 10px;
    }

    .txt-subTit {
        font-size: 22px;
        letter-spacing: 7px;
    }

    .slide-shadow {
        display: none;
    }

    .txts {
        width: 510px;
        line-height: 25px;
    }
}

/* 平板及移动端 */
@media only screen and (max-width: 990px) {
    .bannerBox {
        height: auto;
        background: url(../img/banner-mobile.png) no-repeat top right;
        background-size: 100% 100%;
    }

    .banContent {
        padding: 10vw 3vw;
    }

    .logo {
        position: relative;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .slideBox img {
        height: 624px;
    }

    .txtTit {
        font-size: 30px;
        margin-bottom: 16px;
        margin-top: 4px;
        letter-spacing: 12px;
    }

    .txt-subTit {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .nfdw-logo {
        float: left;
        width: 93px;
        height: 93px;
    }

    .slide-shadow {
        width: 100%;
        height: 45px;
    }

    .slide-shadow > img {
        width: 100%;
        height: 100%;
    }

    .loadBox {
        width: 100%;
        margin-top: 0;
        display: flex;
        align-items: center;
        gap: 3vw;
    }

    .code {
        float: none;
        flex: 0 0 30%;
        width: 30%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .code > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* 按钮区域占用剩余空间 */
    .loadBox > .left {
        float: none;
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    /* 手机端按钮不再使用固定左边距和 vw 宽度 */
    .loadBox .loadBtn {
        width: 100%;
        max-width: 240px;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0 8px;

        font-size: clamp(12px, 2.5vw, 17px);
        line-height: 1.2;
        border-radius: 16px;
    }

    .loadBox .loadBtn > img {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
        margin-right: 7px;
    }

    .footer {
        height: auto;
        line-height: 1.8;
        font-size: 14px;
        padding: 12px;
    }
}

/* 窄屏手机：进一步压缩间距 */
@media only screen and (max-width: 380px) {
    .banContent {
        padding-left: 12px;
        padding-right: 12px;
    }

    .loadBox {
        gap: 10px;
    }

    .code {
        flex-basis: 28%;
        width: 28%;
    }

    .loadBox .loadBtn {
        height: 42px;
        padding: 0 5px;
        font-size: 12px;
        border-radius: 14px;
    }

    .loadBox .loadBtn > img {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
}

/* 清除浮动 */
.clearFloat::after {
    content: '';
    display: block;
    clear: both;
}

/* 微信浏览器提示 */
.browser_open {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.tip_txt {
    color: #fff;
    text-align: right;
    padding: 10px 16px 0 0;
}

.tip_txt img {
    width: 32px;
    margin-bottom: 10px;
}

.tip_txt p {
    font-size: 16px;
    margin: 0;
}
