/* DarkGPT Pricing — aligned with landing-premium design system */

:root {
  --px-bg: #060607;
  --px-bg2: #0b0b0e;
  --px-surface: #131316;
  --px-surface-hover: #1b1115;
  --px-red: #ff3b5f;
  --px-red2: #c71f3a;
  --px-red-glow: rgba(255, 59, 95, 0.12);
  --px-text: #f5f5f7;
  --px-text2: #a6a6ae;
  --px-border: rgba(255, 255, 255, 0.05);
  --px-border-hover: rgba(255, 59, 95, 0.22);
  --px-radius: 20px;
  --px-radius-sm: 14px;
  --px-radius-xs: 12px;
  --px-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --px-font-display: "Syne", "Segoe UI", sans-serif;
  --px-font-body: "DM Sans", "Segoe UI", sans-serif;
  --px-font-price: "Inter Tight", "Inter", "DM Sans", "Segoe UI", sans-serif;
  --px-max: 1160px;
  --px-space-section: clamp(88px, 12vw, 140px);
  --px-space-block: clamp(56px, 7vw, 96px);
}

/* ── Base ─────────────────────────────────────────────────── */

body.page-pricing {
  margin: 0;
  min-height: 100%;
  background-color: var(--px-bg) !important;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% -8%, rgba(255, 59, 95, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 12% 40%, rgba(199, 31, 58, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 92% 28%, rgba(255, 59, 95, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, var(--px-bg) 0%, var(--px-bg2) 48%, var(--px-bg) 100%);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    48px 48px,
    48px 48px,
    100% 100%;
  background-attachment: fixed;
  color: var(--px-text);
  font-family: var(--px-font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.page-pricing *,
body.page-pricing *::before,
body.page-pricing *::after {
  box-sizing: border-box;
}

body.page-pricing ::selection {
  background: rgba(255, 59, 95, 0.35);
  color: #fff;
}

body.page-pricing h1,
body.page-pricing h2,
body.page-pricing h3,
body.page-pricing .logo,
body.page-pricing .site-footer__brand {
  font-family: var(--px-font-display);
  letter-spacing: -0.03em;
}

/* ── Atmosphere (subtle extras on top of body bg) ─────────── */

.px-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.px-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(0, 0, 0, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(0, 0, 0, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.px-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(8px);
  will-change: opacity, transform;
}

.px-glow--hero {
  top: -12%;
  width: min(1100px, 130vw);
  height: 720px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 59, 95, 0.18) 0%,
    rgba(255, 59, 95, 0.06) 38%,
    transparent 70%
  );
  animation: px-glow-breathe 14s ease-in-out infinite;
}

.px-glow--mid {
  top: 38%;
  width: min(820px, 100vw);
  height: 520px;
  opacity: 0.4;
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.08), transparent 68%);
  animation: px-glow-breathe 18s ease-in-out infinite;
  animation-delay: -6s;
}

.px-glow--soft {
  top: 72%;
  width: min(600px, 80vw);
  height: 360px;
  opacity: 0.25;
  background: radial-gradient(ellipse at center, rgba(199, 31, 58, 0.07), transparent 70%);
  animation: px-glow-breathe 16s ease-in-out infinite;
  animation-delay: -3s;
}

.px-grid {
  display: none;
}

.px-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.px-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

@keyframes px-glow-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

/* ── Layout ───────────────────────────────────────────────── */

.px-shell {
  position: relative;
  z-index: 1;
}

.px-wrap {
  width: min(var(--px-max), calc(100% - 56px));
  margin: 0 auto;
}

.px-wrap--narrow {
  width: min(820px, calc(100% - 56px));
}

/* ── Reveal (progressive: visible without JS) ─────────────── */

body.page-pricing .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 700ms var(--px-ease),
    transform 700ms var(--px-ease);
}

body.page-pricing.js-reveal .reveal:not(.is-in):not(.in-view) {
  opacity: 0;
  transform: translateY(22px);
  filter: none;
}

body.page-pricing .reveal.is-in,
body.page-pricing .reveal.in-view {
  opacity: 1 !important;
  filter: none !important;
}

