.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.plan-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 1.25rem;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 220px;
}

.control label,
.control .control-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.billing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.billing-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  padding: 0.25rem;
}

.billing-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.billing-btn.is-active {
  background: linear-gradient(135deg, #c084fc, #a855f7, #ec4899);
  color: #111;
}

.billing-btn:focus-visible {
  outline: 2px solid rgba(216, 180, 254, 0.8);
  outline-offset: 2px;
}

.annual-helper {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
  white-space: nowrap;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
  overflow: visible;
}

@media (min-width: 1180px) {
  .plan-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.plan-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  isolation: isolate;
  height: auto;
  width: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  pointer-events: none;
}

.plan-card--premium {
  background: radial-gradient(circle at top, rgba(186, 120, 255, 0.25), transparent 55%),
    linear-gradient(135deg, rgba(124, 93, 255, 0.28), rgba(18, 16, 36, 0.75));
  border-color: rgba(186, 120, 255, 0.45);
  box-shadow: 0 24px 55px rgba(64, 32, 144, 0.45);
}

.plan-card--premium::after {
  content: '';
  position: absolute;
  inset: -120% auto -120% -120%;
  width: 60%;
  transform: rotate(18deg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.5;
  animation: premium-shine 6s linear infinite;
}

@keyframes premium-shine {
  0% {
    transform: translateX(-140%) rotate(18deg);
  }
  100% {
    transform: translateX(240%) rotate(18deg);
  }
}

.plan-card__meta h2 {
  margin: 0.35rem 0;
}

.plan-label--popular {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(142, 118, 255, 0.25);
  color: #d8c7ff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.plan-price {
  font-size: 2rem;
  margin: 0;
}

.plan-price small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 0.2rem;
}

.plan-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.4rem 0 0.2rem;
}

.plan-badge,
.plan-extra-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}

.plan-badge--fomo {
  position: relative;
  color: #0b1020;
  background: linear-gradient(120deg, #fde68a, #f472b6, #a855f7, #38bdf8);
  box-shadow: 0 12px 28px rgba(248, 113, 113, 0.35);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  animation: fomo-pulse 1.6s ease-out 1;
}

.plan-badge--fomo::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0) 70%);
  transform: translateX(-140%) skewX(-12deg);
  animation: fomo-shine 2.6s ease-in-out 1;
}

.badge-discount {
  background: rgba(142, 246, 255, 0.16);
  color: #8ef6ff;
}

.plan-badge--newyear {
  position: relative;
  background: linear-gradient(120deg, #fbbf24, #f472b6 35%, #8b5cf6 70%, #38bdf8);
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: newyear-badge-glow 2.8s ease-in-out infinite;
}

.plan-badge--newyear::after {
  content: '';
  position: absolute;
  inset: -120% auto -120% -60%;
  width: 70%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  opacity: 0.7;
  transform: rotate(18deg);
  animation: newyear-badge-shimmer 3.6s linear infinite;
}

@keyframes newyear-badge-shimmer {
  0% {
    transform: translateX(-140%) rotate(18deg);
  }
  100% {
    transform: translateX(240%) rotate(18deg);
  }
}

@keyframes newyear-badge-glow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(251, 191, 36, 0.35), 0 0 0 rgba(56, 189, 248, 0.2);
  }
  50% {
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.45), 0 0 14px rgba(56, 189, 248, 0.35);
  }
}

.badge-bonus {
  background: rgba(124, 93, 255, 0.2);
  color: #d8c7ff;
}

.plan-extra-badge {
  margin-bottom: 0.35rem;
}

@keyframes fomo-shine {
  0% { transform: translateX(-140%) skewX(-12deg); opacity: 0.2; }
  45% { opacity: 0.85; }
  60% { transform: translateX(140%) skewX(-12deg); opacity: 0.9; }
  100% { transform: translateX(140%) skewX(-12deg); opacity: 0; }
}

