/* =========================================================
   Zenra Pricing Page Styles
   ========================================================= */

.pricing-page {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(201, 169, 110, 0.08), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(201, 169, 110, 0.05), transparent 70%),
    var(--bg);
}

.pricing {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 130px);
}

.pricing__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.pricing__head .eyebrow {
  justify-content: center;
}
.pricing__head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.pricing__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.pricing__lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Grid & Cards ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 3.5vw, 48px);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow:
    0 0 0 1.5px rgba(255, 224, 102, 0.95),
    0 0 45px -2px rgba(255, 215, 0, 0.65),
    0 0 80px -10px rgba(201, 169, 110, 0.35),
    0 28px 70px -15px rgba(0, 0, 0, 0.9);
}

/* Featured / Most Popular */
.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(170deg, #221c15, #14100c);
  box-shadow: 0 20px 50px -15px rgba(201, 169, 110, 0.15);
}

.pricing-card--featured:hover {
  transform: translateY(-8px);
  border-color: #ffe066;
  box-shadow:
    0 0 0 1.5px rgba(255, 224, 102, 0.95),
    0 0 45px -2px rgba(255, 215, 0, 0.65),
    0 0 80px -10px rgba(201, 169, 110, 0.35),
    0 28px 70px -15px rgba(0, 0, 0, 0.9);
}

.pricing-card--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #1a140c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px -4px rgba(201, 169, 110, 0.5);
}

.pricing-card__tier {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 8px;
}

.pricing-card__tag {
  font-size: 14px;
  color: var(--muted);
  min-height: 44px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.price__currency {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
}

.price__amount {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
}

.price__amount--custom {
  font-size: 46px;
}

.price__period {
  font-size: 14px;
  color: var(--dim);
  margin-left: 4px;
}

/* Features */
.pricing-card__features {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 14px;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card__features li svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card__features strong {
  color: var(--text);
  font-weight: 500;
}

.pricing-card__btn {
  width: 100%;
  padding-block: 15px;
}

/* Note box below grid */
.pricing__footer-note {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.note-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: rgba(17, 14, 11, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 720px;
}

.note-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  flex-shrink: 0;
}

.note-box strong {
  color: var(--text);
}

.pricing__back {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}

.pricing__back:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .pricing-card__tag {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .note-box {
    border-radius: var(--radius);
    flex-direction: column;
    text-align: center;
  }
}
