/* 全局重置 & 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* 品牌色体系（参考设计图常见配色） */
:root {
  --primary-color: #0078ff; /* 主色 */
  --primary-light: #409cff; /* 主色浅调 */
  --primary-dark: #0058c9; /* 主色深调 */
  --text-main: #333333;    /* 主要文字 */
  --text-secondary: #666666;/* 次要文字 */
  --text-light: #999999;    /* 浅色文字 */
  --bg-main: #f8f9fa;       /* 主背景 */
  --bg-card: #ffffff;       /* 卡片背景 */
  --border-color: #e5e9f2;  /* 边框色 */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08); /* 轻阴影 */
  --shadow-normal: 0 4px 12px rgba(0, 0, 0, 0.1);/* 常规阴影 */
  --radius-sm: 4px;         /* 小圆角 */
  --radius-md: 8px;         /* 中圆角 */
  --radius-lg: 12px;        /* 大圆角 */
}

body {
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* 核心容器：PC端80%宽度，居中显示，固定最大/最小宽度 */
.container {
  width: 90% !important;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto !important;
  padding: 0 20px;
}

/* 顶部导航样式（参考设计图优化） */
.header {
  background: var(--bg-card);
  /*padding: 18px 0;*/
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo {
  background: #ffffff;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.company-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

/* 导航菜单 & 下拉菜单（参考设计图优化交互） */
.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  color: var(--text-main);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

/* 产品介绍下拉菜单（参考设计图优化样式） */
.product-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  width: 220px;
  box-shadow: var(--shadow-normal);
  border-radius: var(--radius-md);
  padding: 15px 0;
  display: none;
  z-index: 999;
  border: 1px solid var(--border-color);
}

.product-dropdown li {
  padding: 0 24px;
}

.product-dropdown li a {
  display: block;
  padding: 10px 0;
  border-bottom: none;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.product-dropdown li a:hover {
  color: var(--primary-color);
  background: #f0f7ff;
  padding-left: 8px;
}

.nav-menu li:hover .product-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* 内容区块通用样式（参考设计图优化视觉） */
.section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  padding: 40px 40px;
  margin: 40px 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

/* 区块标题装饰（参考设计图添加视觉元素） */
.section-title {
  font-size: 26px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  /*border-bottom: 3px solid var(--primary-color);*/
  color: var(--text-main);
  position: relative;
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #5b86e5;
  border-radius: 2px;
}

/* 轮播图样式（参考设计图优化比例和交互） */
.banner-slider {
  /*position: relative;*/
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
  margin: 0 auto;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease;
  transform: translateX(50px);
}

.slider-item.active {
  opacity: 1;
  transform: translateX(0);
}

.slider-item img {
  width: 100%;
  /**height: 100%;**/
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* 轮播图文字层（参考设计图添加文案展示） */
.slider-item .slider-text {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 5;
  max-width: 50%;
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: var(--radius-md);
}

.slider-item .slider-text h3 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.slider-item .slider-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.slider-item .slider-text .btn {
  padding: 12px 30px;
  font-size: 16px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.slider-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: white;
  width: 36px;
  border-radius: 10px;
  border-color: var(--primary-color);
}

/* 产品/淘宝商品列表样式（参考设计图优化卡片） */
.product-list, .taobao-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.product-item, .taobao-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.product-item:hover, .taobao-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-normal);
  border-color: var(--primary-light);
}

/* 产品图片容器（参考设计图优化比例） */
.product-img-box, .taobao-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.product-item img, .taobao-item img {
  width: 100%;
  /**height: 100%;**/
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover img, .taobao-item:hover img {
  transform: scale(1.08);
}

.product-name, .taobao-name {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 12px 0;
  color: var(--text-main);
  /**height: 40px;**/
  line-height: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /**-webkit-box-orient: vertical;**/
}

.product-desc, .taobao-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
  /**height: 70px;**/
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: left;
}

.product-price, .taobao-price {
  font-size: 20px;
  font-weight: 700;
  color: #e63946;
  margin-bottom: 20px;
  display: block;
}

/* 按钮通用样式（参考设计图优化） */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-color);
  color: white !important;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.btn-secondary {
  background: #f5f5f5;
  color: var(--text-main) !important;
}

.btn-secondary:hover {
  background: #e9e9e9;
  color: var(--primary-color) !important;
}

/* 服务区块样式（参考设计图优化布局） */
.service-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.service-item {
  background: var(--bg-card);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-normal);
}

.service-item:hover::before {
  width: 10px;
}

.service-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-item p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
  text-align: left;
}



