/* Mouro Blend - Learn & Earn Brochure
   Page-specific styles. Shares tokens, header, nav and buttons with ../style.css */

:root {
  --br-purple-deep: #542284;
  --br-purple-mid: #7e41b6;
  --br-purple-soft: #f4ecfa;
  --br-purple-tint: #ede0f7;
  --br-mint: #b8ffd0;
  --br-text: #2f2a38;
  --br-text-muted: #5b5565;
  --br-radius-lg: 32px;
  --br-radius-md: 22px;
  --br-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-page {
  background-color: #ffffff;
}

/* Layout helpers */
.br-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5.5rem);
}

.br-section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--primary-purple);
  letter-spacing: -0.5px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

/* Buttons that extend the home page .btn-buy */
.br-btn-primary {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  padding: 0.95rem 2.2rem;
  gap: 10px;
}

.br-btn-primary svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.br-btn-primary:hover svg {
  transform: translateY(3px);
}

.br-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.br-btn-ghost:hover {
  background: #ffffff;
  color: var(--primary-purple);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.br-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.6rem;
  color: var(--accent-green);
  font-weight: 800;
  font-size: 1rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.br-text-link:hover {
  gap: 14px;
  color: var(--accent-green-hover);
}

/* Hero: full-bleed photo with copy over the quiet left side of the frame */
.br-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: center;
  background: #efe6dc;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.br-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
}

/* Light scrim on the left keeps the copy readable without hiding the family */
.br-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(250, 247, 253, 0.96) 0%, rgba(250, 247, 253, 0.9) 34%, rgba(250, 247, 253, 0.45) 52%, rgba(250, 247, 253, 0) 68%),
    linear-gradient(180deg, rgba(250, 247, 253, 0) 70%, rgba(250, 247, 253, 0.55) 100%);
}

.br-hero-inner {
  position: relative;
  z-index: 2;
}

.br-hero-content {
  max-width: 600px;
  animation: heroFadeInUp 0.8s var(--br-ease) forwards;
}

.br-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 1.4rem;
}

.br-hero-kicker-mark {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-green);
}

.br-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 900;
  color: var(--br-purple-deep);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.br-hero-title em {
  font-style: normal;
  color: var(--accent-green);
}

.br-nowrap {
  white-space: nowrap;
}

.br-hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 500;
  color: #3d3747;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.br-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.br-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(84, 34, 132, 0.3);
  color: var(--br-purple-deep);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.br-btn-outline:hover {
  border-color: var(--br-purple-deep);
  background: var(--br-purple-deep);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section headers: one system for every section below the hero */
.br-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem) auto;
}

.br-section-header-package {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.br-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.8rem;
}

.br-section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 900;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1.1;
  text-wrap: balance;
}

.br-section-sub {
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 500;
  color: var(--br-text-muted);
  line-height: 1.6;
  margin-top: 0.8rem;
}

/* Promo artwork (VIP package + 4 ways)
   The PNGs carry their own rounded panels and overhanging elements, so they are
   rendered bare: no frame, no clipping, just a shadow that follows the alpha. */
.br-promo-card {
  position: relative;
  margin: 0;
}

.br-js .br-promo-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--br-ease), transform 0.6s var(--br-ease);
}

.br-js .br-promo-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.br-promo-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(84, 34, 132, 0.18));
  transition: transform 0.5s var(--br-ease), filter 0.5s var(--br-ease);
}

.br-promo-card:hover img {
  transform: translateY(-5px);
  filter: drop-shadow(0 26px 40px rgba(84, 34, 132, 0.26));
}

/* Premium VIP Package */
.br-package {
  position: relative;
  background-color: #ffffff;
  background-image: url('/backgrounds/benefits-section.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.br-promo-vip {
  max-width: 1180px;
  margin: 0 auto;
}

.br-package-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.br-package-note {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  color: var(--br-purple-deep);
}

/* 4 Ways to Earn */
.br-ways {
  background: #ffffff;
  padding: clamp(70px, 9vw, 120px) 0;
}

.br-promo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.br-promo-grid .br-promo-card:nth-child(2) { transition-delay: 0.1s; }

.br-promo-wide {
  grid-column: 1 / -1;
}

/* Contact */
.br-cta {
  background: var(--primary-purple);
  background-image: linear-gradient(135deg, #792892 0%, #5a1f8a 100%);
  padding: clamp(56px, 7vw, 90px) 0;
  color: #ffffff;
}

.br-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.br-cta-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--br-mint);
  margin-bottom: 0.6rem;
}

.br-cta-title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.br-cta-sub {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
  line-height: 1.6;
}

.br-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Footer */
.br-footer {
  background: #2b0f42;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.72);
}

.br-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.br-footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.br-footer-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.br-footer-phone {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.br-footer-phone:hover {
  color: var(--br-mint);
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .br-hero-content {
    animation: none;
  }

  .br-js .br-promo-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media screen and (max-width: 1120px) {
  .br-hero-photo {
    object-position: 76% center;
  }
}

@media screen and (max-width: 880px) {
  .br-hero {
    min-height: 0;
    display: block;
    padding: 0 0 2.75rem 0;
    background: #faf7fd;
  }

  .br-hero-photo {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: 62% center;
  }

  .br-hero-scrim {
    display: none;
  }

  .br-hero-inner {
    padding-top: 2.25rem;
  }

  .br-hero-title {
    font-size: clamp(2.3rem, 9vw, 3.2rem);
  }

  .br-promo-grid {
    grid-template-columns: 1fr;
  }

  .br-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .br-hero-title {
    font-size: 2.1rem;
  }

  .br-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .br-hero-actions .btn-buy,
  .br-hero-actions .br-btn-outline,
  .br-cta-actions .btn-buy,
  .br-cta-actions .br-btn-ghost,
  .br-package-actions .btn-buy {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .br-package-actions {
    flex-direction: column;
    text-align: center;
  }

  .br-cta-title {
    font-size: 1.75rem;
  }

  .br-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
