.products-section {
  padding: 4rem 0;
  background: var(--clr-bg-light-2);
}

.products-section .hero-text {
  text-align: center;
  margin-left: 0;
  margin-bottom: calc(10% + 4rem);
}

.products-section .hero-text h1 {
  color: var(--clr-primary);
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
  line-height: 1;
  padding: 0;
  transition: font-size 0.3s ease;
  animation: fadeIn 0.8s ease-out forwards;
}

.products-section .hero-text h1 + h1 {
  margin-top: -0.1em;
  padding-top: 0;
  color: #666666;
  font-size: clamp(1.2rem, 3.5vw + 0.5rem, 2rem);
  transition: font-size 0.3s ease;
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.second-row {
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background: var(--clr-bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 287px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.product-card h2 {
  color: var(--clr-primary);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-description {
  color: #666;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Add a wrapper for the header and description */
.product-header {
  height: 14em;  /* Fixed height for h2 + description */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.divider {
  height: 1px;
  background: #e0e0e0;
  margin: 1rem 0;
  width: 100%;
}

.product-card p {
  color: #666;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.product-features li {
  color: #666;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.product-features li::before {
  content: "✓";
  color: #4CAF50;  /* Material Design Green */
  position: absolute;
  left: 0;
  font-size: 1.1em;
  font-weight: bold;
}

.product-btn {
  width: 100%;
  text-align: center;
  padding: 0.875rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  background: var(--clr-primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.product-btn:hover {
  background: #0a2234;
}

.product-btn.disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.product-btn.disabled:hover {
  background: #cccccc;
}

.coming-soon {
  opacity: 0.8;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--clr-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-card {
    width: 287px;
  }
}

@media (max-width: 768px) {
  .products-section .hero-text h1 {
    font-size: clamp(1.25rem, 3.5vw + 0.5rem, 2rem);
  }
  
  .products-section .hero-text h1 + h1 {
    font-size: clamp(1rem, 3vw + 0.5rem, 1.75rem);
  }
  
  .product-row {
    flex-direction: column;
    align-items: center;
  }
  
  .product-card {
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
  }
} 