* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
}

body {
    background: linear-gradient(145deg, #f0f7ff 0%, #e3eefc 100%);
    color: #0a2540;
    line-height: 1.5;
    padding-top: 76px;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary-blue: #0066cc;
    --deep-blue: #004a99;
    --dark-bg: #0b2b4f;
}

/* ========== 导航栏 ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 150px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,51,102,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,102,204,0.2);
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 12px;
    color: #4a6f8f;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
    font-weight: 500;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #1a2b3c;
    transition: 0.2s;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.nav-link i {
    font-size: 12px;
    transition: transform 0.25s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), #4c9aff);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-blue);
}

/* ========== 关键修复：完美解决鼠标移动时菜单消失 ========== */
/* 1. 增加一个不可见的桥接区域（伪元素），填充分导航文字和下拉菜单之间的缝隙 */
.nav-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;  /* 桥接区高度，覆盖间隙 */
    background: transparent;
    z-index: 199;
}

/* 2. 下拉菜单基础样式 + 延迟隐藏机制 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background:var(--dark-bg);
    backdrop-filter: blur(16px);
    min-width: 260px;
    border-radius: 24px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.1s ease, visibility 0.1s ease, transform 0.1s ease;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 150, 255, 0.3);
    border: 1px solid rgba(0, 180, 255, 0.3);
}

/* 3. 核心修复：鼠标悬停时立即显示，并且延迟隐藏（通过transition-delay） */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    /* 取消延迟，立即显示 */
    transition-delay: 0s;
}

/* 4. 关键：当鼠标离开.nav-item时，延迟0.3秒隐藏，给用户足够时间移入菜单 */
.nav-item:not(:hover) .dropdown-menu {
    transition-delay: 0.1s;  /* 0.3秒延迟，足够鼠标从文字移动到菜单上 */
    transition-property: opacity, visibility, transform;
    transition-duration: 0.1s;
}

/* 5. 鼠标悬停在下拉菜单上时，强制保持显示（覆盖隐藏逻辑） */
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
}

/* 6. 同时，鼠标悬停在桥接区（::before）上时，也保持菜单显示 */
.nav-item:hover::before {
    /* 确保桥接区在悬停时联动 */
}

/* ========== 科技感阶梯动画（子菜单项依次淡入） ========== */
.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
    color: #eef5ff;
    text-decoration: none;
    font-weight: 450;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s, border-color 0.2s;
}

/* 当菜单显示时，子项依次入场 */
.nav-item:hover .dropdown-menu a {
    opacity: 1;
    transform: translateX(0);
}

/* 阶梯延迟 */
.dropdown-menu a:nth-child(1) { transition-delay: 0.01s; }
.dropdown-menu a:nth-child(2) { transition-delay: 0.04s; }
.dropdown-menu a:nth-child(3) { transition-delay: 0.07s; }
.dropdown-menu a:nth-child(4) { transition-delay: 0.10s; }
.dropdown-menu a:nth-child(5) { transition-delay: 0.13s; }
.dropdown-menu a:nth-child(6) { transition-delay: 0.16s; }
.dropdown-menu a:nth-child(7) { transition-delay: 0.19s; }
.dropdown-menu a:nth-child(8) { transition-delay: 0.22s; }

.dropdown-menu a:hover {
    background: rgba(0, 150, 255, 0.2);
    color: white;
    border-left: 3px solid var(--primary-blue);
    padding-left: 28px;
    backdrop-filter: blur(4px);
}

