/* 基础样式 */
.page-wrapper {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

/* 头部样式 */
.header {
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.desc-text {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
}

/* 主要内容区样式 */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px;
}

.content-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* 产品列表样式 */
.products-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.product-item {
  width: 350px;
  height: 100px;
}

.product-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-image: url('../img/button-bg.png');
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  gap: 15px;
}

.product-link:hover {
  background-image: url('../img/button-bg-hover.png');
  transform: translateY(-5px);
}

.icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}


.product-name {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}


/* 加入我们按钮样式 */
.join-section {
  text-align: center;
  margin-top: 40px;
}

.join-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  margin: 0 auto;
  background-image: url('../img/content_us.png');
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.join-link:hover {
  background-image: url('../img/content_us_hover.png');
}

.join-link .icon-img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.join-text {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .desc-text {
    margin-top: 10px;
  }

  .main-content {
    padding: 20px;
  }

  .products-section {
    gap: 20px;
  }

  .product-item {
    width: calc(50% - 10px); /* 考虑间距的两列布局 */
    height: 80px;
  }

  .product-name {
    font-size: 18px;
  }

  .join-link {
    width: 100%;
    max-width: 250px;
    height: 150px;
  }

  .join-text {
    font-size: 18px;
  }
}

@media (max-width: 548px) {
  .products-section {
    gap: 15px;
    padding: 0 10px;  /* 添加左右内边距 */
  }

  .product-item {
    width: 100%;
    height: 70px;
    margin-bottom: 10px;  /* 添加底部间距 */
  }

  .product-link {
    background-size: 100% 100%;  /* 修改背景图尺寸适配方式 */
    padding: 10px;  /* 添加内边距 */
  }

  .icon-img {
    width: 24px;
    height: 24px;
  }

  .product-name {
    font-size: 16px;
  }

  .join-section {
    padding: 0 10px;  /* 添加左右内边距 */
  }

  .join-link {
    height: 120px;
    background-size: 100% 100%;  /* 修改背景图尺寸适配方式 */
    margin-top: 20px;  /* 增加与产品列表的间距 */
  }
}

/* 添加更小屏幕的适配 */
@media (max-width: 375px) {
  .product-item {
    height: 60px;  /* 进一步减小高度 */
  }

  .product-name {
    font-size: 14px;  /* 减小字体大小 */
  }

  .join-link {
    height: 100px;  /* 减小高度 */
  }
}