body.page-pricing .reveal.is-in:not(.px-plan),
body.page-pricing .reveal.in-view:not(.px-plan) {
  transform: none !important;
}

body.page-pricing .px-plan.reveal.is-in:hover,
body.page-pricing .px-plan.reveal.in-view:hover {
  transform: translateY(-3px);
}

body.page-pricing .px-plan--featured.reveal.is-in,
body.page-pricing .px-plan--featured.reveal.in-view {
  transform: scale(1.02);
}

body.page-pricing .px-plan--featured.reveal.is-in:hover,
body.page-pricing .px-plan--featured.reveal.in-view:hover {
  transform: scale(1.02) translateY(-3px);
}

body.page-pricing .reveal--delay-1 { transition-delay: 80ms; }
body.page-pricing .reveal--delay-2 { transition-delay: 160ms; }
body.page-pricing .reveal--delay-3 { transition-delay: 240ms; }
body.page-pricing .reveal--delay-4 { transition-delay: 320ms; }

@media (scripting: none) {
  body.page-pricing .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */

.px-hero {
  padding: clamp(88px, 14vh, 140px) 0 clamp(48px, 6vh, 72px);
  text-align: center;
}

.px-eyebrow,
.px-section-eyebrow {
  margin: 0 0 18px;
  font-family: var(--px-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--px-text2);
}

.px-hero__title {
  margin: 0 auto 16px;
  max-width: 920px;
  font-family: var(--px-font-display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--px-text);
}

.px-hero__gradient {
  color: var(--px-red);
  text-shadow: 0 0 28px var(--px-red-glow);
  background: none;
  -webkit-text-fill-color: unset;
  filter: none;
  animation: none;
}

.px-hero__sub {
  margin: 0 auto 40px;
  max-width: 560px;
  font-family: var(--px-font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--px-text2);
}

.px-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.px-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--px-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--px-text2);
}

.px-trust__ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--px-radius-sm);
  border: 1px solid rgba(255, 59, 95, 0.28);
  background: rgba(255, 59, 95, 0.1);
  color: var(--px-red);
  transition: border-color 250ms var(--px-ease), box-shadow 250ms var(--px-ease);
}

.px-trust__item:hover .px-trust__ico {
  border-color: rgba(255, 59, 95, 0.45);
  box-shadow: 0 0 20px rgba(255, 59, 95, 0.18);
}

/* ── Plans ────────────────────────────────────────────────── */

.px-plans {
  padding: var(--px-space-block) 0;
  overflow: visible;
}

.px-plans__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 0 20px;
  overflow: visible;
}

.px-plans__grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(720px, 90%);
  height: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 59, 95, 0.04) 0%,
    transparent 72%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.px-plan {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 36px 32px 32px;
  border-radius: var(--px-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--px-surface) 48%, #0e0e11 100%);
  box-shadow:
    0 0 0 1px var(--px-border) inset,
    0 16px 36px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 250ms var(--px-ease),
    box-shadow 250ms ease,
    background 250ms ease;
}

.px-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.px-plan::after {
  display: none;
}

.px-plan:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 22px 44px rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, transparent 42%),
    linear-gradient(180deg, var(--px-surface-hover) 0%, var(--px-surface) 55%, #100c0e 100%);
}

/* Featured — Unlimited (œil d’abord) */

