/* ==========================================================================
   Pricing page — plan cards, comparison table, FAQ blocks.

   Content comes from the AdGrantExperts pricing page; every visual value
   here is drawn from the Recovery Search & Social system in site.css.
   Load AFTER site.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero
   -------------------------------------------------------------------------- */
.pricing-hero {
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.pricing-hero .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 760px;
}
.pricing-hero h1 {
  font-size: 50px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
}
.pricing-hero__lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  max-width: none;
  text-wrap: pretty;
}
.pricing-hero__kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Plan cards
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* The recommended tier */
.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 20px 25px -5px rgba(215, 217, 246, 0.06),
              0 8px 10px -6px rgba(215, 217, 246, 0.06);
}

.plan__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan__name { font-size: 21px; font-weight: 700; margin: 0; }

.plan__cost { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-size: 42px; font-weight: 900; line-height: 1; }
.plan--featured .plan__amount { color: var(--accent); }
.plan__period { font-size: 15px; font-weight: 500; color: var(--text-muted); }

.plan__pitch { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.plan__setup {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0;
}
.plan__setup strong { color: var(--text-soft); }

.plan__cta { border-radius: var(--radius-card); padding: 14px; font-size: 15px; font-weight: 800; }

.plan__groups { display: flex; flex-direction: column; gap: 16px; }

.plan__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.plan__group { display: flex; flex-direction: column; gap: 6px; }
.plan__group-name { font-size: 13px; font-weight: 800; color: var(--text); }

.plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
}
.plan__list li { display: flex; gap: 8px; }
.plan__list li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 800;
  flex: none;
}

.plan__fit {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Custom bundle callout
   -------------------------------------------------------------------------- */
.custom-bundle {
  margin-top: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.custom-bundle__copy { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.custom-bundle h2 { font-size: 24px; font-weight: 700; margin: 0; }
.custom-bundle p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare {
  width: 100%;
  min-width: 640px;
  text-align: left;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare tbody th {
  font-weight: 600;
  color: var(--text);
}
.compare td { color: var(--text-soft); font-weight: 700; }
.compare .is-yes  { color: var(--accent); }
.compare .is-no   { color: var(--text-muted); font-weight: 400; }
.compare .is-pick { background: rgba(215, 217, 246, 0.06); }
.compare thead .is-pick { color: var(--accent); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   "Before You Ask" blocks
   -------------------------------------------------------------------------- */
.qa-list { display: flex; flex-direction: column; gap: 20px; }
.qa {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qa h3 { font-size: 17px; font-weight: 700; margin: 0; }
.qa p  { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing-hero h1 { font-size: 40px; }
}

@media (max-width: 720px) {
  .pricing-hero h1 { font-size: 32px; }
  .pricing-hero__lede { font-size: 17px; }
  .plan { padding: 28px 22px; }
  .plan__amount { font-size: 36px; }
  .custom-bundle { padding: 28px 22px; }
  .custom-bundle h2 { font-size: 20px; }
  .qa { padding: 22px; }
}
