/* ── Pricing standalone page ─────────────────────────────────────── */
.pricing-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  text-align: center;
}
.pricing-page-title {
  font-size: calc(var(--fs-base) + 16px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.pricing-page-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ── Price discount row ─────────────────────────────────────────── */
.price-discount {
  height: 22px;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity var(--dur-mid);
}
.price-discount.visible {
  opacity: 1;
}
.price-old {
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 6px;
}

/* ── 3-column grid ──────────────────────────────────────────────── */
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}

/* ── Comparison table ───────────────────────────────────────────── */
.compare-heading {
  font-size: calc(var(--fs-base) + 6px);
  font-weight: 700;
  margin: 56px 0 24px;
  text-align: center;
}
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: var(--fs-md);
}
.compare-table thead th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: var(--fs-lg);
  border-bottom: 2px solid var(--border);
}
.compare-table thead th:first-child {
  text-align: left;
}
.compare-featured {
  background: var(--accent-glow);
}
.compare-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.compare-table tbody td:first-child {
  text-align: left;
  color: var(--text-dim);
  font-weight: 500;
}
.compare-group td {
  font-weight: 600;
  color: var(--text) !important;
  font-size: var(--fs-lg);
  padding-top: 20px !important;
  border-bottom: 2px solid var(--border) !important;
  text-align: left !important;
}

/* Check / cross icons */
.cmp-yes::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  font-size: var(--fs-lg);
}
.cmp-no::before {
  content: "\2014";
  color: var(--text-dim);
}

/* ── FAQ — uses .faq-section/.faq-item from landing.css ────────── */
.pricing-page .faq-section {
  margin-top: 56px;
}
.pricing-page .faq-section h2 {
  font-size: calc(var(--fs-base) + 6px);
}

/* ── Light theme ────────────────────────────────────────────────── */
.light .compare-table tbody td {
  border-color: var(--border);
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pricing-page { padding: 12px 16px 40px; }
  .pricing-page-title { font-size: calc(var(--fs-base) + 8px); }
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-2px); }
  .compare-table { font-size: var(--fs-sm); }
  .compare-table thead th,
  .compare-table tbody td { padding: 8px 10px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 12px;
  }
  .pricing-card { padding: 28px 20px; }
}