@keyframes fomo-pulse {
  0% {
    opacity: 0.9;
    filter: brightness(0.96);
  }
  55% {
    opacity: 1;
    filter: brightness(1.08);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

.plan-original-price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.15rem;
}

.plan-current-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.plan-effective {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.25rem;
}

.plan-annual-note {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

.plan-savings {
  display: block;
  font-size: 0.82rem;
  color: rgba(142, 246, 255, 0.9);
  margin-top: 0.35rem;
  font-weight: 600;
}

.plan-extra-annual {
  margin-top: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(142, 246, 255, 0.08);
  border: 1px solid rgba(142, 246, 255, 0.35);
}

.plan-extra-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.plan-extra-original {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.plan-extra-mid {
  color: rgba(255, 255, 255, 0.85);
}

.plan-extra-final {
  color: #8ef6ff;
  font-size: 1.05rem;
}

.plan-points,
.plan-points li {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.plan-points li span,
.plan-points li small {
  color: rgba(255, 255, 255, 0.84);
}

.plan-points li::before {
  content: '✓';
  margin-right: 0.5rem;
  color: rgba(225, 225, 225, 0.95);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
  opacity: 1;
}

.plan-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  line-height: 1.35;
}

.plan-card .plan-points {
  opacity: 1;
}

.plan-card--premium .plan-points,
.plan-card--premium .plan-points li {
  color: rgba(255, 255, 255, 0.92);
}

.plan-cta {
  margin-top: auto;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #c084fc, #a855f7, #ec4899);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.payment-status {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: min(100%, 980px);
  margin: 0 auto;
  font-size: 0.95rem;
}

.payment-status[data-state="idle"] {
  display: none;
}

.status-message[hidden] {
  display: none !important;
}

.subscription-actions {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.subscription-actions__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.subscription-actions__status {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
}

.subscription-actions__note {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.eyebrow--inline {
  margin: 0;
}

.cancel-btn {
  width: auto;
  max-width: 100%;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #ff9a62, #ff5d8f);
  color: #1b0d2c;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.cancel-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .plan-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-inline: 0.5rem;
  }

  .plan-card {
    height: auto;
  }

  .payment-status {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .annual-helper {
    white-space: normal;
    margin-top: 6px;
  }
}
body.modal-open {
  overflow: hidden;
}

.ny-email-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  z-index: 10001;
}

.ny-email-modal[hidden] {
  display: none;
}

.ny-email-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 12, 0.7);
}

.ny-email-card {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 32px));
  background: #0b1020;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ny-email-head h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.ny-email-head p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.ny-email-form {
  display: grid;
  gap: 0.75rem;
}

.ny-email-form label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.ny-email-form input {
  padding: 0.75rem 0.9rem;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 14, 30, 0.9);
  color: #fff;
}

.ny-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ny-email-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-faq {
  width: 100%;
  max-width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.pricing-faq__header {
  margin-bottom: 1rem;
}

.pricing-faq__header h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.pricing-faq__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-faq__list {
  display: grid;
  gap: 0.7rem;
}

.pricing-faq details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 12, 26, 0.75);
  overflow: clip;
}

.pricing-faq summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 0.95rem 2.8rem 0.95rem 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.pricing-faq summary::-webkit-details-marker {
  display: none;
}

.pricing-faq summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  line-height: 1;
  color: rgba(142, 246, 255, 0.95);
}

.pricing-faq details[open] summary::after {
  content: '−';
}

.pricing-faq p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

@media (max-width: 768px), (pointer: coarse) {
  .ny2026-badge,
  .ny2026-badge::before,
  .plan-card--premium::after,
  .plan-badge--fomo,
  .plan-badge--fomo::after,
  .plan-badge--newyear,
  .plan-badge--newyear::after {
    animation: none !important;
    transition: none !important;
  }

  .ny2026-badge,
  .plan-badge--fomo,
  .plan-badge--newyear,
  .plan-card--premium {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    filter: none;
  }

  .plan-card--premium::after,
  .plan-badge--fomo::after,
  .plan-badge--newyear::after,
  .ny2026-badge::before {
    opacity: 0.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ny2026-badge,
  .ny2026-badge::before,
  .plan-card--premium::after,
  .plan-badge--fomo,
  .plan-badge--fomo::after,
  .plan-badge--newyear,
  .plan-badge--newyear::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
