﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei",sans-serif;
}

:root {
    --primary:#1677ff;
    --primary-dark:#0e66dd;
    --light:#e8f3ff;
    --dark:#222;
    --gray:#666;
    --white:#fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

/*导航统一*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    z-index: 9999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo i {
        font-size: 30px;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 42px;
}

    .nav-menu a {
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        transition: .3s;
        color: var(--dark);
    }

        .nav-menu a:hover, .nav-menu a.active {
            color: var(--primary);
        }

            .nav-menu a.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--primary);
                border-radius: 3px;
            }

.mobile-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.page-banner {
    margin-top: 78px;
    width: 100%;
    height: 320px;
    background: linear-gradient(rgba(12,78,170,0.75),rgba(12,78,170,0.75)),url('/img/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

    .page-banner h1 {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .page-banner p {
        font-size: 18px;
        opacity: 0.92;
    }

.crumbs {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: var(--gray);
    background: #fff;
}

    .crumbs a {
        color: var(--primary);
    }

/* 搜索框样式 */
.search-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px #eef2f8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    flex: 1;
    height: 46px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: .3s;
}

    .search-input:focus {
        border-color: var(--primary);
    }

.search-btn {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-tip {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 15px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #eef2f8;
}

.news-main {
    padding: 70px 0;
    background: #fafbfc;
}

.news-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.news-left {
    flex: 1;
    min-width: 650px;
}

.news-right {
    width: 300px;
    min-width: 300px;
}

.down-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px #eef2f8;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 26px;
    transition: .3s;
}

    .down-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px #dce6f5;
    }

.down-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    flex-shrink: 0;
}

.down-info {
    flex: 1;
}

    .down-info h3 {
        font-size: 20px;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .down-info p {
        font-size: 14px;
        color: #999;
        margin-bottom: 5px;
    }

/* 全部改成 a 标签样式 */
.down-btn {
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    transition: .3s;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

    .down-btn:hover {
        background: var(--primary-dark);
    }

.page-box {
    text-align: center;
    margin-top: 40px;
}

    .page-box a {
        display: inline-block;
        padding: 9px 16px;
        border: 1px solid #ddd;
        margin: 0 5px;
        border-radius: 6px;
        transition: .3s;
        cursor: pointer;
    }

        .page-box a.active {
            background: var(--primary);
            color: #fff;
            border: 1px solid var(--primary);
        }

        .page-box a:hover:not(.active) {
            border-color: var(--primary);
            color: var(--primary);
        }

/* 密码弹窗 */
.pwd-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.pwd-box {
    width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 8px 35px #ccc;
}

    .pwd-box h4 {
        font-size: 20px;
        color: var(--dark);
        margin-bottom: 22px;
        text-align: center;
    }

.pwd-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #dde1e9;
    border-radius: 9px;
    outline: none;
    font-size: 15px;
    margin-bottom: 24px;
}

.download-link {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    margin-bottom: 10px;
}

.pwd-btn-group {
    display: flex;
    gap: 15px;
}

/* 弹窗按钮全部改成 a 标签 */
.pwd-confirm, .pwd-cancel {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    display: block;
}

.pwd-confirm {
    background: var(--primary);
    color: #fff;
}

.pwd-cancel {
    border: 1px solid #ddd;
    background: #fff;
    color: var(--gray);
}

.side-box {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 20px #eef2f8;
    margin-bottom: 32px;
}

.side-title {
    font-size: 20px;
    padding-bottom: 12px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hot-list li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

    .hot-list li:last-child {
        border-bottom: none;
    }

.hot-list a {
    font-size: 15px;
    color: var(--gray);
    transition: .3s;
    display: block;
}

    .hot-list a:hover {
        color: var(--primary);
        padding-left: 6px;
    }

    .hot-list a.active {
        color: var(--primary);
        font-weight: 500;
    }

.side-pro-item {
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

    .side-pro-item img {
        width: 70px;
        height: 70px;
        border-radius: 6px;
        object-fit: cover;
    }

    .side-pro-item p {
        font-size: 14px;
        color: var(--gray);
    }

.footer {
    background: #1a1a1a;
    color: #b8b8b8;
    padding: 65px 0 25px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 230px;
}

    .footer-col h3 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 1px solid #333;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-col a:hover {
        color: var(--primary);
    }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
}

@media(max-width:992px) {
    .news-wrap {
        flex-direction: column;
    }

    .news-left, .news-right {
        width: 100%;
        min-width: unset;
    }

    .pwd-box {
        width: 90%;
    }
}

@media(max-width:768px) {
    .nav-menu {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .page-banner {
        height: 220px;
    }

        .page-banner h1 {
            font-size: 28px;
        }

    .news-left {
        min-width: 100%;
    }
}

/*页脚全局样式*/
.footer {
    background: #121212;
    color: #c2c2c2;
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

    .footer-col h3 {
        color: #ffffff;
        font-size: 19px;
        margin-bottom: 26px;
        padding-bottom: 12px;
        position: relative;
    }

        .footer-col h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 42px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 14px;
        font-size: 15px;
        transition: all 0.25s;
        color: #aaaaaa;
    }

        .footer-col li a {
            color: #aaa;
        }

        .footer-col li:hover {
            padding-left: 5px;
            color: var(--primary);
        }

        .footer-col li a:hover {
            color: var(--primary);
        }

.footer-bottom {
    text-align: center;
}

    .footer-bottom p {
        font-size: 15px;
        color: #808080;
    }
/* ======================
   手机端下载项修复
====================== */
@media (max-width: 768px) {
    .down-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        gap: 14px !important;
    }

    .down-icon {
        align-self: center !important;
        margin-bottom: 6px !important;
    }

    .down-info h3 {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .down-info p {
        font-size: 12px !important;
    }

    .down-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
}
