/* ============================================
   MEMBER PAGE — Freysta
   "Become a Member" landing page
   Prefix: mb-
   ============================================ */

/* ============================================
   HERO — Split cinematic
   Left: atmospheric image. Right: midnight panel.
   ============================================ */
.mb-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--color-midnight);
}

.mb-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mb-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}

/* Gradient overlay — enough contrast for text, video still visible */
.mb-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 10%,
    rgba(10, 22, 40, 0.05) 28%,
    rgba(10, 22, 40, 0.18) 40%,
    rgba(10, 22, 40, 0.40) 52%,
    rgba(10, 22, 40, 0.60) 64%,
    rgba(10, 22, 40, 0.72) 80%
  );
  pointer-events: none;
}

.mb-hero__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-4xl) var(--space-3xl);
  padding-left: 50%;
}

.mb-hero__content {
  max-width: 520px;
}

.mb-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: mb-hero-fade 0.8s var(--ease-out-expo) 0.3s forwards;
}

.mb-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-5xl);
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: mb-hero-fade 0.8s var(--ease-out-expo) 0.5s forwards;
}

.mb-hero__title em {
  font-style: italic;
  color: var(--color-aurora);
}

.mb-hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: mb-hero-fade 0.8s var(--ease-out-expo) 0.7s forwards;
}

.mb-hero__cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: mb-hero-fade 0.8s var(--ease-out-expo) 0.9s forwards;
}

.mb-hero__trust {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-lg);
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: mb-hero-fade 0.8s var(--ease-out-expo) 1.1s forwards;
}

@keyframes mb-hero-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   VALUE — Benefit cards
   ============================================ */
.mb-value {
  background: var(--surface-story);
  padding: var(--space-5xl) var(--space-xl);
}

.mb-value__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.mb-value__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.mb-value__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.mb-value__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.mb-value__grid {
  max-width: var(--container-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.mb-value__card {
  background: var(--surface-card-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s ease;
}

.mb-value__card:hover {
  box-shadow:
    0 0 0 1px rgba(196, 145, 138, 0.35),
    0 8px 32px rgba(196, 145, 138, 0.18);
}

.mb-value__card:hover .mb-value__card-icon {
  background: rgba(196, 145, 138, 0.25);
  color: var(--color-midnight);
}

.mb-value__card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 145, 138, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  padding: 12px;
  transition: background 0.4s ease;
}

.mb-value__card-icon svg {
  width: 100%;
  height: 100%;
}

.mb-value__card-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.mb-value__card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.mb-value__card-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
}

/* ============================================
   STATS — Social proof bar
   ============================================ */
.mb-stats {
  background: var(--surface-utility);
  padding: var(--space-3xl) var(--space-xl);
}

.mb-stats__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
}

.mb-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mb-stats__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1;
}

.mb-stats__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-xs);
}

.mb-stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ============================================
   JOURNEY — How it works timeline
   ============================================ */
.mb-journey {
  background: var(--surface-explore);
  padding: var(--space-5xl) var(--space-xl);
}

.mb-journey__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.mb-journey__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.mb-journey__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.15;
}

.mb-journey__timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Vertical connector line */
.mb-journey__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(196, 145, 138, 0.2);
  transform: translateX(-50%);
}

.mb-journey__step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.mb-journey__step:last-child {
  margin-bottom: 0;
}

/* Zigzag: odd steps text left, even steps text right */
.mb-journey__step:nth-child(odd) .mb-journey__step-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.mb-journey__step:nth-child(odd) .mb-journey__step-marker {
  grid-column: 2;
  grid-row: 1;
}

.mb-journey__step:nth-child(even) .mb-journey__step-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.mb-journey__step:nth-child(even) .mb-journey__step-marker {
  grid-column: 2;
  grid-row: 1;
}

.mb-journey__step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.mb-journey__step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  color: var(--color-midnight);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 6px var(--surface-explore), var(--shadow-md);
}

.mb-journey__step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.mb-journey__step-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 340px;
}

/* Odd steps: align text block to the right */
.mb-journey__step:nth-child(odd) .mb-journey__step-text {
  margin-left: auto;
}

/* Even steps: align text block to the left */
.mb-journey__step:nth-child(even) .mb-journey__step-text {
  margin-right: auto;
}

/* ============================================
   COMPARE — Without vs With Freysta
   ============================================ */
.mb-compare {
  background: var(--surface-story);
  padding: var(--space-5xl) var(--space-xl);
}

.mb-compare__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.mb-compare__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.mb-compare__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.15;
}

.mb-compare__card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mb-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mb-compare__side {
  padding: var(--space-3xl) var(--space-2xl);
}

.mb-compare__side--without {
  background: #ddd5ca;
}

.mb-compare__side--with {
  background: linear-gradient(135deg, #f0faf6 0%, #e8f5ef 100%);
}

.mb-compare__side-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  line-height: 1.3;
}

.mb-compare__side--without .mb-compare__side-title {
  color: var(--color-text-muted);
}

.mb-compare__side--with .mb-compare__side-title {
  color: var(--color-pine);
}

.mb-compare__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mb-compare__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
}

