/**
 * Habereta — Subscription / Pricing page
 */

.habereta-pricing-page {
  background: var(--hb-bg-soft, #f8fafc);
  font-family: var(--hb-font, "Inter", "Noto Sans Ethiopic", system-ui, sans-serif);
  color: var(--hb-text, #0f172a);
}

.habereta-pricing-page .apus-breadcrumb,
.habereta-pricing-page .breadcrumb,
.habereta-pricing-page .page-title,
.habereta-pricing-page #apus-breadscrumb,
.habereta-pricing-page .entry-header,
.habereta-pricing-page .entry-content {
  display: none !important;
}

.hb-pricing-page {
  padding-bottom: 64px;
}

/* Hero */
.hb-pricing-page__hero {
  padding: 44px 0 40px;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(37, 99, 235, 0.2), transparent 58%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--hb-border, #e2e8f0);
}

.hb-pricing-page__hero-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.hb-pricing-page__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hb-pricing-page__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hb-pricing-page__lead {
  margin: 0 auto;
  max-width: 54ch;
  color: var(--hb-text-secondary, #64748b);
  font-size: 16px;
  line-height: 1.65;
}

.hb-pricing-page__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hb-pricing-page__pills li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dbeafe;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.hb-pricing-page__body {
  max-width: 1100px;
  padding-top: 36px;
}

/* Current subscription */
.hb-my-sub {
  margin: 0 0 32px;
  padding: 24px 26px;
  background: var(--hb-surface, #fff);
  border: 1px solid var(--hb-border, #e2e8f0);
  border-radius: var(--hb-radius-xl, 20px);
  box-shadow: var(--hb-shadow-sm, 0 4px 16px rgba(15, 23, 42, 0.06));
}

.hb-my-sub__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.hb-my-sub__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.hb-my-sub__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0 0 18px;
}

.hb-my-sub__facts dt {
  margin: 0;
  color: var(--hb-muted, #94a3b8);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hb-my-sub__facts dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hb-text, #0f172a);
}

.hb-my-sub__status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hb-my-sub__status.is-active {
  background: #dcfce7;
  color: #166534;
}

.hb-my-sub__status.is-expired,
.hb-my-sub__status.is-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.hb-my-sub__btn {
  display: inline-flex;
}

.hb-my-sub__hint {
  margin: 0;
  color: var(--hb-text-secondary, #64748b);
  font-size: 14px;
  line-height: 1.55;
}

/* Plan cards */
.hb-pricing-page__plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 40px;
}

.hb-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--hb-surface, #fff);
  border: 1px solid var(--hb-border, #e2e8f0);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: var(--hb-shadow-xs, 0 2px 8px rgba(15, 23, 42, 0.04));
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hb-plan:hover {
  border-color: #bfdbfe;
  box-shadow: var(--hb-shadow-sm);
}

.hb-plan--featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.14);
}

.hb-plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.hb-plan__badge.is-featured {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.hb-plan__head {
  text-align: center;
  margin-bottom: 16px;
}

.hb-plan__title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hb-plan__duration {
  margin: 0;
  color: var(--hb-muted, #64748b);
  font-size: 14px;
  font-weight: 500;
}

.hb-plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.hb-plan__currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hb-muted, #64748b);
}

.hb-plan__amount {
  font-size: clamp(2.25rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--hb-primary-dark, #1e3a8a);
}

.hb-plan--featured .hb-plan__amount {
  color: #2563eb;
}

.hb-plan__monthly {
  margin: 0 0 10px;
  text-align: center;
  color: var(--hb-muted, #94a3b8);
  font-size: 13px;
  font-weight: 600;
}

.hb-plan__savings {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
}

.hb-plan__savings--muted {
  color: var(--hb-muted, #94a3b8);
  font-weight: 600;
}

.hb-plan__includes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.hb-plan__includes svg {
  color: #16a34a;
  flex-shrink: 0;
}

.hb-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 12px;
  background: #1e293b;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.hb-plan__cta:hover {
  background: #0f172a;
  color: #fff;
}

.hb-plan__cta.is-featured {
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.hb-plan__cta.is-featured:hover {
  background: #1d4ed8;
}

/* Features grid */
.hb-pricing-page__included {
  margin-bottom: 40px;
  padding: 32px 28px;
  background: var(--hb-surface, #fff);
  border: 1px solid var(--hb-border, #e2e8f0);
  border-radius: var(--hb-radius-xl, 20px);
  box-shadow: var(--hb-shadow-xs);
}

.hb-pricing-page__included-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 24px;
}

.hb-pricing-page__included-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
}

.hb-pricing-page__included-head p {
  margin: 0;
  color: var(--hb-text-secondary, #64748b);
  font-size: 15px;
  line-height: 1.55;
}

.hb-pricing-page__feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hb-pricing-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--hb-bg-soft, #f8fafc);
  border: 1px solid #f1f5f9;
}

.hb-pricing-feature__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
}

.hb-pricing-feature--telegram .hb-pricing-feature__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.hb-pricing-feature__label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  line-height: 1.4;
}

/* How to subscribe */
.hb-pricing-page__howto {
  margin-bottom: 40px;
  padding: 32px 28px;
  background: var(--hb-surface, #fff);
  border: 1px solid var(--hb-border, #e2e8f0);
  border-radius: var(--hb-radius-xl, 20px);
}

.hb-pricing-page__howto > h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
}

.hb-pricing-page__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hb-pricing-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--hb-bg-soft, #f8fafc);
  border: 1px solid #f1f5f9;
}

.hb-pricing-step__num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
}

.hb-pricing-step h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}

.hb-pricing-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hb-text-secondary, #64748b);
}

.hb-pricing-page__support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.hb-pricing-page__support > p {
  width: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hb-text-secondary, #64748b);
}

.hb-pricing-page__support-sep {
  color: #cbd5e1;
}

.hb-pricing-page__phones a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.hb-pricing-page__phones a:hover {
  text-decoration: underline;
}

/* Bottom CTA */
.hb-pricing-page__cta-inner {
  text-align: center;
  padding: 36px 28px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: var(--hb-radius-xl, 24px);
  color: #fff;
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.22);
}

.hb-pricing-page__cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
}

.hb-pricing-page__cta-inner > p {
  margin: 0 auto 22px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.92;
}

.hb-pricing-page__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hb-pricing-page__cta-actions .hb-btn-primary {
  background: #fff;
  color: #1e3a8a;
  border-color: #fff;
}

.hb-pricing-page__cta-actions .hb-btn-primary:hover {
  background: #eff6ff;
}

.hb-pricing-page__cta-actions .hb-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hb-pricing-page__cta-actions .hb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hb-pricing-page__cta-faq {
  margin: 18px 0 0;
}

.hb-pricing-page__cta-faq a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hb-pricing-page__cta-faq a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Homepage pricing section (unchanged selectors) */
.hb-pricing-home__eyebrow {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hb-pricing-home__plans {
  margin-top: 8px;
}

.hb-pricing-home__more {
  margin: 20px 0 0;
  text-align: center;
}

.hb-plan__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  border-top: 1px solid #f1f5f9;
}

.hb-plan__features li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid #f8fafc;
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.hb-plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 800;
}

@media (min-width: 640px) {
  .hb-pricing-page__feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-my-sub__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hb-pricing-page__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hb-pricing-page__plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }

  .hb-plan--featured {
    transform: translateY(-6px);
  }

  .hb-plan--featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 480px) {
  .hb-pricing-page__included,
  .hb-pricing-page__howto {
    padding: 24px 18px;
  }

  .hb-pricing-page__cta-actions .hb-btn {
    width: 100%;
    justify-content: center;
  }

  .hb-plan {
    padding-top: 32px;
  }
}
