/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.none {
  display: none !important;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
        sans-serif; */
  font-family: PingFangSC, PingFang SC;
  color: #333;
  min-width: 1200px;
}

header {
  position: fixed;
  background-color: #333;
  opacity: 0.9;
  padding: 15px 0;
  width: 100%;
  z-index: 9999;
}

.nav-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 9px 0px;
  align-items: center;
}

.logo {
  width: 150px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 220px;
  gap: 50px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  height: 24px;
  line-height: 24px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #007bff;
}

/* Banner区域 */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #333;
}

.banner-content {
  width: 100%;
  height: 500px;
  margin: 0 auto;
  background-image: url("../images/bg-banner-product.png");
  background-size: 100% 100%;
  padding-left: 120px;
}

.banner-content div {
  display: flex;
  justify-content: left;
  margin-top: 232px;
}
.banner-content h1 {
  display: flex;
  font-size: 60px;
  margin-right: 32px;
}

.banner-content p {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 40px;
  color: #44494c;
  line-height: 56px;
  text-align: left;
  font-style: normal;
  margin-top: 16px;
}

/* 行业痛点 */
.pain-points {
  padding: 80px 0;
  background: #fff;
}

.pain-points h2 {
  text-align: center;
  font-family: PingFangSC, PingFang SC;
  font-style: normal;
  font-weight: 600;
  font-size: 46px;
  color: #17233d;
  line-height: 54px;
  margin-bottom: 55px;
}

.points-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.point-item {
  flex: 1;
  text-align: center;
  padding: 30px;
  width: 346px;
  height: 376px;
  background: #f4f8ff;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* .point-item:hover {
  transform: translateY(-5px);
} */

.point-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.point-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.point-item p {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #667087;
  line-height: 26px;
  text-align: center;
  font-style: normal;
}

/* 产品特点 */
.product-features {
  padding: 80px 0;
}

.product-features h2 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 46px;
  color: #17233d;
  line-height: 54px;
  text-align: center;
  font-style: normal;
  margin-bottom: 50px;
}

.features-grid {
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  height: 250px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background-image: url("../images/product/bg.png");
  background-repeat: no-repeat;
  object-fit: cover;
  padding: 48px 24px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: top 0.3s ease;
}

.none {
  display: none !important;
}

.feature-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 24px;
  white-space: nowrap;
  margin-bottom: 10px;
  text-align: center;
}

.feature-text {
  color: white;
  position: absolute;
  width: 192px;
  text-align: left;
  top: 150%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 0.3s ease;
}

.feature-item:hover img {
  opacity: 0;
}

.feature-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 24px;
  color: #333333;
  line-height: 32px;
  text-align: left;
  font-style: normal;
  text-align: center;
}

.feature-item:hover {
  transition: top 0.3s ease;
  background-image: url(../images/product/bg2.png);
  background-repeat: no-repeat;
  object-fit: cover;
}

.feature-item:hover .feature-title {
  opacity: 0;
}

.feature-item:hover .feature-text {
  color: white;
  top: 50%;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.6;
}

/* 功能架构 */
.function-structure {
  padding: 80px 0;
  background: #fff;
}

.function-structure h2 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 46px;
  color: #17233d;
  line-height: 54px;
  text-align: center;
  font-style: normal;
  margin-bottom: 50px;
}

.structure-images {
  width: 1200px;
  margin: 0 auto;
}

.structure-images img {
  width: 100%;
  height: auto;
}

/* 产品优势 */
.product-advantages {
  padding: 80px 0;
  background: #fff;
}

.product-advantages h2 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 46px;
  color: #17233d;
  line-height: 54px;
  text-align: center;
  font-style: normal;
  margin-bottom: 56px;
}

.advantages-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 100px;
}

.advantage-item {
  flex: 0 1 auto;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 220px;
}

.advantage-item img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.advantage-content {
  text-align: left;
}

.advantage-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 800;
}

.advantage-item p {
  font-family: PingFangSC, PingFang SC;
  width: 160px;
  font-weight: 400;
  font-size: 14px;
  color: #667087;
  line-height: 26px;
  text-align: justify;
  font-style: normal;
  margin: 3px 0;
}

/* 客户案例 */
.customer-cases {
  padding: 80px 0;
  background: #fff;
}

.customer-cases h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.cases-tabs {
  width: 1200px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: center;
  gap: 80px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.cases-tabs a {
  text-decoration: none;
  color: #666;
}

.tab {
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.3s ease;
}

.tab.active {
  color: #28a6f6;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #28a6f6;
}

.case-content {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

.yin-hao {
  position: absolute;
  right: 80px;
  bottom: 0px;
}

.case-item {
  display: flex;
  gap: 50px;
  background: #fff;
  overflow: hidden;
}

.case-item p {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 14px;
  color: #333e57;
  line-height: 30px;
  text-align: justify;
  font-style: normal;
}

.case-item > img {
  margin-right: 20px;
  margin-left: 150px;
  width: 400px;
  height: 300px;
  object-fit: cover;
}

.case-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-info .company-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 30px;
}

.case-info p {
  font-weight: 600;
  font-size: 16px;
  width: 500px;
  color: black;
  line-height: 1.8;
}

.case-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #999;
  font-size: 14px;
  margin-bottom: auto;
}

.case-meta span:first-child::after {
  content: "|";
  margin-left: 10px;
  color: #ddd;
}

