/* ==========================================================================
   THE HIPHOP TEMPLE — Membership5 (real, DB-backed pricing page)
   Styles templates/membership5.html. Reuses the --ht-* variables already
   defined globally by interior-pages.css (loaded on every page via
   mega24_base.html), so no new :root block is needed here.
   ========================================================================== */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  color: var(--ht-white);
}

.wrap > .eyebrow {
  margin-bottom: 12px;
}

.wrap > h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-transform: uppercase;
  max-width: 780px;
}

.lead {
  max-width: 640px;
  color: var(--ht-text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 48px;
}

/* ---- Plan grid ---- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.card {
  position: relative;
  background: var(--ht-bg-raised);
  border: 1px solid var(--ht-border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card.featured {
  border-color: var(--ht-gold-dark);
  box-shadow: 0 0 0 1px var(--ht-gold-dark) inset;
}

.card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ht-gold);
  color: #14100a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.card > .eyebrow {
  margin-bottom: 4px;
}

.card > h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card > p {
  color: var(--ht-text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 4px;
}

.price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ht-white);
  margin: 6px 0 4px;
}
.price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ht-text-dim);
}

.card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card ul li {
  font-size: 0.88rem;
  color: var(--ht-text-dim);
  padding-left: 20px;
  position: relative;
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ht-gold);
  font-weight: 800;
}

/* ---- Button ---- */

.btn {
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ht-gold);
  color: #14100a;
  border: 1px solid var(--ht-gold);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--ht-gold-dark);
  border-color: var(--ht-gold-dark);
}

.card:not(.featured) .btn {
  background: transparent;
  color: var(--ht-white);
  border: 1px solid var(--ht-border);
}
.card:not(.featured) .btn:hover,
.card:not(.featured) .btn:focus-visible {
  border-color: var(--ht-gold);
  color: var(--ht-gold);
}

@media (max-width: 600px) {
  .wrap { padding: 48px 16px 64px; }
  .grid { grid-template-columns: 1fr; }
}

/* --- Duration toggle, trust signals, FAQ (added for pricing/checkout rollout) --- */

.temple-duration-toggle {
  display: flex;
  gap: 8px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.temple-duration-btn {
  background: transparent;
  border: 1px solid var(--ht-border, #333);
  color: var(--ht-text, #fff);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.temple-duration-btn:hover {
  border-color: var(--ht-gold, #d4af37);
}

.temple-duration-btn.active {
  background: var(--ht-gold, #d4af37);
  border-color: var(--ht-gold, #d4af37);
  color: #111;
}

.temple-price-note {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 4px;
}

.temple-guarantee {
  text-align: center;
  opacity: 0.75;
  font-size: 14px;
  margin: 8px 0 56px;
}

.temple-why {
  margin: 48px 0;
}

.temple-why h2,
.temple-faq h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.temple-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.temple-why-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ht-border, #292929);
  border-radius: 14px;
  padding: 22px;
}

.temple-why-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.temple-why-item p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

.temple-faq {
  margin: 48px 0 64px;
  max-width: 800px;
}

.temple-faq-item {
  border-top: 1px solid var(--ht-border, #292929);
  padding: 18px 0;
}

.temple-faq-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.temple-faq-item p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

.success-wrap {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.temple-btn-outline {
  display: inline-block;
  margin-left: 12px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--ht-border, #333);
  color: var(--ht-text, #fff);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.temple-btn-outline:hover {
  border-color: var(--ht-gold, #d4af37);
}


.temple-trial-banner {
  margin: 18px 0 28px;
  padding: 14px 18px;
  border: 1px solid var(--ht-gold, #d4af37);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.5;
}

.temple-trial-banner strong {
  color: var(--ht-gold, #d4af37);
}

.btn-trial {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ht-gold, #d4af37);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-trial:hover,
.btn-trial:focus-visible {
  color: var(--ht-gold-dark, #b8902c);
}
