.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.initial-banner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.initial-banner .banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s infinite;
    pointer-events: none;
}

.banner-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.initial-banner .container {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.display-1 {
    font-size: 4.5rem;
    font-weight: 700;
    pointer-events: none;
}

.hero-description-image {
    font-size: 1.5rem;
    color: #f8f9fa;
    font-weight: 400;
    pointer-events: none;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.video-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    pointer-events: auto;
}

.video-background.video-fallback {
    background: linear-gradient(45deg, #1a1a1a, #333333);
    pointer-events: none;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 72px;
    box-sizing: border-box;
    pointer-events: none;
}

.hero__cursor-control {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    padding: 0;
    margin: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    color: #ffffff;
    border-style: solid;
    transition: none;
    will-change: left, top;
}

.hero__cursor-control.is-visible {
    opacity: 1;
    visibility: visible;
}

.hero__cursor-microscope {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    line-height: 1;
}

.hero__cursor-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: none;
}

.hero[data-video-state="paused"] .hero__cursor-control {
    background: rgba(34, 157, 84, 0.22);
    border-color: rgba(214, 247, 225, 0.84);
}

.hero[data-video-state="paused"] .hero__cursor-microscope {
    color: #f7fff8;
}

.hero[data-video-state="paused"] .hero__cursor-badge {
    background: rgba(34, 157, 84, 0.84);
    border-color: rgba(214, 247, 225, 0.84);
}

.hero-content {
    color: #fff;
    pointer-events: auto;
    position: relative;
    z-index: 3;
    transform: translateY(22px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    pointer-events: none;
}

.hero-description {
    font-size: 1.4rem;
    color: #e9ecef;
    font-weight: 300;
    pointer-events: none;
}

.hero-button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    pointer-events: auto;
    cursor: pointer;
}

.hero-button:hover {
    background-color: #fff;
    color: #000;
    cursor: pointer;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, 2%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

@media (max-width: 767.98px) {
    .video-overlay {
        align-items: flex-start;
        padding-top: 92px;
        padding-bottom: 32px;
    }

    .hero-content {
        transform: none;
        width: min(100%, 620px);
    }

    .hero-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.18;
    }

    .hero-title p br:first-of-type {
        display: none;
    }

    .hero-title p strong:first-of-type::after {
        content: " ";
    }

    .hero-title p strong:nth-of-type(2) {
        white-space: nowrap;
    }

    .hero__cursor-control {
        width: 60px;
        height: 60px;
    }

    .hero__cursor-microscope {
        font-size: 1rem;
    }
}
