.reveal {
  --reveal-x: 0;
  --reveal-y: var(--motion-distance-md);
  --reveal-scale: 1;
  --reveal-blur: 0;
  --reveal-delay: 0ms;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity var(--duration-slow) var(--ease-premium) var(--reveal-delay),
    transform var(--duration-slow) var(--ease-premium) var(--reveal-delay);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.js .reveal.has-revealed {
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    color var(--transition-fast),
    opacity var(--transition-fast);
  will-change: auto;
}

.reveal-up,
.fade-up {
  --reveal-y: var(--motion-distance-lg);
}

.reveal-down {
  --reveal-y: calc(var(--motion-distance-md) * -1);
}

.reveal-left {
  --reveal-x: calc(var(--motion-distance-md) * -1);
  --reveal-y: 0;
}

.reveal-right {
  --reveal-x: var(--motion-distance-md);
  --reveal-y: 0;
}

.reveal-scale,
.scale-in {
  --reveal-y: var(--motion-distance-sm);
  --reveal-scale: 0.97;
}

.reveal-blur {
  --reveal-y: var(--motion-distance-sm);
  --reveal-blur: 10px;
}

.js .reveal-blur {
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--duration-slow) var(--ease-premium) var(--reveal-delay),
    transform var(--duration-slow) var(--ease-premium) var(--reveal-delay),
    filter var(--duration-slow) var(--ease-premium) var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.js .reveal-blur.is-visible {
  filter: blur(0);
}

.fade-in {
  --reveal-y: 0;
}

.reveal-delay-1 {
  --reveal-delay: 90ms;
}

.reveal-delay-2 {
  --reveal-delay: 180ms;
}

.reveal-delay-3 {
  --reveal-delay: 270ms;
}

.reveal-delay-4 {
  --reveal-delay: 360ms;
}

.reveal-delay-5 {
  --reveal-delay: 450ms;
}

.hero-enter .hero-cloud__kicker,
.hero-enter .hero-title,
.hero-enter .hero-cloud__subtitle,
.hero-enter .hero-actions,
.hero-enter .hero-badges,
.hero-enter .hero-visual {
  animation: heroFadeUp var(--duration-hero) var(--ease-premium) both;
}

.hero-enter .hero-cloud__kicker {
  animation-delay: 80ms;
}

.hero-enter .hero-title {
  animation-delay: 170ms;
}

.hero-enter .hero-title .text-gradient {
  background-size: 180% 100%;
  animation: gradientSweep 1200ms var(--ease-premium) 360ms both;
}

.hero-enter .hero-cloud__subtitle {
  animation-delay: 300ms;
}

.hero-enter .hero-actions {
  animation-delay: 430ms;
}

.hero-enter .hero-badges {
  animation-delay: 560ms;
}

.hero-enter .hero-visual {
  animation-delay: 460ms;
}

.cloud-drift,
.cloud-background__orb,
.hero-cloud__orb,
.cloud {
  animation: cloudDrift 30s ease-in-out infinite alternate;
}

.cloud-background__orb--two,
.hero-cloud__orb--two,
.cloud-two {
  animation-duration: 38s;
  animation-direction: alternate-reverse;
}

.cloud-background__orb--three,
.cloud-three {
  animation-duration: 46s;
}

.float-soft,
.floating-center-logo {
  animation: floatSoft calc(var(--motion-float-duration) + 2s) ease-in-out infinite;
}

.floating-orbit__ring--outer {
  animation: orbitRotate 44s linear infinite;
}

.floating-orbit__ring--inner {
  animation: orbitRotate 58s linear infinite reverse;
}

.floating-card {
  animation: floatSoft var(--float-duration, var(--motion-float-duration)) ease-in-out infinite;
  animation-delay: var(--float-delay, 0ms);
  will-change: transform;
}

.floating-card--seo {
  --float-x: -3px;
  --float-y: -10px;
  --float-duration: 13s;
  --float-delay: -900ms;
}

.floating-card--wordpress {
  --float-x: 4px;
  --float-y: -8px;
  --float-duration: 14.5s;
  --float-delay: -2400ms;
}

.floating-card--ai {
  --float-x: 3px;
  --float-y: 9px;
  --float-duration: 15s;
  --float-delay: -3600ms;
}

.floating-card--crm {
  --float-x: -4px;
  --float-y: 8px;
  --float-duration: 14s;
  --float-delay: -4800ms;
}

.floating-mini-icon {
  animation: miniPulse 6s ease-in-out infinite;
}

.floating-mini-icon--two,
.floating-mini-icon--four {
  animation-delay: -2.8s;
}

.glow-pulse {
  animation: glowPulse 5.8s ease-in-out infinite;
}

.parallax-soft,
[data-parallax] {
  transform: translate3d(0, var(--parallax-offset, 0), 0);
  will-change: transform;
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .floating-card,
  .parallax-soft,
  [data-parallax] {
    will-change: auto;
  }
}

.premium-cursor,
.premium-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--z-modal) + 20);
  display: block;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    scale var(--transition-fast);
}