.more-btn {
  display: inline-block;
  padding: 8px 25px;
  color: #fff;
  background: #2aa9f6;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  width: fit-content;
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 24px;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-content {
  padding-top: 50px;
  display: none;
  position: absolute;
  margin-top: 30px;
  padding-bottom: 80px;
  font-size: 15px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2b2b2b;
  /* width: 1440px; */
  /* width: 100%; */
  margin-left: 100px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-content::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: transparent;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.product-menu {
  color: white;
  display: flex;
  justify-content: space-around;
  width: 900px;
  gap: 20px;
  margin-left: 150px;
}

.product-menu .text {
  width: 150px;
  border-bottom: 1px solid silver;
  padding-bottom: 20px;
}

.product-menu .product-right {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.product-item {
  display: flex;
  width: 150px;
  align-items: center;
  padding: 5px;
  margin: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.product-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
  /* 基础重置 */
  body {
    min-width: auto;
    font-size: 14px;
    overflow-x: hidden;
  }

  /* 导航栏适配 */
  header {
    padding: 10px 0;
    position: relative;
  }

  /* 导航系统重构 */
  .nav-container {
    padding: 0 15px;
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    display: none; /* 移动端隐藏导航菜单 */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #333;
    flex-direction: column;
    margin-left: 0;
    padding: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    height: auto;
    padding: 12px 0;
    border-bottom: 1px solid #444;
  }

  /* 汉堡菜单图标 */
  .mobile-menu-toggle {
    display: block;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-top: -10px;
  }

  /* Banner调整 */
  .banner {
    height: 200px;
    margin-top: 60px;
  }

  /* .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 60px);
    margin: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  } */

  /* .mobile-menu-toggle {
    display: block !important;
    color: white;
    font-size: 24px;
    z-index: 1000;
  } */

  /* Banner区域优化 */
  .banner-content {
    height: 300px;
    padding: 80px 20px;
    background-size: cover;
  }
  .banner-content div {
    margin-top: 20px;
  }

  .banner-content h1 {
    font-size: 32px !important;
    flex-direction: column;
    margin-top: 0 !important;
  }

  .banner-content p {
    font-size: 24px !important;
  }

  /* 行业痛点改造 */
  .points-container {
    width: 100% !important;
    flex-direction: column;
    padding: 0 15px;
  }

  .point-item {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  /* 产品特点网格适配 */
  .features-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .feature-item {
    height: 180px !important;
    padding: 20px !important;
  }

  .feature-text {
    width: 90% !important;
    font-size: 12px !important;
  }

  /* 功能架构优化 */
  .structure-images {
    width: 100% !important;
    padding: 0 15px;
  }

  /* 产品优势垂直布局 */
  .advantages-container {
    width: 100% !important;
    flex-direction: column;
    gap: 30px !important;
    padding: 0 15px;
  }

  .advantage-item {
    width: 100% !important;
    justify-content: center;
  }

  /* 客户案例改造 */
  .cases-tabs {
    width: 100% !important;
    flex-wrap: wrap;
    gap: 15px !important;
    padding: 0 15px;
  }

  .case-content {
    width: 100% !important;
    padding: 0 15px;
  }

  .case-item {
    flex-direction: column;
  }

  .case-item > img {
    width: 100% !important;
    height: 200px !important;
    margin: 0 !important;
  }

  .case-info p {
    width: 100% !important;
  }

  /* 页脚优化
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 30px;
  } */

  /* 通用触摸优化 */
  a,
  button {
    min-width: 48px;
    min-height: 48px;
  }

  /* 隐藏桌面端元素 */
  .dropdown-content,
  .product-menu {
    display: none !important;
  }
}

/* 移动端专用交互增强 */
@media (hover: none) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .feature-item:hover {
    transform: none !important;
  }

  /* 通用调整 */
  section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  section {
    margin-bottom: 50px;
  }

  main {
    padding: 30px 0;
  }
}

/* 原始CSS保留，添加以下移动端专用样式 */
.mobile-menu-toggle {
  display: none; /* 默认隐藏 */
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  /* 隐藏桌面端特定元素 */
  .dropdown-trigger img,
  .pro-line,
  .case-line {
    display: none;
  }

  .nav-menu {
    max-height: 100vh; /* 限制最大高度 */
    overflow-y: auto; /* 启用垂直滚动 */
    -webkit-overflow-scrolling: touch; /* 优化iOS滚动 */
  }

  /* 二级菜单容器 */
  .box {
    max-height: 50vh; /* 子菜单最大高度 */
    overflow-y: auto;
    padding: 0 10px !important;
  }

  /* 滚动条样式优化 */
  ::-webkit-scrollbar {
    width: 4px;
    background: rgba(0, 0, 0, 0.1);
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }

  /* 菜单项布局调整 */
  .flex-box {
    min-height: 200px; /* 保证最小高度 */
    padding-bottom: 20px; /* 底部留白 */
  }
  .banner {
    margin-top: 0px;
  }
  .product-features {
    padding: 0px;
  }
  .function-structure {
    padding: 0px;
  }
  .product-advantages {
    padding: 0px;
  }
  .more-btn {
    padding: 12px 25px;
    margin: 10px 0px;
  }
  .yin-hao {
    right: 15px;
    width: 30px;
  }
  .customer-cases {
    padding: 0px;
  }
}