/* 公司动态列表页样式 */
.news-list-page {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.news-list-item {
  padding: 28px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-item:hover {
  background: #f9fbff;
  padding-left: 10px;
  border-radius: var(--radius-sm);
}

.news-list-item h3 a {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 600;
}

.news-list-item h3 a:hover {
  color: var(--primary-color);
}

.news-list-item .news-meta {
  color: var(--text-light);
  font-size: 14px;
  margin: 12px 0;
}

.news-list-item .news-brief {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 关于公司页样式 */
.company-intro-submenu {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.company-intro-submenu li a {
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.company-intro-submenu li a.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.company-intro-submenu li a:hover:not(.active) {
  color: var(--primary-color);
  border-color: #eee;
  background: #f9fbff;
}

.intro-content {
  display: none;
  padding: 30px 0;
  line-height: 2;
  color: var(--text-secondary);
  font-size: 16px;
}

.intro-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.intro-img-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.intro-img-list img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-normal);
  transition: transform 0.4s ease;
}

.intro-img-list img:hover {
  transform: scale(1.03);
}

/* 详情页通用样式 */
.detail-page {
  background: var(--bg-card);
  padding: 50px 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  margin: 2% 0;
}

.detail-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.5;
}

.detail-meta {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-content {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 16px;
}

.detail-content h3 {
  font-size: 22px;
  color: var(--text-main);
  margin: 30px 0 15px;
  font-weight: 600;
}

.detail-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 25px 0;
  box-shadow: var(--shadow-light);
}

.detail-content ul, .detail-content ol {
  margin: 15px 0 15px 20px;
}

/* 底部样式（参考设计图优化） */
.footer {
  background: #282c34;
  color: #e0e0e0;
  padding: 80px 0 40px;
  margin-top: 60px;
}

.footer .container {
  width: 80% !important;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #444;
  color: white;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-col ul li a {
  color: #b0b0b0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.qrcode {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #999;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .container, .footer .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    padding: 0 15px;
  }

  .header .container {
    display: none;
  }
  .section, .banner-slider, .product-list, .taobao-list, .service-area, .news-area {
    width: 100%;
  }
  
  .banner-slider {
    height: 280px;
  }
  
  .slider-item .slider-text {
    left: 20px;
    max-width: 80%;
    padding: 15px;
  }
  
  .slider-item .slider-text h3 {
    font-size: 20px;
  }
  
  .slider-item .slider-text p {
    font-size: 14px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 9999;
    gap: 20px;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }

  .product-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    display: none;
    margin-top: 10px;
    border: none;
    background: #f9f9f9;
  }
  
  .product-dropdown li {
    padding: 0;
  }
  
  .product-dropdown li a {
    padding: 8px 15px;
  }
  
  .product-list, .taobao-list, .service-area, .news-area {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 30px 20px;
    margin: 20px 0;
  }
  
  .section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  
  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo, .qrcode {
    margin-left: auto;
    margin-right: auto;
  }
  
  .detail-page {
    padding: 25px 20px;
  }
  
  .detail-title {
    font-size: 24px;
  }
  
  .service-item, .news-col {
    padding: 20px 15px;
  }
}

/* 平板适配（769-1200px） */
@media (min-width: 769px) and (max-width: 1200px) {
  .container, .footer .container {
    width: 80% !important;
    max-width: 1200px;
    min-width: 768px;
  }
  
  .banner-slider {
    height: 380px;
  }
  
  .product-list, .taobao-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .service-area, .news-area {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* 1. 修复visually-hidden样式：确保搜索引擎可识别，用户不可见 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 2. 资讯动态横向滚动样式：适配移动端，提升体验（SEO核心） */
.news-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--border-color);
}
.news-scroll-container::-webkit-scrollbar { height: 6px; }
.news-scroll-container::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 3px;
}
.news-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}


