.tech-video {
    padding: 0;
    position: relative;
    overflow: hidden;
    max-width: none !important;
}

.tech-video__scroll-spacer {
    height: 120vh;
    transition: height 0.3s ease;
}

.tech-video__scroll-spacer.collapsed {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
}

.tech-video__sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tech-video__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px 40px;
}

.tech-video__title {
    font-family: 'PP Telegraf', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

.tech-video__title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--color-accent, #4967FD);
}

.tech-video__copy {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-cobalt, #050E3D);
    opacity: 0.8;
}

.tech-video__copy p {
    margin-bottom: 1rem;
}

.tech-video__copy p:last-child {
    margin-bottom: 0;
}

.tech-video__media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.4);
    will-change: transform;
    width: 85vw;
    height: 70vh;
    z-index: 5;
}

.tech-video__player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
    border-radius: 119px;
}

.tech-video__controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.tech-video__overlay-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 10;
    width: 1640px;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tech-video__overlay-text {
    position: absolute;
    top: 10%;
    left: 8%;
    z-index: 15;
    color: #F5F5F7;
    font-family: "Inter Display", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: -1.2px;
    max-width: 60%;
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(4px);
}

.tech-video__overlay-text h1,
.tech-video__overlay-text h2,
.tech-video__overlay-text h3,
.tech-video__overlay-text h4,
.tech-video__overlay-text h5,
.tech-video__overlay-text h6 {
    font-family: "Inter Display", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
    color: inherit;
}

.tech-video__overlay-text p {
    font-family: "Inter Display", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
    color: inherit;
}

.tech-video__overlay-text em {
    font-style: italic;
    color: #4967FD;
}

.tech-video__bottom-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    color: #FFF;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -1.2px;
    max-width: 80%;
    opacity: 0;
    transform: translateX(-50%) translateY(30px) scale(0.9);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(3px);
}

.tech-video__bottom-text h1,
.tech-video__bottom-text h2,
.tech-video__bottom-text h3,
.tech-video__bottom-text h4,
.tech-video__bottom-text h5,
.tech-video__bottom-text h6 {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
    color: inherit;
}

.tech-video__bottom-text p {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
    color: inherit;
}

.tech-video__play-pause {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-video__play-pause:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.tech-video__play-pause .pause-icon {
    display: none;
}

.tech-video__play-pause.playing .play-icon {
    display: none;
}

.tech-video__play-pause.playing .pause-icon {
    display: block;
}

/* Responsive */
/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .tech-video__media {
        width: 80vw;
        height: 55vh;
    }
}

/* Small Desktop/Large Laptop (1200px - 1440px) */
@media (max-width: 1200px) {
    .tech-video__media {
        width: 90vw;
        height: 55vh;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) {
    .tech-video__media {
        width: 95vw;
        height: 50vh;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 768px) {
    .tech-video {
        padding: 40px 0;
    }

    .tech-video__content {
        margin-bottom: 30px;
    }

    .tech-video__sticky-container {
        position: relative !important;
        height: auto !important;
    }

    .tech-video__media {
        width: 90vw;
        height: 30vh;
        border-radius: 8px;
        position: relative !important;
        transform: translate(0, 0) scale(1) !important;
        top: auto !important;
        left: auto !important;
        margin: 0 auto;
    }

    .tech-video__player {
        border-radius: 50px;
    }

    .tech-video__scroll-spacer {
        display: none !important;
        height: 0 !important;
    }

    .tech-video__controls {
        bottom: 15px;
        left: 15px;
    }

    .tech-video__play-pause {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .tech-video__overlay-text {
        position: absolute !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        max-width: 100%;
        margin: 20px 0 0 0;
        padding: 0 20px;
        font-size: clamp(24px, 6vw, 32px);
        text-align: center;
    }

    .tech-video__bottom-text {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        max-width: 100%;
        margin: 30px 0 20px;
        padding: 0 20px;
        font-size: clamp(20px, 5vw, 28px);
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .tech-video__content {
        padding: 0 15px 20px;
        margin-bottom: 0px;
    }

    .tech-video__sticky-container {
        position: relative !important;
        height: auto !important;
    }

    .tech-video__media {
        width: 75vw;
        height: 15vh;
        position: relative !important;
        transform: translate(0, 0) scale(1) !important;
        top: auto !important;
        left: auto !important;
        margin: 0 auto;
    }

    .tech-video__player {
        border-radius: 20px;
    }

    .tech-video__scroll-spacer {
        display: none !important;
        height: 0 !important;
    }

    .tech-video__overlay-text {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        max-width: 100%;
        margin: 15px 0 0 0;
        padding: 0 15px;
        font-size: clamp(20px, 7vw, 28px);
        text-align: center;
    }

    .tech-video__bottom-text {
        margin: 20px 0 15px;
        padding: 0 15px;
        font-size: clamp(18px, 6vw, 24px);
    }
}

/* ScrollTrigger Animation States */
.tech-video[data-video-block] {
    overflow: hidden;
}

.tech-video .container {
    overflow: hidden;
    max-width: 100%;
}

.tech-video__container {
    width: 100%;
}

/* Video scaling states */
.tech-video__media.scale-start {
    transform: scale(1.4);
}

.tech-video__media.scale-end {
    transform: scale(0.7);
}

/* Pinned state */
.tech-video.pinned {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Smooth scaling during scroll */
.tech-video__media[data-scroll-scale] {
    transition: none;
}