/* 底部样式 - 现代化设计 */
.footer-company{
  padding-top: 30px;
}
.footer-company h2 {
  font-size: 48px;
  text-align: center;
}
.footer-company-desp{
    font-size:24px;
    line-height: 1.5;
    text-align: center;
}
/* 优势统计部分 */
.in-total {
  color: #fff;
  margin-top: 0;
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.in-total li {
  float: left;
  width: 25%;
  padding: 15px 0 25px 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.in-total li:hover {
  transform: translateY(-5px);
}

.in-total li span {
  display: block;
  line-height: 1;
  font-size: 18px;
}

.in-total li strong {
  font-size: 58px;
  position: relative;
  display: inline-block;
  font-family: Impact;
  margin-right: 5px;
  background: linear-gradient(45deg, #0071e3, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.in-total li p {
  margin: 10px 0 0;
  font-size: 18px;
}

/* 主体底部 footer-lite是简化版，放在文章和产品详情*/
.footer-lite, .footer {
  background-color: #1e1d1d;
  color: #959595;
}
@media screen and (max-width: 768px) {
  .footer-lite{
    background-color: transparent;
    height: 45px;
  }
  .footer-lite .footer-nav{
    display: none;
  }
}

.footer-lite a, .footer a {
  color: #959595;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-lite a:hover, .footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-card {
  font-size: 14px;
  border-top: 1px solid #363636;
  padding-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-lite li a, .footer li a {
  font-size: 14px;
  display: block;
  line-height: 2.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.footer-lite li a:hover, .footer li a:hover {
  transform: translateX(1px);
  color: #0071e3;
}

/* 版权信息 */
.footer-lite .text-12, .footer .text-12 {
  text-align: center;
  border-top: 1px solid #363636;
  font-size: 13px;
  color: #666;
}

.footer-lite .text-12 p, .footer .text-12 p {
  margin-bottom: 10px;
}

.footer-lite .text-12 nav, .footer .text-12 nav {
  margin-top: 10px;
}

.footer-lite .text-12 nav a, .footer .text-12 nav a {
  display: inline-block;
  margin: 0 10px;
  font-size: 13px;
  line-height: 15px;
}

/* 手机端底部悬浮导航 */
.footer-fix {
  /* min-width: 200px; */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 -2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  padding: 0 10px;
  bottom: 8px;
  left: 10px;
  right: 10px;
  width: auto;
  background-color: #fff;
  z-index: 100;
  display: none;
  border-radius: 8px;
}

.footer-fix ul {
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-fix li {
  float: left;
  width: 25%;
  text-align: center;
}

.footer-fix li a {
  display: block;
  padding: 10px 0;
  font-size: 12px;
  line-height: 1;
  color: #333;
  transition: all 0.3s ease;
}

.footer-fix li a:hover {
  background-color: #f5f5f5;
  color: #0071e3;
}

.footer-fix li i {
  display: block;
  height: 24px;
  font-size: 24px;
  margin-bottom: 5px;
  color: #666;
}


/* 在线客服 - 现代化设计 */
.kf {
  width: 260px; /* 增加宽度，让界面更大气 */
  position: fixed;
  right: -260px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* 更平滑的动画曲线 */
  border-radius: 8px 0 0 8px;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
  /* 添加缓冲区解决快速闪动问题 */
}

/* 为.kf元素添加一个透明的右侧缓冲区，覆盖动画可能经过的区域 */
.kf::before {
  content: '';
  position: absolute;
  top: -50px;
  bottom: -50px;
  right: -50px;
  width: 100px; /* 足够宽的缓冲区 */
  background-color: transparent;
  z-index: -1;
}

.kf:hover {
  right: 0;
}

.kt-top {
  height: 50px;
  line-height: 50px;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%); /* 渐变背景 */
  padding-left: 50px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  border-radius: 8px 0 0 0;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3);
}

.kt-top::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(../images/kefu.png) center center no-repeat;
  background-size: contain;
}

.kt-top span:hover {
  transform: rotate(180deg);
}

.kt-top span {
  width: 20px;
  height: 20px;
  float: right;
  position: relative;
  margin: 13px 15px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kt-top span b {
  width: 100%;
  height: 2px;
  background: #fff;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  border-radius: 1px;
}

.kt-top span b:first-child {
  transform: rotate(45deg);
}

.kt-top span b:last-child {
  transform: rotate(-45deg);
}

.kf .con {
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
}

.kf .qq {
  padding: 15px 0;
  margin: 0;
}

.kf .qq li {
  height: 45px;
  line-height: 45px;
  border-bottom: #f0f0f0 solid 1px;
  padding: 0 20px;
  transition: background-color 0.3s ease;
}

.kf .qq li:last-child {
  border-bottom: none;
}

.kf .qq li:hover {
  background-color: #f8f9fa;
}

.kf .qq li a {
  height: 45px !important;
  color: #495057;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.kf .qq li a:hover {
  color: #0071e3;
}

.kf .qq li a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.kf .con .contact-icon,
.kf .con .qr-icon {
  height: 40px;
  line-height: 40px;
  margin: 0;
  background: #f8f9fa;
  padding-left: 40px;
  color: #212529;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #e9ecef;
  position: relative; /* 添加相对定位，作为伪元素的定位上下文 */
}

.kf .con .contact-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url(../images/3.1.2_44.png) center center no-repeat;
  background-size: contain;
}

.kf .con .qr-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url(../images/erweima.png) center center no-repeat;
  background-size: contain;
}

.kf .contact ul li{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-color);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.4;
  padding: 10px 10px;
}

.kf .contact p {
  height: 30px;
  line-height: 30px;
  color: #6c757d;
  font-size: 14px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kf .contact p:nth-child(2n) {
  color: #212529;
  font-weight: 500;
}

.kf .con .qr {
  margin: 0;
  padding: 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.kf .con .qr img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #fff;
  transition: transform 0.3s ease;
}

.kf .con .qr img:hover {
  transform: scale(1.05);
}
/* 悬浮按钮容器 */
.float-btn-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn-container .back-to-top-wrapper {
    position: static;
}

.float-btn-container .mobile-doc-btn {
    position: static;
}

.float-btn-container .mobile-toc-btn {
    position: static;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .float-btn-container {
        right: 10px;
        bottom: 80px;
    }
    
    .float-btn-container .backTop {
        width: 40px;
        height: 40px;
    }
}
/* 独立的返回顶部按钮样式 */
.back-to-top-wrapper {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.backTop {
    width: 50px;
    height: 50px;
    background-color: #0071e3;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

@media (max-width: 768px) {
    .backTop {
      width: 40px;
      height: 40px;
    }
}
.back-to-top-wrapper .iconfont {
  font-size: 22px;
}

/* 手机端目录按钮样式 */
.mobile-toc-btn,
.mobile-doc-btn {
  display: none;
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: #0071e3;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
}
/* 手机端文档目录/大纲文字 */
.mobile-toc-btn span:last-child,
.mobile-doc-btn span:last-child {
  font-size: 12px;
  color: #fff;
  margin-top: 1px;
}
/* 手机端文档目录/大纲弹窗 */
.mobile-toc-popup,
.mobile-doc-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  pointer-events: none;
}

.mobile-toc-popup.active,
.mobile-doc-popup.show {
  display: block;
  pointer-events: auto;
}

.mobile-toc-overlay,
.mobile-doc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-toc-popup.active .mobile-toc-overlay,
.mobile-doc-popup.show .mobile-doc-overlay {
  opacity: 1;
}

.mobile-toc-content,
.mobile-doc-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-toc-popup.active .mobile-toc-content,
.mobile-doc-popup.show .mobile-doc-content {
  transform: translateY(0);
}

.mobile-toc-header,
.mobile-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}

.mobile-toc-header h3,
.mobile-doc-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.mobile-toc-close,
.mobile-doc-close {
  font-size: 24px;
  color: #718096;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-toc-close:hover,
.mobile-doc-close:hover {
  color: #0071e3;
}

.mobile-toc-body,
.mobile-doc-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}
.mobile-toc-list,
.mobile-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-toc-list li,
.mobile-doc-list li {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-toc-list li:last-child,
.mobile-doc-list li:last-child {
  border-bottom: none;
}

.mobile-toc-list a,
.mobile-doc-list a {
  display: block;
  padding: 14px 20px;
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-toc-list a:hover,
.mobile-doc-list a:hover {
  background-color: #f7fafc;
  color: #0071e3;
}

.mobile-toc-list a.active,
.mobile-doc-list a.active {
  background-color: #e3f2fd;
  color: #0071e3;
  font-weight: 500;
}

.mobile-toc-list .toc-h2 {
  padding-left: 20px;
  font-weight: 500;
}

.mobile-toc-list .toc-h3 {
  padding-left: 35px;
  font-size: 14px;
  color: #718096;
}

.mobile-toc-list .toc-h4 {
  padding-left: 50px;
  font-size: 13px;
  color: #a0aec0;
}

/* 手机端文档目录弹窗 */

.mobile-doc-list .doc-category {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  color: #2d3748;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 20px;
  border-bottom: 2px solid #e9ecef;
}

.mobile-doc-list .doc-category + li {
  border-top: none;
}

.mobile-doc-list .article-link {
  padding-left: 35px;
}

.mobile-doc-list .article-link .article-title {
  font-size: 14px;
}

/* 在小屏幕上显示文档目录按钮 */
@media (max-width: 992px) {
  .mobile-toc-btn,.mobile-doc-btn {
    display: flex;
  }
}
/* 当菜单打开时隐藏按钮 */
.open-menu .mobile-toc-btn,
.open-menu .back-to-top-wrapper,
.open-menu .mobile-doc-btn {
  display: none !important;
}


.kf-side {
  padding: 22px 10px 15px;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -35px;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  transition: all 0.3s ease;
  box-shadow: -3px 3px 10px rgba(0, 113, 227, 0.2);
}

.kf-side:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  left: -35px;
  transform: translateY(-50%);
}

.kf-side b {
  display: block;
  color: #fff;
  line-height: 20px;
  font-size: 16px;
  font-weight: 600;
  /* transform: rotate(-90deg); */
  width: 15px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.kf-side span.arrow {
  width: 14px;
  height: 14px;
  background: url(../images/jt-1.png) no-repeat;
  background-size: contain;
  display: block;
  margin: 15px auto 0;
  transition: transform 0.3s ease;
}

.kf-side:hover span.arrow {
  transform: translateX(-3px);
}

.kf-side span.on {
  background: url(../images/jt-2.png) no-repeat;
  background-size: contain;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .footer-company h2 {
    font-size: 36px;
  }
  .footer-company-desp{
    font-size:20px;
    line-height: 1.5;
  }
  .in-total li {
    width: 50%;
    padding: 20px 0;
  }
  
  .footer-nav-list {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .footer-company h2 {
    font-size: 33px;
  }
  .footer-company-desp{
    font-size:18px;
    line-height: 1.5;
  }
  .in-total {
    margin: 0 -15px;
  }
  
  .in-total li {
    padding: 15px 0;
  }
  
  .in-total li span {
    font-size: 12px;
  }
  
  .in-total li strong {
    font-size: 36px;
  }
  
  .in-total li p {
    margin: 5px 0 0;
    font-size: 12px;
  }
  
  .footer {
    padding-top: 10px;
  }
  
  .footer-nav-list {
    flex-direction: column;
  }
  
  .footer .text-12 nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 45px;
  }
  
  .footer .text-12 nav a {
    margin: 0;
    padding: 0;
  }
  
  /* 手机端显示悬浮导航 */
  .footer-fix {
    display: block;
  }
  
  /* 在线客服在手机端隐藏 */
  .kf {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-company h2 {
    font-size: 28px;
  }
  .footer-company-desp{
    font-size:16px;
    line-height: 1.5;
  }
    .footer-card {
        padding: 0 10px 50px 10px;
    }
    
    .footer-card h2 {
        font-size: 24px;
    }
    
    /* 手机端特殊样式 */
    .kf {
        display: none;
    }
    
    .footer-fix {
        display: block;
    }
    
    /* 响应式统计数字样式 */
    .in-total {
        margin: 0 -15px;
    }
    
    .in-total li {
        padding: 15px 0;
    }
    
    .in-total li span {
        font-size: 12px;
    }
    
    .in-total li strong {
        font-size: 36px;
    }
    
    .in-total li p {
        margin: 5px 0 0;
        font-size: 12px;
    }
}