.px-plan--featured {
  z-index: 2;
  overflow: visible;
  transform: scale(1.02);
  padding: 44px 32px 40px;
  border: 1px solid rgba(255, 90, 118, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 120, 140, 0.28) inset,
    0 0 36px rgba(255, 59, 95, 0.28),
    0 22px 52px rgba(255, 59, 95, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(165deg, rgba(255, 59, 95, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, #1a1216 0%, #121214 50%, #0a0a0c 100%);
}

.px-plan--featured:hover {
  transform: scale(1.02) translateY(-3px);
  border-color: rgba(255, 110, 135, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 140, 160, 0.35) inset,
    0 0 44px rgba(255, 59, 95, 0.34),
    0 26px 56px rgba(255, 59, 95, 0.26),
    0 24px 48px rgba(0, 0, 0, 0.46);
}

/* Lifetime — fond noir + halo doré subtil (édition premium) */
.px-plan--lifetime {
  z-index: 2;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(212, 175, 120, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%),
    linear-gradient(180deg, #121214 0%, #0c0c0e 50%, #080808 100%);
}

.px-plan--lifetime:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 120, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 36px rgba(212, 175, 120, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.46);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #161618 0%, #0e0e10 55%, #0a0a0a 100%);
}

.px-plan__aura--lifetime {
  background: radial-gradient(ellipse at center, rgba(212, 175, 120, 0.08) 0%, transparent 72%);
}

.px-plan__badge--lifetime {
  color: rgba(240, 217, 168, 0.92);
  background: linear-gradient(180deg, #1a1a1c 0%, #121214 100%);
  border: 1px solid rgba(212, 175, 120, 0.38);
  box-shadow: 0 0 16px rgba(212, 175, 120, 0.14);
}

.px-plan--lifetime .px-plan__amount {
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #fff;
}

.px-plan__cta--lifetime {
  color: #fff;
  background: linear-gradient(180deg, #ff5a76 0%, var(--px-red) 45%, var(--px-red2) 100%);
  border: 1px solid rgba(255, 120, 140, 0.28);
  box-shadow: 0 10px 28px rgba(255, 59, 95, 0.22);
}

.px-plan__cta--lifetime:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 36px rgba(255, 59, 95, 0.3);
}

.px-plan__aura {
  position: absolute;
  left: 50%;
  top: -24%;
  width: 100%;
  height: 42%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.07) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: none;
}

.px-plan--featured .px-plan__aura {
  top: -28%;
  height: 48%;
  opacity: 0.95;
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.16) 0%, transparent 68%);
  filter: blur(36px);
}

.px-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--px-font-price);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #ff5a76 0%, var(--px-red) 50%, var(--px-red2) 100%);
  border: 1px solid rgba(255, 120, 140, 0.28);
  box-shadow: 0 6px 18px rgba(255, 59, 95, 0.18);
  white-space: nowrap;
  pointer-events: none;
}

.px-plan__head,
.px-plan__price,
.px-plan__note,
.px-plan__features,
.px-plan__cta {
  position: relative;
  z-index: 1;
}

.px-plan__eyebrow {
  margin: 0 0 8px;
  font-family: var(--px-font-price);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(166, 166, 174, 0.7);
}

.px-plan__name {
  margin: 0 0 10px;
  font-family: var(--px-font-price) !important;
  font-size: clamp(1.75rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #fff;
}

.px-plan--featured .px-plan__name {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
}

.px-plan__hook {
  margin: 0 0 22px;
  font-family: var(--px-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(166, 166, 174, 0.78);
  max-width: 34ch;
}

.px-plan__price {
  display: flex;
  align-items: baseline;
  margin: 0 0 18px;
}

.px-plan__price-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--px-font-price);
}

