.text.tvd-text-effect-reveal-up > *,
.text.tvd-text-effect-highlight-sweep > * {
  animation: tvd-text-reveal-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.text.tvd-text-effect-gradient-shift > * {
  background: linear-gradient(
    90deg,
    currentColor,
    #7c3aed,
    #06b6d4,
    currentColor
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tvd-text-gradient-shift 5s ease-in-out infinite;
}

.text.tvd-text-effect-highlight-sweep > * {
  position: relative;
  isolation: isolate;
}

.text.tvd-text-effect-highlight-sweep > *::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: tvd-text-highlight-sweep 2.4s ease-in-out 0.3s both;
  pointer-events: none;
}

@keyframes tvd-text-reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tvd-text-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes tvd-text-highlight-sweep {
  to {
    transform: translateX(110%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .text.tvd-text-effect-reveal-up > *,
  .text.tvd-text-effect-gradient-shift > *,
  .text.tvd-text-effect-highlight-sweep > *,
  .text.tvd-text-effect-highlight-sweep > *::after {
    animation: none;
  }
}

/* Title styles shared by the Builder preview and the frontend. */
.section-title-title-glow .section-title-main {
  animation: tvd-title-glow 2.8s ease-in-out infinite;
}

.section-title-title-gradient .section-title-main {
  background: linear-gradient(
    90deg,
    currentColor,
    #7c3aed,
    #06b6d4,
    currentColor
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tvd-title-gradient 5s ease-in-out infinite;
}

.section-title-title-underline .section-title-main {
  position: relative;
}

.section-title-title-underline .section-title-main::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  height: 0.12em;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  animation: tvd-title-underline 1.2s ease-out 0.15s both;
}

@keyframes tvd-title-glow {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
  }
  50% {
    text-shadow: 0 0 18px currentColor;
  }
}

@keyframes tvd-title-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes tvd-title-underline {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title-title-glow .section-title-main,
  .section-title-title-gradient .section-title-main,
  .section-title-title-underline .section-title-main::after {
    animation: none;
  }

  .section-title-title-underline .section-title-main::after {
    transform: scaleX(1);
  }
}



