/* 全局重置 */
/* 隐藏原来的 Font Awesome 图标 */
em.fa.fa-check {
  font-family: initial !important;
  font-size: 0 !important;
  color: transparent !important;
  background: none !important;
  border: none !important;
}

/* 替换成你的本地对勾图片 */
em.fa.fa-check::before {
  content: "" !important;
  display: inline-block;
  width: 30px;        /* 你可以调整大小 */
  height: 30px;
  vertical-align: middle;
  background-image: url("/static/images/gou.png") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 蓝色点装饰 */
.dot-title {
  position: relative;
  display: inline-block;
}
.dot-title::before,
.dot-title::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #0066FF;
  border-radius: 50%;
}
.dot-title::before {
  left: -20px;
}
.dot-title::after {
  right: -20px;
}



/* ===================== 新版 Banner （参照参考样式重构） ===================== */
.banner {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* 替换为你的banner图地址 */
  background-image: url(/static/banner/banner1.jpg);
}
/* 文字定位容器 */
.banner-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30%;
  width: 100%;
  max-width: 1320px; /* 已修改为 1320 */
  padding: 0 20px;
}
.banner-tag {
  font-size: 45px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 400;
}
.banner-title {
  font-size: 55px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0;
}
.banner-btn {
  position: absolute;
  left: 4%;
  transform: translateX(-50%);
  top: 500%;
  padding: 16px 48px;
  background: #0066FF;
  color: #fff;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
  max-width: 200px;
  text-align: center;
}

/* ===================== 数据卡片 ===================== */
.data {
  margin-top: 20px;
}
.data-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  padding: 30px 0;
}
.data-item {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}
.data-num {
  font-size: 28px;
  font-weight: 700;
  color: #0066FF;
  margin-bottom: 6px;
}
.data-text {
  font-size: 14px;
  color: #666;
}
.data-line {
  width: 1px;
  background: #eee;
  height: 40px;
  align-self: center;
}

/* ===================== 模块标题 ===================== */
.section {
  padding: 30px 0;
}
.sec-title {
  text-align: center;
  margin-bottom: 50px;
}
.sec-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.sec-title p {
  font-size: 15px;
  color: #666;
}



/* ===================== 解决方案 ✅ 最终完美版 ===================== */
.solution {
  background: #F9FAFB;
}
.solution-tabs {
  display: flex;
  width: 100%;
  height: 380px;
  gap: 2px;
}
.solution-tab {
  flex: 1.2;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s ease;
  background: #2a303d;
}

/* 默认第一个展开 */
.solution-tab:first-child { flex: 5; }
.solution-tabs:hover .solution-tab { flex: 1; }
.solution-tabs .solution-tab:hover { flex: 5; }

/* 图片：默认显示，展开/hover时隐藏 */
.solution-tab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
  opacity: 1;
}
.solution-tab.active img,
.solution-tab:hover img {
  opacity: 0;
}

/* 展开后背景色 */
.solution-tab.active,
.solution-tab:hover {
  background: #f7faff;
}

/* 遮罩 */
.solution-tab-mask {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.15);
  transition: 0.4s;
}
.solution-tab:hover .solution-tab-mask,
.solution-tab.active .solution-tab-mask {
  background: rgba(0,0,0,0);
}

/* 标题 */
.solution-tab-title {
  position: absolute;
  left: -20px; top: 40px;
  width: 100%;
  padding: 0 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  z-index: 2;
  transition: 0.4s;
}

