/* 通用布局和导航、页脚样式 */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #222;
}
.header-bar, .header-bar-inner, .header-bar-left, .header-bar-right, .header-icon, .header-mainbar, .header-logo, .main-nav, .main-nav ul, .main-nav a, .dropdown, .dropdown-menu, .header-quote-btn, .cta.main, .footer-links, .footer-bottom, .container {
    /* ...existing code from style.css... */
}
.header-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background: #039be5;
    color: #fff;
    font-size: 1rem;
    padding: 0;
    box-shadow: none;
}
.header-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 38px;
    max-width: 100vw;
}
.header-bar-left span {
    margin-right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
}
.header-bar-left a {
    color: #fff;
    text-decoration: none;
}
.header-bar-left .icon {
    margin-right: 4px;
}
.header-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
    margin-left: 4px;
}
.header-icon:hover {
    background: rgba(255,255,255,0.18);
}
.header-mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    min-height: 64px;
    padding: 0 24px 0 24px;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 38px;
    left: 0;
    width: calc(100vw - 16px);
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    box-sizing: border-box;
}
.header-logo img {
    height: 32px;
    vertical-align: middle;
}
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.main-nav a:hover, .main-nav .dropdown:hover > a {
    color: #1976d2;
}
.main-nav .dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-quote-btn {
    margin-left: 24px;
    flex-shrink: 0;
}
.cta.main {
    background: #039be5;
    color: #fff;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.08rem;
    transition: background 0.2s;
    display: inline-block;
    border: none;
    box-shadow: none;
}
.cta.main:hover {
    background: #1976d2;
}
/* 下拉菜单 */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 0 0 6px 6px;
    min-width: 180px;
    z-index: 10;
    padding: 8px 0;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    padding: 0;
}
.dropdown-menu a {
    color: #111;
    padding: 10px 24px;
    display: block;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu a:hover {
    background: #f5faff;
    color: #039be5;
}
.dropdown-menu li:last-child a {
    border-bottom: none; 
}

.hide {
    display: none;
}

body {
    padding-top: 102px;
}
@media (max-width: 1200px) {
    .header-mainbar {
        padding-right: 8px;
        width: 100vw;
    }
}
@media (max-width: 900px) {
    .header-bar.fixed {
        position: static;
    }
    .header-mainbar {
        position: static;
        box-shadow: none;
        padding: 0 10px;
        width: 100vw;
    }
    .main-nav ul {
        gap: 16px;
    }
    .header-quote-btn {
        margin-left: 0;
        margin-top: 8px;
    }
    body {
        padding-top: 0;
    }
}
footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px 0;
}
.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-links h5 {
    margin-bottom: 10px;
    color: #ffd700;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffd700;
}
.footer-bottom {
    text-align: center;
    font-size: 0.95rem;
    color: #bbb;
}
@media (max-width: 900px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}
