/* ===========================
   Memberships Page
   =========================== */

/* Hero */
.mb-hero {
  min-height: 100vh;
  padding: 240px 5% 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.mb-hero__inner {
  max-width: 700px;
  margin: 0 auto;
}
.mb-hero__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #5A5A5A);
  margin-bottom: 1.25rem;
}
.mb-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary, #D4D4D4);
  margin: 0 0 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.mb-hero__sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary, #8A8A8A);
  margin: 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Plans Section */
.mb-plans {
  padding: 4rem 2rem 6rem;
}
.mb-section-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.mb-section-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #5A5A5A);
  margin: 0 0 1.5rem;
}

/* Toggle */
.mb-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 3rem;
  border: 1px solid rgba(212, 212, 212, 0.12);
  border-radius: 0;
  width: fit-content;
}
.mb-toggle__btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #5A5A5A);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.mb-toggle__btn--active {
  color: var(--text-primary, #D4D4D4);
  background: rgba(212, 212, 212, 0.06);
}
.mb-toggle__btn:hover:not(.mb-toggle__btn--active) {
  color: var(--text-secondary, #8A8A8A);
}

/* Plan Cards Grid */
.mb-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(212, 212, 212, 0.08);
}
.mb-plan {
  padding: 2.5rem 2rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(212, 212, 212, 0.08);
  transition: background 0.2s ease;
}
.mb-plan:last-child {
  border-right: none;
}
.mb-plan:hover {
  background: rgba(212, 212, 212, 0.02);
}

/* Plan Header */
.mb-plan__name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #5A5A5A);
  margin: 0 0 0.75rem;
}
.mb-plan__price {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.mb-plan__amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary, #D4D4D4);
  letter-spacing: -0.02em;
}
.mb-plan__per {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted, #5A5A5A);
}
.mb-plan__frequency {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary, #8A8A8A);
  margin: 0 0 0.25rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mb-plan__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted, #5A5A5A);
  margin: 0 0 1.5rem;
}