/* 详情内容：默认隐藏，第一个默认显示 */
.solution-tab-detail {
  position: absolute;
  left: 0; top: 100px;
  width: 100%;
  padding: 0 30px;
  color: #fff;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.solution-tab-detail img{
  width: 100px;
  opacity:1 !important;
  float: right;
}
.active .solution-tab-title,.active .solution-tab-detail,.solution-tab:hover .solution-tab-title,.solution-tab:hover .solution-tab-detail{
    color: #000 !important;
}
.solution-tab.active .solution-tab-detail,
.solution-tab:hover .solution-tab-detail {
  opacity: 1;
  visibility: visible;
}
.solution-tab-detail li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.solution-tab-detail i {
  color: #0066FF;
  margin-right: 8px;
}
.solution-tab-detail .btns {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.solution-tab-detail .btn1 {
  padding: 8px 16px;
  background: #0066FF;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}
.solution-tab-detail .btn2 {
  padding: 8px 16px;
  border: 1px solid #fff;
  color: #000;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.solution-tags {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tag-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #eee;
}
.tag-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.tag-item p {
  font-size: 14px;
  color: #999;
}
.tag-item a {
  color: #0066FF;
  font-size: 14px;
}

/* ===================== 品牌客户 ===================== */
.client {
  background: #fff;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.client-grid img {
  height: 50px;
  margin: 0 auto;
  object-fit: contain;
  transition: 0.3s;
}
.client-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.client-grid p{
    text-align: center;
    font-size: 16px;
}

/* ===================== 新闻 —— 新增轮播效果 ===================== */
.news {
  background: linear-gradient(180deg, #F0F7FF 0%, #E6F0FF 100%);
}
.news-wrap {
  display: flex;
  gap: 50px;
}
.news-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.news-slider {
  display: flex;
  transition: transform 0.5s ease;
}
.news-slide {
  min-width: 100%;
}
.news-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
}
.news-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.3s;
}
.news-dot.active {
  background: #fff;
}
.news-right {
  flex: 1;
}
.news-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.news-item:last-child {
  border-bottom: none;
}
.news-title {
  font-size: 15px;
  color: #333;
}
.news-date {
  font-size: 13px;
  color: #999;
}

/* ===================== 底部 ===================== */
.footer {
  background: url(https://picsum.photos/id/1036/1920/600);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
}
.footer-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
  display: inline-block;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: #aaa;
}
.footer-col a:hover {
  color: #fff;
}
.foot-tel {
  font-size: 32px;
  font-weight: 700;
  color: #0066FF;
  margin-bottom: 20px;
  text-align: center;
}
.foot-qrcode {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.qrcode {
  text-align: center;
}
.qrcode img {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 6px;
}
.qrcode p {
  font-size: 12px;
  color: #aaa;
}
.friend-link {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  padding: 14px 20px;
  border-radius: 6px;
  margin-top: 40px;
}
.friend-link span {
  color: #aaa;
  font-size: 14px;
  margin-right: 16px;
}
.friend-link a {
  color: #aaa;
  font-size: 13px;
  margin-right: 14px;
}
.copyright {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-top: 20px;
}
.copyright .icp {
  margin-top: 5px;
}

/* ===================== 手机端全面优化 ===================== */
@media (max-width: 768px) {

  /* 新版Banner 移动端适配 */
  .banner {
    height: auto;
    min-height: 320px;
    padding: 40px 0;
  }
  .banner-content {
    position: relative;
    left: 0;
    top: 0;
    padding: 0 20px;
    text-align: center;
  }
  .banner-tag {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .banner-title {
    font-size: 36px;
    line-height: 1.3;
  }
  .banner-btn {
    position: relative;
    left: 0;
    top: 20px;
    margin: 0 auto;
  }

  /* 数据卡片 */
  .data {
    margin-top: -30px;
    padding-bottom: 50px;
  }
  .data-wrap {
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .data-item {
    width: 50%;
    padding: 15px 0;
  }
  .data-line {
    display: none;
  }
  .data-num {
    font-size: 24px;
  }

  /* 通用模块 */
  .section {
    padding: 60px 0;
  }
  .sec-title h2 {
    font-size: 26px;
  }
  .dot-title::before,
  .dot-title::after {
    display: none;
  }



  /* 其他模块移动端适配 */
/* ===================== 解决方案 移动端最终修复（高度正常） ===================== */
.solution-tabs {
  flex-direction: column; /* 保留你要的倒序 */
  height: auto;
  gap: 10px;
}
.solution-tab {
  flex: 1 !important;
  height: auto;         /* 关键：自动高度，不超长 */
  min-height: 110px;    /* 最小高度刚好合适 */
  border-radius: 10px;
  overflow: hidden;
}
/* 移动端禁用展开动画，避免高度爆炸 */
.solution-tab:hover,
.solution-tab.active {
  background: #fff;
}
/* 图片始终显示，不隐藏 */
.solution-tab img {
  opacity: 1 !important;
  height: 200px;
}
.solution-tab-mask {
  background: rgba(0,0,0,0.5);
}
/* 标题 */
.solution-tab-title {
  top: 20px;
  font-size: 18px;
  padding: 0 20px;
  color: #fff;
}
.solution-tab-subtitle{
  display: none;
}
/* 详情始终显示，不开合，避免高度异常 */
.solution-tab-detail {
  position: relative;
  left: 0;
  top: 5px;
  padding: 0 20px 25px;
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
}
/* 小图 */
.solution-tab-detail img {
  width: 200px !important;
  height: auto;
  float: right;
  margin: 0 0 10px 10px;
  opacity: 1 !important;
}
/* 列表 */
.solution-tab-detail li {
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}
/* 按钮 */
.solution-tab-detail .btns {
  margin-top: 12px;
  gap: 8px;
}
.solution-tab-detail .btn1,
.solution-tab-detail .btn2 {
  font-size: 13px;
  padding: 6px 12px;
}

.solution-tags{
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

  /* 品牌客户 */
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* 新闻轮播 */
  .news-wrap {
    flex-direction: column;
    gap: 30px;
  }
  .news-slide img {
    height: 250px;
  }

  /* 底部 */
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .foot-tel {
    text-align: center;
    font-size: 26px;
  }
  .foot-qrcode {
    justify-content: center;
  }
  .friend-link {
    text-align: center;
  }
  .friend-link span {
    display: block;
    margin-bottom: 10px;
  }
}