:root {
    --primary-blue: #1a5fb4;
    --gradient-blue: linear-gradient(135deg, #1c71d8 0%, #3584e4 50%, #62a0ea 100%);
}

/* 顶部品牌栏 - 全宽 */
.brand-header {
    width: 100%;
    background: var(--primary-blue);
    padding: 20px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: var(--global-body-font-family);
}

.header-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--global-body-font-family) !important;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--global-body-font-family) !important;
}

.brand-names {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--global-body-font-family) !important;
}

.brand-identity *:not(i) {
    font-family: var(--global-body-font-family) !important;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.brand-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* 确保品牌标识区域内的所有元素都继承链接的可点击性 */
.brand-link:hover .brand-name,
.brand-link:hover .brand-tagline {
    opacity: 1; /* 确保文字在悬停时保持完全不透明 */
}

.brand-name {
    font-weight: 700;
    font-size: 24px;
    color: white;
    font-family: var(--global-body-font-family);
}

.brand-divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-family: var(--global-body-font-family);
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--global-body-font-family);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--global-body-font-family);
}

/* 导航栏 - 全宽 */
.main-nav {
    width: 100%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: none;
    padding: 0 0 0 0;
    margin: 0 0 -1px 0;
    overflow: hidden;
    border: none;
    font-family: var(--global-body-font-family);
}

.nav-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
    font-family: var(--global-body-font-family) !important;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--global-body-font-family) !important;
}

.nav-links li {
    font-family: var(--global-body-font-family) !important;
}

/* 确保导航栏没有任何默认样式导致的间隙 */
.main-nav * {
    box-sizing: border-box;
}

.main-nav *:not(i) {
    font-family: var(--global-body-font-family) !important;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 20px 24px;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-family: var(--global-body-font-family);
}

.nav-link:hover {
    color: #0066CC;
}

.nav-link.active {
    color: #0066CC;
    border-bottom-color: #00CC66;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 15px 12px;
        font-size: 14px;
    }
}

/* 消除导航栏和内容区之间的间隙 */
.main-nav {
    margin-bottom: 0;
    padding-bottom: 0;
    overflow: hidden;
}

/* 确保所有英雄区紧贴导航栏 */
.hero-section,
.contact-hero,
.about-hero,
.brands-hero,
.page-header {
    margin-top: -1px;
    padding-top: 0;
    border-top: none;
}

/* 额外的保障措施，确保没有任何默认样式导致间隙 */
body {
    margin: 0;
    padding: 0;
}
