* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  /* overflow-x: hidden; */
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}

/* 图片样式：宽度100%，高度自适应 */
img {
  width: 100%;
  height: auto;
  display: block;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 133px;
}

.navbar .logo img {
  height: 40px;
  width: auto;
}

/* 关于平台样式 */
.about-platform {
  background-image: url("./image/platform-background.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-weight: normal;
  margin-bottom: 2rem;
}

/* 平台标签容器 */
.platform-tab-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(236, 241, 249, 1);
  border-radius: 25px;
  padding: 0;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 平台标签样式 */
.platform-tab {
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  background-color: white;
  color: #666;
  border: none;
  border-radius: 25px;
}

/* 轮播图项目容器 */
.carousel-item-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 100%;
}

/* 轮播图图片样式 */
.carousel-feature-image {
  border-radius: 8px;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0px 6.67px 30px  rgba(204, 204, 204, 0.25);
}

/* 图片容器样式 */
.image-container {
  text-align: center;
  margin: 0 ;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #007bff;
}

/* 手机号显示 - PC端 */
.mobile-phone {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 2rem;
}

.mobile-phone a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  width: 18px;
  height: 18px;
}

/* 隐藏汉堡菜单 - PC端 */
.hamburger {
  display: none;
}

.hero {
  text-align: center;
  background-color: #f8f9fa;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* 导航标签 */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  flex-wrap: wrap;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #f8f9fa;
  border-radius: 25px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.nav-tab:hover {
  background-color: #e9ecef;
}

/* 企业简介 */
.company-intro {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.company-intro h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.intro-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-text p {
  color: #666;
}

.intro-image {
  flex: 0 0 300px;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 企业简介 - 新样式 */
#products {
  padding: 0;
  background-image: url('./image/company-profile-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

#products .platform-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

/* 默认显示桌面版内容，隐藏移动版内容 */
#products .desktop-content {
  display: block;
}

#products .mobile-content {
  display: none;
}

#products .intro-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 300px;
  margin-bottom: 300px;
  width: 80%;
}

#products .intro-text-container {
  flex: 1;
  min-width: 300px;
  margin-right: 60px;
}

#products .company-title {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 43.44px;
  color: rgba(111, 112, 115, 1);
  text-align: left;
  vertical-align: top;
  margin-bottom: 30px;
}

#products .company-description {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 40px;
  color: rgba(117, 117, 117, 1);
  text-align: left;
  vertical-align: top;
}

/* 移动设备上显示移动版内容，隐藏桌面版内容 */
@media screen and (max-width: 768px) {
  #products .desktop-content {
    display: none;
  }
  
  #products .mobile-content {
    display: block;
  }
  
  #products .mobile-content img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* 微信环境下显示移动版内容，隐藏桌面版内容 */
.wechat-mobile #products .desktop-content {
  display: none;
}

.wechat-mobile #products .mobile-content {
  display: block;
}

