/* common.css - 公共样式 */

/* 头部导航 */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eef2f6;
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.5px;
}

.logo-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-menu li a {
    display: inline-block;
    padding: 8px 16px;
    color: #4a5a72;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 40px;
    transition: all 0.2s;
}

.nav-menu li a:hover {
    background: #f0f5ff;
    color: #2563eb;
}

.nav-menu li a.active {
    background: #e8f0fe;
    color: #2563eb;
}

.nav-cta {
    background: #2563eb;
    color: white !important;
    padding: 10px 24px !important;
    margin-left: 10px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}

.nav-cta:hover {
    background: #1e4bd2 !important;
    box-shadow: 0 6px 18px rgba(37,99,235,0.25);
}

@media (max-width: 1000px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 16px;
        right: 16px;
        background: white;
        padding: 20px;
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border: 1px solid #eef2f6;
    }
    .menu-toggle {
        display: block;
    }
}

/* 底部 */
.footer {
    background: #f8fafc;
    color: #4a5a72;
    padding: 60px 0 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    /* 6列布局：品牌稍宽，其他均分 */
    grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr 1fr;
    gap: 30px;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
}

.footer-slogan {
    margin: 16px 0 12px;
    opacity: 0.85;
    font-size: 0.95rem;
}

.footer-phone {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links {
    min-width: 0;
}

.footer h3 {
    color: #0a1628;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin: 10px 0;
}

.footer a {
    color: #4a5a72;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #2563eb;
}

.footer-qrcode {
    text-align: left;
}

.footer-qrcode h3 {
    margin-bottom: 16px;
}

.footer-qrcode p {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.qrcode-sim {
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(45deg, #2563eb 0px, #2563eb 8px, #3b82f6 8px, #3b82f6 16px);
    border-radius: 16px;
    opacity: 0.8;
}

.copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.9rem;
    color: #7a8ba8;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

body {
    min-width: 1200px;
}