/* ============================================
   Landing flow — static luxury, no scroll FX
   ============================================ */

.landing-page {
  background: #050505;
  color: var(--color-text);
}

:root {
  --landing-bridge: clamp(2rem, 4vw, 3.25rem);
  --landing-fade: clamp(2.5rem, 6vw, 4.5rem);
}

/* Static page canvas — scrolls with content, no parallax */
.landing-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-canvas__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(201, 169, 98, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse 80% 35% at 80% 55%, rgba(201, 169, 98, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, #040404 0%, #050505 45%, #060606 55%, #050505 100%);
}

.landing-canvas__mesh,
.landing-canvas__orb,
.landing-canvas__sheen {
  display: none;
}

main.landing {
  position: relative;
  z-index: 1;
  background: transparent;
}

main.landing > section {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: none;
  overflow: visible;
  isolation: auto;
}

main.landing .program,
main.landing .student-results,
main.landing .faq {
  overflow: hidden;
}

main.landing .pricing {
  overflow: visible;
  padding-bottom: calc(var(--section-pad-y) + var(--landing-bridge));
}

main.landing .pricing__cta-row,
main.landing .pricing__note {
  position: relative;
  z-index: 3;
}

main.landing #contacts {
  z-index: 2;
}

main.landing #contacts .contacts__bg {
  top: var(--landing-bridge);
}

main.landing #contacts::before {
  top: var(--landing-bridge);
  height: calc(var(--landing-fade) - var(--landing-bridge));
}

/* Gentle overlap — no glow layers */
main.landing > section + section {
  margin-top: calc(var(--landing-bridge) * -1);
  padding-top: calc(var(--section-pad-y) + var(--landing-bridge));
}

/* Almost imperceptible fade: black → dark gold tint → black */
main.landing > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--landing-fade);
  transform: none;
  filter: none;
  background: linear-gradient(
    180deg,
    #050505 0%,
    #070605 18%,
    #0c0a07 50%,
    #070605 82%,
    #050505 100%
  );
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

main.landing > section + section::after,
main.landing > section:not(:last-child)::after,
main.landing > .hero::before,
main.landing > .hero::after {
  content: none;
  display: none;
}

main.landing > section:not(:last-child) {
  box-shadow: none;
}

main.landing > .hero {
  margin-top: 0;
  padding-bottom: calc(var(--landing-bridge) * 0.35);
  background: transparent !important;
  overflow: hidden;
}

/* Section decorative backgrounds — soft edge fade only */
main.landing .program__bg,
main.landing .pricing__bg,
main.landing .faq__bg,
main.landing .founder__bg,
main.landing .outcomes__bg,
main.landing .student-results__bg,
main.landing .academy-programs__bg,
main.landing .contacts__bg {
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 8%,
    #000 18%,
    #000 82%,
    rgba(0, 0, 0, 0.4) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 8%,
    #000 18%,
    #000 82%,
    rgba(0, 0, 0, 0.4) 92%,
    transparent 100%
  );
}

main.landing .program__vignette {
  background: radial-gradient(
    ellipse 100% 80% at 50% 50%,
    transparent 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

main.landing .outcomes__spotlight {
  background:
    radial-gradient(ellipse 100% 55% at 50% -10%, rgba(201, 169, 98, 0.06) 0%, transparent 52%),
    radial-gradient(ellipse 80% 45% at 12% 40%, rgba(140, 100, 220, 0.03) 0%, transparent 50%);
}

main.landing #founder {
  overflow: hidden;
}

/* Content above fades */
main.landing > section .container,
main.landing > section [class$="__inner"] {
  position: relative;
  z-index: 2;
}

main.landing .section,
main.landing .section--dark {
  background: transparent !important;
}

/* Footer — same subtle static fade */
.landing-page .footer {
  position: relative;
  z-index: 1;
  background: transparent;
  border-top: none;
  margin-top: calc(var(--landing-bridge) * -1);
  padding-top: calc(clamp(2.25rem, 5vw, 3.5rem) + var(--landing-bridge));
}

.landing-page .footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--landing-fade);
  background: linear-gradient(
    180deg,
    #050505 0%,
    #070605 18%,
    #0c0a07 50%,
    #070605 82%,
    #050505 100%
  );
  opacity: 0.92;
  filter: none;
  pointer-events: none;
}

.landing-page .footer::after {
  content: none;
  display: none;
}

@media (max-width: 767px) {
  :root {
    --landing-bridge: clamp(1.5rem, 4vw, 2.5rem);
    --landing-fade: clamp(2rem, 5vw, 3rem);
  }
}