.wechat-mobile #products .mobile-content img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-section h2 {
  text-align: center;
  color: #333;
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.platform-tab {
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.platform-tab.active {
  background-color: #007bff;
  color: #fff;
  border: none;
}

.platform-tab:hover {
  background-color: #e9ecef;
}

.platform-tab.active:hover {
  background-color: #0056b3;
}

.platform-content {
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.platform-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.platform-image img {
  max-width: 100%;
  height: auto;
}

.platform-info {
  flex: 1;
  min-width: 300px;
}

.platform-info h3 {
  margin-bottom: 1rem;
  color: #333;
}

/* 功能型资源 */
.resources-section {
  margin: 0 auto;
}

.resources-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 0;
}

.resource-item {
  text-align: center;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resource-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.resource-item p {
  font-size: 0.9rem;
  color: #666;
}

/* 联系我们 */
.contact-section {
  background-color: #007bff;
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-section p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.btn {
  background-color: #fff;
  color: #007bff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #f8f9fa;
}

/* 页脚 */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info {
  flex: 1;
  min-width: 200px;
}

.footer-info h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #495057;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* 轮播图容器 */
.carousel-section {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  z-index: 1;
}

/* 轮播图 */
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* 轮播项 */
.carousel-item {
  flex: 0 0 100%;
  position: relative;
}

/* 轮播图片 */
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  /* gap: 10px; */
  z-index: 10;
}

/* 指示器样式 */
.indicator {
  width: 72px;
  height: 2px;
  /* border-radius: 50%; */
  background-color: rgba(204, 204, 204, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: rgba(0, 123, 255, 1);
}

/* 轮播控制按钮 */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* 轮播图容器 */
.carousel-container-2 {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* 轮播图 */
.carousel-2 {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* 轮播项 */
.carousel-item-2 {
  flex: 0 0 100%;
  position: relative;
}

/* 轮播指示器 */
.carousel-indicators-2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

/* 指示器样式 */
.indicator-2 {
  width: 42px;
  height: 2px;
  border-radius: 50%;
  background-color: rgba(0, 123, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator-2.active {
  background-color: rgba(0, 123, 255, 1);
}

/* 轮播控制按钮 */
.carousel-control-2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-control-2:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-2.prev {
  left: 10px;
}

.carousel-control-2.next {
  right: 10px;
}

/* 微信环境样式 - 强制应用移动端样式 */
.wechat-mobile {
  /* 微信环境下的全局样式 */
}

/* 微信环境下的导航栏样式 */
.wechat-mobile .navbar {
  padding: 1rem;
  position: relative;
  z-index: 1000;
}

.wechat-mobile .navbar .logo img {
  height: 30px;
}

/* 微信环境下的手机号显示 */
.wechat-mobile .mobile-phone {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 15px;
}

.wechat-mobile .mobile-phone a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wechat-mobile .phone-icon {
  width: 16px;
  height: 16px;
}

/* 微信环境下的汉堡菜单按钮 */
.wechat-mobile .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
}

.wechat-mobile .hamburger span {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* 微信环境下的导航链接 */
.wechat-mobile .nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  z-index: 999;
}

.wechat-mobile .nav-links.active {
  right: 0;
}

.wechat-mobile .nav-links a {
  font-size: 1.1rem;
}

/* 微信环境下的轮播图样式 */
.wechat-mobile .carousel-item-content {
  height: auto;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wechat-mobile .carousel-feature-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 微信环境下的轮播图图片 */
.wechat-mobile .carousel-item img,
.wechat-mobile .carousel-item-2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 微信环境下的轮播图容器 */
.wechat-mobile .carousel-container,
.wechat-mobile .carousel-container-2 {
  overflow: hidden;
}

/* 微信环境下的平台标签容器 */
.wechat-mobile .platform-tab-container {
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  font-size: 10px;
  margin-left: 10px;
  margin-right: 10px;
  justify-content: flex-start;
  width: calc(100% - 20px);
}

.wechat-mobile .platform-tab-container::-webkit-scrollbar {
  display: none;
  font-size: 10px;
}

.wechat-mobile .platform-tab {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  min-width: max-content;
  white-space: nowrap;
}

/* 微信环境下的轮播项 */
.wechat-mobile .carousel-item,
.wechat-mobile .carousel-item-2 {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

/* 微信环境下的轮播控制按钮 */
.wechat-mobile .carousel-control,
.wechat-mobile .carousel-control-2 {
  padding: 8px;
  font-size: 18px;
}

/* 微信环境下的轮播指示器 */
.wechat-mobile .indicator,
.wechat-mobile .indicator-2 {
  width: 30px;
  height: 2px;
}

/* 微信环境下的图片容器 */
.wechat-mobile .image-container img {
  width: 100%;
  height: auto;
}

/* 微信环境下的标题样式 */
.wechat-mobile .section-title {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
}

.wechat-mobile .section-subtitle {
  font-size: 0.9rem;
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {

  /* 导航栏样式 */
  .navbar {
    padding: 1rem;
    position: relative;
    z-index: 1000;
  }

  .navbar .logo img {
    height: 30px;
  }

  /* 手机号显示 */
  .mobile-phone {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
  }

  .mobile-phone a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .phone-icon {
    width: 16px;
    height: 16px;
  }

  /* 汉堡菜单按钮 */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* 导航链接 */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* 轮播图样式 */
  .carousel-item-content {
    height: auto;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .carousel-feature-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* 轮播图图片 */
  .carousel-item img,
  .carousel-item-2 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* 轮播图容器 */
  .carousel-container,
  .carousel-container-2 {
    overflow: hidden;
  }

  /* 平台标签容器 */
  .platform-tab-container {
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 10px;
    margin-left: 10px;
    margin-right: 10px;
    justify-content: flex-start;
    width: calc(100% - 20px);
  }

  .platform-tab-container::-webkit-scrollbar {
    display: none;
    font-size: 10px;
  }

  .platform-tab {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    min-width: max-content;
    white-space: nowrap;
  }

  /* 轮播项 */
  .carousel-item,
  .carousel-item-2 {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
  }

  /* 轮播控制按钮 */
  .carousel-control,
  .carousel-control-2 {
    padding: 8px;
    font-size: 18px;
  }

  /* 轮播指示器 */
  .indicator,
  .indicator-2 {
    width: 30px;
    height: 2px;
  }

  /* 图片容器 */
  .image-container img {
    width: 100%;
    height: auto;
  }

  /* 标题样式 */
  .section-title {
    font-size: 1.5rem;
    /* 添加字体间距，这里设置为0.1rem作为示例，你可以根据需要调整数值 */
    letter-spacing: 0.1rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {

  /* 更小屏幕的样式 */
  .navbar .logo img {
    height: 25px;
  }

  .hamburger {
    width: 25px;
    height: 20px;
    margin-right: 20px;
  }

  .hamburger span {
    height: 2px;
  }

  .nav-links {
    width: 50%;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* 轮播图样式 */
  .carousel-item-content {
    height: auto;
    min-height: 200px;
  }

  .carousel-feature-image {
    max-width: 100%;
    height: auto;
  }

  /* 轮播图图片 */
  .carousel-item img,
  .carousel-item-2 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .platform-tab {
    padding: 0.5rem 0.5rem;
    font-size: 0.65rem;
    min-width: max-content;
    white-space: nowrap;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }
}