.comparison-section {
  padding: 2rem 1rem;
  background: #f9f9f9;
  max-width: 100%;
  overflow-x: auto;
}

.comparison-section h1 {
  font-size: 1.5rem;
  text-align: center;
  color: #333;
  margin-bottom: 0.5rem;
}

.comparison-section p {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr)); /* Feature + 7 plans */
  gap: 1px;
  background-color: #ccc;
  font-size: 0.85rem;
  border-radius: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.grid-header {
  background-color: #0066cc;
  color: white;
  font-weight: 600;
  padding: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
}

.grid-feature {
  background-color: #e9f0f9;
  padding: 0.6rem;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.grid-cell {
  background-color: white;
  padding: 0.6rem;
  text-align: center;
  color: #333;
  font-size: 0.85rem;
}

/* Scrollable on smaller screens */
@media (max-width: 991px) {
  .comparison-grid {
    display: block;
    overflow-x: auto;
  }

  .grid-header,
  .grid-feature,
  .grid-cell {
    display: inline-block;
    min-width: 120px;
    vertical-align: top;
  }
}