.mb-compare__side--without .mb-compare__item {
  color: var(--color-text-muted);
}

.mb-compare__side--with .mb-compare__item {
  color: var(--color-text-primary);
}

.mb-compare__item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.mb-compare__side--without .mb-compare__item-icon {
  color: rgba(0, 0, 0, 0.25);
}

.mb-compare__side--with .mb-compare__item-icon {
  color: var(--color-gold);
}

/* ============================================
   CTA — Final call to action
   ============================================ */
.mb-cta {
  background: var(--surface-explore);
  padding: var(--space-5xl) var(--space-xl);
  text-align: center;
}

.mb-cta__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.mb-cta__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.mb-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.mb-cta__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.mb-cta__button {
  display: inline-block;
  margin-bottom: var(--space-2xl);
}

.mb-cta__trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.mb-cta__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.mb-cta__trust-icon {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  /* Hero: stack — image behind, content below */
  .mb-hero__panel {
    min-height: auto;
    padding: 55vh var(--space-xl) var(--space-3xl);
  }

  .mb-hero__content {
    width: auto;
    margin-left: 0;
  }

  .mb-hero__media::after {
    background: linear-gradient(
      to bottom,
      transparent 25%,
      rgba(10, 22, 40, 0.30) 45%,
      rgba(10, 22, 40, 0.58) 60%,
      rgba(10, 22, 40, 0.72) 80%
    );
  }

  .mb-hero__title {
    font-size: var(--text-4xl);
  }

  /* Journey: single column, all left-aligned */
  .mb-journey__timeline::before {
    left: 24px;
  }

  .mb-journey__step {
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
  }

  .mb-journey__step:nth-child(odd) .mb-journey__step-content,
  .mb-journey__step:nth-child(even) .mb-journey__step-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .mb-journey__step:nth-child(odd) .mb-journey__step-marker,
  .mb-journey__step:nth-child(even) .mb-journey__step-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .mb-journey__step:nth-child(odd) .mb-journey__step-text,
  .mb-journey__step:nth-child(even) .mb-journey__step-text {
    margin-left: 0;
    margin-right: 0;
  }

  .mb-journey__step-number {
    width: 44px;
    height: 44px;
    font-size: var(--text-lg);
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .mb-hero {
    display: flex;
    align-items: flex-end;
  }

  .mb-hero__media::after {
    background: linear-gradient(
      to bottom,
      transparent 20%,
      rgba(10, 22, 40, 0.20) 40%,
      rgba(10, 22, 40, 0.55) 60%,
      rgba(10, 22, 40, 0.80) 85%
    );
  }

  .mb-hero__panel {
    padding: 0 var(--space-lg) var(--space-3xl);
    padding-left: var(--space-lg);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .mb-hero__content {
    max-width: 100%;
  }

  .mb-hero__eyebrow {
    display: none;
  }

  .mb-hero__title {
    font-size: var(--text-4xl);
  }

  .mb-hero__subtitle {
    display: none;
  }

  .mb-hero__cta {
    width: 100%;
  }

  .mb-hero__trust {
    text-align: center;
  }

  .mb-value {
    padding: var(--space-3xl) var(--space-lg);
  }

  .mb-value__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .mb-stats__inner {
    gap: var(--space-xl);
  }

  .mb-stats__number {
    font-size: var(--text-3xl);
  }

  .mb-stats__divider {
    height: 36px;
  }

  .mb-journey {
    padding: var(--space-3xl) var(--space-lg);
  }

  .mb-compare {
    padding: var(--space-3xl) var(--space-lg);
  }

  .mb-compare__grid {
    grid-template-columns: 1fr;
  }

  .mb-compare__side {
    padding: var(--space-2xl) var(--space-xl);
  }

  .mb-cta {
    padding: var(--space-3xl) var(--space-lg);
  }

  .mb-cta__trust-row {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .mb-hero__panel {
    padding: 0 var(--space-md) var(--space-2xl);
  }

  .mb-hero__title {
    font-size: var(--text-3xl);
  }

  .mb-value {
    padding: var(--space-2xl) var(--space-md);
  }

  .mb-value__card {
    padding: var(--space-xl);
  }

  .mb-stats {
    padding: var(--space-2xl) var(--space-md);
  }

  .mb-stats__inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .mb-stats__divider {
    width: 48px;
    height: 1px;
  }

  .mb-journey {
    padding: var(--space-2xl) var(--space-md);
  }

  .mb-journey__step {
    gap: var(--space-md);
  }

  .mb-journey__step-number {
    width: 38px;
    height: 38px;
    font-size: var(--text-base);
  }

  .mb-journey__timeline::before {
    left: 19px;
  }

  .mb-compare {
    padding: var(--space-2xl) var(--space-md);
  }

  .mb-compare__side {
    padding: var(--space-xl) var(--space-lg);
  }

  .mb-cta {
    padding: var(--space-2xl) var(--space-md);
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .mb-hero__media img {
    animation: none;
  }

  .mb-hero__eyebrow,
  .mb-hero__title,
  .mb-hero__subtitle,
  .mb-hero__cta,
  .mb-hero__trust {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


