/* 通用布局 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    line-height: 1.5;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.btn-primary {
    display: inline-block;
    background: #2563ff;
    color: #fff;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary:hover {
    background: #1746b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,255,0.2);
}
/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img {
    height: 36px;
    width: auto;
}
.nav {
    display: flex;
    align-items: center;
}
.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}
.nav li {
    position: relative;
}
.nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563ff;
    transition: width 0.3s ease;
}
.nav a:hover {
    color: #2563ff;
}
.nav a:hover::after {
    width: 100%;
}
.sub-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}
.nav-item:hover .sub-nav {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
}
.sub-nav li {
    padding: 0;
}
.sub-nav a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    color: #666;
}
.sub-nav a::after {
    display: none;
}
.sub-nav a:hover {
    background: #f5f7fa;
    color: #2563ff;
}
.header-btn {
    margin-left: 32px;
    background: #2563ff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.header-btn:hover {
    background: #1746b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,255,0.2);
}
/* 底部样式 */
.footer {
    background: #0a0d16;
    color: #fff;
    padding: 40px 0 0 0;
    margin-top: 60px;
}
.footer-container {
    width: 1200px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid #222c3c;
}
.footer-links div {
    min-width: 160px;
}
.footer-links h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #fff;
}
.footer-links a, .footer-links p {
    display: block;
    color: #b0b8c9;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
}
.footer-links a:hover {
    color: #2563ff;
}
.footer-qrcode {
    width: 80px;
    height: 80px;
    margin-top: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 13px;
    color: #b0b8c9;
}
/* 标题通用样式 */
h1, h2, h3, h4 {
    margin: 0 0 16px 0;
    font-weight: bold;
}
.section-desc {
    color: #888;
    font-size: 16px;
    margin-bottom: 32px;
    text-align: center;
} 