/* 3. 移动端适配：提升移动端SEO权重 */
@media (max-width: 768px) {
  .news-col-horizontal {
    min-width: 280px;
    width: 280px;
    padding: 20px 15px;
  }
  .scroll-tip { display: block; }
  /* 移动端点击区域优化：≥48px，提升体验 */
  .btn, .news-item a, .nav-menu a {
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .news-col-horizontal { min-width: 300px; width: 300px; }
}

/* 4. 图片懒加载样式：避免布局偏移，提升Core Web Vitals（SEO核心指标） */
img {
  background: #f5f5f5;
  min-height: 100px;
}
/* 广告块占位（模拟原有结构） */
        .ad-block {
            height: 120px;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 40px;
            text-align: center;
            padding: 0 20px;
        }

        /* 核心：悬浮效果块容器 */
        .float-block {
            max-width: auto;
            margin: 0 auto 40px;
            padding: 0 20px;
        }

        /* 6组内容的网格布局 */
        .float-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 24px;
        }

        /* 单个悬浮项样式 */
        .float-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        /* 悬浮动效 */
        .float-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            background: #f9fafe;
        }

        /* Logo容器 */
        .float-logo {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
            border-radius: 8px;
            overflow: hidden;
            background: #f0f7ff;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .float-logo-border-radius{
            position: relative;
            height: 80px;
           border-radius: 50%;
        }

        .float-logo img {
            width: 60%;
            object-fit: contain;
        }

        /* 描述文本区域 */
        .float-desc {
            flex: 1;
        }

        .float-desc h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .float-desc p {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        /* 产品展示块占位（模拟原有结构） */
        .product-block {
            height: 400px;
            background: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 20px;
        }

        /* 响应式适配：小屏幕下单列布局 */
        @media (max-width: 768px) {
            .float-grid {
                grid-template-columns: 1fr;
            }
            .float-item {
                flex-direction: column;
                text-align: center;
            }
        }
        
        /* 资讯动态板块整体容器 */


/* 标题样式优化 */
.section-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #333;
  margin-bottom: 20px;
  /*padding-left: 10px;*/
  padding: 7px 11px;
  /*border-left: 4px solid #165DFF;*/
}



/* 资讯内容横向排列容器 */
.news-area-horizontal {
  display: flex;
  gap: 20px;
  min-width: fit-content; /* 保证内容不挤压 */
  padding: 0 5px;
}