.px-plan__amount {
  font-family: var(--px-font-price);
  font-size: clamp(2.05rem, 3.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  text-shadow: none;
  font-variant-numeric: tabular-nums;
}

.px-plan__amount .price-cents {
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: -0.03em;
  vertical-align: baseline;
  margin-left: 0.02em;
}

.px-plan--featured .px-plan__amount {
  color: transparent;
  background: linear-gradient(135deg, #ff8a9a 0%, var(--px-red) 48%, #e83255 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: none;
}

.px-plan__period {
  font-family: var(--px-font-price);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(166, 166, 174, 0.72);
  line-height: 1;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: 0.18em;
  margin-left: 0.08em;
}

.px-plan--featured .px-plan__period {
  color: rgba(255, 140, 160, 0.5);
  -webkit-text-fill-color: rgba(255, 140, 160, 0.5);
}

.px-plan__note {
  margin: 0 0 36px;
  font-family: var(--px-font-body);
  font-size: 0.8rem;
  color: rgba(166, 166, 174, 0.7);
}

/* ── Features ─────────────────────────────────────────────── */

.px-plan__features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.px-plan__features li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-family: var(--px-font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--px-border);
}

.px-plan__features li:last-child {
  border-bottom: none;
}

.px-plan__features li.is-yes {
  color: var(--px-text);
}

.px-plan__features li.is-no {
  color: rgba(166, 166, 174, 0.45);
}

.px-plan__features li.is-no .feat-label {
  color: rgba(166, 166, 174, 0.45);
}

.px-plan__features .mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.px-plan__features .mark--yes {
  color: var(--px-red);
  background: rgba(255, 59, 95, 0.1);
  border: 1px solid rgba(255, 59, 95, 0.28);
}

.px-plan__features .mark--no {
  color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.px-plan__features .feat-label {
  font-weight: 500;
}

.px-plan__features .tier {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--px-text2);
  opacity: 0.7;
}

.px-plan__features .tier--hot {
  color: var(--px-red);
  opacity: 0.85;
  font-weight: 600;
}

.px-plan__features li.is-no .tier {
  color: rgba(166, 166, 174, 0.3);
}

/* ── CTAs (same language as landing .btn-primary) ─────────── */

.px-plan__cta {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 54px;
  margin-top: auto;
  border-radius: var(--px-radius-sm);
  border: 1px solid rgba(255, 120, 140, 0.28);
  text-align: center;
  line-height: 52px;
  font-family: var(--px-font-price);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #ff5a76 0%, var(--px-red) 45%, var(--px-red2) 100%);
  box-shadow: 0 12px 32px rgba(255, 59, 95, 0.28);
  overflow: hidden;
  transition:
    transform 250ms var(--px-ease),
    box-shadow 250ms ease,
    filter 250ms ease;
}

.px-plan__cta::before {
  display: none;
}

.px-plan__cta:hover {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(1.04);
  box-shadow: 0 16px 40px rgba(255, 59, 95, 0.36);
}

.px-plan__cta--featured {
  height: 56px;
  line-height: 54px;
  box-shadow: 0 14px 36px rgba(255, 59, 95, 0.32);
}

/* ── Discord strip ────────────────────────────────────────── */

.px-discord {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 28px;
  border-radius: var(--px-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--px-surface) 48%, #0e0e11 100%);
  box-shadow:
    0 0 0 1px var(--px-border) inset,
    0 18px 40px rgba(0, 0, 0, 0.3);
  transition:
    transform 250ms var(--px-ease),
    box-shadow 250ms ease;
}

.px-discord:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--px-border-hover) inset,
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 59, 95, 0.12);
}

.px-discord__title {
  margin: 0 0 6px;
  font-family: var(--px-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.px-discord__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--px-text2);
}

.px-discord__btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--px-radius-sm);
  border: 1px solid rgba(255, 120, 140, 0.35);
  background: linear-gradient(180deg, #ff5a76 0%, var(--px-red) 45%, var(--px-red2) 100%);
  color: #fff;
  font-family: var(--px-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 28px rgba(255, 59, 95, 0.28);
  transition: transform 250ms var(--px-ease), filter 250ms ease, box-shadow 250ms ease;
}

.px-discord__btn:hover {
  transform: translateY(-3px);
  color: #fff;
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(255, 59, 95, 0.4);
}

/* ── Why ──────────────────────────────────────────────────── */

.px-why {
  padding: var(--px-space-section) 0 var(--px-space-block);
}

.px-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.px-section-head h2 {
  margin: 0 0 14px;
  font-family: var(--px-font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--px-text);
}

.px-section-head p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--px-text2);
  font-size: 1.05rem;
  line-height: 1.65;
  font-family: var(--px-font-body);
}

.px-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.px-why-card {
  padding: 26px 24px 24px;
  border-radius: var(--px-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--px-surface) 48%, #0e0e11 100%);
  box-shadow:
    0 0 0 1px var(--px-border) inset,
    0 18px 40px rgba(0, 0, 0, 0.3);
  min-height: 200px;
  transition:
    transform 250ms var(--px-ease),
    box-shadow 250ms ease,
    background 250ms ease;
}

.px-why-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--px-border-hover) inset,
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 59, 95, 0.14);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
    linear-gradient(180deg, var(--px-surface-hover) 0%, var(--px-surface) 55%, #100c0e 100%);
}