/* 科技感光效装饰 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), #90e0ff, var(--primary-blue), transparent);
    border-radius: 24px 24px 0 0;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(0,102,204,0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .navbar { padding: 18px 60px; }
}
@media (max-width: 992px) {
    /* 平板起就走 H5 汉堡模式，避免 logo 与导航折行挤一起 */
    .nav-toggle { display: flex; }
    /* 关掉 navbar 的 backdrop-filter：
       backdrop-filter / filter / transform 会让后代 position:fixed 退化为 absolute
       (CSS spec: 它们会建立新的 containing block)。H5 下不需要毛玻璃，关掉最干净。 */
    .navbar {
        /*position: sticky;*/
        flex-direction: row;
        padding: 14px 18px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;            /* navbar 实际高度（H5 下约 68px） */
        left: 0;
        right: 0;
        bottom: 0;            /* 配合 top = 视口 - navbar */
        z-index: 999;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        box-shadow: 0 8px 20px rgba(0,51,102,0.12);
        border-top: 1px solid rgba(0,102,204,0.15);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open { display: flex; }
    .nav-item { border-bottom: 1px solid rgba(0,102,204,0.08); }
    .nav-link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 22px; font-size: 1rem; }
    .dropdown-menu.sub-menu {
        position: static;
        width: 100%;
        opacity: 1; visibility: visible; transform: none;
        background: rgba(0,102,204,0.06); backdrop-filter: none; border-radius: 0;
        border: none; border-top: 1px dashed rgba(0,102,204,0.18);
        box-shadow: none; min-width: 0; padding: 0; pointer-events: auto;
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .dropdown-menu.sub-menu.open { max-height: 1500px; }
    .dropdown-menu.sub-menu a {
        display: flex; align-items: center; gap: 10px;
        width: 100%;
        padding: 12px 22px 12px 36px;
        opacity: 1; transform: none; color: #1a2b3c;
        border-left: none; font-size: .92rem;
        box-sizing: border-box;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .dropdown-menu.sub-menu a:hover { background: rgba(0,102,204,0.12); color: var(--primary-blue); padding-left: 38px; }
    .nav-item::before { display: none; }
    .nav-item:hover .nav-link i { transform: none; }
    .nav-item.has-children.open > .nav-link i { transform: rotate(180deg); transition: transform .25s; }
    .logo-subtext { display: none; }
    .logo-text { font-size: 20px; }
    /* 下拉箭头触控区放大 (移动端) */
    .nav-link .dropdown-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 2px 10px 14px;
        margin: -10px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    /* 兼容旧的下拉定位 */
    .dropdown-menu { left: 0; transform: none; }
    .nav-item:hover .dropdown-menu { transform: none; }
}

/* Banner 样式 */
.banner {
    position: relative;
    width: 100%;
    height: 260px;
    background: linear-gradient(97deg, #0b2a4a 0%, #1b4a7a 100%);
    background-size: cover;
    background-position: center 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.banner h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.banner p {
    font-size: 1.4rem;
    max-width: 700px;
    background: rgba(0,0,0,0.2);
    padding: 8px 24px;
    border-radius: 60px;
    backdrop-filter: blur(3px);
}

/* 内容演示区 */
.content-demo {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 30px;
}

.card-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-card {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 28px;
    flex: 1;
    min-width: 260px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,102,204,0.25);
}

.demo-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.tip-badge {
    text-align: center;
    margin-top: 30px;
    background: rgba(0,102,204,0.1);
    padding: 12px;
    border-radius: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    color: #0066cc;
}

/* Footer 样式 */
.footer-banner {
    background-color: var(--dark-bg);
    color: #deecff;
    padding: 40px 150px 20px;
    border-radius: 20px 20px 0 0;
    border-top: 2px solid #1f5891;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.4fr 1.2fr 1.2fr 1.6fr 1.2fr;
    gap: 25px;
    margin-bottom: 30px;
}

.footer-col h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
    border-left: 5px solid var(--primary-blue);
    padding-left: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #b8d1f0;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info i {
    width: 24px;
    color: var(--primary-blue);
}

.copyright {
    border-top: 1px solid #204e7a;
    padding-top: 18px;
    text-align: center;
    color: #98b9e0;
    font-size: 0.9rem;
}

.copyright a {
    color: #98b9e0;
}

.copyright-company,
.copyright-record {
    display: inline-block;
}

/* footer 专属美化 */
.footer-banner .footer-col:first-child .footer-logo {
    margin-bottom: 25px;
}

.footer-banner .footer-col:first-child .footer-logo-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-banner .footer-col:first-child .footer-logo-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    background-size: contain;
    border-radius: 10px;
    box-shadow: 0 12px 22px -6px #00000060;
    border: 2px solid rgba(255,255,255,0.25);
}

.footer-banner .footer-col:first-child .footer-logo-text h3 {
    font-size: 2.0rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin: 0;
    letter-spacing: 1px;
}

.footer-banner .footer-col:first-child .footer-logo-text p {
    font-size: 0.95rem;
    color: #b0ccff;
    margin: 6px 0 0;
}

.footer-banner .footer-col:first-child h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.75;
    margin-bottom: 16px;
    border-left: none;
    padding-left: 0;
    color: #c4d6ff;
}

.footer-banner .footer-col:first-child .contact-info li {
    font-size: 1.0rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f0f6ff;
}

.footer-banner .footer-col:first-child .contact-info i {
    font-size: 1.4rem;
    color: #6ea8ff;
}

.footer-banner .footer-col:first-child .contact-info li:last-child {
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
}

