/* ================================================
   pages-pricing.css
   Pricing page — mobile-first, isolated
================================================ */

/* Trust bar */
.pricing-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.75rem 0 1.5rem;
}

.pricing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pricing-trust-item svg {
  flex-shrink: 0;
  color: var(--color-blue);
}

/* Category sections */
.pricing-section {
  margin-bottom: 2.5rem;
}

.pricing-section-label {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-blue);
  display: inline-block;
}

/* Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 340px;
}

.pricing-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-soft);
  text-align: right;
  white-space: nowrap;
}

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

.pricing-table tbody tr {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.12s ease;
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--surface-muted);
}

.pricing-table td {
  padding: 0.65rem 0.75rem;
  text-align: right;
  color: var(--text-primary);
}

.pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.pricing-table td:first-child a {
  color: var(--text-primary);
  text-decoration: none;
}

.pricing-table td:first-child a:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

.pricing-unavail {
  color: var(--text-muted);
  opacity: 0.45;
  font-size: 0.8rem;
}

/* Packages note */
.pricing-packages {
  background: var(--surface-muted);
  border-radius: var(--radius-soft);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.pricing-packages p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.pricing-packages strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Payment info box */
.pricing-payment-box {
  border-left: 3px solid var(--color-blue);
  background: var(--surface-muted);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.pricing-payment-box p {
  margin: 0;
  font-size: 0.9375rem;
}

.pricing-payment-box p + p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pricing-payment-box p:last-child {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-primary);
}

/* FAQ */
.pricing-faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.pricing-faq-item:last-child {
  border-bottom: none;
}

.pricing-faq-q {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pricing-faq-a {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Category descriptor */
.pricing-section-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Packages: featured section */
.pricing-section--packages {
  border-left: 3px solid #c09010;
  background: var(--surface-muted);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  padding: 1rem 1.5rem 1.25rem;
}

.pricing-section--packages .pricing-section-label {
  border-bottom-color: #c09010;
}

/* Inline label badge */
.pricing-section-badge {
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  border-radius: 3px;
  padding: 0.15em 0.45em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* Add-ons: visually secondary */
.pricing-section--addons .pricing-section-label {
  color: var(--text-muted);
  border-bottom-style: dashed;
}

/* CTA */
.pricing-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 576px) {
  .pricing-cta-row {
    flex-direction: row;
    align-items: center;
  }
}

/* Layout cap */
.pricing-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* Main top offset for fixed navbar */
.pricing-main {
  padding-top: 80px;
}

@media (max-width: 991.98px) {
  .pricing-main {
    padding-top: 60px;
  }
}

/* Dark mode overrides */
html.theme-dark .pricing-table tbody tr:hover {
  background: var(--surface-card);
}
