/* ============================================================
   GovPaid — Pricing Page Styles
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.pricing-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a4a 100%);
  color: var(--white);
  padding: 7rem 0 4rem;
  text-align: center;
}

.pricing-hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pricing-hero-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white) !important;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.pricing-hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ── Billing Toggle ────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3rem;
  padding: .55rem 1.4rem;
}

.billing-label {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s;
}

.billing-label.active {
  color: var(--white);
  font-weight: 600;
}

.billing-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .25s;
  flex-shrink: 0;
  padding: 0;
}

.billing-switch[aria-checked="true"] {
  background: var(--gold);
}

.billing-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.billing-switch[aria-checked="true"] .billing-thumb {
  transform: translateX(20px);
}

.billing-save-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border-radius: 3rem;
  padding: .2em .6em;
  vertical-align: middle;
}

/* ── Pricing Cards Section ─────────────────────────────────── */
.pricing-cards-section {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.pricing-cards-section .container {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 1.75rem;
  align-items: start;
  overflow: visible;
  padding-top: 1rem;
  width: 100%;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem 2.25rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  text-align: center;
}

.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.pricing-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-12px);
  box-shadow: 0 16px 56px rgba(10,35,66,.35);
  padding: 3rem 2.5rem 3.25rem;
  overflow: visible;
}

.pricing-card--featured:hover {
  transform: translateY(-16px);
}

/* "Most Popular" badge */
.pc-best-value {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35em 1.2em;
  border-radius: 3rem;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(37,99,235,.4);
}

.pc-tier {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.pricing-card--featured .pc-tier {
  color: rgba(255,255,255,.6);
}

.pc-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .3rem;
  margin-bottom: .5rem;
}

.pc-price {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-card--featured .pc-price {
  font-size: 3.6rem;
  color: var(--white);
}

.pc-period {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card--featured .pc-period {
  color: rgba(255,255,255,.55);
}

.pc-annual-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  min-height: 1.2em;
}

.pricing-card--featured .pc-annual-note {
  color: rgba(255,255,255,.6);
}

.pc-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-card--featured .pc-desc {
  color: rgba(255,255,255,.65);
}

.pricing-card--featured .btn--primary {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.pricing-card--featured .btn--primary:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.pc-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.pricing-card--featured .pc-divider {
  background: rgba(255,255,255,.12);
}

/* Feature list */
.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: center;
}

.pc-feature {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  text-align: left;
}

.pricing-card--featured .pc-feature {
  color: rgba(255,255,255,.78);
}

.pc-feature::before {
  content: '';
  flex-shrink: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.pc-feature--yes::before {
  content: '✓';
  color: var(--accent);
}

.pricing-card--featured .pc-feature--yes::before {
  color: var(--gold);
}

.pc-feature--no {
  opacity: .45;
}

.pc-feature--no::before {
  content: '✕';
  color: var(--text-muted);
}

.pricing-disclaimer {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

/* ── Comparison Table ──────────────────────────────────────── */
.comparison-section {
  padding: 5rem 0 6rem;
  background: var(--surface);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: var(--bg);
}

.comparison-table thead th {
  padding: 1.1rem 1.25rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th.col-featured {
  background: var(--navy);
  color: var(--gold);
}

.comparison-table tbody tr td {
  padding: .75rem 1.25rem;
  font-size: .86rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody tr td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table tbody tr.comparison-group td {
  padding: .9rem 1.25rem .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:hover td {
  background: rgba(0,0,0,.02);
}

.comparison-table tbody tr:hover td.col-featured {
  background: rgba(10,35,66,.07);
}

.comparison-table td.col-featured {
  background: rgba(10,35,66,.03);
}

/* Table cell icons */
.ct-yes {
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
}

.ct-no {
  color: var(--text-muted);
  font-size: .85rem;
  opacity: .5;
}

.ct-partial {
  color: var(--gold);
  font-weight: 500;
  font-size: .82rem;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.pricing-faq {
  padding: 5rem 0 6rem;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: .65rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Bottom CTA ────────────────────────────────────────────── */
.pricing-bottom-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a4a 100%);
  color: var(--white);
  padding: 5.5rem 0;
  text-align: center;
}

.pricing-bottom-cta h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 1rem;
}

.pricing-bottom-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2.25rem;
}

.pricing-bottom-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pricing-bottom-cta .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}

.pricing-bottom-cta .btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.pricing-bottom-note {
  font-size: .78rem !important;
  color: rgba(255,255,255,.4) !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   DARK MODE — Pricing
   ============================================================ */
[data-theme="dark"] .pricing-hero {
  background: #070710;
}
[data-theme="dark"] .pricing-hero h1 {
  color: #f1f5f9;
}
[data-theme="dark"] .pricing-hero p {
  color: #94a3b8;
}
[data-theme="dark"] .pricing-card {
  background: #161622;
  border-color: #2a2a3a;
}
[data-theme="dark"] .pricing-card--featured {
  background: #12122a;
  border-color: #2563EB;
}
[data-theme="dark"] .pc-tier {
  color: #e2e8f0;
}
[data-theme="dark"] .pc-price {
  color: #f1f5f9;
}
[data-theme="dark"] .pc-price-period {
  color: #94a3b8;
}
[data-theme="dark"] .pc-desc {
  color: #94a3b8;
}
[data-theme="dark"] .pc-feature {
  color: #cbd5e1;
}
[data-theme="dark"] .pc-feature--no {
  color: #475569;
}
[data-theme="dark"] .pricing-disclaimer {
  color: #64748b;
}
[data-theme="dark"] .pricing-toggle-wrap label {
  color: #94a3b8;
}
[data-theme="dark"] .pricing-grid p {
  color: #94a3b8;
}
[data-theme="dark"] .pc-annual-note {
  color: #4ade80;
}
