/* 头部区域 */
.index_header {
  padding: 220px 0 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  z-index: 1;
  text-align: center;
}

.index_header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
  z-index: -1;
}

.index_header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--light-color);
}

.index_header p {
  font-size: 20px;
  color: var(--light-color);
  max-width: 800px;
  margin: 0 auto 40px;
}

.index_header-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-explore {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  border-radius: 50px;
}

.section_title {
  text-align: center;
  margin-bottom: 60px;
}

.section_title h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section_title p {
  color: #636e72;
  max-width: 700px;
  margin: 0 auto;
}

/* 统计数据区域 */
.index_stats {
  padding: 4rem 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 1.1rem;
}

/* 产品展示区域优化 */
.index_products {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
  max-width: 1600px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  min-height: 500px;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.product-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));*/
}

.product-info {
  padding: 2.5rem;
}

.product-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1rem;
}

.product-meta span {
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

.product-meta i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.product-description {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.product-link {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.product-link:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(74, 107, 255, 0.4);
}

.product-link i {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-card {
    min-height: auto;
  }

  .product-info {
    padding: 2rem;
  }
}
