/* ============================================
/* 导航菜单支持 Emoji 字体 */
.nav a, .header .nav a { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important; }
/* ============================================
   强制导航显示 - 绝对最高优先级
   请勿删除此规则！
   ============================================ */
html .nav { display: flex !important; visibility: visible !important; opacity: 1 !important; }
html body .header .nav { display: flex !important; visibility: visible !important; opacity: 1 !important; }
html .nav a { display: inline-flex !important; visibility: visible !important; }
html body .header .nav a { display: inline-flex !important; visibility: visible !important; }
html .nav-toggle { display: none !important; }
html body .header .nav-toggle { display: none !important; }

/* 移动端规则 */
@media (max-width: 768px) {
    html .nav { display: none !important; }
    html .nav.open { display: flex !important; }
    html .nav-toggle { display: block !important; }
    html body .header .nav-toggle { display: block !important; }
}
/* 强制导航结束 */
.nav{display:flex!important;visibility:visible!important;opacity:1!important;}
.nav a{display:inline-flex!important;visibility:visible!important;}
.nav-toggle{display:none!important;}

@media(max-width:768px){
.nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;background:#fff!important;flex-direction:column!important;padding:16px!important;box-shadow:0 4px 20px rgba(0,0,0,.1)!important;z-index:1000!important;width:100%!important;}
.nav.open{display:flex!important;}
.nav a{display:flex!important;padding:12px 16px!important;color:#333!important;border-bottom:1px solid #eee!important;width:100%!important;justify-content:center!important;}
.nav a:last-child{border-bottom:none!important;}
.nav-toggle{display:block!important;z-index:1001!important;position:relative!important;}
/* 导航样式结束 */

/* ============================================
   超级强制导航显示规则 - 2026-04-02
   所有其他 nav 规则都被此文件覆盖
   ============================================ */
.nav,
.nav:visited,
.header .nav,
.header > div > nav,
header.header .nav,
header.header > div > nav {
    display: flex !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    position: relative !important;
    z-index: 998 !important;
}

.nav a,
.nav a:visited,
.header .nav a,
.header > div > nav a,
header.header .nav a {
    display: inline-flex !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
}

.nav-toggle,
.header .nav-toggle,
header.header .nav-toggle {
    display: none !important;
}

/* 移动端规则 */
@media (max-width: 768px) {
    .nav { display: none !important; position: absolute !important; overflow: hidden !important; }
    .nav.open { display: flex !important; }
    .nav-toggle { display: block !important; }
    html .nav { display: none !important; position: absolute !important; }
    html .nav.open { display: flex !important; }
    html .nav-toggle { display: block !important; }
}
/* 超级强制规则结束 */

:root{--primary:#1a237e;--primary-light:#3949ab;--accent:#00bcd4;--text:#222;--text-light:#666;--bg:#fff;--bg-gray:#f8f9ff;--border:#e0e0e0;--radius:12px;}
*{margin:0;padding:0;box-sizing:border-box;}
html{overflow-x:hidden;}
body{font-family:'Microsoft YaHei',Arial,sans-serif;color:var(--text);line-height:1.6;overflow-x:hidden;width:100%;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;}
.container{max-width:1200px;margin:0 auto;padding:0 24px;}
.text-center{text-align:center;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}

/* 按钮 */
.btn{display:inline-block;padding:12px 32px;border-radius:30px;font-size:15px;font-weight:600;cursor:pointer;transition:.3s;border:2px solid transparent;}
.btn-primary{background:var(--primary);color:#fff;}
.btn-primary:hover{background:var(--primary-light);transform:translateY(-2px);box-shadow:0 8px 20px rgba(26,35,126,.3);}
.btn-outline{border-color:#fff;color:#fff;}
.btn-outline:hover{background:#fff;color:var(--primary);}
.btn-white{background:#fff;color:var(--primary);}
.btn-white:hover{background:#e8eaf6;transform:translateY(-2px);}
.btn-block{width:100%;text-align:center;}

/* 导航 */
.header{position:fixed;top:0;width:100%;z-index:999;padding:16px 0;transition:.3s;}
.header .container{display:flex;align-items:center;gap:32px;flex-wrap:nowrap;position:relative;}
.header.scrolled{background:linear-gradient(135deg,#060d30 0%,#0d1b5e 50%,#1a237e 100%);box-shadow:0 2px 20px rgba(0,0,0,.2);padding:10px 0;}
.logo{flex-shrink:0;min-width:0;}
.logo a{color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px;}
.header.scrolled .logo a{color:#fff;}
.logo-icon{font-size:24px;flex-shrink:0;}
.nav{display:flex;gap:4px;margin-left:auto;}
.nav a{padding:8px 14px;border-radius:6px;color:rgba(255,255,255,.85);font-size:14px;transition:.2s;}
.header.scrolled .nav a{color:rgba(255,255,255,.9);}
.nav a:hover,.nav a.active{background:rgba(255,255,255,.15);color:#fff;}
/* 导航栏图标样式 */
.nav a i, .nav a .fas, .nav a .far, .nav a .fab {
    color: inherit !important;
    margin-right: 6px;
    font-size: 14px;
}

.header.scrolled .nav a:hover,.header.scrolled .nav a.active{background:rgba(255,255,255,.15);color:#fff;}
.nav-highlight{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:8px 14px;border-radius:20px;font-weight:600;animation:glow 2s ease-in-out infinite;}
@keyframes glow{0%,100%{box-shadow:0 0 10px rgba(102,126,234,.5)}50%{box-shadow:0 0 20px rgba(118,75,162,.8)}}
.header-phone a{color:rgba(255,255,255,.85);font-size:14px;white-space:nowrap;}
.header.scrolled .header-phone a{color:rgba(255,255,255,.9);}
.nav-toggle{display:none;background:none;border:none;color:#fff;font-size:22px;cursor:pointer;padding:4px;flex-shrink:0;}
.header.scrolled .nav-toggle{color:#fff;}

/* Hero */
.hero{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#060d30 0%,#0d1b5e 50%,#1a237e 100%);position:relative;overflow:hidden;}
.hero-bg{position:absolute;inset:0;}
.hero-particles{position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.15) 1px,transparent 1px);background-size:50px 50px;animation:drift 20s linear infinite;}
@keyframes drift{from{background-position:0 0}to{background-position:50px 50px}}
.hero .container{flex:1;display:flex;align-items:center;position:relative;z-index:1;padding-top:80px;}
.hero-content{max-width:700px;}
.hero-badge{display:inline-block;background:rgba(0,188,212,.2);border:1px solid rgba(0,188,212,.4);color:var(--accent);padding:6px 18px;border-radius:20px;font-size:13px;margin-bottom:20px;}
.hero-title{font-size:clamp(28px,5vw,52px);font-weight:800;color:#fff;line-height:1.25;margin-bottom:20px;}
.hero-subtitle{font-size:18px;color:rgba(255,255,255,.7);margin-bottom:36px;max-width:520px;}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;}
.hero-stats{position:relative;z-index:1;background:rgba(255,255,255,.08);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.1);}
.stats-row{display:flex;justify-content:space-around;padding:24px 0;}
.stat-item{text-align:center;color:#fff;}
.stat-num{font-size:36px;font-weight:800;color:#fff;}
.stat-unit{font-size:20px;font-weight:600;color:var(--accent);}
.stat-item p{font-size:13px;color:rgba(255,255,255,.6);margin-top:4px;}

/* Section */
.section{padding:80px 0;}
.section-gray{background:var(--bg-gray);}
.section-dark{background:linear-gradient(135deg,#0a0f2e,#1a237e);color:#fff;}
.section-header{text-align:center;margin-bottom:56px;}
.section-tag{display:inline-block;background:rgba(26,35,126,.1);color:var(--primary);padding:4px 16px;border-radius:20px;font-size:13px;font-weight:600;margin-bottom:12px;}
.section-dark .section-tag{background:rgba(255,255,255,.15);color:rgba(255,255,255,.8);}
.section-title{font-size:clamp(24px,3.5vw,36px);font-weight:800;margin-bottom:14px;}
.section-dark .section-title{color:#fff;}
.section-desc{color:var(--text-light);max-width:600px;margin:0 auto;}
.section-dark .section-desc{color:rgba(255,255,255,.6);}

/* 产品卡片 */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.products-grid-full{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));}
.product-card{background:#fff;border-radius:var(--radius);padding:32px;border:1px solid var(--border);transition:.3s;position:relative;}
.product-card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(26,35,126,.12);border-color:var(--primary-light);}
.product-icon{font-size:40px;margin-bottom:16px;}
.product-card h3{
    font-size:20px;
    font-weight:800;
    margin-bottom:6px;
    background:linear-gradient(135deg,#0066ff 0%,#00d4ff 50%,#7b2fff 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    letter-spacing:0.5px;
    line-height:1.3;
    font-family:'Microsoft YaHei','PingFang SC','Helvetica Neue',Arial,sans-serif;
}
.product-card h3::after{
    content:'';
    display:block;
    width:32px;
    height:3px;
    background:linear-gradient(90deg,#0066ff,#00d4ff);
    border-radius:2px;
    margin-top:6px;
}
.product-sub{color:var(--accent);font-size:13px;margin-bottom:12px;}
.product-desc{color:var(--text-light);font-size:14px;margin-bottom:16px;}
.product-features{list-style:none;font-size:13px;color:var(--text-light);}
.product-features li{padding:3px 0;}
.product-category-tag{position:absolute;top:16px;right:16px;background:var(--bg-gray);color:var(--primary);padding:2px 10px;border-radius:12px;font-size:12px;}
.product-link{display:inline-block;margin-top:16px;color:var(--primary);font-size:14px;font-weight:600;}
.product-link:hover{text-decoration:underline;}

/* 优势 */
.advantages-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.adv-item{text-align:center;padding:32px 24px;}
.adv-icon{font-size:40px;margin-bottom:14px;}
.adv-item h4{color:#fff;font-size:17px;margin-bottom:10px;}
.adv-item p{color:rgba(255,255,255,.65);font-size:14px;}

/* 案例 */
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.cases-grid-full{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));}
.case-card{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);transition:.3s;}
.case-card:hover{box-shadow:0 10px 36px rgba(0,0,0,.12);transform:translateY(-5px);}
.case-img{width:100%;height:180px;object-fit:cover;}
.case-body{padding:36px 40px;}
.case-industry-tag{display:inline-block;background:rgba(26,35,126,.08);color:var(--primary);padding:3px 14px;border-radius:12px;font-size:13px;margin-bottom:12px;}
.case-card h3{font-size:18px;font-weight:600;margin-bottom:8px;}
.case-client{color:var(--text-light);font-size:14px;margin-bottom:12px;}
.case-result{background:#f0f7ff;padding:12px 16px;border-radius:10px;font-size:14px;color:#1a237e;margin:14px 0;line-height:1.6;}
.case-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.tag{background:var(--bg-gray);color:var(--text-light);padding:3px 12px;border-radius:12px;font-size:13px;}

/* 新闻 */
.news-list{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);}
.news-item{display:flex;align-items:center;gap:16px;padding:16px 24px;border-bottom:1px solid #f0f0f0;}
.news-item:last-child{border-bottom:none;}
.news-type{flex-shrink:0;padding:2px 10px;border-radius:4px;font-size:12px;}
.news-type.notice{background:#e3f2fd;color:#1565c0;}
.news-type.news{background:#f3e5f5;color:#6a1b9a;}
.news-title{flex:1;color:var(--text);font-size:15px;}
.news-title:hover{color:var(--primary);}
.news-date{flex-shrink:0;color:var(--text-light);font-size:13px;}
/* 新闻列表页 */
.news-full-list{max-width:800px;margin:0 auto;}
.news-full-item{display:flex;gap:16px;padding:24px 0;border-bottom:1px solid var(--border);}
.news-full-body{flex:1;}
.news-full-title{display:block;font-size:17px;color:var(--text);margin-bottom:8px;font-weight:600;}
.news-full-title:hover{color:var(--primary);}
.news-summary{color:var(--text-light);font-size:14px;margin-bottom:8px;}
.article-wrap{max-width:800px;margin:0 auto;}
.article-header{margin-bottom:32px;}
.article-header h1{font-size:26px;margin:12px 0;}
.article-meta{color:var(--text-light);font-size:13px;display:flex;gap:16px;}
.article-content{line-height:1.9;font-size:15px;}
.back-link{display:inline-block;color:var(--primary);margin-bottom:24px;font-size:14px;}

/* CTA */
.cta-section{background:linear-gradient(135deg,#1a237e,#3949ab);padding:80px 0;text-align:center;color:#fff;}
.cta-section h2{font-size:32px;font-weight:800;margin-bottom:12px;}
.cta-section p{color:rgba(255,255,255,.75);margin-bottom:32px;}

/* 页面Banner */
.page-banner{background:linear-gradient(135deg,#0d1b4b,#1a237e);padding:100px 0 60px;color:#fff;text-align:center;}
.page-banner h1{font-size:36px;font-weight:800;margin-bottom:10px;}
.page-banner p{color:rgba(255,255,255,.7);}

/* 关于我们 */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.about-intro{font-size:15px;color:var(--text-light);line-height:1.9;margin:16px 0 24px;}
.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.about-stat{text-align:center;padding:16px;background:var(--bg-gray);border-radius:8px;}
.about-stat strong{display:block;font-size:22px;color:var(--primary);font-weight:800;}
.about-stat span{font-size:12px;color:var(--text-light);}
.about-img-placeholder{background:linear-gradient(135deg,#e8eaf6,#c5cae9);border-radius:16px;height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.about-img-icon{font-size:64px;margin-bottom:12px;}

/* 时间线 */
.timeline{max-width:700px;margin:0 auto;position:relative;padding-left:40px;}
.timeline::before{content:'';position:absolute;left:12px;top:0;bottom:0;width:2px;background:var(--border);}
.timeline-item{position:relative;margin-bottom:32px;}
.timeline-item::before{content:'';position:absolute;left:-34px;top:16px;width:12px;height:12px;border-radius:50%;background:var(--primary);border:2px solid #fff;box-shadow:0 0 0 3px var(--primary);}
.timeline-year{display:inline-block;background:var(--primary);color:#fff;padding:2px 12px;border-radius:12px;font-size:13px;font-weight:600;margin-bottom:8px;}
.timeline-content h4{font-size:16px;margin-bottom:6px;}
.timeline-content p{color:var(--text-light);font-size:14px;}

/* 文化 */
.culture-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.culture-item{text-align:center;padding:32px;border:1px solid var(--border);border-radius:var(--radius);}
.culture-icon{font-size:40px;margin-bottom:14px;}
.culture-item h4{font-size:17px;margin-bottom:10px;}
.culture-item p{color:var(--text-light);font-size:14px;}

/* 联系 */
.contact-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:60px;}
.contact-info h2{font-size:24px;margin-bottom:24px;}
.contact-items{display:flex;flex-direction:column;gap:20px;}
.contact-item{display:flex;gap:14px;align-items:flex-start;}
.contact-icon{font-size:24px;flex-shrink:0;}
.contact-item strong{display:block;font-size:14px;font-weight:600;margin-bottom:2px;}
.contact-item p{color:var(--text-light);font-size:14px;}
.contact-form-wrap{background:#fff;border-radius:var(--radius);padding:32px;box-shadow:0 4px 24px rgba(0,0,0,.06);}
.contact-form h2{font-size:22px;margin-bottom:24px;}
.contact-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.contact-form .form-group{margin-bottom:16px;}
.contact-form label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;transition:.2s;font-family:inherit;}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--primary);outline:none;}
.required{color:#e53935;}
.alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:14px;}
.alert-success{background:#e8f5e9;color:#2e7d32;}
.alert-error{background:#ffebee;color:#c62828;}

/* 产品详情 */
.product-detail{max-width:800px;margin:0 auto;text-align:center;}
.product-detail-icon{font-size:64px;margin-bottom:16px;}
.product-detail h1{font-size:30px;margin-bottom:8px;}
.product-detail-sub{color:var(--accent);font-size:16px;margin-bottom:20px;}
.product-detail-desc{color:var(--text-light);line-height:1.9;margin-bottom:32px;text-align:left;}
.product-features-detail{background:var(--bg-gray);border-radius:var(--radius);padding:24px;margin:24px 0;text-align:left;}
.product-features-detail h3{margin-bottom:16px;}
.product-features-detail ul{list-style:none;}
.product-features-detail li{padding:8px 0;border-bottom:1px solid var(--border);display:flex;gap:10px;align-items:center;}
.check{color:#2e7d32;font-weight:bold;}
.product-detail-cta{margin-top:32px;}

/* 页脚 */
.footer{background:#0d1b4b;color:rgba(255,255,255,.75);padding:60px 0 0;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px;}
.footer-logo{font-size:20px;font-weight:700;color:#fff;margin-bottom:12px;display:flex;align-items:center;gap:8px;}
.footer-brand p{font-size:13px;line-height:1.8;}
.footer-contact-info{margin-top:16px;}
.footer-contact-info p{font-size:13px;margin:4px 0;}
.footer-col h4{color:#fff;font-size:15px;font-weight:600;margin-bottom:16px;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:8px;}
.footer-col ul li a{font-size:13px;transition:.2s;}
.footer-col ul li a:hover{color:#fff;}
.footer-qr{text-align:center;}
.qr-placeholder{width:100px;height:100px;background:rgba(255,255,255,.1);border-radius:8px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-size:12px;color:rgba(255,255,255,.4);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:13px;}
.footer-bottom a{color:rgba(255,255,255,.5);}

/* 响应式 */
@media(max-width:1024px){
  .products-grid,.cases-grid{grid-template-columns:repeat(2,1fr);}
  .advantages-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .about-grid,.contact-grid{grid-template-columns:1fr;}
}
@media(max-width:768px){
  /* 防止横向溢出 */
  html,body{overflow-x:hidden;max-width:100vw;}
  .container{padding:0 16px;}
  /* 导航栏 */
  .header{padding:10px 0;}
  .header .container{gap:10px;padding:0 16px;}
  .logo a{font-size:15px;max-width:160px;}
  .logo-icon{font-size:18px;}
  .header-phone{display:none!important;}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:16px;box-shadow:0 4px 20px rgba(0,0,0,.1);z-index:1000;}
  .nav.open{display:flex;}
  .nav a{color:var(--primary)!important;padding:10px 16px;}
  .nav-toggle{display:block!important;}
  /* Hero */
  .hero-btns{flex-direction:column;align-items:flex-start;}
  .hero-content{padding:0;}
  /* 网格 */
  .products-grid,.cases-grid,.advantages-grid,.culture-grid{grid-template-columns:1fr;}
  /* 统计 */
  .stats-row{flex-wrap:wrap;gap:16px;}
  .stat-item{flex:1;min-width:100px;}
  /* 关于我们 */
  .about-stats{grid-template-columns:repeat(2,1fr);}
  /* 联系 */
  .contact-form .form-row{grid-template-columns:1fr;}
  /* 页脚 */
  .footer-grid{grid-template-columns:1fr;}
  /* Section 间距 */
  .section{padding:50px 0;}
}


/* Logo text fallback */
.logo-text{display:inline-block;font-size:20px;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}

/* ================================================
   移动端竖屏强制修复 (优先级最高)
   ================================================ */
@media screen and (max-width: 768px) {
    /* 核心：禁止任何横向溢出 */
    html body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    html {
        overflow-x: hidden !important;
    }

    /* 导航栏容器：禁止撑开 */
    body .header .container,
    html body .header .container,
    .header.container_wrapper,
    body .header.container_wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    /* Logo：强制单行显示，不换行 */
    body .header .logo,
    html body .header .logo,
    body div.header div.logo,
    html body div.header div.logo {
        flex-shrink: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    body .header .logo a,
    html body .header .logo a,
    body .header a.logo,
    html body .header a.logo {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 130px !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    body .header .logo-icon,
    html body .header .logo-icon,
    body .logo i,
    html .logo i {
        font-size: 18px !important;
        flex-shrink: 0 !important;
        min-width: 18px !important;
    }

    /* 手机号：必须隐藏 */
    body .header .header-phone,
    html body .header .header-phone,
    body .header-phone,
    html body .header-phone {
        display: none !important;
        visibility: hidden !important;
    }

    /* 汉堡按钮：必须显示 */
    body .header .nav-toggle,
    html body .header .nav-toggle,
    body .nav-toggle,
    html body .nav-toggle {
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* 导航链接区域：默认隐藏 */
    body .header .nav,
    html body .header .nav,
    body .nav,
    html body .nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 16px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        overflow-x: hidden !important;
    }
    body .header .nav.open,
    html body .header .nav.open,
    body .nav.open,
    html body .nav.open {
        display: flex !important;
    }

    /* 强制 header 不能被撑开 */
    body .header,
    html body .header {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}
/* 移动端强制修复结束 */

/* ================================================
   Mobile Portrait Force Fix (Highest Priority)
   ================================================ */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    html { overflow-x: hidden !important; }

    /* Header container: prevent overflow */
    body .header .container,
    html body .header .container {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 0 12px !important;
    }

    /* Logo: single line, no wrap */
    body .header .logo a,
    html body .header .logo a {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 110px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
        letter-spacing: -0.3px !important;
    }
    body .header .logo-icon,
    body .logo i {
        font-size: 16px !important;
        flex-shrink: 0 !important;
        min-width: 16px !important;
    }

    /* Phone: hide it */
    body .header .header-phone,
    html body .header .header-phone {
        display: none !important;
    }

    /* Hamburger: show it */
    body .header .nav-toggle,
    html body .header .nav-toggle {
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* Nav: default hidden, popup when open */
    body .header .nav,
    html body .header .nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 16px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        overflow-x: hidden !important;
    }
    body .header .nav.open,
    html body .header .nav.open {
        display: flex !important;
    }

    /* Header itself */
    body .header,
    html body .header {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}
