/* HADAFIN pricing — Zameen-style module comparison (additive UI) */
:root {
  --pz-green: #2E9B3A;
  --pz-green-dark: #248a3d;
  --pz-green-soft: #e8f7ee;
  --pz-ink: #1a1f2c;
  --pz-muted: #6b7280;
  --pz-line: #e5e7eb;
  --pz-bg: #f7faf8;
  --pz-cream: #f7f3ea;
  --pz-orange-soft: #fff4e8;
  --pz-blue-soft: #eef5fb;
}

body.pricing-page {
  background: var(--pz-bg) !important;
}

.pricing-page-wrap {
  color: var(--pz-ink);
}

/* —— Hero —— */
.pz-hero {
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(51, 168, 82, 0.12), transparent 55%),
    linear-gradient(180deg, #eef8f1 0%, var(--pz-bg) 100%);
  border-bottom: 1px solid rgba(51, 168, 82, 0.15);
  padding: 1.75rem 0 1.5rem;
  margin-bottom: 1.25rem;
}

.pz-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.pz-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pz-green-dark);
}

.pz-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--pz-ink);
}

.pz-hero__sub {
  margin: 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--pz-muted);
}

.pz-hero__benefits {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.pz-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.pz-hero__benefit-icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pz-green-soft);
  color: var(--pz-green-dark);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pz-hero__cta {
  flex-shrink: 0;
  padding-top: 0.35rem;
}

.pz-hero__current {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--pz-muted);
}

.pz-hero__current strong {
  color: var(--pz-ink);
}

/* —— Buttons —— */
.pz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.5rem 1.15rem;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pz-btn--primary {
  background: var(--pz-green);
  color: #fff;
}

.pz-btn--primary:hover {
  background: var(--pz-green-dark);
  color: #fff;
}

.pz-btn--ghost {
  background: #fff;
  color: var(--pz-ink);
  border: 1px solid var(--pz-line);
}

.pz-btn--ghost:hover {
  background: #f8fafc;
}

/* —— Module tabs —— */
.pz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.2rem;
}

.pz-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid var(--pz-line);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pz-tab:hover {
  border-color: #a7f3d0;
  color: var(--pz-green-dark);
}

.pz-tab.is-active {
  background: var(--pz-green);
  border-color: var(--pz-green);
  color: #fff;
}

/* —— Panel head —— */
.pz-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.pz-panel__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pz-ink);
}

.pz-panel__muted {
  font-weight: 600;
  color: var(--pz-muted);
  font-size: 0.95rem;
}

.pz-panel__audience {
  margin: 0.35rem 0 0;
  max-width: 40rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--pz-muted);
}

.pz-bundle-note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pz-green-dark);
  background: var(--pz-green-soft);
  border: 1px solid rgba(51, 168, 82, 0.25);
  border-radius: 0.45rem;
  padding: 0.45rem 0.7rem;
}

/* —— Comparison table —— */
.pz-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem 0.75rem;
  padding: 0 0.25rem;
}

.pz-grid {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--pz-line);
  border-radius: 0.85rem;
  overflow: hidden;
}

.pz-grid th,
.pz-grid td {
  padding: 0.85rem 0.65rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.86rem;
  color: #334155;
}

.pz-grid__products,
.pz-grid tbody th {
  text-align: start;
  font-weight: 600;
  color: #64748b;
  background: #fafbfc;
  width: 11.5rem;
  min-width: 10rem;
  padding-inline: 1rem;
}

.pz-grid thead th.pz-grid__products {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  vertical-align: bottom;
  padding-bottom: 1rem;
}

.pz-grid__tier {
  min-width: 7.5rem;
  background: #fff;
  border-inline-start: 1px solid #f1f5f9;
}

.pz-grid__tier--normal { background: var(--pz-cream); }
.pz-grid__tier--silver { background: #f8fafc; }
.pz-grid__tier--golden { background: var(--pz-orange-soft); }
.pz-grid__tier--pro { background: var(--pz-blue-soft); }
.pz-grid__tier--platinum { background: #f3f0ff; }

.pz-grid__tier.is-popular {
  box-shadow: inset 0 0 0 2px var(--pz-green);
}

.pz-grid__tier.is-current {
  box-shadow: inset 0 0 0 2px #0f172a;
}

.pz-grid__tier-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.15rem 0.15rem;
}

.pz-grid__tier-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pz-ink);
}

.pz-grid__tier-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pz-ink);
  line-height: 1.2;
  white-space: nowrap;
}

.pz-grid__tier-billing {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pz-muted);
}

.pz-pill {
  display: inline-flex;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pz-pill--popular {
  background: var(--pz-green);
  color: #fff;
}

.pz-pill--start {
  background: #0f172a;
  color: #fff;
}

.pz-pill--current {
  background: #e2e8f0;
  color: #334155;
}

.pz-grid tbody tr:nth-child(even) th {
  background: rgba(248, 250, 252, 0.9);
}

/* Soft column tints aligned with tier headers */
.pz-grid tbody td:nth-child(2) { background: rgba(247, 243, 234, 0.45); }
.pz-grid tbody td:nth-child(3) { background: rgba(248, 250, 252, 0.55); }
.pz-grid tbody td:nth-child(4) { background: rgba(255, 244, 232, 0.55); }
.pz-grid tbody td:nth-child(5) { background: rgba(238, 245, 251, 0.55); }
.pz-grid tbody td:nth-child(6) { background: rgba(243, 240, 255, 0.45); }

.pz-grid tbody td.is-yes {
  color: var(--pz-green-dark);
  font-weight: 800;
  font-size: 1rem;
}

.pz-grid tbody td.is-dash {
  color: #cbd5e1;
  font-weight: 600;
}

.pz-grid__cta-row th,
.pz-grid__cta-row td {
  border-bottom: none;
  background: #fff !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pz-grid__cta-row .pz-btn {
  width: 100%;
  max-width: 8.5rem;
}

.pz-table-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  font-size: 0.75rem;
  color: var(--pz-muted);
  line-height: 1.45;
}

.pz-table-note__i {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px;
  background: var(--pz-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

/* —— Why choose —— */
.pz-why {
  margin: 0.5rem 0 1.75rem;
  max-width: 48rem;
}

.pz-why__title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pz-ink);
}

.pz-why__body {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
}

.pz-why__bullets {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

.pz-why__bullets li + li {
  margin-top: 0.35rem;
}

/* —— Footer cards —— */
.pz-footer-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .pz-footer-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.pz-footer-card {
  display: block;
  padding: 1.15rem 1.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563a8 100%);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pz-footer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.25);
  color: #fff;
}

.pz-footer-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.pz-footer-card p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.pz-footer-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #bbf7d0;
}

.pz-footlinks {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pz-muted);
}

.pz-footlinks a {
  color: var(--pz-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.pz-footlinks a:hover {
  text-decoration: underline;
}

.pz-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--pz-muted);
}

@media (max-width: 640px) {
  .pz-hero {
    padding-top: 1.25rem;
  }

  .pz-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .pz-tab {
    white-space: nowrap;
  }
}
