/* =========================================================================
   PRICING.CSS — styles specific to pricing.html.
   Loaded alongside global.css / components.css / landing.css, which already
   provide the shared nav (.lnav*), section scaffolding (.lp-section,
   .lp-container, .section-*), buttons (.btn*), CTA (.cta-*) and footer
   (.lp-footer*) used on this page too.
   ========================================================================= */

/* ── Hero ── */
.pricing-hero {
  padding: 8.5rem 1.5rem 2rem;
  text-align: center;
}

.pricing-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.875rem;
}

.pricing-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Controls row: currency + billing toggles, recruiter stepper ── */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto 0;
}

.pswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  box-shadow: var(--shadow-xs);
}

.pswitch-btn {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}

.pswitch-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.pswitch-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-full);
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.6875rem;
  font-weight: 800;
}
.pswitch-btn.active .pswitch-badge { background: rgba(255,255,255,0.25); color: #fff; }

.pstepper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.5rem 0.375rem 1rem;
  box-shadow: var(--shadow-xs);
}

.pstepper-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pstepper-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pstepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}
.pstepper-btn:hover:not(:disabled) { background: var(--primary-light); color: var(--primary); }
.pstepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.pstepper-count {
  min-width: 2ch;
  text-align: center;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--text);
}

/* ── Price card ── */
.pricing-card-wrap {
  max-width: 460px;
  margin: 2.75rem auto 0;
  padding: 0 1.5rem;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4F46E5, #7C3AED);
}

.pricing-discount-flag {
  display: none;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}
.pricing-discount-flag.visible { display: inline-flex; }

.pricing-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

.pricing-price-strike {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 0.4rem;
}

.pricing-price {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-price-unit {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.pricing-price-note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pricing-total {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text);
}
.pricing-total strong { color: var(--primary); font-size: 1rem; }

.pricing-card .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }

.pricing-features {
  text-align: left;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6875rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text);
}

.pricing-feature svg { flex-shrink: 0; color: var(--success); margin-top: 0.1rem; }

/* ── Bulk pricing callout ── */
.pricing-bulk-note {
  max-width: 460px;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.pricing-faq {
  max-width: 720px;
  margin: 0 auto;
}

.pfaq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.pfaq-item:first-child { padding-top: 0; }

.pfaq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pfaq-item summary::-webkit-details-marker { display: none; }

.pfaq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease);
}
.pfaq-item[open] .pfaq-icon { transform: rotate(45deg); color: var(--primary); }

.pfaq-answer {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .pricing-hero { padding-top: 7rem; }
  .pricing-controls { flex-direction: column; align-items: stretch; }
  .pswitch, .pstepper { justify-content: center; }
  .pricing-price { font-size: 2.5rem; }
}
