﻿/* ===== 全局重置 & 兼容基础（关键修复）===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", Arial, sans-serif;
}
body {
  color: #333;
  background: #fff;
  line-height: 1.7;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
img {
  border: none;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
a {
  text-decoration: none;
  color: #333;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== 头部 ===== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 70px;
}
.logo-img {
  height: 32px;
}
.nav-menu a {
  margin: 0 15px;
  color: #333;
  font-size: 15px;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #10b981;
  border-bottom: 2px solid #10b981;
  padding-bottom: 6px;
}
.header-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  -ms-flex-negative: 0;
}
.phone-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 15px;
  cursor: pointer;
  -ms-flex-negative: 0;
}
.phone-icon {
  width: 20px;
  height: 20px;
}
.btn {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.btn-blue {
  background: #10b981;
  color: #fff;
}
.btn-blue:hover {
  background: #059669;
}

/* ===== 客服弹窗 ===== */
.service-popup-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.service-popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 320px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.service-popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}
.service-popup-tel {
  font-size: 20px;
  color: #10b981;
  font-weight: bold;
  margin: 10px 0 25px;
}
.service-popup-close {
  padding: 8px 24px;
  background: #10b981;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}
.service-popup-close:hover {
  background: #059669;
}
.service-popup-qrcode {
  display: block;
  width: 150px;
  height: 150px;
  margin: 15px auto; /* 上下15px、水平居中 */
  border-radius: 8px;
  object-fit: contain; /* 保持二维码比例不变 */
}

/* ===== 右侧悬浮客服 ===== */
.fixed-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -60px;
  z-index: 999;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.sidebar-trigger {
  width: 40px;
  height: 120px;
  background: #10b981;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  border-radius: 6px 0 0 6px;
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}
.sidebar-content {
  display: none;
  background: #fff;
  width: 150px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 6px 0 0 6px;
  padding: 5px 0;
  position: relative;
  right: 0;
}
.fixed-sidebar:hover .sidebar-content {
  display: block;
}
.sidebar-item {
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.sidebar-item:hover {
  background: #f5f5f5;
}

/* ===== Banner ===== */
.banner {
  background: #e6f7f2;
  padding: 80px 0;
  overflow: hidden;
}
.banner-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.banner-text {
  width: 500px;
}
.banner-text h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.banner-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}
.banner-slide {
  width: 600px;
  height: 380px;
  overflow: hidden;
}
.banner-slide-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}
.banner-slide-wrap img {
  width: 600px;
  height: 380px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* ===== 数据统计 ===== */
.data-section {
  background: #f9fafb;
  padding: 60px 0;
  text-align: center;
}
.data-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.data-item {
  width: 220px;
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.data-item:hover {
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}
.data-item h2 {
  font-size: 36px;
  color: #10b981;
  margin-bottom: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* ===== 模板轮播 ===== */
.template-section {
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.template-title h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
.template-title p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}
.template-carousel {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: scroll 20s linear infinite;
  animation: scroll 20s linear infinite;
}
.template-carousel:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.template-card {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 300px;
  height: 330px;
  margin: 0 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.template-card.blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.template-card.orange {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.template-card.green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.template-card.lightblue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.template-card.yellow {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.template-card.purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.template-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.template-card p {
  margin-bottom: 10px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 14px;
}
.template-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
  -ms-object-fit: cover;
}
.template-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #10b981;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 40px;
}
.template-btn:hover {
  background: #059669;
}
@-webkit-keyframes scroll {
  0% { -webkit-transform: translateX(0); }
  100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== 功能 ===== */
.func-section {
  padding: 80px 0;
  background: #f9fafb;
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}
.func-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  -ms-flex-negative: 0;
}
.func-left {
  width: 250px;
}
.func-btn {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #fff;
  margin-bottom: 25px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
}
.func-btn.active {
  background: #10b981;
  color: #fff;
}
.func-right {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.func-content {
  display: none;
}
.func-content.show {
  display: block;
}
.func-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}
.func-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}
.func-content a {
  color: #10b981;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.func-content a:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.func-img-box {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 8px;
}
.func-img {
  max-width: 100%;
  border-radius: 8px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.func-img:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* ===== 核心能力 ===== */
.section-white {
  padding: 80px 0;
}
.card-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
}
.card {
  width: 350px;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.card:hover {
  background: #f0f9f4;
}
.card h3 {
  color: #10b981;
  margin-bottom: 15px;
  font-size: 20px;
}

/* ===== 文章 ===== */
.article-section {
  padding: 80px 0;
  background: #f9fafb;
}
.article-tabs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.article-tab {
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.article-tab.active {
  border-bottom: 2px solid #10b981;
  color: #10b981;
}
.article-wrap {
  display: none;
}
.article-wrap.show {
  display: block;
}
.article-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
}
.article-item {
  width: 350px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.article-item:hover {
  background: #f0f9f4;
}
.article-img {
  width: 100%;
  height: 180px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 15px;
}
.article-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.article-content p {
  color: #666;
  margin-bottom: 15px;
}

/* ===== 客户案例 ===== */
.case-section {
  padding: 80px 0;
  text-align: center;
}
.case-title {
  font-size: 32px;
  margin-bottom: 40px;
}
.case-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  -ms-flex-negative: 0;
}
.case-logo-item {
  width: 160px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.case-logo-item:hover {
  -webkit-transform: scale(1.25);
  -ms-transform: scale(1.25);
  transform: scale(1.25);
}
.case-logo-item img {
  height: 40px;
  opacity: 0.7;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* ===== 底部 ===== */
footer {
  background: #111827;
  color: #94a3b8;
  padding: 50px 0;
  text-align: center;
}