/* Feature List */
.mb-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.mb-plan__features li {
  font-size: 0.88rem;
  color: var(--text-secondary, #8A8A8A);
  line-height: 1.5;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 212, 212, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.mb-plan__features li:last-child {
  border-bottom: none;
}
.mb-plan__check {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--text-muted, #5A5A5A);
  margin-top: 3px;
}

/* Plan CTA */
.mb-plan__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary, #D4D4D4);
  border: 1px solid rgba(212, 212, 212, 0.12);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}
.mb-plan__cta:hover {
  background: rgba(212, 212, 212, 0.04);
  border-color: rgba(212, 212, 212, 0.2);
}

/* Note */
.mb-note {
  max-width: 1000px;
  margin: 3rem auto 0;
  text-align: center;
}
.mb-note p {
  font-size: 0.85rem;
  color: var(--text-muted, #5A5A5A);
  line-height: 1.6;
  margin: 0;
}
.mb-note a {
  color: var(--text-secondary, #8A8A8A);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mb-note a:hover {
  color: var(--text-primary, #D4D4D4);
}

/* Includes Section */
.mb-includes {
  padding: 96px 2rem;
  border-top: 1px solid rgba(212, 212, 212, 0.06);
}
.mb-includes__title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #5A5A5A);
  margin: 0 0 1rem;
}
.mb-includes__desc {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary, #8A8A8A);
  max-width: 520px;
  margin: 0 auto 3rem;
}
.mb-includes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(212, 212, 212, 0.08);
}
.mb-includes__card {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(212, 212, 212, 0.08);
  border-bottom: 1px solid rgba(212, 212, 212, 0.08);
  transition: background 0.2s ease;
}
.mb-includes__card:nth-child(3n) {
  border-right: none;
}
.mb-includes__card:nth-last-child(-n+3) {
  border-bottom: none;
}
.mb-includes__card:hover {
  background: rgba(212, 212, 212, 0.02);
}
.mb-includes__card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #D4D4D4);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mb-includes__card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-secondary, #8A8A8A);
  margin: 0;
}

/* Bottom CTA */
.mb-bottom-cta {
  padding: 96px 2rem;
  text-align: center;
  border-top: 1px solid rgba(212, 212, 212, 0.06);
}
.mb-bottom-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary, #D4D4D4);
  margin: 0 0 0.75rem;
}
.mb-bottom-cta__desc {
  font-size: 0.9rem;
  color: var(--text-secondary, #8A8A8A);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* --- Guarantee --- */
.mb-guarantee {
  padding: 96px 5%;
  background: var(--bg-primary, #0A0A0A);
  border-top: 1px solid rgba(212, 212, 212, 0.06);
}
.mb-guarantee__title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-primary, #D4D4D4);
  margin: 0 0 0.75rem;
  letter-spacing: 0;
}
.mb-guarantee__desc {
  text-align: center;
  color: var(--text-secondary, #8A8A8A);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.mb-guarantee__conditions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(212, 212, 212, 0.08);
  margin-bottom: 2.5rem;
}
.mb-guarantee__cond {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 20px;
  border-right: 1px solid rgba(212, 212, 212, 0.08);
}
.mb-guarantee__cond:last-child {
  border-right: none;
}
.mb-guarantee__cond svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: var(--primary, #D65A1F);
  margin-top: 2px;
}
.mb-guarantee__cond span {
  font-size: 0.88rem;
  color: var(--text-primary, #D4D4D4);
  line-height: 1.5;
}
.mb-guarantee__details {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.mb-guarantee__details p {
  font-size: 0.85rem;
  color: var(--text-secondary, #8A8A8A);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.mb-guarantee__details p:last-child {
  margin-bottom: 0;
}
.mb-guarantee__details strong {
  color: var(--text-primary, #D4D4D4);
}

/* Responsive */
@media (max-width: 900px) {
  .mb-hero {
    padding: 180px 5% 140px;
  }
  .mb-plans__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mb-plan {
    border-right: none;
    border-bottom: 1px solid rgba(212, 212, 212, 0.08);
  }
  .mb-plan:last-child {
    border-bottom: none;
  }
  .mb-includes__grid {
    grid-template-columns: 1fr 1fr;
  }
  .mb-includes__card:nth-child(3n) {
    border-right: 1px solid rgba(212, 212, 212, 0.08);
  }
  .mb-includes__card:nth-child(2n) {
    border-right: none;
  }
  .mb-includes__card:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(212, 212, 212, 0.08);
  }
  .mb-includes__card:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .mb-includes {
    padding: 72px 2rem;
  }
  .mb-guarantee {
    padding: 72px 2rem;
  }
  .mb-guarantee__conditions {
    grid-template-columns: 1fr;
  }
  .mb-guarantee__cond {
    border-right: none;
    border-bottom: 1px solid rgba(212, 212, 212, 0.08);
  }
  .mb-guarantee__cond:last-child {
    border-bottom: none;
  }
  .mb-bottom-cta {
    padding: 72px 2rem;
  }
}

@media (max-width: 600px) {
  .mb-hero {
    padding: 160px 5% 112px;
  }
  .mb-hero h1 {
    font-size: 1.8rem;
  }
  .mb-plans {
    padding: 3rem 1rem 4rem;
  }
  .mb-plan {
    padding: 2rem 1.5rem;
  }
  .mb-includes__grid {
    grid-template-columns: 1fr;
  }
  .mb-includes__card {
    border-right: none !important;
  }
  .mb-includes__card:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(212, 212, 212, 0.08);
  }
  .mb-includes__card:last-child {
    border-bottom: none;
  }
  .mb-includes {
    padding: 56px 1rem;
  }
  .mb-guarantee {
    padding: 56px 1rem;
  }
  .mb-bottom-cta {
    padding: 56px 1rem;
  }
}
