/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
        sans-serif; */
  font-family: PingFangSC, PingFang SC;
  color: #333;
  min-width: 1200px;
}

.none {
  display: none !important;
}

/* 导航栏样式 */
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;
}

/* 下拉菜单样式 */
.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: 15px;
  padding-bottom: 80px;
  font-size: 15px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2b2b2b;
  width: 1440px;
  margin-left: 100px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-content::after {
  content: "";
  position: absolute;
  top: -15px;
  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;
}

/* Banner区域 */
.banner {
  height: 500px;
  background: url(../images/srm/bg-banner.png);
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
}

.banner-content {
  flex: 1;
}

.banner-content h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #333;
  font-size: 48px;
}

.banner-content p {
  font-size: 20px;
  color: #666;
  font-size: 24px;
}

.banner-images {
  flex: 1;
  display: flex;
  justify-content: center;
}

.banner-images img {
  max-width: 600px;
  height: auto;
}

/* 产品概述 */
.product-overview {
  padding: 80px 0;
  background: #fff;
}

.product-overview h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
}

.overview-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.overview-images {
  flex: 0.7;
}

.overview-images img {
  width: 500px;
  height: 400px;
}

.overview-text {
  flex: 1;
}

.overview-text p:first-child {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.overview-text p:nth-child(2) {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.overview-tags {
  display: flex;
  gap: 15px;
}

.overview-tags span {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #abb3c3;
  line-height: 22px;
  text-align: justify;
  font-style: normal;
}

.overview-tags span img {
  margin-right: 5px;
}

/* 功能架构 */
.function-structure {
  padding: 80px 0;
  background: #fff;
}

.function-structure h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
}

.structure-content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.function-group {
  border-radius: 8px;
  padding: 20px;
}

.group-title {
  color: #007bff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #007bff;
}

.group-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.function-item {
  background: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.function-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #007bff;
}

/* 产品价值 */
.product-value {
  padding: 80px 0;
  background: #fff;
}

.product-value h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
}

.value-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.value-item {
  width: 280px;
  display: flex;
  flex-direction: column;
}

.value-item {
  width: 265px;
  height: 280px;
  display: flex;
  flex-direction: column;
  background-image: url("../images/b1.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  object-fit: cover;
}

.value-item:nth-child(2) {
  width: 265px;
  height: 280px;
  display: flex;
  flex-direction: column;
  background-image: url("../images/b2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  object-fit: cover;
}

.value-item:nth-child(3) {
  width: 265px;
  height: 280px;
  display: flex;
  flex-direction: column;
  background-image: url("../images/b2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  object-fit: cover;
}

.value-item-header {
  display: flex !important;
  justify-content: center;
  display: flex;
  align-items: center !important;
  gap: 10px;
  height: 104px;
  padding: 35px 48px;
}

.value-item-header-icon {
  display: flex;
  align-items: center;
}

.value-item-header-icon h3 {
  color: white;
  font-size: 32px;
  white-space: nowrap;
  font-weight: medium;
}

.value-item-header-icon img {
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.value-item-content {
  padding: 14px 30px;
  box-sizing: border-box;
}

.value-item-content-icon {
  display: flex;
  padding: 10px;
  gap: 10px;
}

.value-item-content-icon-icon {
  width: 10px;
  color: #007bff;
}

.value-item-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: justify;
}

/* 客户案例 */
.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;
}

@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;
  } */
  /* Banner优化 */
  .banner {
    height: auto;
    padding: 120px 20px 60px;
    background-size: cover;
    background-position: center;
    flex-direction: column;
    text-align: center;
  }

  .banner-content {
    width: 100% !important;
    margin: 0 !important;
  }

  .banner-content h1 {
    font-size: 32px !important;
    line-height: 1.3;
  }

  .banner-content p {
    font-size: 18px !important;
    margin-top: 15px;
  }

  /* 产品概述适配 */
  .product-overview {
    padding: 40px 0;
  }

  .overview-container {
    width: 100%;
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }

  .overview-images img {
    width: 100%;
    height: auto;
  }

  .overview-text p:first-child {
    font-size: 20px;
  }

  /* 功能架构优化 */
  .function-structure {
    padding: 40px 0;
  }

  .structure-content {
    width: 100%;
    padding: 0 15px;
  }

  .structure-content img {
    width: 100%;
    height: auto;
  }

  /* 产品价值适配 */
  .product-value {
    padding: 40px 0;
  }

  .value-container {
    width: 100%;
    flex-direction: column;
    padding: 0 15px;
  }

  .value-item {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    margin-bottom: 15px;
    background-size: cover !important;
  }

  .value-item-header {
    padding: 20px !important;
    height: auto;
  }

  .value-item-header-icon h3 {
    font-size: 24px !important;
  }

  /* 客户案例适配 */
  .customer-cases {
    padding: 40px 0;
  }

  .cases-tabs {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 15px;
  }

  .case-content {
    width: 100%;
    padding: 0 15px;
  }

  .case-item {
    flex-direction: column;
    margin: 0 !important;
  }

  .case-item > img {
    width: 100% !important;
    height: 200px;
    margin: 0 !important;
  }

  .case-info p {
    width: 100% !important;
    font-size: 14px !important;
  }
  a,
  button {
    min-width: 48px;
    min-height: 48px;
  }

  /* 隐藏桌面端元素 */
  .dropdown-content,
  .product-menu {
    display: none !important;
  }
}

/* 原始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;
  }
  .more-btn {
    padding: 12px 25px;
    margin: 10px 0px;
  }
}
