/* Landing visual enhancement layer */

.landing-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing-hero-readability {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgb(243 246 245 / 0.55) 0%,
    rgb(243 246 245 / 0.2) 38%,
    transparent 58%
  );
}

.landing-hero-content {
  position: relative;
  z-index: 2;
}

.landing-cta-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-deep-ocean);
  background: linear-gradient(135deg, var(--color-baltic-teal) 0%, #1d9a93 100%);
  box-shadow: 0 10px 25px -8px rgb(39 184 176 / 0.42);
}

.landing-cta-primary::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .landing-cta-primary:hover::after {
    opacity: 1;
    animation: landing-cta-shine 2.4s ease-in-out;
  }
}

@keyframes landing-cta-shine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

[data-landing-preview-card] {
  transition: transform 0.35s ease-out;
  will-change: transform;
}

[data-landing-preview].landing-parallax-active .landing-float,
[data-landing-preview].landing-parallax-active .landing-float-delayed,
[data-landing-preview].landing-parallax-active .landing-float-slow {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-canvas {
    display: none;
  }

  .landing-cta-primary::after {
    display: none;
  }

  [data-landing-preview-card] {
    transition: none;
    will-change: auto;
  }
}
