/* Pricing page */

.pricing {
  padding-block: var(--section-space);
}

.pricing__header {
  max-width: 62ch;
  margin-bottom: clamp(24px, 5vw, 40px);
}

.pricing__header h1 {
  margin: 0 0 12px;
}

.pricing__intro {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 60ch;
}

/* Cards grid */
.pricing__cards {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .pricing__cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Mobile: horizontal scroll with snap */
@media (max-width: 899px) {
  .pricing__cards {
    grid-template-columns: repeat(3, 85%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .pricing__card {
    scroll-snap-align: start;
  }
}

/* Card */
.pricing__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.pricing__card-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.pricing__card-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Price rows */
.pricing__rows {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.pricing__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing__label {
  font-weight: 500;
}

.pricing__amount {
  white-space: nowrap;
  text-align: right;
}

.pricing__from {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-right: 4px;
}

.pricing__price {
  font-weight: 700;
  font-size: 1.15rem;
}

/* CTA inside card */
.pricing__card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* Info section below cards */
.pricing__info {
  margin-top: clamp(28px, 5vw, 44px);
  max-width: 72ch;
}

.pricing__info h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.pricing__info ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.pricing__info li {
  margin: 6px 0;
  line-height: 1.55;
}

.pricing__note {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}