.px-why-card__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--px-radius-sm);
  border: 1px solid rgba(255, 59, 95, 0.28);
  background: linear-gradient(145deg, #ff5a76 0%, var(--px-red) 50%, var(--px-red2) 100%);
  color: #fff;
  transition: transform 250ms var(--px-ease), box-shadow 250ms ease;
}

.px-why-card:hover .px-why-card__ico {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255, 59, 95, 0.28);
}

.px-why-card h3 {
  margin: 0 0 10px;
  font-family: var(--px-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--px-text);
}

.px-why-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--px-text2);
}

/* ── FAQ ──────────────────────────────────────────────────── */

.px-faq {
  padding: var(--px-space-block) 0 var(--px-space-section);
}

.px-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.px-faq__item {
  border-radius: var(--px-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--px-surface) 48%, #0e0e11 100%);
  box-shadow: 0 0 0 1px var(--px-border) inset;
  overflow: hidden;
  transition:
    box-shadow 250ms ease,
    background 250ms ease,
    transform 250ms var(--px-ease);
}

.px-faq__item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--px-border-hover) inset,
    0 12px 32px rgba(0, 0, 0, 0.3);
}

.px-faq__item[open] {
  box-shadow:
    0 0 0 1px rgba(255, 59, 95, 0.28) inset,
    0 16px 36px rgba(0, 0, 0, 0.35);
  background:
    linear-gradient(165deg, rgba(255, 59, 95, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, var(--px-surface-hover) 0%, var(--px-surface) 55%, #100c0e 100%);
}

.px-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  font-family: var(--px-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--px-text);
}

.px-faq__item summary::-webkit-details-marker {
  display: none;
}

.px-faq__item summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(#fff, #fff) center / 12px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 12px no-repeat,
    rgba(255, 255, 255, 0.03);
  opacity: 0.55;
  transition:
    transform 320ms var(--px-ease),
    border-color 250ms ease,
    opacity 250ms ease,
    background 250ms ease;
}

.px-faq__item[open] summary::after {
  transform: rotate(45deg);
  opacity: 1;
  border-color: rgba(255, 59, 95, 0.4);
  background:
    linear-gradient(var(--px-red), var(--px-red)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--px-red), var(--px-red)) center / 1.5px 12px no-repeat,
    rgba(255, 59, 95, 0.12);
}

.px-faq__ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 59, 95, 0.28);
  background: rgba(255, 59, 95, 0.1);
  color: var(--px-red);
}

.px-faq__q {
  flex: 1;
  text-align: left;
}

.px-faq__body {
  padding: 0 22px 22px 70px;
  animation: px-faq-in 320ms var(--px-ease);
}

.px-faq__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--px-text2);
  font-family: var(--px-font-body);
}

@keyframes px-faq-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Footer ───────────────────────────────────────────────── */

body.page-pricing .site-footer,
body.page-pricing .px-footer {
  margin-top: 0 !important;
  padding: 80px 0 36px !important;
  border-top: 1px solid rgba(255, 59, 95, 0.18) !important;
  background: transparent !important;
  position: relative;
}

body.page-pricing .px-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(400px, 50%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 59, 95, 0.55), transparent);
  pointer-events: none;
}

body.page-pricing .site-footer__grid {
  width: 100%;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

body.page-pricing .site-footer__brand {
  font-family: var(--px-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--px-text);
}

body.page-pricing .site-footer__brand span {
  color: transparent;
  background: linear-gradient(135deg, #ff7a88 0%, #ff4b5c 45%, #ff2d55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.page-pricing .site-footer__text {
  margin-top: 14px;
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--px-text2);
}

.px-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.px-footer__social a {
  width: 40px !important;
  height: 40px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border-radius: var(--px-radius-xs);
  border: 1px solid var(--px-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--px-text2) !important;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    transform 250ms var(--px-ease);
}

.px-footer__social a:hover {
  color: #fff !important;
  border-color: rgba(255, 59, 95, 0.4);
  background: rgba(255, 59, 95, 0.1);
  transform: translateY(-2px);
}

body.page-pricing .site-footer h4 {
  margin: 0 0 18px;
  font-family: var(--px-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(166, 166, 174, 0.7);
}

body.page-pricing .site-footer a {
  display: block;
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--px-text2);
  text-decoration: none;
  transition: color 250ms ease;
}

body.page-pricing .site-footer a:hover {
  color: var(--px-red);
}

body.page-pricing .site-footer__bottom {
  width: 100%;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--px-border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(166, 166, 174, 0.65);
}

.px-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.px-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--px-red);
  box-shadow: 0 0 10px rgba(255, 59, 95, 0.6);
  animation: px-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes px-dot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 59, 95, 0.6);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 16px rgba(255, 59, 95, 0.85);
  }
}

