/* ============================================================================
   css/pricing.css — Paywall & Recurrente (Guatemala) Pricing Hub (M528)
   ============================================================================ */

body.pricing-page-mode {
  background:
    radial-gradient(circle at 20% 10%, rgba(124, 77, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 18%, rgba(245, 158, 11, 0.14) 0%, transparent 40%),
    #0b0f19;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}

.pricing-kicker-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.pricing-kicker-pill.gt {
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(34, 211, 238, 0.45);
  color: #67e8f9;
}

.pricing-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.pricing-hero-sub {
  max-width: 740px;
  margin: 0 auto 1.35rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.pricing-currency-toggle {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  gap: 0.3rem;
}

.currency-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}
.currency-btn.active {
  background: linear-gradient(135deg, #4f46e5, #0e7490);
  color: #ffffff;
}

/* M531: Mensuel / Annuel toggle, same pill as the currency switcher */
.pricing-interval-toggle {
  margin-left: 0.5rem;
}
.interval-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}
.interval-btn.active {
  background: linear-gradient(135deg, #4f46e5, #0e7490);
  color: #ffffff;
}
.interval-save {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 0.75rem;
}
.interval-btn.active .interval-save {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
@media (max-width: 640px) {
  .pricing-interval-toggle {
    margin: 0.6rem 0 0;
  }
  /* Phones: each toggle spans the screen, its buttons share the width
     equally, and a long label ("Quetzales (GTQ Q · Recurrente)") wraps
     inside a rounded button instead of pushing the pill off-screen. */
  .pricing-currency-toggle {
    display: flex;
    max-width: 100%;
    border-radius: 18px;
  }
  .currency-btn,
  .interval-btn {
    flex: 1 1 0;
    padding: 0.55rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1.3;
    border-radius: 14px;
  }
  .pricing-trust-box {
    padding: 1.1rem 1.2rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.pricing-status-banner {
  margin: 1rem auto 0;
  max-width: 680px;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-weight: 700;
  font-size: 0.9rem;
}

.pricing-grid {
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(100, 116, 139, 0.32);
  border-radius: 22px;
  padding: 1.65rem 1.45rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.pricing-card.featured {
  background: linear-gradient(165deg, rgba(30, 27, 75, 0.96), rgba(15, 23, 42, 0.96));
  border: 2px solid #8b5cf6;
  box-shadow: 0 18px 44px rgba(139, 92, 246, 0.28);
}

.pricing-popular-ribbon {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b45309, #be185d); /* M621: AA for white text */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.pricing-card .pricing-tier-tag { margin-bottom: 0.5rem; align-self: flex-start; }

.pricing-card h2 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
  color: #ffffff;
}

.pricing-price-box {
  margin-bottom: 0.75rem;
}
.price-val {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
}
.price-period {
  font-size: 0.88rem;
  color: #94a3b8;
}
.price-save {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6ee7b7;
}

.pricing-tagline {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}


.pricing-trust-box {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 1.35rem 1.65rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-badges { display: flex; gap: 0.55rem; flex-wrap: wrap; }

.pricing-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pricing-modal-card {
  max-width: 480px;
  width: 100%;
  background: #0f172a;
  border: 1.5px solid #38bdf8;
  border-radius: 18px;
  padding: 1.6rem;
  text-align: center;
}
.pricing-modal-meta { margin: 0.9rem 0; padding: 0.75rem; border-radius: 10px; background: #1e293b; font-size: 0.86rem; color: #bae6fd; }
.pricing-modal-actions { display: flex; gap: 0.65rem; justify-content: center; margin-top: 1.1rem; }