.footer-banner .footer-col:not(:first-child) ul li a,
.footer-banner .footer-col:not(:first-child) ul li {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-banner .footer-col:not(:first-child) h5 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.copyright {
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    opacity: 0.9;
    padding-top: 22px;
    margin-top: 5px;
}

/* 右侧悬浮 */
.float-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.float-item {
    position: relative;
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0,40,80,0.25);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid rgba(255,255,255,0.8);
}

.float-item-price{
    position: relative;
    border: none;
    width: auto;
    height: auto;
    /*padding: 12px 28px;*/
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    background: white;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.float-item:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    border-color: white;
}
.float-item-price:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    border-color: white;
}

.float-card {
    position: absolute;
    right: 70px;
    top: 0;
    background: white;
    border-radius: 28px;
    padding: 20px 16px;
    box-shadow: 0 15px 30px rgba(0,40,80,0.3);
    border: 1px solid rgba(0,102,204,0.3);
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s ease;
    pointer-events: none;
    color: #0a2540;
}

.float-card-price {
    position: absolute;
    right: 0px;
    top: 70px;
    background: white;
    border-radius: 28px;
    padding: 20px 16px;
    box-shadow: 0 15px 30px rgba(0,40,80,0.3);
    border: 1px solid rgba(0,102,204,0.3);
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s ease;
    pointer-events: none;
    color: #0a2540;
}

.float-item.active .float-card {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.float-item.active .float-card,
.float-item-price.active .float-card-price {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.float-card::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

.float-card-price::after {
    content: '';
    position: absolute;
    right: 35px;
    top: -9px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0,102,204,0.3);
}

.float-card .qr-sim {
    min-width: 200px;
    margin: 10px auto 12px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border: 3px solid white;
}

.float-card .contact-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin: 10px 0 5px;
}

.float-card .small-note {
    font-size: 0.8rem;
    color: #4a6782;
}

.float-card h4 {
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 5px;
}

/* banner 样式 */
.banner {
    position: relative;
    width: 100%;
    height: 260px;
    background: linear-gradient(97deg, #0b2a4a 0%, #1b4a7a 100%), url('./img/banner0.jpg');
    background-size: cover;
    background-position: center 30%;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.banner h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.banner p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
    background: rgba(0,0,0,0.2);
    padding: 8px 24px;
    border-radius: 60px;
    backdrop-filter: blur(3px);
}
/* ========= 回到顶部按钮独立样式 ========= */
.go-top-wrapper {
    position: fixed;
    bottom: 150px;
    right: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.go-top-wrapper.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.go-top-wrapper.scrolling {
    pointer-events: none;
}

.go-top-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.go-top-btn i {
    font-size: 20px;
    margin-bottom: 2px;
}

.go-top-text {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.go-top-btn:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #004a99 0%, #003380 100%);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* 添加波纹效果 */
.go-top-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.go-top-btn:active::before {
    width: 100%;
    height: 100%;
}

/* 可选：添加进度环效果（显示滚动进度） */
.go-top-btn {
    position: relative;
    overflow: hidden;
}

.go-top-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

/* 小屏幕适配 */
@media (max-width: 768px) {
    .go-top-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .go-top-btn {
        width: 44px;
        height: 44px;
    }

    .go-top-btn i {
        font-size: 18px;
    }

    .go-top-text {
        font-size: 9px;
    }
}

/* 如果右侧悬浮菜单可能遮挡，调整位置 */
@media (max-width: 480px) {
    .go-top-wrapper {
        bottom: 15px;
        right: 15px;
    }
}

/* ========= H5 头部导航（汉堡 + 手风琴） ========= */
.nav-toggle {
    display: none;
}

@media (max-width: 768px) {

    /* 1. navbar 改为 logo 左 + 汉堡右；
       关掉 backdrop-filter，避免子级 fixed 退化 */
    .navbar {
        /*position: sticky;*/
        flex-direction: row;
        justify-content: space-between;
        padding: 14px 18px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .h5-hide{display: none;}
    /* 2. 汉堡按钮 */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 24px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-blue);
        border-radius: 2px;
        transition: transform .25s, opacity .25s;
    }
    /* 展开时 X 形 */
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* 3. logo 副标题 H5 下隐藏 */
    .logo-subtext { display: none; }
    .logo-text { font-size: 20px; }
    .dropdown-menu::before{display: none;}
    /* 4. nav-links 改为面板（全屏 drawer） */
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        box-shadow: 0 8px 20px rgba(0,51,102,0.12);
        border-top: 1px solid rgba(0,102,204,0.15);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open {
        display: flex;
    }

    /* 5. nav-item 一行样式 */
    .nav-item {
        border-bottom: 1px solid rgba(0,102,204,0.08);
        width: 100%;
    }

    /* 6. 父链接整行可点 */
    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 22px;
        font-size: 1rem;
    }

    /* 7. 下拉菜单改造为手风琴 */
    .dropdown-menu.sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 102, 204, 0.06);
        backdrop-filter: none;
        border-radius: 0;
        border: none;
        /* border-top: 1px dashed rgba(0,102,204,0.18); */
        box-shadow: none;
        min-width: 0;
        padding: 0;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .dropdown-menu.sub-menu.open {
        max-height: 1500px;
        padding: 10px 0;
    }
    .dropdown-menu.sub-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 22px 10px 36px;
        opacity: 1;
        transform: none;
        color: #1a2b3c;
        border-left: none;
        font-size: 12px;
    }
    .dropdown-menu.sub-menu a:hover {
        background: rgba(0, 102, 204, 0.12);
        color: var(--primary-blue);
        padding-left: 38px;
    }
    /* H5 下取消父子间隙伪元素 */
    .nav-item::before { display: none; }

    /* 8. nav-item hover 不再影响箭头旋转（避免与手风琴冲突） */
    .nav-item:hover .nav-link i {
        transform: none;
    }
    .nav-item.has-children.open > .nav-link i {
        transform: rotate(180deg);
        transition: transform .25s;
    }
    .nav-link::after{display: none;}

    /* ========= 底部 footer 改造为 H5 单列 ========= */
    .footer-banner {
        padding: 24px 16px 16px;
        border-radius: 16px 16px 0 0; 
    } 
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .footer-col h5 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    .footer-col a { font-size: .9rem; }
    .footer-banner .footer-col:first-child .footer-logo-text h3 { font-size: 1.5rem; }
    .footer-banner .footer-col:first-child .footer-logo-text p  { font-size: .85rem; }
    .footer-banner .footer-col:first-child .contact-info li     { font-size: .92rem; margin-bottom: 10px; gap: 8px; }
    .copyright { font-size: .8rem; padding-top: 14px; }
}

