/* ===== PRICING PAGE ===== */
.pricing-hero {
  padding: 140px 0 48px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.04) 50%, transparent 70%);
  z-index: 0;
}
.pricing-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0.03) 50%, transparent 70%);
  z-index: 0;
}
.pricing-hero .container { position: relative; z-index: 1; }
.pricing-hero-inner { max-width: 600px; }
.pricing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.2;
}
.pricing-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

.pricing-section {
  padding: 56px 0 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

/* Card base */
.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Highlighted card */
.plan-card.plan-highlighted {
  border: 2px solid var(--blue-800);
}
.plan-card.plan-pro {
  border: 2px solid var(--blue-500);
  background: var(--white);
}

/* Card badge */
.plan-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 0;
  background: var(--blue-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}
.plan-card.plan-highlighted,
.plan-card.plan-pro {
  padding-top: 56px;
}

/* Plan name & price */
.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.plan-price-value {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}
.plan-price-currency {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}

/* Credits badge */
.plan-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}
.plan-credits-trial {
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(37,99,235,0.15);
}
.plan-credits-starter {
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(37,99,235,0.15);
}
.plan-credits-growth {
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(37,99,235,0.15);
}
.plan-credits-pro {
  background: #EFF6FF;
  color: var(--blue-600);
  border: 1px solid rgba(37,99,235,0.15);
}

/* Divider */
.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 24px;
}

/* Feature list */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-700);
}
.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue-500);
}
.plan-features .credit-count {
  color: var(--gray-400);
  font-weight: 400;
}

/* CTA buttons */
.plan-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  margin-bottom: 16px;
}
.plan-btn-outline {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.plan-btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.plan-btn-current {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: default;
  border: 1px solid var(--gray-200);
}
.plan-btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.plan-btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}

/* Ideal-for text */
.plan-ideal {
  font-size: 12px;
  font-style: italic;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
