 /* 基础样式 */
 * {
     padding: 0;
     margin: 0;
     box-sizing: border-box;
     font-family: 'Noto Sans S Chinese', sans-serif;
 }

 a,
 area,
 button,
 [role='button'],
 input:not([type='range']),
 label,
 select,
 summary,
 textarea {
     -ms-touch-action: manipulation;
     touch-action: manipulation;
 }

 strong,
 a {
     text-decoration: none;
 }

 a,
 p,
 b,
 li {
     text-decoration: none;
     color: #333;
 }

 ul,
 ol,
 li {
     list-style: none;
 }

 .header {
     height: 122px;
     position: fixed;
     width: 100%;
     top: 0;
     margin: 0 auto;
     z-index: 1000;
     background: transparent;
     /* 默认透明背景 */
     transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
     /* 添加过渡效果 */
     box-shadow: none;
     /* 默认无阴影 */
 }

 /* 新增：滚动状态样式 */
 .header.scrolled {
     background: white;
     /* 滚动时背景为白色 */
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     /* 滚动时添加阴影 */
     height: 90px;
     /* 滚动时高度减小 */
 }

 /* 滚动时隐藏顶部导航和分隔线 */
 .header.scrolled .header_top_nav,
 .header.scrolled .hr {
     display: none;
 }

 /* 鼠标悬停时导航背景变为白色 */
 .header:hover .nav_content {
     background: white;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .header .header_top_nav,
 .header .navbox .nav_top_content {
     max-width: 1600px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     padding: 0 20px;
 }

 .header .header_top_nav {
     padding: 10px 0;
     font-size: 14px;
     /* background-color: #f8f8f8; */
 }

 .header .header_top_nav .header_left_content {
     font-size: 14px;
     color: #555555;
 }

 .header .header_top_nav .header_right_content a {
     padding: 0 5px;
     margin-left: 8px;
     color: #555;
     transition: color 0.3s;
 }

 .header .header_top_nav .header_right_content a:hover {
     color: #2196f3;
 }

 .header .hr {
     width: 100%;
     height: 1px;
     background: rgba(0, 0, 0, 0.1);
     border: 0;
 }

 .header .navbox {
     width: 100%;
     position: relative;
     top: 0;
     transition: transform 0.5s;
     z-index: 900;
     transition: all .4s;
     background: transparent;
 }

 .header_logo {
     display: flex;
     align-items: center;
     height: 100%;
     padding: 20px 0;
     transition: padding 0.3s ease;
     /* 添加过渡效果 */
 }

 /* 滚动时调整logo内边距 */
 .header.scrolled .header_logo {
     padding: 10px 0;
 }

 .header_logo img {
     width: 140px;
     height: auto;
 }

 /* 主导航样式 */
 .header .navbox .nav {
     display: flex;
     align-items: center;
 }

 .nav>ul {
     display: flex;
     align-items: center;
     height: 100%;
 }

 .header .navbox .nav>ul {
     margin-right: 30px;
 }

 .nav>ul>li {
     /* height: 100%; */
     position: relative;
 }

 .header .navbox .nav>ul>li {
     margin: 0 10px;
     list-style: none;
     position: relative;
 }

 .header .navbox .nav>ul>li>a {
     font-size: 16px;
     color: #333333;
     display: flex;
     align-items: center;
     height: 80px;
     /* padding: 0 10px; */
     position: relative;
     transition: color 0.3s;
 }

 .nav>ul>li>a {
     color: #333;
     height: 100%;
     display: flex;
     align-items: center;
 }

 .header .navbox .nav>ul>li:hover>a,
 .header .navbox .nav>ul>li.on>a {
     color: #2196f3;
 }

 /* 下划线效果 */
 .header .navbox .nav>ul>li::before {
     content: '';
     height: 2px;
     position: absolute;
     bottom: 0;
     width: 0;
     background: #2196f3;
     transition: width 0.3s ease;
     left: 50%;
     transform: translateX(-50%);
 }

 .header .navbox .nav>ul>li:hover::before,
 .header .navbox .nav>ul>li.on::before {
     width: 100%;
 }

 /* 子导航样式 - 桌面端水平布局 */
 .header .navbox .nav>ul>li .subnav {
     position: fixed;
     top: 95px;
     left: 30px;
     width: 100vw;
     background: #fff;
     height: 0;
     transition: height .4s;
     overflow: hidden;
     box-sizing: border-box;
     z-index: 1000;
     background: linear-gradient(to bottom, #f5f5f5 0%, #fff 30%);
     display: block;
 }

 /* 滚动时调整子菜单位置 */
 .header.scrolled .navbox .nav>ul>li .subnav {
     top: 86px;
 }

 .header .navbox .nav>ul>li:hover .subnav {
     height: auto;
     padding: 20px 0;
 }

 /* 子导航容器 */
 .subnav-container {
     max-width: 1600px;
     width: 100%;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* 子导航列表 - 水平布局 */
 .subnav-list {
     display: flex;
     flex-wrap: nowrap;
     gap: 20px;
     overflow-x: auto;
     padding-bottom: 10px;
     scrollbar-width: thin;
     scrollbar-color: #2196f3 #f0f0f0;
 }

 /* 滚动条样式 */
 .subnav-list::-webkit-scrollbar {
     height: 6px;
 }

 .subnav-list::-webkit-scrollbar-thumb {
     background: #2196f3;
     border-radius: 3px;
 }

 .subnav-list::-webkit-scrollbar-track {
     background: #f0f0f0;
 }

 /* 子导航项 */
 .subnav-list li {
     flex: 0 0 auto;
     width: 250px;
     background: #f9f9f9;
     border-radius: 6px;
     box-sizing: border-box;
     transition: transform 0.3s;
 }

 .subnav-list li:hover {
     transform: translateY(-5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 .subnav-list li a {
     display: block;
     padding: 20px;
     min-height: 100px;
 }

 .subnav-list li a p {
     color: #333;
     font-size: 16px;
     margin-bottom: 5px;
     font-weight: bold;
     padding-right: 24px;
     position: relative;
 }

 .subnav-list li a p::after {
     content: '';
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     width: 16px;
     height: 16px;
     background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232196f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
 }

 .subnav-list li a span {
     color: #999;
     font-size: 13px;
     font-weight: 300;
     display: block;
 }

 /* 登录注册按钮 */
 .auth-buttons {
     display: flex;
     margin-left: 20px;
 }

 .header .navbox .nav .login,
 .header .navbox .nav .reg {
     width: 80px;
     height: 36px;
     position: relative;
     border: none;
     cursor: pointer;
     outline: none;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(178, 100, 100, .15);
     font-size: 14px;
     font-weight: 500;
     line-height: 36px;
     text-align: center;
     margin-left: 15px;
     border-radius: 4px;
     transition: all 0.3s;
 }

 .header .navbox .nav .login {
     background-image: linear-gradient(135deg, #006cff, #0af);
     color: white;
 }

 .header .navbox .nav .reg {
     background: #fff;
     color: #2196f3;
     box-shadow: none;
     border: 1px solid #2196f3;
 }

 .header .navbox .nav .login:hover {
     background-image: linear-gradient(135deg, #0051b8, #0088cc);
 }

 .header .navbox .nav .reg:hover {
     background: #f5f9ff;
 }

 /* 移动端样式 */
 .header_menuBtn {
     display: none;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     cursor: pointer;
     position: absolute;
     right: 20px;
     top: 30px;
     z-index: 1001;
 }

 /* 滚动时调整移动端菜单按钮位置 */
 .header.scrolled .header_menuBtn {
     top: 20px;
 }

 .header_burger {
     position: relative;
     width: 30px;
     height: 24px;
     transition: all 0.3s;
 }

 .header_burger .line {
     position: absolute;
     left: 0;
     height: 3px;
     width: 100%;
     background-color: #333;
     border-radius: 2px;
     transition: all 0.3s;
 }

 .header_burger .line:nth-child(1) {
     top: 0;
 }

 .header_burger .line:nth-child(2) {
     top: 10px;
 }

 .header_burger .line:nth-child(3) {
     top: 20px;
 }

 .header_burger.active .line:nth-child(1) {
     transform: rotate(45deg) translate(5px, 5px);
 }

 .header_burger.active .line:nth-child(2) {
     opacity: 0;
 }

 .header_burger.active .line:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -7px);
 }

 .mobile-dropdown-icon {
     display: none;
     margin-left: 5px;
     font-size: 12px;
 }

 .has-children .news-subnav {
     position: absolute;
     top: 100%;
     left: 50%;
     transform: translateX(-50%);
     width: auto;
     min-width: 180px;
     background: #fff;
     height: 0;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     z-index: 1000;
     border-radius: 4px;
     padding: 0;
 }

 .has-children:hover .news-subnav {
     height: auto;
     opacity: 1;
     visibility: visible;
     padding: 10px 0;
 }

 /* 确保产品系列和公司新闻的子导航都应用相同的基础样式 */
 .has-children .subnav,
 .has-children .news-subnav {
     position: absolute;
     top: 100%;
     left: 50%;
     transform: translateX(-50%);
     width: auto;
     min-width: 180px;
     background: #fff;
     height: 0;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     z-index: 1000;
     border-radius: 4px;
     padding: 0;
 }

 .has-children:hover .subnav,
 .has-children:hover .news-subnav {
     height: auto;
     opacity: 1;
     visibility: visible;
     padding: 10px 0;
 }

 /* 产品系列子导航的特殊样式 */
 .has-children .subnav {
     /* 产品系列特有的样式 */
     width: 100%;
     left: 0;
     transform: none;
 }

 /* 公司新闻子导航的特殊样式 */
 .has-children .news-subnav {
     /* 公司新闻特有的样式 */
     width: auto;
     left: 50%;
     transform: translateX(-50%);
 }

 .news-subnav-container {
     padding: 0;
 }

 .news-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .news-list li {
     padding: 0;
     margin: 0;
 }

 .news-list li a {
     display: block;
     padding: 8px 20px;
     color: #333;
     font-size: 14px;
     white-space: nowrap;
     transition: all 0.2s;
 }

 .news-list li a:hover {
     background-color: #f5f5f5;
     color: #2196f3;
 }

 .news-list li:not(:last-child) {
     border-bottom: 1px dashed #eee;
 }

 /* 二级导航菜单项高亮样式 */
 .news-list li a.active {
     color: #2196f3 !important;
     background-color: rgba(33, 150, 243, 0.1) !important;
 }

 /* 产品系列子菜单项高亮样式 */
 .subnav-list li a.active p {
     color: #2196f3 !important;
 }

 .subnav-list li a.active span {
     color: #2196f3 !important;
 }

 /* 响应式设计 */
 @media (max-width: 1600px) {

     .header .header_top_nav,
     .header .navbox .nav_top_content {
         max-width: 1380px;
     }
 }

 @media screen and (max-width: 1440px) {

     .header .header_top_nav,
     .header .navbox .nav_top_content {
         max-width: 1360px;
     }
 }

 @media screen and (max-width: 1400px) {

     .header .header_top_nav,
     .header .navbox .nav_top_content {
         max-width: 1280px;
     }
 }

 @media screen and (max-width: 1366px) {

     .header .header_top_nav,
     .header .navbox .nav_top_content {
         max-width: 1240px;
     }
 }

 @media screen and (max-width: 1280px) {

     .header .header_top_nav,
     .header .navbox .nav_top_content {
         max-width: 1190px;
     }
 }

 /* 移动端适配 */
 @media (max-width: 768px) {
     .header {
         height: auto;
         background: white;
         box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     }

     .header .navbox .nav_top_content {
         /* padding: 10px 0; */
     }

     .header_top_nav {
         display: none;
     }

     .header_burger {
         height: 0px;
     }

     .header.scrolled .header_burger {
         height: 24px;
     }

     .navbox {
         position: relative;
     }

     .header_menuBtn {
         display: flex;
         top: 20px;
     }

     .nav {
         position: fixed;
         top: 11%;
         /* 默认未滚动状态 */
         left: 0;
         width: 100%;
         background: white;
         box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
         height: 0;
         overflow: hidden;
         transition: height 0.4s ease;
         flex-direction: column;
         align-items: flex-start;
         padding: 0;
         z-index: 999;
     }

     /* 滚动状态下的导航位置 */
     .nav.scrolled-nav {
         top: 9% !important;
     }

     .nav.mobile-open {
         height: auto;
         max-height: calc(100vh - 14%);
         overflow-y: auto;
         border-top: 1px solid #eee;
     }

     .nav>ul {
         flex-direction: column;
         width: 100%;
         margin: 0;
         padding: 0;
     }

     .nav>ul>li {
         width: 100%;
         margin: 0;
         border-bottom: 1px solid #f0f0f0;
     }

     .nav>ul>li>a {
         height: auto;
         padding: 15px 30px;
         display: flex;
         justify-content: space-between;
         align-items: center;
     }

     .mobile-dropdown-icon {
         display: inline-block;
         transition: transform 0.3s;
     }

     .nav>ul>li.mobile-open .mobile-dropdown-icon {
         transform: rotate(180deg);
     }

     /* 关键修改：在移动端禁用滑过效果 */
     .header .navbox .nav>ul>li:hover .subnav {
         height: 0;
         padding: 0 !important;
     }

     /* 子导航样式 - 仅通过点击展开 */
     .header .navbox .nav>ul>li .subnav {
         position: static;
         width: 100%;
         top: auto;
         left: auto;
         background: transparent;
         box-shadow: none;
         height: 0;
         overflow: hidden;
         transition: height 0.4s;
         display: block;
         padding: 0 !important;
     }

     .header .navbox .nav>ul>li.mobile-open .subnav {
         height: auto;
         padding: 10px 0 !important;
     }

     .subnav-container {
         padding: 0;
     }

     .subnav-list {
         flex-direction: column;
         gap: 0;
         overflow-x: visible;
         padding-bottom: 0;
     }

     .subnav-list li {
         width: 100%;
         border-radius: 0;
         border-bottom: 1px solid #eee;
         background: #f9f9f9;
         margin-bottom: 0;
     }

     .subnav-list li:last-child {
         border-bottom: none;
     }

     .subnav-list li a {
         padding: 15px 60px;
         min-height: auto;
     }

     .auth-buttons {
         flex-direction: row;
         width: 100%;
         padding: 15px 30px;
         margin-left: 0;
         justify-content: center;
         border-top: 1px solid #eee;
     }

     .auth-buttons a {
         margin: 0 10px;
         width: 40%;
         max-width: 150px;
     }

     .header .navbox .nav>ul>li::before {
         display: none;
     }

     /* 移动端滚动时样式调整 */
     .header.scrolled {
         height: auto;
         /* 保持自适应高度 */
     }


     /* 完全禁用悬停效果 */
     .header .navbox .nav>ul>li:hover .subnav,
     .header .navbox .nav>ul>li:hover .news-subnav {
         height: 0 !important;
         padding: 0 !important;
         opacity: 0 !important;
         visibility: hidden !important;
         display: none !important;
     }

     /* 仅通过.mobile-open类控制显示 */
     .header .navbox .nav>ul>li.mobile-open .subnav,
     .header .navbox .nav>ul>li.mobile-open .news-subnav {
         display: block !important;
         height: auto !important;
         opacity: 1 !important;
         visibility: visible !important;
         padding: 10px 0 !important;
     }

     /* 确保子导航初始状态隐藏 */
     .subnav,
     .news-subnav {
         display: none;
         height: 0;
         opacity: 0;
         visibility: hidden;
     }

     /* 修改公司新闻子导航定位 */
     .has-children .news-subnav {
         position: static !important;
         left: auto !important;
         top: auto !important;
         transform: none !important;
         width: 100% !important;
         margin-top: 0 !important;
         box-shadow: none !important;
     }

     /* 子导航容器调整 */
     .news-subnav-container {
         padding-left: 30px !important;
         background: #f9f9f9;
     }

     /* 子菜单项样式调整 */
     .news-list li a {
         padding-left: 30px !important;
         padding-top: 20px;
         padding-bottom: 20px;
     }

 }

 @media (max-width:576px) {
     /* .nav {
         top: 9%;
     } */

     .header .header_top_nav,
     .header .hr {
         display: none;
     }
 }