/* ─── HERO ─── */
.pr-hero {
  position: relative;
  padding: 96px 0 56px;
  text-align: center;
  overflow: visible;
}

.pr-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% -10%,
      rgba(0, 167, 111, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 100%,
      rgba(0, 167, 111, 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.pr-hero .container {
  position: relative;
}
.pr-hero .badge {
  animation: prFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pr-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  max-width: 760px;
  margin: 20px auto 18px;
  animation: prFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.07s;
}

.pr-hero__sub {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  animation: prFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.14s;
}

@keyframes prFade {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ─── PLANS ─── */
.pr-plans {
  padding: 32px 0 var(--section-py);
}

.pr-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

/* ─── PLAN CARD ─── */
.pr-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  animation: prFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.25s;
}

.pr-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(16, 24, 40, 0.12);
  border-color: var(--gray-300);
}

/* ─── FEATURED CARD ─── */
.pr-plan--featured {
  border-color: rgba(0, 167, 111, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 167, 111, 0.25),
    0 24px 60px -28px rgba(0, 167, 111, 0.25);
  background: linear-gradient(180deg, rgba(0, 167, 111, 0.025) 0%, #fff 60%);
  animation-delay: 0.35s;
}

.pr-plan--featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(0, 167, 111, 0.35),
    0 32px 70px -28px rgba(0, 167, 111, 0.35);
}

/* Recommended badge */
.pr-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-600) 0%, #00c48c 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(0, 167, 111, 0.45);
  z-index: 2;
}

/* ─── PLAN HEAD ─── */
.pr-plan__head {
  margin-bottom: 28px;
}

.pr-plan__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pr-plan__icon--core {
  background: var(--gray-100);
  color: var(--gray-700);
}

.pr-plan__icon--featured {
  background: linear-gradient(135deg, var(--brand-600) 0%, #00c48c 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 167, 111, 0.5);
}

.pr-plan__name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.2;
}

.pr-plan__tagline {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-500);
  margin: 0;
}

/* ─── PRICE ─── */
.pr-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.pr-plan__price-amount {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gray-900);
}

.pr-plan--featured .pr-plan__price-amount {
  background: linear-gradient(135deg, var(--brand-700) 0%, #00c48c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pr-plan__price-period {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-weight: 500;
}

.pr-plan__price-note {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.pr-plan__price-note strong {
  color: var(--gray-900);
  font-weight: 700;
}

.pr-plan__price-sub {
  color: var(--gray-400);
  font-size: 0.8125rem;
  display: inline-block;
  margin-left: 2px;
}

/* ─── FEATURES ─── */
.pr-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pr-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.pr-plan__features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  box-sizing: content-box;
}

.pr-plan--featured .pr-plan__features li svg {
  background: rgba(0, 167, 111, 0.12);
  color: var(--brand-700);
}

.pr-plan__features li strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* ─── CTA ─── */
.pr-plan__cta {
  width: 100%;
  justify-content: center;
}

/* ─── NOTE ─── */
.pr-plans__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 36px auto 0;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  width: fit-content;
}

.pr-plans__note svg {
  color: var(--brand-600);
  flex-shrink: 0;
}

.pr-plans .container {
  text-align: center;
}

.pr-plans__grid {
  text-align: left;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .pr-hero {
    padding: 64px 0 40px;
  }

  .pr-plans__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }

  .pr-plan {
    padding: 36px 28px 32px;
  }

  .pr-plan--featured {
    margin-top: 8px;
  }

  .pr-plan__price-amount {
    font-size: 2.75rem;
  }
}
