.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-card {
  text-align: center;
  padding: 32px;
  position: relative;
}

.pricing-card h3 {
  margin-bottom: 5px;
}
.pricing-card h3 span {
  font-size: small;
}

.card-header {
  text-align: left;
  font-size: 20px;
}

.price {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.price.price-highlight {
  font-size: 28px;
  color: #7c5cff;
}

.price span {
  font-size: 14px;
  color: #777;
  font-weight: 600;
  margin-left: 4px;
}

.credits {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.credit-sub {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.note {
  font-size: 14px;
  color: #7c5cff;
  font-weight: 600;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.features li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.featured {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.plans-header {
    text-align: center;
    margin-bottom: 42px;
}

.plans-header h2,
.plans-header h2 span {
    font-size: 40px;
    font-style: italic;
}

.plans-header h2 span {
    color: var(--primary);
}
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .featured {
        transform: scale(1);
    }
}
@media (max-width: 540px) {
    .plans-header {
        margin-bottom: 28px;
    }
    .plans-header h2,
    .plans-header h2 span {
        font-size: 31px;
    }
}