/* ===== 官网移动端结构优化：放在文件末尾覆盖旧规则 ===== */
.nav-link-shell {
    display: flex;
    align-items: stretch;
}

.submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    border: none;
    background: transparent;
    color: #4a6f8f;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.submenu-toggle:hover {
    color: var(--primary-blue);
}

.footer-summary {
    margin: 0 0 18px;
    color: #c8dcf6;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #0b2b4f;
    background: #ffffff;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-action.secondary {
    color: #cfe4ff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.footer-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.mobile-contact-bar {
    display: none;
}

.mobile-contact-link {
    appearance: none;
    border: none;
    background: transparent;
    text-decoration: none;
}

body.nav-drawer-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(7, 24, 43, 0.42);
    backdrop-filter: blur(3px);
    z-index: 998;
}

@media (max-width: 992px) {
    .nav-item.has-children > .nav-link {
        flex: 1 1 auto;
    }

    .nav-link-shell {
        width: 100%;
        align-items: center;
    }

    .submenu-toggle {
        display: inline-flex;
    }

    .nav-link-shell .nav-link {
        width: calc(100% - 48px);
        justify-content: flex-start;
        padding-right: 10px;
    }

    .nav-link-shell .nav-link i {
        display: none;
    }

    .nav-item.has-children.open .submenu-toggle i {
        transform: rotate(180deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: min(84vw, 340px);
        max-width: 340px;
        padding: 84px 16px 24px;
        background: linear-gradient(180deg, #f9fbff 0%, #edf5fd 100%);
        border-left: 1px solid rgba(0, 102, 204, 0.1);
        box-shadow: -18px 0 42px rgba(9, 39, 72, 0.22);
        transform: translateX(108%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links::before {
        content: '导航';
        display: block;
        margin: 0 4px 14px;
        color: #123a62;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 768px) {
    .navbar {
        align-items: center;
    }

    .logo {
        max-width: calc(100% - 56px);
    }

    .nav-item {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    }

    .nav-link,
    .nav-link-shell .nav-link {
        min-height: 54px;
        padding: 15px 2px 15px 0;
        font-size: 1.04rem;
        font-weight: 600;
        color: #123456;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-item > .nav-link,
    .nav-item > .nav-link-shell {
        display: block;
    }

    .nav-item.has-children .nav-link-shell {
        display: flex;
        align-items: stretch;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .nav-item.has-children .nav-link-shell .nav-link {
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

    .nav-item:not(.has-children) > .nav-link {
        justify-content: flex-start;
    }

    .nav-item > .nav-link,
    .nav-item.has-children .nav-link-shell {
        padding-left: 4px;
    }

    .nav-link.active {
        color: var(--primary-blue);
    }

    .submenu-toggle {
        width: 48px;
        min-width: 48px;
        min-height: 54px;
        color: #386287;
        background: transparent;
        border-left: none;
    }

    .submenu-toggle i {
        font-size: 0.9rem;
    }

    .dropdown-menu.sub-menu {
        display: none;
        max-height: none;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        background: rgba(0, 102, 204, 0.04);
        border: none;
        box-shadow: none;
        transition: none;
    }

    .dropdown-menu.sub-menu.open {
        display: block;
        padding: 4px 0 6px;
    }

    .dropdown-menu.sub-menu a {
        min-height: 40px;
        padding: 10px 0 10px 20px;
        font-size: 0.9rem;
        color: #45627e;
    }

    .dropdown-menu.sub-menu a + a {
        border-top: 1px solid rgba(0, 102, 204, 0.06);
    }

    .dropdown-menu.sub-menu a:hover {
        background: transparent;
        color: var(--primary-blue);
        padding-left: 20px;
    }

    .footer-banner {
        position: relative;
        border-radius: 0;
        padding: 24px 16px 18px;
    }

    .footer-grid {
        gap: 0;
    }

    .footer-banner .footer-col:first-child {
        display: block;
    }

    .footer-banner .footer-col:first-child .footer-logo {
        margin-bottom: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-banner .footer-col:first-child .footer-logo-box {
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .footer-banner .footer-col:first-child .footer-logo-icon {
        width: 44px;
        height: 44px;
    }

    .footer-banner .footer-col:first-child .footer-logo-text h3 {
        font-size: 1.2rem;
        line-height: 1.1;
    }

    .footer-banner .footer-col:first-child .footer-logo-text p {
        font-size: 0.72rem;
        margin-top: 4px;
        color: #aac8ea;
    }

    .footer-summary,
    .footer-actions,
    .h5-hide {
        display: none;
    }

    .go-top-wrapper {
        display: block;
        right: 14px;
        bottom: 88px;
    }

    .go-top-btn {
        width: 42px;
        height: 42px;
        box-shadow: 0 8px 20px rgba(0, 74, 153, 0.22);
    }

    .go-top-btn i {
        font-size: 16px;
        margin-bottom: 1px;
    }

    .go-top-text {
        font-size: 8px;
        letter-spacing: 0;
    }

    .footer-banner .footer-col:first-child h5 {
        display: block;
        margin-bottom: 10px;
        padding-left: 0;
        border-left: none;
        font-size: 0.92rem;
        color: #ffffff;
        letter-spacing: 0.04em;
        text-align: center;
    }

    .footer-banner .footer-col:first-child .contact-info {
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-banner .footer-col:first-child .contact-info li {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: start;
        column-gap: 10px;
        padding: 8px 0;
        margin-bottom: 0;
        font-size: 0.78rem;
        line-height: 1.5;
        color: #eef5ff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-banner .footer-col:first-child .contact-info li:last-child {
        display: none;
    }

    .footer-banner .footer-col:first-child .contact-info i {
        width: 18px;
        font-size: 0.88rem;
        margin-top: 3px;
        text-align: center;
        color: #7fb4ff;
    }

    .footer-banner .footer-col:first-child .contact-info span {
        min-width: 0;
    }

    .copyright {
        margin-top: 14px;
        padding-top: 14px;
        line-height: 1.55;
        text-align: center;
        font-size: 0.74rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .copyright-company,
    .copyright-record {
        display: block;
    }

    .copyright-company {
        color: #dbe9fb;
        margin-bottom: 4px;
    }

    .copyright-record {
        color: #9fc2ea;
    }

    .float-contact {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-banner {
        padding: 22px 14px 16px;
    }

    .go-top-wrapper {
        right: 12px;
        bottom: 82px;
    }

    .nav-link,
    .nav-link-shell .nav-link {
        font-size: 1rem;
        padding: 15px 16px;
    }

    .dropdown-menu.sub-menu a {
        font-size: 0.86rem;
        padding-left: 20px;
    }

    .footer-banner .footer-col:first-child .contact-info li:nth-child(3) {
        display: none;
    }
}
