/* ============================================================
   PRICING — shared component
   Canonical pattern used on home + the three shows subpages.
   ============================================================ */

.pricing-section {
  background: var(--color-bg-soft);
  padding: var(--space-9) var(--space-5);
  border-top: 1px solid var(--color-line);
}

.pricing-section__header {
  text-align: center;
  margin-bottom: var(--space-7);
}

/* Radio toggle mechanism */
.pt-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pt-toggle-root {
  max-width: 1080px;
  margin: 0 auto;
}

.pt-toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-7);
}

/* Segmented control: single pill containing both buttons */
.pt-toggle-group {
  display: inline-flex;
  background: var(--color-bg-card);
  padding: var(--space-1);
  border-radius: var(--radius-pill);
  position: relative;
}

/* "Bundle" label is positioned-relative to anchor the discount sticker */
.pt-toggle-group label[for="pt-bundle"] {
  position: relative;
}

.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  color: var(--color-fg-1);
  border: none;
  transition:
    background var(--ease-duration-fast) var(--ease-out),
    color var(--ease-duration-fast) var(--ease-out);
  min-width: 90px;
}

.pt-btn:hover {
  color: var(--color-purple);
}

#pt-show:checked ~ .pt-toggle-root .pt-toggle-group label[for="pt-show"],
#pt-bundle:checked ~ .pt-toggle-root .pt-toggle-group label[for="pt-bundle"] {
  background: var(--color-purple-deep);
  color: #fff;
}

#pt-show:checked ~ .pt-toggle-root .pt-toggle-group label[for="pt-show"]:hover,
#pt-bundle:checked ~ .pt-toggle-root .pt-toggle-group label[for="pt-bundle"]:hover {
  color: #fff;
}

/* Yellow discount sticker — pinned to top-right of the Bundle button */
.pt-discount__badge {
  position: absolute;
  top: -10px;
  right: -18px;
  background: var(--color-yellow);
  color: var(--color-purple-ink);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transform: rotate(8deg);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 1;
}

/* Card panels */
.pt-cards {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

/* Two-tier variant (used for Stage Magic — only Deluxe + Premium) */
.pt-cards--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

#pt-show:checked ~ .pt-toggle-root .pt-cards--show {
  display: grid;
}

#pt-bundle:checked ~ .pt-toggle-root .pt-cards--bundle {
  display: grid;
}

/* Pricing card */
.pricing-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  padding: var(--space-7) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: box-shadow var(--ease-duration-med) var(--ease-out), transform var(--ease-duration-med) var(--ease-out);
}

.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: var(--color-cream);
  border-color: var(--color-purple);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -12px rgba(72, 61, 102, 0.25);
  padding-top: var(--space-8);
}

.pricing-card--featured:hover {
  transform: translateY(-14px);
}

.pricing-card__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-purple);
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(72, 61, 102, 0.4);
}

.pricing-card__name {
  font-family: var(--font-headline);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-fg-1);
  line-height: var(--font-leading-tight);
}

.pricing-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: var(--font-leading-normal);
  max-width: none;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.pricing-card__currency {
  font-family: var(--font-headline);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-purple);
}

.pricing-card__amount {
  font-family: var(--font-headline);
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-purple);
  line-height: 1;
}

.pricing-card__per {
  font-size: var(--font-size-xs);
  color: var(--color-text-mute);
}

.pricing-card__divider {
  height: 1px;
  background: var(--color-line);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.pricing-feature__icon {
  flex-shrink: 0;
  color: var(--color-green);
  margin-top: 1px;
}

.pricing-feature__text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: var(--font-leading-normal);
}

.pricing-card__cta {
  display: block;
  text-align: center;
  background: var(--color-yellow);
  color: var(--color-purple-ink);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-top: auto;
  transition: background var(--ease-duration-fast) var(--ease-out), color var(--ease-duration-fast) var(--ease-out), transform var(--ease-duration-fast) var(--ease-out);
}

.pricing-card__cta:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-1px);
}

/* Responsive — single column on tablet and below */
@media (max-width: 980px) {
  .pt-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}
