/* ===========================================
   common.css - 共用样式
   顶部导航、底部、全局样式
   =========================================== */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   顶部导航
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: #0A0E1A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-menu a,
.header.scrolled .header-phone {
    color: #fff;
}

.header.scrolled .logo-text {
    color: #fff;
}

.header.scrolled .menu-toggle span {
    background: #fff;
}

.header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}

.logo {
    display: flex;
    align-items: center;
   
}
.logo img{height: 34px;}
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #2c5fff;
    border-radius: 1px;
}

.header-phone {
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center;
    background-size: contain;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ccc;
    transition: all 0.3s;
}

.header.scrolled .menu-toggle span {
    background: #fff;
}
.sbanner img{width: 100%;}
/* ===========================================
   底部
   =========================================== */
.footer {
    background: #0d1b3d;
    color: #a8b2c8;
    padding: 50px 0 20px;
}

.footer-inner {
    width: 100%;
    padding: 0 100px 30px;
    display: flex;
    gap: 40px;
}

.footer-left {
    flex: 0 0 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo .logo-img {
    background: linear-gradient(135deg, #2c5fff 0%, #1e4ba3 100%);
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 18px;
}

.footer-contact {
    margin-bottom: 25px;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

.footer-qr {
    text-align: left;
}

.footer-qr img {
    width: 90px;
    height: 90px;
    border: 4px solid #fff;
    background: #fff;
}

.footer-qr p {
    margin-top: 8px;
    font-size: 12px;
    color: #a8b2c8;
}

.footer-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.footer-col h5 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #a8b2c8;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-copyright {
    width: 100%;
    padding: 20px 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: #6f7d97;
}

/* ===========================================
   通用 banner 区块 (蓝色背景)
   =========================================== */
.cta-banner {
    background: linear-gradient(135deg, #1e4ba3 0%, #2c5fff 50%, #4d7cff 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-btn-icon {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e4ba3;
    font-size: 14px;
}

/* ===========================================
   通用页面标题
   =========================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title .subtitle {
    color: #2c5fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
    content: '·';
    margin: 0 8px;
}

/* ===========================================
   按钮基础样式
   =========================================== */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid #2c5fff;
    border-radius: 20px;
    color: #2c5fff;
    font-size: 13px;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-more:hover {
    background: #2c5fff;
    color: #fff;
}

/* ===========================================
   移动端适配
   =========================================== */
@media (max-width: 768px) {
    .header {
        height: 60px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        color: #333 !important;
        padding: 12px 20px;
        display: block;
        text-align: center;
    }
	.nav-menu a.active{color:#014099 !important}

    .nav-menu a.active::after {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-text {
        font-size: 14px;
    }
	.footer {padding-top: 0;}
    .footer-inner {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .footer-left {
        display: none;
    }

    .footer-nav {
        display: none;
    }

    .cta-banner {
        padding: 50px 20px;
    }

    .cta-banner h2 {
        font-size: 22px;
    }

    .cta-banner p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner h2 {
        font-size: 20px;
    }
}