.product-section {
  padding: 60px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media screen and (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: none; /* 默认隐藏所有产品 */
}

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

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-price {
  color: #f60;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
}

.contact-btn:hover {
  background: #0056b3;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.banner {
  position: relative;
  margin-top: 68px;
  height: 300px;
  width: 100%;
  background-image: url(../images/cehui/bg.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner h1 {
  font-size: 56px;
  line-height: 56px;
  font-family: 阿里巴巴普惠体;
  font-weight: 700;
  color: #f5fbff;
}

.banner #slider,
.banner .slieder-item-container,
.banner .slieder-item-container li,
.banner .slieder-item-container li a,
.banner .slieder-item-container li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* footer */

.footer {
  background: var(--primary);
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-around;
  margin: 0px auto;
  padding: 60px 0 20px 0;
}

.footer-top ul:nth-child(4) li {
  color: #fff;
  font-size: 12px;
}

.footer-top ul:nth-child(5) li {
  color: #fff;
  font-size: 12px;
}

.footer ul {
  float: left;
  padding: 0;
}

.footer ul li a {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
}

.footer ul li {
  position: relative;
  color: #d1d2d8;
  margin-bottom: 8px;
}

.footer ul li strong {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.footer ul li strong a {
  font-size: 16px;
  color: #fff;
  opacity: 1;
}

.footer ul li p {
  margin-left: 20px;
  margin-top: 10px;
}

.footer ul li .footer-qrcode {
  margin-top: 20px;
  display: none;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
  font-size: 12px;
  border-top: solid 1px rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  background-size: contain;
  margin-top: 5px;
}

.footer-location {
  float: right;
}

.footer-location p {
  text-align: right;
}

.footer-location span {
  margin-left: 20px;
}

.footer-copyright img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.footer-copyright p,
.footer-copyright a {
  line-height: 2em;
  color: #fff;
}

.icon-footer {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.pt0 {
  padding-top: 0px;
}

.filter-container {
  margin-bottom: 30px;
}

.filter-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-item {
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-item:hover {
  background-color: #f5f5f5;
}

.filter-item.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.product-card.show {
  display: block; /* 显示筛选后的产品 */
}

/* 卖点宣传区域样式 */
.value-proposition {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.proposition-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.value-proposition h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e293b;
}

.value-proposition .highlight {
  color: #5a67d8;
  position: relative;
}

.value-proposition .highlight::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #5a67d8;
  border-radius: 2px;
}

.value-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

.value-icon {
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 100%);
  padding: 30px 0;
  text-align: center;
}

.value-icon img {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon img {
  transform: scale(1.1);
}

.value-content {
  padding: 30px 25px;
  text-align: left;
}

.value-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2d3748;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.value-content h3 i {
  margin-right: 10px;
  color: #4c51bf;
  font-size: 24px;
}

.description-wrapper {
  min-height: 100px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value-content p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0.015em;
  display: flex;
  align-items: flex-start;
}

.value-content p i {
  margin-right: 10px;
  color: #4c51bf;
  margin-top: 3px;
  font-size: 18px;
}

.value-features {
  list-style: none;
  padding: 0;
  margin: 0;
  background: linear-gradient(
    135deg,
    rgba(165, 180, 252, 0.1) 0%,
    rgba(129, 140, 248, 0.1) 100%
  );
  border-radius: 8px;
  padding: 16px;
}

.value-features li {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.value-features li:last-child {
  margin-bottom: 0;
}

.value-features li i {
  margin-right: 10px;
  font-size: 18px;
  color: #48bb78;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .value-proposition h2 {
    font-size: 26px;
  }

  .value-cards {
    flex-direction: column;
    align-items: center;
  }

  .value-card {
    width: 100%;
    max-width: 100%;
  }

  .description-wrapper {
    min-height: auto;
  }

  .value-content p {
    font-size: 15px;
  }
}

/* 新的Banner样式 */
.product-banner {
  height: 300px;
  margin-top: 68px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5a67d8 0%, #4c51bf 67.5%, #6b46c1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}

.product-banner-title {
  font-size: 48px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.product-banner-subtitle {
  font-size: 24px;
  color: white;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #5a67d8;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .product-banner-title {
    font-size: 32px;
  }

  .product-banner-subtitle {
    font-size: 18px;
    max-width: 90%;
  }

  .cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
}
