.cto-6d2a0042-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure parents fit cleanly in layout boundaries */
.elementor-widget-chaos_to_order_6d2a0042 {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.cto-6d2a0042-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 1;
}

.cto-6d2a0042-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 2;
    pointer-events: none;
}

/* Glass CTA Button + Pulsing animation */
.cto-6d2a0042-btn {
    position: relative;
    z-index: 10;
    padding: 18px 45px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    animation: cto-pulse-6d2a0042 3s ease-in-out infinite;
}

.cto-6d2a0042-btn span {
    position: relative;
    z-index: 2;
}

/* Shiny hover state animation */
.cto-6d2a0042-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60%;
    width: 30%;
    height: 300%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100__
    );
    transform: translate(-50%, -50%) rotate(35deg);
    transition: none;
    z-index: 1;
}

.cto-6d2a0042-btn:hover {
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    animation-play-state: paused;
}

.cto-6d2a0042-btn:hover::before {
    left: 160%;
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Position control for separate content layers */
.cto-6d2a0042-heading-wrap {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
    max-width: 1000px;
    z-index: 5;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cto-6d2a0042-footer-wrap {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
    max-width: 1000px;
    z-index: 5;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cto-6d2a0042-headline {
    margin: 0;
    font-size: 5vw;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.cto-6d2a0042-subtext {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 500;
}

.cto-6d2a0042-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    padding: 10px;
    opacity: 0.8;
    animation: cto-bounce-6d2a0042 2s infinite;
}

.cto-6d2a0042-arrow svg {
    width: 20px;
    height: 20px;
}

/* Interactive States */
.cto-6d2a0042-hero.is-animating .cto-6d2a0042-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.cto-6d2a0042-hero.is-animating .cto-6d2a0042-video {
    opacity: 1;
}

.cto-6d2a0042-hero.is-finished .cto-6d2a0042-heading-wrap {
    opacity: 1;
    pointer-events: auto;
}

.cto-6d2a0042-hero.is-finished .cto-6d2a0042-footer-wrap {
    opacity: 1;
    pointer-events: auto;
}

/* Animations */
@keyframes cto-pulse-6d2a0042 {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), 
                    inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 15px 45px 0 rgba(255, 255, 255, 0.1), 
                    inset 0 1px 1px rgba(255, 255, 255, 0.35);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), 
                    inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }
}

@keyframes cto-bounce-6d2a0042 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}