/* Override legacy pricing blocks */
body.page-pricing .page-hero,
body.page-pricing .pricing-grid,
body.page-pricing .compare-faq-section,
body.page-pricing .pricing-discord-strip {
  display: none !important;
}

#plans,
#faq {
  scroll-margin-top: 110px;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  .px-plans__grid {
    max-width: 980px;
    gap: 14px;
  }

  .px-plan--featured {
    transform: scale(1.01);
  }

  .px-plan--featured:hover {
    transform: scale(1.01) translateY(-3px);
  }

  body.page-pricing .px-plan--featured.reveal.is-in,
  body.page-pricing .px-plan--featured.reveal.in-view {
    transform: scale(1.01);
  }

  body.page-pricing .px-plan--featured.reveal.is-in:hover,
  body.page-pricing .px-plan--featured.reveal.in-view:hover {
    transform: scale(1.01) translateY(-3px);
  }

  .px-why__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .px-wrap,
  .px-wrap--narrow {
    width: min(var(--px-max), calc(100% - 36px));
  }

  .px-plans__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 16px;
    padding: 32px 0 12px;
  }

  .px-plan,
  .px-plan--lifetime {
    padding: 28px 22px 24px;
  }

  .px-plan--featured {
    padding: 36px 22px 32px;
    transform: none;
  }

  .px-plan--featured:hover {
    transform: translateY(-3px);
  }

  body.page-pricing .px-plan--featured.reveal.is-in,
  body.page-pricing .px-plan--featured.reveal.in-view {
    transform: none;
  }

  body.page-pricing .px-plan--featured.reveal.is-in:hover,
  body.page-pricing .px-plan--featured.reveal.in-view:hover {
    transform: translateY(-3px);
  }

  .px-plan__amount,
  .px-plan--featured .px-plan__amount {
    font-size: 1.95rem;
  }
}

@media (max-width: 720px) {
  .px-hero {
    padding: 72px 0 40px;
  }

  .px-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .px-plans__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    gap: 22px;
  }

  .px-plan--featured {
    transform: none;
  }

  .px-plan--featured:hover {
    transform: translateY(-3px);
  }

  body.page-pricing .px-plan--featured.reveal.is-in,
  body.page-pricing .px-plan--featured.reveal.in-view {
    transform: none;
  }

  body.page-pricing .px-plan--featured.reveal.is-in:hover,
  body.page-pricing .px-plan--featured.reveal.in-view:hover {
    transform: translateY(-3px);
  }

  .px-plan {
    padding: 32px 24px 28px;
  }

  .px-trust {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .px-discord {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .px-discord__btn {
    width: 100%;
    justify-content: center;
  }

  .px-why__grid {
    grid-template-columns: 1fr;
  }

  .px-faq__body {
    padding-left: 22px;
  }

  .px-faq__item summary {
    padding: 18px;
  }

  body.page-pricing .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .px-wrap,
  .px-wrap--narrow {
    width: calc(100% - 28px);
  }

  body.page-pricing .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .px-plan {
    padding: 28px 20px 24px;
  }

  .px-plan__features li {
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    font-size: 0.92rem;
    padding: 10px 0;
  }

  .px-plan__amount,
  .px-plan--featured .px-plan__amount {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-glow,
  .px-plan__aura,
  .px-status__dot,
  body.page-pricing .reveal,
  body.page-pricing.js-reveal .reveal:not(.is-in):not(.in-view) {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .px-plan,
  .px-why-card,
  .px-faq__item,
  .px-plan__cta,
  .px-discord,
  .px-discord__btn {
    transition: none !important;
  }

  .px-canvas {
    display: none;
  }
}
