:root {
    --black: #000000;
    --primary: #00A3E0;
    --primary-darker: #006286;
    --white: #ffffff;
    --transparent: #ffffff00;
    --gray-ltest: #eeeeee;
    --gray-ltester: #F7F7F7;
    --theme-tv_dark-background: #00212D
}

html {
    width: 100%;
}

h1 {
    line-height: 1.2em;
}

button {
    border-radius: 5px;
    background-color: var(--primary);
    width: 100%;
    color: var(--white);
    cursor: pointer;
    border: none;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 18px;
    max-width: 400px;
}

button:hover {
    background-color: var(--primary-darker);
}

button.btn--white {
    background-color: var(--white);
    color: var(--primary)
}

button.btn--white:hover {
    background-color: var(--gray-ltest)
}

body {
    background-color: var(--gray-ltest);
    font-family: AzoSans, Helvetica;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.background-overlay {
    background: var(--theme-tv_dark-background, #00212D);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: none;
    isolation: isolate
}

.background-overlay-layer {
    opacity: 0.4;
    background: radial-gradient(ellipse at top left, #00a3e0 0%, transparent 50%);
    position: absolute;
    top: -40%;
    left: 0;
    right: 20%;
    bottom: 0;
    z-index: -3;
}

.background-overlay-layer-one {
    opacity: 0.5;
    background: radial-gradient(ellipse at right, #C856D5 0%, transparent 80%);
    position: absolute;
    top: -60%;
    left: 10%;
    right: -20%;
    bottom: 0;
    z-index: -3;
}

.background-overlay-layer-two {
    opacity: 0.4;
    background: radial-gradient(ellipse at left bottom, #00a3e0 0%, #00a3e0 20%, transparent 70%);
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    bottom: 0;
    z-index: -3;
    backdrop-filter: blur(100px);
}

.background-overlay-layer-blur {
    position: absolute;
    opacity: 0.3;
    background-color: var(--theme-tv_dark-background);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    backdrop-filter: blur(100px);
}

.body-container {
    max-width: 1100px;
    width: 100%;
    z-index: 1;
}


.body-container.lower>div {
    padding: 30px 20px;
}

.navbar {
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    padding: 30px;
    top: 0;
    z-index: 2;
}

.nav-logo {
    height: 100%;
}

.video-wrapper-wrapper {
    pointer-events: none;
    position: relative;
    width: 100vw;
}

.video-wrapper {
    width: 100%;
    mix-blend-mode: luminosity;
    position: relative;
    z-index: 5;
    border-radius: 20px;
}

.video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 20px;
    pointer-events: all;
}

.video-overlay:hover video-overlay {
    opacity: 0.2;
    background-color: var(--primary);
    cursor: pointer;
}


.play-button {
    border-radius: 50px;
    position: absolute;
    z-index: 5;
    height: 500px;
    width: 500px;
    max-height: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    --scale: 1;
    transform: translate(-50%, -50%) scale(var(--scale));
    isolation: isolate;
    pointer-events: all;
    background-color: var(--transparent);
    border-radius: 50px;
    mix-blend-mode: normal;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.play-button svg {
    padding-left: 10px;
}

.play-button:hover {
    cursor: pointer;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.disclaimer {
    font-size: 10px;
}

.hero-section {
    overflow: hidden;
    padding-top: 100px;
    width: 100%;
    position: relative;
    margin-top: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.hero-container {
    isolation: isolate;
    position: relative;
    z-index: 10;
    margin-top: 25px;
    margin-bottom: 50px;
    color: var(--white);
    padding-inline: 20px;
    pointer-events: all;
}

.hero-container-wrapper {
    pointer-events: none;
}

.section-right {
    display: none;
}

.section-left>div {
    margin-bottom: 50px;
}

.offer-detail-container,
.testimonial-detail-container,
.problem-detail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-block: 15px;
    padding: 15px;
    gap: 20px;
}

.problem-detail {
    border-radius: 20px;
    height: auto;
    width: 40%;
    min-width: 250px;
    background-color: var(--gray-ltester);
}

.offer-detail {
    height: 200px;
    width: 30%;
    min-width: 230px;
    background-color: var(--gray-ltester);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offer-detail-title {
    font-size: 24px;
    font-weight: 800;
}

.offer-detail-subtitle {
    font-size: 20px;
    font-weight: 700;
}

.testimonial-detail {
    padding: 20px;
    text-align: center;
    height: 200px;
    width: 30%;
    min-width: 300px;
    background-color: var(--gray-ltester);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-text {
    margin-bottom: 20px;
}

.floating-cta {
    z-index: 1;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: -70px;
    height: 70px;
    background: var(--white);
    display: flex;
    padding: 30px 15px;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.floating-cta.active {
    transform: translateY(-70px);
}


.faq>div {
    margin: 15px;
}

.faq-question {
    font-weight: 600;
    font-size: 1.2em;
}

.disclaimer-section>p {
    font-size: 10px;
}

footer {
    color: var(--black);
    padding: 45px 15px 125px;
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

footer a {
    color: var(--black);
    text-decoration: none;
}

footer a::ac {
    color: var(--black);
}

.footer-container {
    max-width: 1100px;
    width: 100%;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-cta-left h2 {
    text-align: center;
}

.copyright {
    margin-inline: auto;
    text-align: center;
    font-size: 10px;
    padding-top: 20px;
}

.footer-links {
    margin-block: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary);
}

.video-popup {
    color: var(--black);
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    background-color: rgba(0, 0, 0, .9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-container {
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 90vw;
    max-height: 90%;
    position: relative;
}

.video-popup.show {
    opacity: 1;
    visibility: visible;
}


.close-video-popup {
    right: 0;
    top: 0;
    transform: translate(50%, -50%);
    height: 30px;
    width: 30px;
    border-radius: 50px;
    z-index: 16;
    background: var(--white);
    position: absolute;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.close-video-popup::before,
.close-video-popup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: black;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background 0.2s ease;
}

.close-video-popup::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-video-popup:hover {
    background: color-mix(in srgb, var(--white) 80%, black);
    transform: translate(50%, -50%) rotate(180deg);
}

.close-video-popup:hover::before,
.close-video-popup:hover::after {
    background: color-mix(in srgb, black 120%, black);
}

iframe {
    border-radius: 20px;
}

@media (min-width: 500px) {


    .footer-cta {
        flex-direction: row;
        gap: 20px;
    }

    .footer-cta button {
        min-width: 206px;
    }

    .footer-cta-left {
        max-width: 450px;
    }


    .footer-cta-right {
        width: fit-content;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 620px;
        width: 100%;
        padding: 0 !important;
    }

    .hero-section h1 .hero-section h3 {
        margin-top: 0;
    }

    .video-wrapper-wrapper {
        width: 100%;
    }

    .video-wrapper {
        z-index: 2;
        height: 100%;
        width: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .video {
        margin-left: -35%;
        border-radius: 20px;
        object-fit: cover;
    }

    .popup-container {
        width: 70%;
    }

    .play-button {
        left: 32.5%;
        pointer-events: all;
    }

    .hero-container-wrapper {
        position: relative;
        margin: 100px 5% 50px;
        border-radius: 20px;
        aspect-ratio: 16/9;
    }

    .hero-container {
        color: var(--white);
        z-index: 16;
        width: 35%;
        min-width: 300px;
        height: 100%;
        padding-left: 10%;
        padding-right: 3%;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 20px;
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0;
    }

    .video-wrapper-wrapper {
        height: 100%;
    }

    .video-overlay {
        background: linear-gradient(to left, var(--theme-tv_dark-background) 0%, var(--theme-tv_dark-background) 25%, transparent 50%, transparent 100%);
    }

    footer {
        padding-bottom: 15px;
    }

    .floating-cta {
        display: none;
    }

}

@media (min-width: 978px) {
    .offer-detail-container,
    .testimonial-detail-container,
    .problem-detail-container {
        margin-right: 10%;
    }

    .lower-sections {
        margin-top: 30px;
        display: flex;
        gap: 20px;
    }

    .section-right {
        display: block;
        width: 30%
    }


    .section-left {
        width: 75%;
    }

    .floating-cta-panel {
        position: sticky;
        background: var(--white);
        padding: 15px 20px;
        top: 80px;
        border-radius: 20px;
        color: var(--black);
        margin-top: 25px;
        border: solid 3px var(--primary);
    }

    .floating-cta-panel h2 {
        font-size: 22px;
    }

    .floating-cta-panel button {
        font-size: 18px;
    }

    .halo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -60px;
    }

}

@media (min-width: 1100px) {

    .floating-cta-panel button {
        font-size: 22px;
    }

    button {
        font-size: 24px;
    }
}

@font-face {
    font-family: AzoSans;
    src: url('./assets//fonts/AzoSans/AzoSans-Light.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Light.woff') format('woff');
}

@font-face {
    font-family: AzoSans;
    src: url('./assets/fonts/AzoSans/AzoSans-Thin.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Thin.woff') format('woff');
    font-weight: 100;
}

@font-face {
    font-family: AzoSans;
    src: url('./assets/fonts/AzoSans/AzoSans-Regular.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Regular.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: AzoSans;
    src: url('./assets/fonts/AzoSans/AzoSans-Medium.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Medium.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: AzoSans;
    src: url('./assets/fonts/AzoSans/AzoSans-Bold.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Bold.woff') format('woff');
    font-weight: 800;
}

@font-face {
    font-family: AzoSans;
    src: url('./assets/fonts/AzoSans/AzoSans-Black.eot');
    src: url('./assets/fonts/AzoSans/AzoSans-Black.woff') format('woff');
    font-weight: 900;
}

@font-face {
    font-family: LeagueGothic;
    src: url('./assets/fonts/LeagueGothic-Regular.otf');
}
