/* ── Pricing page — extends roi.css variables ─────────────── */

/* Nav links row */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logged-in banner */
.logged-in-banner {
  display: inline-block;
  margin-top: 16px;
  background: rgba(74,144,217,0.08);
  border: 1px solid rgba(74,144,217,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.logged-in-banner strong { color: var(--text); }
.text-link { color: var(--teal); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ── Pricing grid ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1100px;
}
@media (max-width: 900px) {
  .pricing-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; }
}

/* ── Pricing card ─────────────────────────────────────────── */
.pricing-card {
  background: #0d1829;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pricing-card:hover {
  box-shadow:
    0 4px 20px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.pricing-card-featured {
  background: #0d1c3a;
  border-color: rgba(34,187,221,0.22);
  box-shadow:
    0 0 0 1px rgba(34,187,221,0.10),
    0 2px 16px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #22bbdd 0%, #1a93d5 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card-featured .pricing-price { color: #ffffff; }
.pricing-per {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 16px 0 24px;
  min-height: 52px;
}

/* ── Features list ───────────────────────────────────────── */
.pricing-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-feature {
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card-featured .pricing-feature { color: #fff; }

/* ── Credit selector ─────────────────────────────────────── */
.credit-selector {
  margin-bottom: 24px;
}
.credit-selector-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.credit-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credit-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.credit-opt:hover {
  border-color: rgba(34,187,221,0.40);
}
.credit-opt.active {
  border-color: var(--teal);
  background: rgba(34,187,221,0.08);
}
.credit-qty {
  font-size: 0.875rem;
  color: var(--text);
}
.credit-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
}

/* ── Checkout buttons ────────────────────────────────────── */
.pricing-action { margin-top: auto; }
.pricing-action-featured { text-align: center; }

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s, transform 0.1s;
}
.pricing-btn:active { transform: scale(0.99); }
.pricing-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.pricing-btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.pricing-btn-outline:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}

.pricing-btn-gold {
  background: linear-gradient(180deg, #22bbdd 0%, #1a93d5 60%, #1165b2 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 6px 18px rgba(26,147,213,0.38);
}
.pricing-btn-gold:hover:not(:disabled) {
  background: linear-gradient(180deg, #2ddcce 0%, #22bbdd 50%, #1a93d5 100%);
  color: #fff;
}

.pricing-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  padding: 11px 14px;
}
.pricing-btn-ghost:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

.pricing-signin-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
}
.pricing-signin-note a {
  color: var(--teal);
  text-decoration: none;
}
.pricing-signin-note a:hover { text-decoration: underline; }

.pricing-guarantee {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Checkout error ──────────────────────────────────────── */
.checkout-error {
  max-width: 900px;
  margin: 16px auto 0;
  background: rgba(248,113,113,0.07);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--red);
  font-size: 0.875rem;
  text-align: center;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
}
.faq-q {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.faq-a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-a a { color: var(--teal); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ── Payment trust strip ─────────────────────────────────────── */
.payment-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(13,24,41,0.60);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(232,244,248,0.50);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.trust-item svg { flex-shrink: 0; opacity: 0.55; }
.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}
.card-logos {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(232,244,248,0.45);
}
.card-logo.visa   { color: #1a73e8; border-color: rgba(26,115,232,0.25); }
.card-logo.mc     { color: #eb001b; border-color: rgba(235,0,27,0.20); }
.card-logo.amex   { color: #2e77bc; border-color: rgba(46,119,188,0.25); }
