/* Fix layui.css header width override */
header {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  position: fixed !important;
}
header .wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.wechat-float {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 999;
  outline: none;
}

.wechat-float-btn {
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 20px;
  background: #0565C0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(5, 101, 192, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wechat-float-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.wechat-float-btn p {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.wechat-float-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: 190px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.wechat-float:hover .wechat-float-panel,
.wechat-float:focus-within .wechat-float-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wechat-float-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

.wechat-float-panel img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.wechat-float-panel p {
  margin: 0;
  color: #333333;
  font-size: 13px;
  line-height: 1.6;
}

@media (min-width: 769px) {
  .wechat-float {
    top: 110px;
    right: 32px;
  }

  .wechat-float-btn {
    height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    gap: 10px;
    font-size: 15px;
  }

  .wechat-float-btn img {
    width: 34px;
    height: 34px;
  }

  .wechat-float-panel {
    top: 72px;
    width: 240px;
    padding: 18px;
  }

  .wechat-float-panel img {
    width: 190px;
    height: 190px;
    margin-bottom: 12px;
  }

  .wechat-float-panel p {
    font-size: 14px;
  }
}

/* layui Carousel */
.layui-carousel {
  margin-top: 80px;
}
.layui-carousel .carousel-item {
  position: relative;
}
.layui-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layui-carousel .lb_text {
  position: absolute;
  top: 40%;
  left: 34.5%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  transition: all 0.3s ease;
}

.layui-carousel .lb_text h3 {
  width: 70%;
  margin-bottom: 20px;
  color: #0565C0;
  font-size: 44px;
  font-weight: 700;
  line-height: 62px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: all 0.3s ease;
}

.layui-carousel .lb_text p {
  width: 35%;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: all 0.3s ease;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(0, 0, 0, 0.2);
}
.layui-carousel .lb_btn {
  position: absolute;
  top: 70%;
  left: 17.5%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.layui-carousel .lb_btn span {
  color: #0565C0;
  font-size: 22px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.layui-carousel .lb_btn img {
  width: 34px;
  height: 28px;
  margin-left: 18px;
  transition: all 0.3s ease;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h3 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.section-title .line {
  width: 48px;
  height: 3px;
  background: #0066cc;
  margin: 0 auto 12px;
}
.section-title p {
  color: #666;
  font-size: 14px;
}

/* Products */
.index-products {
  padding: 80px 0;
}
.index-product-category {
  margin-bottom: 48px;
}
.index-product-category:last-child {
  margin-bottom: 0;
}
.index-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.index-category-title {
  font-size: 20px;
  font-weight: 700;
  color: #0066cc;
  padding-left: 12px;
  border-left: 4px solid #0066cc;
}
.index-category-more {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}
.index-category-more:hover {
  color: #004c99;
}
.index-category-more i {
  font-size: 16px;
}
.index-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 48px;
}
.index-product-card {
  display: block;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #EAEAEB;
  color: inherit;
  text-decoration: none;
}
.index-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background-color: #0565C0;
}
.index-product-img {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.index-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.index-product-card:hover .index-product-img img {
  transform: scale(1.1);
}
.index-product-img span {
  font-size: 60px;
  opacity: 0.15;
  color: #0066cc;
}
.index-product-info {
  height: 66px;
  padding: 10px 16px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.index-product-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #0A0F1C;
  transition: all 0.3s ease;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.index-product-card:hover .index-product-info {
  background-color: #0565C0;
}
.index-product-card:hover .index-product-info h4 {
  color: #fff;
}
/* Features */
.index-features {
  background: url('../images-gw/download.jpg') no-repeat center center;
  background-size: cover;
  padding: 80px 20px;
}
.index-features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.index-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.index-feature-item {
  text-align: center;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.index-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.index-feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: 28px;
}
.index-feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.index-feature-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
/* About */
.index-about {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.index-about-img {
  height: 400px;
  background: linear-gradient(135deg, #e8eef5 0%, #d4e0f0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.index-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.index-about-img::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(0, 102, 204, 0.15);
  border-radius: 50%;
}
.index-about-img span {
  font-size: 100px;
  opacity: 0.1;
  color: #0066cc;
}
.index-about-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.index-about-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.8;
}
.index-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.index-about-more {
  margin-top: 24px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}
.index-stat-item h5 {
  font-size: 28px;
  font-weight: 700;
  color: #0066cc;
}
.index-stat-item p {
  font-size: 13px;
  color: #666;
  margin: 0;
}
/* Partners */
.index-partners {
  background: #f7f8fa;
  padding: 60px 20px;
}
.index-partners-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.index-partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.index-partner-logo {
  width: 100%;
  height: 80px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.index-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.index-partner-logo:hover img {
  transform: scale(1.1);
}
/* News */
.index-news {
  padding: 80px 0;
}
.index-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.index-news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.index-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.index-news-more {
  margin-top: 24px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}
.index-news-img {
  height: 180px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.index-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.index-news-card:hover .index-news-img img {
  transform: scale(1.06);
}
.index-news-img span {
  font-size: 48px;
  opacity: 0.12;
  color: #0066cc;
}
.index-news-info {
  padding: 20px;
}
.index-news-date {
  font-size: 12px;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 8px;
}
.index-news-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.index-news-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
/* CTA */
.index-cta {
  background: linear-gradient(135deg, #004c99 0%, #0066cc 100%);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.index-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,300 Q400,200 800,320 T1200,280 L1200,400 L0,400Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}
.index-cta h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.index-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.index-cta .btn-primary {
  background: #ffffff;
  color: #0066cc;
  position: relative;
  z-index: 2;
  padding: 8px 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .layui-carousel .lb_text {
    left: 50%;
  }
  .layui-carousel {
    height: 400px !important;
  }
  .layui-carousel .lb_text h3 {
    font-size: 36px;
    line-height: 48px;
  }
  .layui-carousel .lb_btn {
    left: 20%;
  }
  .index-about,
  .index-news,
  .index-partners-inner,
  .index-features-inner {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .layui-carousel .lb_text {
    left: 65%;
  }
  .layui-carousel {
    height: 350px !important;
  }
  .layui-carousel .lb_text h3 {
    display: none;
  }
  .layui-carousel .lb_text p {
   display: none;
  }
  .layui-carousel .lb_btn {
    display: none;
  }
  .index-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .index-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .index-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .index-partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .index-about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .index-about-img {
    height: 300px;
  }
  .index-about-more {
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }
  .index-about,
  .index-news,
  .index-partners-inner,
  .index-features-inner {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .wechat-float {
    top: 88px;
    right: 12px;
  }

  .wechat-float-btn {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .wechat-float-panel {
    width: 168px;
    padding: 12px;
  }

  .wechat-float-panel img {
    width: 130px;
    height: 130px;
  }

  .layui-carousel {
    height: 200px !important;
  }
  .layui-carousel .lb_text {
   display: none;
  }
  .layui-carousel .lb_btn {
    display: none;
  }
  .layui-carousel .lb_btn span {
    font-size: 18px;
  }
  .layui-carousel .lb_btn img {
    width: 28px;
    height: 24px;
    margin-left: 12px;
  }
  .layui-carousel-ind {
    top: -20px !important;
  }
  .layui-carousel-ind ul li {
    width: 8px !important;
    height: 8px !important;
  }
  .index-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .index-feature-grid {
    grid-template-columns: 1fr;
  }
  .index-news-grid {
    grid-template-columns: 1fr;
  }
  .index-partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .index-about-more {
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }
  .index-about,
  .index-news,
  .index-partners-inner,
  .index-features-inner {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
