/* Shared premium entrance and motion layer for commercial landing pages. */
.premium-motion {
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-motion::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background: rgba(246, 248, 250, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: focusVeilExit 520ms ease-out both;
}

@keyframes focusVeilExit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

.premium-motion .site-header,
.premium-motion .funnel-header {
  animation: headerArrival 560ms var(--motion-ease) 60ms both;
}

.premium-motion .hero-copy,
.premium-motion .industry-hero-copy,
.premium-motion .audit-hero-copy,
.premium-motion .sample-cover-copy {
  animation: heroCopyArrival 700ms var(--motion-ease) 90ms both;
}

.premium-motion .workflow-visual,
.premium-motion .industry-flow,
.premium-motion .audit-scope-card,
.premium-motion .sample-cover-meta {
  animation: heroVisualArrival 760ms var(--motion-ease) 130ms both;
  box-shadow:
    0 30px 85px rgba(32, 62, 87, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.82) inset;
}

.premium-motion .depth-stage {
  position: relative;
  isolation: isolate;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.premium-motion .depth-stage::before,
.premium-motion .depth-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(79, 118, 152, 0.18);
  border-radius: var(--radius);
  background: rgba(230, 239, 246, 0.74);
  box-shadow: 0 22px 55px rgba(32, 62, 87, 0.08);
}

.premium-motion .depth-stage::before {
  z-index: 0;
  inset: 20px -20px -20px 20px;
  opacity: 0.58;
}

.premium-motion .depth-stage::after {
  z-index: 1;
  inset: 10px -10px -10px 10px;
  opacity: 0.82;
  background: rgba(241, 246, 249, 0.88);
}

.premium-motion .depth-stage > .workflow-visual,
.premium-motion .depth-stage > .industry-flow {
  position: relative;
  z-index: 2;
  backface-visibility: hidden;
}

@keyframes homeDepthScroll {
  from {
    transform: rotateX(8deg) rotateY(-9deg) translate3d(12px, 22px, 0) scale(0.94);
  }

  to {
    transform: rotateX(0) rotateY(0) translate3d(0, -8px, 0) scale(1);
  }
}

@keyframes industryDepthScroll {
  from {
    transform: rotateX(5deg) rotateY(-6deg) translate3d(8px, 14px, 0) scale(0.97);
  }

  to {
    transform: rotateX(0) rotateY(0) translate3d(0, -4px, 0) scale(1);
  }
}

@supports (animation-timeline: scroll()) {
  @media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
    .premium-motion .depth-stage-home {
      transform-origin: 52% 56%;
      animation: homeDepthScroll 1ms linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 72vh;
      will-change: transform;
    }

    .premium-motion .depth-stage-industry {
      transform-origin: 52% 56%;
      animation: industryDepthScroll 1ms linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 64vh;
      will-change: transform;
    }
  }
}

.premium-motion .hero-copy h1,
.premium-motion .industry-hero-copy h1,
.premium-motion .audit-hero-copy h1,
.premium-motion .sample-cover-copy h1 {
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.premium-motion .workflow-steps li,
.premium-motion .industry-flow li {
  animation: flowStepArrival 620ms var(--motion-ease) both;
}

.premium-motion .workflow-steps li:nth-child(1),
.premium-motion .industry-flow li:nth-child(1) {
  animation-delay: 270ms;
}

.premium-motion .workflow-steps li:nth-child(2),
.premium-motion .industry-flow li:nth-child(2) {
  animation-delay: 320ms;
}

.premium-motion .workflow-steps li:nth-child(3),
.premium-motion .industry-flow li:nth-child(3) {
  animation-delay: 370ms;
}

.premium-motion .workflow-steps li:nth-child(4),
.premium-motion .industry-flow li:nth-child(4) {
  animation-delay: 420ms;
}

.premium-motion .workflow-steps li:nth-child(5),
.premium-motion .industry-flow li:nth-child(5) {
  animation-delay: 470ms;
}

@keyframes headerArrival {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCopyArrival {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualArrival {
  from {
    opacity: 0;
    transform: translate(24px, 22px) scale(0.965);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flowStepArrival {
  from {
    opacity: 0;
    transform: translateX(22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.premium-motion .motion-section {
  opacity: 0;
  transform: translateY(52px) scale(0.992);
  transition:
    opacity 760ms var(--motion-ease),
    transform 900ms var(--motion-ease);
  will-change: opacity, transform;
}

.premium-motion .motion-section.motion-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.premium-motion .button,
.premium-motion .nav-cta,
.premium-motion .primary-button {
  box-shadow: 0 12px 28px rgba(32, 62, 87, 0.2);
  transition:
    transform 220ms var(--motion-ease),
    box-shadow 220ms var(--motion-ease),
    background-color 220ms ease,
    color 220ms ease;
}

.premium-motion .button:hover,
.premium-motion .nav-cta:hover,
.premium-motion .primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(32, 62, 87, 0.26);
}

.premium-motion .button:active,
.premium-motion .nav-cta:active,
.premium-motion .primary-button:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 7px 16px rgba(32, 62, 87, 0.18);
}

.premium-motion .industry-flow,
.premium-motion .workflow-visual,
.premium-motion .audit-preview,
.premium-motion .assessment-panel {
  border-color: rgba(79, 118, 152, 0.28);
}

@media (max-width: 820px) {
  .premium-motion .depth-stage::before {
    display: none;
  }

  .premium-motion .depth-stage::after {
    inset: 8px -6px -8px 6px;
    opacity: 0.68;
  }

  .premium-motion .hero-copy,
  .premium-motion .industry-hero-copy,
  .premium-motion .audit-hero-copy,
  .premium-motion .sample-cover-copy {
    animation-name: heroCopyArrivalMobile;
  }

  @keyframes heroCopyArrivalMobile {
    from {
      opacity: 0;
      transform: translateY(32px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-motion::before {
    display: none;
  }

  .premium-motion .site-header,
  .premium-motion .funnel-header,
  .premium-motion .hero-copy,
  .premium-motion .industry-hero-copy,
  .premium-motion .audit-hero-copy,
  .premium-motion .sample-cover-copy,
  .premium-motion .workflow-visual,
  .premium-motion .industry-flow,
  .premium-motion .audit-scope-card,
  .premium-motion .sample-cover-meta,
  .premium-motion .workflow-steps li,
  .premium-motion .industry-flow li {
    animation: none;
  }

  .premium-motion .depth-stage-home,
  .premium-motion .depth-stage-industry {
    transform: none;
  }

  .premium-motion .motion-section,
  .premium-motion .motion-section.motion-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