/* 单个资讯列样式 */
.news-col-horizontal {
  /**flex: 0 0 320px; /* PC端固定宽度，保证列宽一致 */
  width: 100%;
  background: #f9fafe;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 资讯列标题 */
.news-col-horizontal h3 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #165DFF;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* 资讯列表样式 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 单个资讯项 */
.news-item {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  margin-bottom: 10px;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* 资讯标题链接 */
.news-item h4 {
  margin: 0 0 5px;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
}

.news-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-item a:hover {
  color: #165DFF;
  text-decoration: underline;
}

/* 资讯日期 */
.news-item .date {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #999;
  margin: 0;
}

/* 滚动提示文字 */
.scroll-tip {
  text-align: center;
  color: #666;
  font-size: 0.875rem;
  margin-top: 10px;
  display: block;
}

.tech-news {
            width: 80%;
            margin: 20px auto;
            font-family: "Microsoft YaHei", sans-serif;
        }
        .news-section {
            margin-bottom: 30px;
        }
        .section-title {
            /*font-size: 20px;*/
            font-weight: bold;
            /*border-left: 4px solid #007bff;*/
            /*margin-bottom: 15px;*/
            text-align: center;
        }
        .news-item {
            line-height: 1.8;
            margin-bottom: 10px;
            color: #333;
        }
        .more-link {
            color: #007bff;
            text-decoration: underline;
            cursor: pointer;
            margin-left: 8px;
        }
        .more-link:hover {
            color: #0056b3;
        }
        
/* ========== 自适应断点适配 ========== */
/* 平板端（768px - 1024px） */
@media (max-width: 1024px) {
  .news-col-horizontal {
    flex: 0 0 280px; /* 缩小列宽 */
    padding: 15px;
  }
}

/* 移动端（≤768px）- 核心适配 */
@media (max-width: 768px) {
  /* 单个列占满屏幕宽度（左右留边） */
  .news-col-horizontal {
    flex: 0 0 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
  
  /* 增大列间距，提升移动端体验 */
  .news-area-horizontal {
    gap: 15px;
  }
  
  /* 滚动提示文字更醒目 */
  .scroll-tip {
    color: #165DFF;
    font-size: 0.8rem;
  }
  
  /* 资讯项内边距调整 */
  .news-item {
    padding: 8px 0;
  }
  .section120 {
		height: 150px;
        display: none;
  }
  sectionHeden{
    display: none;
  }
}

/* 超小屏（≤375px，如iPhone SE） */
@media (max-width: 375px) {
  .news-col-horizontal {
    padding: 12px;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
   
}

/* 大屏（≥1200px）- 限制最大宽度，避免拉伸 */
@media (min-width: 1200px) {
  .news-area-horizontal {
    justify-content: center; /* 大屏下内容居中 */
  }
  .section120 {
		padding: 0 0;
		position: relative;
    height: 486px;
  }
}


/* 小屏笔记本/平板横屏（1024px - 1199px） */
@media (min-width: 1024px) and (max-width: 1199px) {
  /* 适配13英寸以下小屏笔记本 */
  .section120 {
  	padding: 0 0;
		position: relative;  	
  }
}

/* 超大屏笔记本/外接显示器（≥1920px） */
@media (min-width: 1920px) {
  /* 适配17英寸以上笔记本/4K屏 */
  .section120 {
  	padding: 10% 0;
		position: relative;  	
  }
}
/* 公司描述样式 */
.company-desc {
  	font-size: 15px;
    color: red;
    line-height: 1.2;
    margin: 4px;
}

/* 文章上下篇按钮 - PC + 移动端全适配 */
.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.prev-article a,
.next-article a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2a70e5;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s;
  font-size: 15px;
}
.prev-article a:hover,
.next-article a:hover {
  background-color: #1a59c0;
}

@media (max-width: 768px) {
  .article-nav {
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }
  .prev-article,
  .next-article {
    width: 100%;
  }
  .prev-article a,
  .next-article a {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }
}


/* 产品描述专属效果 */
.section-desc {
  text-align: center;
  color: #666;
  margin: -22px 0 47px;
  font-size: 16px;
}
.advantage-desc {
  color: #666;
  font-size: 16px;
  margin-top: 13px;
}
.product-desc {
  min-height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 最多显示3行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  transition: all 0.4s ease;
}

/* 悬浮展开 + 高亮 */
.product-item:hover .product-desc {
  color: #0066cc;
  -webkit-line-clamp: unset;
}
/* 板块大标题动画 */
.section-title {
  position: relative;
  animation: fadeTitle 0.8s ease forwards;
}

@keyframes fadeTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*联系*/
.float-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: "Microsoft YaHei", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px; /* 两个按钮的间距 */
}

/* 【联系公司】按钮 - 蓝色背景 */
.float-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0066cc;
  color: #fff; /* 白色文字 */
  font-size: 16px;
  font-weight: bold;
  border: none;
  box-shadow: 0 4px 14px rgba(0,102,204,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: phoneRing 1.8s infinite ease-in-out; /* 保留响铃动画 */
  position: relative;
}
.float-toggle:hover {
  background: #0052aa;
  transform: scale(1.06);
}
/* 悬浮提示 */
.float-toggle:hover::after {
  content: "点击查看公司联系方式";
  position: absolute;
  right: 70px;
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* 电话晃动响铃动画 */
@keyframes phoneRing {
  0% { transform: rotate(0deg); }
  5% { transform: rotate(-8deg); }
  10% { transform: rotate(8deg); }
  15% { transform: rotate(-8deg); }
  20% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* 【在线客服】按钮 - QQ蓝色背景 */
.qq-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #12B7F5;
  color: #fff; /* 白色文字 */
  font-size: 16px;
  font-weight: bold;
  border: none;
  box-shadow: 0 4px 14px rgba(18,183,245,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}
.qq-toggle:hover {
  background: #0fa8e3;
  transform: scale(1.06);
}
/* 悬浮提示 */
.qq-toggle:hover::after {
  content: "点击发起在线咨询";
  position: absolute;
  right: 70px;
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* 展开的联系卡片样式 */
.float-contact-card {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  padding: 22px;
  display: none;
}
.float-contact-card.active {
  display: block;
  animation: contactShow 0.3s ease forwards;
}
@keyframes contactShow {
  from { opacity:0; transform: translateY(18px); }
  to { opacity:1; transform: translateY(0); }
}

.contact-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-title i {
  color: #e53935;
  font-size: 18px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #444;
}
.contact-item i.phone-icon {
  color: #e53935;
}
.contact-item i {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  font-size: 16px;
}

.contact-qrcode {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}
.contact-qrcode img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}
.contact-qrcode p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #888;
}
/* ====================== 顶部欢迎语样式 + 移动端适配 ====================== */
.tophead {
  width: 100%;
  background-color: #5b86e5;
  padding: 10px 0;
  line-height: 1.5;
}
.top {
  max-width: 74% !important;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.headtitle p {
  font-size: 15px;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
}
.k1{
  color:#ffffff;
}
/* 移动端适配 */
@media (max-width: 768px) {
  .top {
    flex-direction: column;
    text-align: center;
    padding: 8px 15px;
  }
  .headtitle p {
    font-size: 14px;
  }
  /*.tophead {*/
  /*  display: none;*/
  /*}*/
}

/* 产品分类按钮样式 */
.product-categories {
  /*display: flex;*/
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 auto 30px;
}

.product-categories-display {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 auto 30px;
}
.cat-btn {
  padding: 10px 22px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-btn.active,
.cat-btn:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

/* 产品切换动画 */
.product-item {
  display: block;
  animation: fadeIn 0.4s ease;
}
.product-item.hide {
  display: none;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tags-name{
  font-size:15px; color:#333; margin-bottom:10px; font-weight:bold;
}
.tags-list{
  display:flex; flex-wrap:wrap; gap:10px;
}
.tags-list div{
  padding:6px 12px; background:#f0f0f0; border-radius:3px; color:#0066cc; text-decoration:none;
}