/* Pricing page — clean slate palette, hero slideshow, taller tier cards */
body.pricing-page {
  background: #f1f5f9 !important;
}

.pricing-page-wrap {
  color: #0f172a;
}

/* Hero slideshow */
.pricing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  min-height: 220px;
}

.pricing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pricing-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.pricing-hero__slide.is-active {
  opacity: 1;
}

.pricing-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.62) 50%,
    rgba(15, 23, 42, 0.78) 100%
  );
}

.pricing-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .pricing-hero { min-height: 260px; }
  .pricing-hero__content { padding: 2.5rem 2rem; }
}

.pricing-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.pricing-hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .pricing-hero__title { font-size: 2.25rem; }
}

.pricing-hero__sub {
  font-size: 0.875rem;
  color: #cbd5e1;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.55;
}

.pricing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-hero__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #34d399;
}

.pricing-hero__login {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.pricing-hero__login a {
  color: #e2e8f0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-hero__login a:hover { color: #fff; }

/* Billing toggle */
.pricing-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pricing-billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.pricing-billing-btn:hover { color: #334155; }

.pricing-billing-btn.is-active {
  background: #0f172a;
  color: #fff;
}

.pricing-save-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
}

.pricing-billing-btn.is-active .pricing-save-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Module tab row — slightly taller on pricing */
.pricing-tabs-nav.module-card-grid .module-card {
  min-height: 140px;
  max-height: none;
}

.pricing-tabs-nav .module-card--tab.is-active {
  border-color: #0f172a;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.pricing-tabs-nav .module-card--tab.is-active .module-card__btn {
  background: #0f172a;
  border-color: transparent;
  color: #fff;
}

/* Panels */
.pricing-panel { display: none; animation: pricingFade 0.25s ease; }
.pricing-panel.is-active { display: block; }

@keyframes pricingFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.pricing-section-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.pricing-section-head p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.pricing-audience {
  font-size: 0.75rem;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.65rem;
  margin-top: 0.5rem;
}

.pricing-audience strong { color: #0f172a; }

.pricing-bundle-note {
  font-size: 0.72rem;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.65rem;
}

/* Tier cards — taller */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  align-items: flex-end;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.85rem 0.85rem 0.7rem;
  min-height: 280px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.pricing-card.is-current {
  border-color: #0f172a;
  box-shadow: 0 0 0 1px #0f172a;
}

.pricing-card.is-popular {
  transform: translateY(-10px);
  border-color: #d97706;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 58%);
  box-shadow: 0 14px 36px rgba(217, 119, 6, 0.2);
  z-index: 2;
}

.pricing-card.is-popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.24);
}
.pricing-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.pricing-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.pricing-card__icon .ti {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.pricing-card--tier-golden .pricing-card__icon { color: #b45309; }
.pricing-card--tier-platinum .pricing-card__icon { color: #4338ca; }
.pricing-card--tier-pro .pricing-card__icon { color: #6d28d9; }

.pricing-card__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}

.pricing-badge {
  padding: 0.12rem 0.42rem;
  border-radius: 9999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.pricing-badge--trial { background: #0f172a; color: #fff; }
.pricing-badge--popular { background: #334155; color: #fff; }
.pricing-badge--current { background: #e2e8f0; color: #334155; }

.pricing-tier {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.pricing-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0.2rem 0 0.5rem;
}

.pricing-price small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
}

.pricing-card__features {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1 1 auto;
}

.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
}

.pricing-feat-icon {
  flex-shrink: 0;
  font-size: 0.8rem;
  line-height: 1.15rem;
  margin-top: 0.02rem;
}

.pricing-feat-icon--ok { color: #22C55E; font-size: 0.85rem; }
.pricing-feat-icon--no { color: #cbd5e1; font-size: 0.85rem; }

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  margin-top: auto;
  text-align: center;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.pricing-btn--upgrade {
  background: #0f172a;
  color: #fff;
}

.pricing-btn--upgrade:hover {
  background: #1e293b;
}

.pricing-btn--current {
  background: #f1f5f9;
  color: #64748b;
  cursor: default;
}

.pricing-btn--login {
  border: 1px solid #cbd5e1;
  color: #334155;
  background: #fff;
}

.pricing-btn--login:hover {
  background: #f8fafc;
}

.pricing-footer a {
  color: #334155;
  font-weight: 600;
}

.pricing-footer a:hover {
  color: #0f172a;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 260px;
  }
}
