.products-section {
  padding: 100px 20px;
  background-color: var(--color-bg-body);
  transition: background-color 0.3s ease;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}

.products-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.products-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.product-card {
  background-color: var(--color-bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--color-border-hover);
}

.product-card-image-container {
  width: 100%;
  height: 240px;
  background-color: var(--color-bg-secondary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background-color 0.3s ease;
}

.product-card-image-container a {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-secondary);
  transition: background-color 0.3s ease;
}

.product-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.product-card-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  transition: color 0.3s ease;
}

.product-card-button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-inverse);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

.product-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.product-card-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .products-section {
    padding: 60px 20px;
  }

  .products-title {
    font-size: 36px;
  }

  .products-subtitle {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .product-card-image-container {
    height: 200px;
  }
}

