/* Animation Keyframes */
@keyframes animationIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* Border Beam Animation */
@keyframes border-beam {
    0% {
        offset-distance: 0%;
    }

    100% {
        offset-distance: 100%;
    }
}

.beam-border {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    pointer-events: none;
    overflow: hidden;
}

.beam-border::before {
    content: "";
    position: absolute;
    inset: -2px;
    /* controls thickness of beam relative to border */
    background: conic-gradient(from 0deg, transparent 0 340deg, white 360deg);
    animation: spin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group:hover .beam-border::before {
    opacity: 1;
}

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

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

/* Text Reveal Scroller */
.reveal-word {
    opacity: 0.1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-word.active {
    opacity: 1;
}

/* Marquee Animation */
.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Sticky Workflow Step Active State */
.step-indicator {
    transition: all 0.5s ease;
    width: 2px;
    height: 100%;
    background: #262626;
}

.step-indicator.active {
    background: #fff;
}

.step-text {
    transition: all 0.5s ease;
    color: #555;
}

.step-text.active {
    color: #fff;
}

/* Animation on Scroll States */
.animate-on-scroll {
    animation-play-state: paused !important;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
}
