/* ==========================================================================
   NotFit V2 — Pricing section
   All rules scoped to .nfx-pricing-  •  uses global .nfx-page tokens
   ========================================================================== */

.nfx-pricing {
  position: relative;
  /* tighter top gap from the No-Equipment section above */
  padding-block: clamp(1.25rem, 0.8rem + 1.6vw, 3rem) clamp(4rem, 3rem + 5vw, 7rem);
  color: var(--nfx-text);
}

/* ---- header ------------------------------------------------------------ */
.nfx-pricing-head {
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
}

.nfx-pricing-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 0.96;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.125rem);
  color: var(--nfx-text);
}

.nfx-pricing-title .nfx-pricing-not {
  color: var(--nfx-red);
  text-decoration: line-through;
  text-transform: lowercase;
}

.nfx-pricing-title .nfx-pricing-fit {
  text-transform: lowercase;
}

.nfx-pricing-sub {
  margin: 1rem auto 0;
  max-width: 700px;
  font-size: 1.125rem;
  line-height: 1.62;
  color: var(--nfx-muted);
}

/* ---- card grid --------------------------------------------------------- */
.nfx-pricing-grid {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ---- card -------------------------------------------------------------- */
.nfx-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 29px;
  border-radius: 16px;
  background: #0c0b0a;
  border: 1px solid #222120;
  transition: transform var(--nfx-ease) 320ms,
    border-color var(--nfx-ease) 320ms,
    box-shadow var(--nfx-ease) 320ms;
  will-change: transform;
}

.nfx-pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--nfx-line-2);
}

/* featured (Yearly) */
.nfx-pricing-card--featured {
  background: #161514;
  border-color: var(--nfx-gold);
  box-shadow: 0 0 0 1px rgba(209, 187, 154, 0.35),
    0 24px 60px -28px rgba(209, 187, 154, 0.45);
}

.nfx-pricing-card--featured:hover {
  border-color: var(--nfx-gold-bright);
  box-shadow: 0 0 0 1px rgba(231, 210, 173, 0.55),
    0 32px 72px -28px rgba(209, 187, 154, 0.55);
}

/* ---- badge ------------------------------------------------------------- */
.nfx-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 14px;
  border-radius: 9999px;
  background: var(--nfx-gold);
  color: #0b0905;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- card head --------------------------------------------------------- */
.nfx-pricing-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--nfx-text);
}

.nfx-pricing-priceline {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}

.nfx-pricing-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--nfx-text);
}

.nfx-pricing-period {
  font-size: 16px;
  color: #8f8e8c;
}

.nfx-pricing-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--nfx-muted);
}

.nfx-pricing-note--save {
  margin-top: 4px;
  color: var(--nfx-gold);
  font-weight: 600;
}

/* ---- feature list ------------------------------------------------------ */
.nfx-pricing-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.nfx-pricing-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.43;
  color: var(--nfx-muted);
}

.nfx-pricing-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 9999px;
  background: rgba(209, 187, 154, 0.15);
  border: 1px solid rgba(226, 211, 188, 0.4);
  color: var(--nfx-gold-bright);
  font-size: 11px;
  line-height: 1;
}

/* ---- footer area (CTA) ------------------------------------------------- */
.nfx-pricing-foot {
  margin-top: 28px;
}

.nfx-pricing-foot--free {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.nfx-pricing-startlabel {
  font-size: 14px;
  font-weight: 600;
  color: var(--nfx-text);
}

.nfx-pricing-stores {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.nfx-pricing-storebadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-inline: 12px;
  border-radius: 8px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--nfx-text);
  text-decoration: none;
  transition: border-color var(--nfx-ease) 240ms,
    background var(--nfx-ease) 240ms;
}

.nfx-pricing-storebadge:hover {
  border-color: var(--nfx-line-2);
  background: #0c0c0c;
}

.nfx-pricing-storebadge svg {
  flex-shrink: 0;
  display: block;
}

.nfx-pricing-storetext {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.nfx-pricing-storetext small {
  font-size: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nfx-muted);
}

.nfx-pricing-storetext strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nfx-pricing-webbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 211, 188, 0.32);
  background: rgba(209, 187, 154, 0.08);
  color: var(--nfx-text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color var(--nfx-ease) 220ms, background var(--nfx-ease) 220ms;
}
.nfx-pricing-webbadge:hover {
  border-color: var(--nfx-gold);
  background: rgba(209, 187, 154, 0.14);
}
.nfx-pricing-webbadge i { color: var(--nfx-gold); font-size: 16px; }
.nfx-pricing-webbadge strong { color: var(--nfx-gold-bright); font-weight: 600; }

.nfx-pricing-finehint {
  font-size: 12px;
  color: #8f8e8c;
}

/* ---- CTA buttons ------------------------------------------------------- */
.nfx-pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding-inline: 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--nfx-ease) 240ms,
    filter var(--nfx-ease) 240ms,
    background var(--nfx-ease) 240ms;
  will-change: transform;
}

.nfx-pricing-cta--dark {
  background: #131311;
  color: var(--nfx-text);
  box-shadow: inset 0 -1px 0 0 #212121;
}

.nfx-pricing-cta--dark:hover {
  background: #1b1b18;
  transform: translateY(-2px);
}

.nfx-pricing-cta--gold {
  background: var(--nfx-gold-grad);
  color: var(--nfx-gold-ink);
  box-shadow:
    0 16px 38px -16px var(--nfx-gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nfx-pricing-cta--gold:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 24px 52px -18px var(--nfx-gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .nfx-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .nfx-pricing-card--featured {
    order: -1;
  }
}

@media (max-width: 860px) {
  .nfx-pricing-sub {
    font-size: 1rem;
  }
  .nfx-pricing-stores {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nfx-pricing-card,
  .nfx-pricing-cta,
  .nfx-pricing-storebadge {
    transition: none;
  }
  .nfx-pricing-card:hover,
  .nfx-pricing-cta:hover {
    transform: none;
  }
}
