/* 博达站群 - 通用样式 */

/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* 确保页面主体内容区域占据剩余空间 */
.main-content {
    flex: 1;
}

/* 页面布局修复 - 防止footer下方出现空白 */
body > * {
    flex-shrink: 0;
}

/* 确保footer紧贴底部 */
.footer {
    margin-top: auto;
}

/* 移除可能导致额外空白的默认间距 */
body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

html {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 通用容器 */
.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 6px;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #1e88e5, #42a5f5);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #1976d2, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.btn-more {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #1e88e5;
    text-decoration: none;
    border: 1px solid #1e88e5;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: #1e88e5;
    color: #fff;
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #1e88e5, #42a5f5);
    margin: 0 auto;
    border-radius: 2px;
}

/* 头部样式 */
.head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.head-scroll {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.head-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo-text .logo-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e88e5;
    line-height: 1;
}

.logo-text .logo-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1;
    margin-top: 2px;
}

/* 导航样式 */
.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.nav {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.nav li {
    position: relative;
    margin: 0 12px;
    flex-shrink: 0;
}

.nav li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    line-height: 1.2;
}

.nav li a:hover,
.nav li.active a {
    color: #1e88e5;
}

.nav li.active a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #1e88e5;
}

/* 导航下拉菜单 */
.nav-more {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    min-width: 180px;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* 鼠标悬停时显示二级菜单 */
.nav li:hover .nav-more {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* 延迟隐藏，避免鼠标移动时闪烁 */
.nav li:hover .nav-more,
.nav-more:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* 确保父级导航项在悬停时保持高亮 */
.nav li:hover > a {
    color: #1e88e5;
}

.nav-more.nav-more-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-more a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.nav-more a:hover {
    background: linear-gradient(90deg, #f8f9ff 0%, #f0f4ff 100%);
    color: #1e88e5;
    padding-left: 24px;
    transform: translateX(2px);
}

.nav-more a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1e88e5;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.nav-more a:hover::before {
    transform: scaleY(1);
}

/* 全局搜索样式 */
.global-search {
    margin-left: 20px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 280px;
}

.search-input-wrapper:focus-within,
.search-input-wrapper.focused {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    background: #fff;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-input::placeholder {
    color: #999;
    font-size: 13px;
}

.search-btn {
    background: #1e88e5;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-btn:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3);
}

.search-btn:active {
    transform: translateY(0);
    background: #1565c0;
    box-shadow: 0 2px 4px rgba(30, 136, 229, 0.3);
}

/* PC端导航 - 只在1650px以上显示 */
@media (min-width: 1651px) {
    .nav-wrapper {
        display: flex !important;
    }
    
    .nav {
        display: flex !important;
    }
    
    .global-search {
        display: flex !important;
    }
    
    .nav-btn {
        display: none !important;
    }
    
    /* 超大屏幕优化 */
    .head-content {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .nav li {
        margin: 0 15px;
    }
    
    .nav li a {
        font-size: 15px;
        padding: 10px 5px;
    }
    
    .logo img {
        width: 55px;
        height: 55px;
    }
}

/* 移动端导航按钮 */
.nav-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-btn-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-btn-active span:nth-child(2) {
    opacity: 0;
}

.nav-btn-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航遮罩层 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    /* 确保不会覆盖页面内容 */
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 移动端导航容器 - 从右侧滑入 */
.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 100000;
    overflow: hidden;
    /* 防止文字模糊 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* 添加圆角边框 */
    border-radius: 20px 0 0 20px;
    /* 边框效果 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
}

.mobile-nav-overlay.active .mobile-nav-container {
    right: 0 !important;
    transform: translateX(0) !important;
}

/* 移动端导航头部 */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.3);
    flex-shrink: 0;
    min-height: 80px;
    position: relative;
    z-index: 10;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-logo-text .mobile-logo-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    /* 防止文字模糊 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mobile-logo-text .mobile-logo-subtitle {
    font-size: 11px;
    opacity: 0.9;
    line-height: 1;
    margin-top: 2px;
    /* 防止文字模糊 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mobile-nav-close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-nav-close span:first-child {
    transform: rotate(45deg);
}

.mobile-nav-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav-close:hover span {
    background: #ffeb3b;
}

/* 移动端导航内容 */
.mobile-nav-content {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 80px - 100px); /* 减去头部和底部的高度 */
}

.mobile-nav-item {
    margin-bottom: 2px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(30, 136, 229, 0.1);
    padding-left: 25px;
}

.mobile-nav-item.active .mobile-nav-link {
    background: linear-gradient(90deg, rgba(30, 136, 229, 0.15), rgba(30, 136, 229, 0.05));
    border-right: 3px solid #1e88e5;
}

.mobile-nav-icon {
    font-size: 18px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.mobile-nav-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    /* 防止文字模糊 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mobile-nav-arrow {
    font-size: 12px;
    color: #999;
    transition: all 0.3s ease;
}

.mobile-nav-item.has-submenu .mobile-nav-arrow {
    transform: rotate(0deg);
}

.mobile-nav-item.has-submenu.submenu-open .mobile-nav-arrow {
    transform: rotate(90deg);
    color: #1e88e5;
}

/* 移动端子菜单 */
.mobile-submenu {
    display: none;
    background: #f8f9fa;
}

.mobile-nav-item.has-submenu.submenu-open .mobile-submenu {
    display: block;
}

.mobile-submenu-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-submenu-item:hover {
    border-left-color: #1e88e5;
    background: rgba(30, 136, 229, 0.05);
}

.mobile-submenu-item a {
    display: block;
    padding: 12px 20px 12px 60px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    /* 防止文字模糊 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mobile-submenu-item:hover a {
    color: #1e88e5;
    padding-left: 65px;
}

/* 移动端导航底部 */
.mobile-nav-footer {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
    min-height: 100px;
    position: relative;
    z-index: 10;
    /* 确保底部内容可见 */
    margin-bottom: 0;
}

.mobile-contact-info {
    margin-bottom: 15px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-contact-icon {
    font-size: 16px;
    margin-right: 10px;
    width: 20px;
}

.mobile-contact-text {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.mobile-social-links {
    text-align: center;
}

.mobile-qr-code {
    display: inline-block;
}

.mobile-qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #1e88e5;
    padding: 2px;
    background: #fff;
}

.mobile-qr-text {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

/* 移动端导航动画效果 - 从上方滑入 */
.mobile-nav-overlay:not(.active) .mobile-nav-item {
    opacity: 0;
    transform: translateY(-20px);
}

.mobile-nav-overlay.active .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 依次延迟动画 */
.mobile-nav-overlay.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(8) { transition-delay: 0.45s; }

/* 旧的动画代码已移除，使用新的transition-delay方法 */

/* 响应式调整 */
@media (max-width: 480px) {
    .head-content {
        padding: 0 10px;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
        margin-right: 6px;
    }
    
    .logo-text .logo-title {
        font-size: 12px;
    }
    
    .nav-btn {
        margin-left: 10px;
    }
    
    .nav-btn span {
        width: 22px;
        height: 2.5px;
    }
    
    .mobile-nav-container {
        width: 90%;
        max-width: 320px;
    }
    
    /* 确保active状态下菜单正确显示 */
    .mobile-nav-overlay.active .mobile-nav-container {
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    .mobile-nav-header {
        padding: 15px;
        min-height: 70px;
    }
    
    .mobile-logo img {
        width: 35px;
        height: 35px;
    }
    
    .mobile-logo-text .mobile-logo-title {
        font-size: 16px;
    }
    
    .mobile-nav-text {
        font-size: 15px;
    }
    
    .mobile-nav-content {
        max-height: calc(100vh - 70px - 90px);
        padding: 5px 0;
    }
    
    .mobile-nav-footer {
        padding: 10px 15px;
        min-height: 90px;
    }
    
    .mobile-qr-code img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .head-content {
        padding: 0 8px;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
        margin-right: 5px;
    }
    
    .logo-text .logo-title {
        font-size: 11px;
    }
    
    .nav-btn {
        margin-left: 8px;
    }
    
    .nav-btn span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    .mobile-nav-container {
        width: 95%;
        max-width: 300px;
    }
    
    /* 确保active状态下菜单正确显示 */
    .mobile-nav-overlay.active .mobile-nav-container {
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    .mobile-nav-link {
        padding: 12px 15px;
    }
    
    .mobile-nav-text {
        font-size: 14px;
    }
    
    .mobile-submenu-item a {
        padding: 10px 15px 10px 50px;
        font-size: 13px;
    }
}

/* 专门修复360px-415px范围的移动端导航显示问题 */
@media (min-width: 360px) and (max-width: 415px) {
    /* 强制确保导航容器正确显示 */
    .mobile-nav-container {
        width: 90% !important;
        max-width: 350px !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        height: 100vh !important;
        z-index: 100000 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.320, 1) !important;
    }
    
    /* 激活状态下强制滑入 */
    .mobile-nav-overlay.active .mobile-nav-container {
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    /* 确保遮罩层正确显示 */
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 99999 !important;
    }
    
    .mobile-nav-overlay.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* 确保头部显示 */
    .mobile-nav-header {
        display: flex !important;
        background: linear-gradient(135deg, #1e88e5, #42a5f5) !important;
        padding: 18px 20px !important;
        min-height: 75px !important;
        z-index: 10 !important;
    }
    
    /* 确保内容区域显示 */
    .mobile-nav-content {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 10px 0 !important;
        background: transparent !important;
        display: block !important;
    }
    
    /* 确保菜单项显示 */
    .mobile-nav-item {
        display: block !important;
        margin-bottom: 2px !important;
    }
    
    .mobile-nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 15px 20px !important;
        color: #333 !important;
    }
    
    /* 确保子菜单显示 */
    .mobile-submenu {
        background: rgba(248, 249, 250, 0.5) !important;
    }
    
    .mobile-submenu-item a {
        display: block !important;
        padding: 12px 20px 12px 55px !important;
        color: #555 !important;
    }
}

/* 返回顶部按钮 */
.go-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.go-top-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6);
}

.go-top:active {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(30, 136, 229, 0.5);
}

.go-top img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.go-top:hover img {
    transform: translateY(-3px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .go-top {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 20px;
    }
    
    .go-top img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .go-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
    
    .go-top img {
        width: 18px;
        height: 18px;
    }
}

/* 响应式设计 - 调整为1650px断点，1650px以下都显示移动端导航 */
@media (max-width: 1650px) {
    .container {
        padding: 0 20px;
    }
    
    .nav {
        display: none !important;
    }
    
    .global-search {
        display: none !important;
    }
    
    .nav-btn {
        display: flex !important;
        flex-shrink: 0;
        margin-left: 15px;
    }
    
    .head-content {
        height: 70px;
        padding: 0 20px;
    }
    
    /* 1200px-1650px之间的优化 */
    @media (min-width: 1200px) {
        .container {
            padding: 0 30px;
        }
        
        .head-content {
            height: 75px;
            padding: 0 30px;
        }
        
        .logo img {
            width: 50px;
            height: 50px;
        }
        
        .nav-btn {
            margin-left: 20px;
        }
        
        .mobile-nav-container {
            width: 50%;
            max-width: 500px;
        }
    }
    
    /* 992px-1200px之间的优化 */
    @media (min-width: 992px) and (max-width: 1199px) {
        .head-content {
            height: 70px;
            padding: 0 25px;
        }
        
        .logo img {
            width: 48px;
            height: 48px;
        }
        
        .mobile-nav-container {
            width: 55%;
            max-width: 450px;
        }
    }
    
    /* 768px-992px之间的优化 */
    @media (min-width: 768px) and (max-width: 991px) {
        .head-content {
            height: 65px;
            padding: 0 20px;
        }
        
        .logo img {
            width: 45px;
            height: 45px;
        }
        
        .mobile-nav-container {
            width: 60%;
            max-width: 420px;
        }
    }
    
    .logo {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        margin-right: 8px;
    }
    
    .logo-text {
        overflow: hidden;
        flex: 1;
        min-width: 0;
    }
    
    .logo-text .logo-title {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-text .logo-subtitle {
        display: none;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

/* 中等屏幕适配 */
@media (max-width: 1024px) {
    .search-input-wrapper {
        width: 200px;
    }
    
    .search-input {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .global-search {
        display: none;
    }
}

/* 移动端导航额外样式修复 */
/* 移动端导航打开时禁止页面滚动 - 使用简单的 overflow:hidden */
/* body 的 overflow 由 JavaScript 动态控制 */

/* 移动端导航键盘导航支持 */
.mobile-nav-link:focus,
.mobile-submenu-item a:focus {
    outline: 2px solid #1e88e5;
    outline-offset: 2px;
    background: rgba(30, 136, 229, 0.1);
}

/* 移动端导航触摸优化 */
.mobile-nav-link,
.mobile-submenu-item a,
.mobile-nav-close {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* 修复在某些设备上的滚动问题 */
.mobile-nav-content {
    -webkit-overflow-scrolling: touch;
}

/* 移动端导航在横屏时的优化 */
@media (max-width: 1650px) and (orientation: landscape) {
    .mobile-nav-container {
        width: 60%;
        max-width: 400px;
    }
    
    /* 确保active状态下菜单正确显示 */
    .mobile-nav-overlay.active .mobile-nav-container {
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    .mobile-nav-header {
        padding: 10px 20px;
        min-height: 60px;
    }
    
    .mobile-logo img {
        width: 30px;
        height: 30px;
    }
    
    .mobile-logo-text .mobile-logo-title {
        font-size: 14px;
    }
    
    .mobile-logo-text .mobile-logo-subtitle {
        font-size: 10px;
    }
    
    .mobile-nav-content {
        padding: 5px 0;
        max-height: calc(100vh - 60px - 80px);
    }
    
    .mobile-nav-link {
        padding: 10px 20px;
    }
    
    .mobile-nav-text {
        font-size: 14px;
    }
    
    .mobile-nav-footer {
        padding: 10px 20px;
        min-height: 80px;
    }
    
    .mobile-qr-code img {
        width: 50px;
        height: 50px;
    }
}