.premium-cursor {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(25, 199, 220, 0.42);
  border-radius: 50%;
  background: rgba(25, 199, 220, 0.035);
  box-shadow: 0 0 28px rgba(25, 199, 220, 0.18);
  scale: 0.72;
}

.premium-cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 14px rgba(25, 199, 220, 0.42);
}

body.cursor-is-visible .premium-cursor,
body.cursor-is-visible .premium-cursor-dot {
  opacity: 1;
}

body.cursor-is-interactive .premium-cursor {
  border-color: rgba(101, 216, 255, 0.5);
  background: rgba(101, 216, 255, 0.055);
  scale: 1.2;
}

body.cursor-is-pressed .premium-cursor {
  scale: 0.86;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--motion-distance-md), 0) scale(0.985);
  }

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

@keyframes gradientSweep {
  from {
    background-position: 100% 50%;
    opacity: 0.72;
  }

  to {
    background-position: 0% 50%;
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--motion-distance-md), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes premiumLoadLine {
  0% {
    transform: scaleX(0);
  }

  58% {
    transform: scaleX(0.72);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.985);
  }

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

@keyframes cloudDrift {
  from {
    transform: translate3d(var(--cloud-shift-x, 0), var(--cloud-shift-y, 0), 0) scale(1);
  }

  to {
    transform: translate3d(calc(var(--cloud-shift-x, 0px) + 16px), calc(var(--cloud-shift-y, 0px) - 12px), 0) scale(1.025);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(var(--float-x, 0), var(--float-y, -8px), 0);
  }
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes miniPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 18px 42px rgba(20, 92, 255, 0.22);
  }

  50% {
    box-shadow: 0 24px 64px rgba(25, 199, 220, 0.28);
  }
}

@media (max-width: 720px) {
  .floating-card {
    --float-x: 0px;
    --float-y: -4px;
    --float-duration: 16s;
  }

  .floating-orbit__ring--outer,
  .floating-orbit__ring--inner {
    animation-duration: 64s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fade-up,
  .fade-in,
  .scale-in,
  .reveal-up,
  .reveal-down,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-blur {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-enter .hero-cloud__kicker,
  .hero-enter .hero-title,
  .hero-enter .hero-cloud__subtitle,
  .hero-enter .hero-actions,
  .hero-enter .hero-badges,
  .hero-enter .hero-visual,
  .cloud-drift,
  .cloud-background__orb,
  .hero-cloud__orb,
  .cloud,
  .floating-card,
  .floating-center-logo,
  .floating-orbit__ring,
  .floating-mini-icon,
  .float-soft,
  .glow-pulse {
    animation: none;
  }

  .parallax-soft,
  [data-parallax] {
    transform: none;
  }

  .premium-cursor,
  .premium-cursor-dot,
  .premium-hover-surface::after,
  .js .site-shell::after {
    display: none;
  }
}

body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-cloud__kicker,
body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-title,
body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-cloud__subtitle,
body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-actions,
body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-badges,
body.site-page:not(.page-home):not(.magic-scroll-active) .hero-enter .hero-visual {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
