/* Career Badger — public pricing page (/pricing/)
 * Content-only styles. Page chrome (.shell, .nav, .wordmark, burger,
 * menu drawer, footer) comes from the shared live CSS bundle:
 * tokens.css + wordmark.css + menu.css + footer.css + article.css.
 *
 * Pricing source of truth: project_upgrade_modal_locked memory.
 * Plus = $5/mo display ($4.99 charge), $25/yr display ($24.99 charge), USD.
 * Mid-dot · for separators (no em-dashes).
 */

/* Content column — keeps sections off the screen edge and centred. */
.pricing-main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ── Hero ───────────────────────────────────────────────── */
.pricing-hero {
  text-align: left;
  padding: var(--sp-7) 0 var(--sp-5);
}

.pricing-hero__title {
  margin: 0 0 var(--sp-3) 0;
  max-width: 760px;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-hero__sub {
  margin: 0;
  max-width: 600px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.74);
}

/* ── Plans ──────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
}

/* Keep the three cards' CTAs on the same baseline by giving the
 * variable-length copy a consistent footprint. */
.plans .plan__period { min-height: 2.8em; }
.plans .plan__pitch { min-height: 4.4em; }

/* Helper line under the three cards explaining the start-free journey */
.plans-note {
  max-width: 880px;
  margin: var(--sp-5) auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.plan {
  position: relative;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.plan--plus {
  border-color: var(--magenta);
  background: linear-gradient(180deg, rgba(233, 30, 140, 0.08) 0%, rgba(233, 30, 140, 0.02) 60%, var(--surface-raised) 100%);
  box-shadow: 0 0 0 1px rgba(233, 30, 140, 0.25), 0 24px 48px -24px rgba(233, 30, 140, 0.3);
}

.plan__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--magenta);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__head {
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border-subtle);
}

.plan__label {
  margin: 0 0 var(--sp-4) 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}

.plan__price {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}

.plan__currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.plan__amount {
  font-size: 72px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__unit {
  font-size: 18px;
  font-weight: 500;
  color: rgba(245, 245, 245, 0.65);
  margin-top: 14px;
  margin-left: 4px;
}

.plan__period {
  margin: var(--sp-3) 0 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.plan__pitch {
  margin: var(--sp-4) 0 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.78);
}

.plan__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-5);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
  margin-bottom: var(--sp-5);
}

.plan__cta--primary {
  background: var(--magenta);
  color: #fff;
  border: 1px solid var(--magenta);
}

.plan__cta--primary:hover { background: #d2197d; border-color: #d2197d; }
.plan__cta--primary:active { transform: translateY(1px); }

.plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.plan__features li {
  position: relative;
  padding: var(--sp-2) 0 var(--sp-2) 28px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.88);
}

.plan__features li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
  transform: rotate(45deg);
}

/* ── FAQs ───────────────────────────────────────────────── */
.faqs {
  padding: var(--sp-9) 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--sp-9);
}

.faqs__inner { max-width: 720px; margin: 0 auto; }

.faqs__heading {
  margin: 0 0 var(--sp-6) 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.faqs__list { list-style: none; margin: 0; padding: 0; }

.faq { border-bottom: 1px solid var(--border-subtle); }
.faq details { padding: 0; }

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-2);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 120ms ease;
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--magenta); }

.faq__chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq details[open] .faq__chevron { transform: rotate(-135deg); }

.faq__a { padding: 0 var(--sp-2) var(--sp-5); }
.faq__a p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(245, 245, 245, 0.72); }
.faq__a a { color: var(--magenta); text-decoration: none; }
.faq__a a:hover { text-decoration: underline; }

/* ── Bottom CTA ─────────────────────────────────────────── */
.bottom-cta {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  margin: 0 auto;
  max-width: 720px;
}

.bottom-cta__title {
  margin: 0 0 var(--sp-3) 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.bottom-cta__body {
  margin: 0 auto var(--sp-5);
  max-width: 480px;
  font-size: 17px;
  color: rgba(245, 245, 245, 0.72);
}

.bottom-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 var(--sp-6);
  background: var(--magenta);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, transform 80ms ease;
}

.bottom-cta__btn:hover { background: #d2197d; }
.bottom-cta__btn:active { transform: translateY(1px); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 720px) {
  .pricing-main { padding: 0 var(--sp-4); }

  .pricing-hero { padding: var(--sp-7) 0 var(--sp-5); }
  .pricing-hero__title { font-size: 36px; }

  .plans { gap: var(--sp-4); }
  .plan { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
  .plan__amount { font-size: 60px; }
  .plan__currency { font-size: 24px; margin-top: 10px; }

  .faqs { padding: var(--sp-7) 0; }
  .faqs__heading { font-size: 24px; }
  .faq__q { font-size: 16px; padding: var(--sp-4) var(--sp-2); }

  .bottom-cta { padding: var(--sp-7) var(--sp-4); }
}
