/** @format */
.intro {
    background: #0b2b3d;
    margin-bottom: 1.5em;
    .introText {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(
            to bottom,
            #0b2b3d 30%,
            rgba(11, 43, 61, 0.5) 70%,
            rgba(11, 43, 61, 0) 100%
        );
    }
    .headerSlider {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .headerSlider img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        &:first-of-type {
            position: relative;
        }
    }

    .headerSlider img.active {
        opacity: 1;
    }

    h1,
    p {
        color: #fff;
    }
    .sample {
        position: absolute;
        left: -5em;
        bottom: 3em;
        opacity: 0;
        transform: translateX(100px);
        animation: fadeInSlideIn 1s ease-in-out 2s forwards;

        @keyframes fadeInSlideIn {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
    }
    .ranking {
        position: absolute;
        top: 0em;
        right: -0.5em;
        width: 200px;
        animation: moveUpDown 5s ease-in-out infinite;

        @keyframes moveUpDown {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }
    }
}
.testimonial {
    background-color: $ultralight_grey;
}
.cta {
    background-color: $navy;
    padding: 0;
    overflow: hidden;
    .cta__content {
        padding: 3em 0 3em 0;
        color: #fff;
        text-align: center;
        h2 {
            color: #fff;
            font-size: 56px;
        }
        p {
            color: #fff;
        }
    }
    .cta__mockup {
        margin-top: 3em;
        position: relative;
        img {
            border: 4px solid #101828;
            border-radius: 10px;
            position: absolute;
            top: 0;
            left: 3em;
            min-width: 500px;
        }
    }
}

.trustedby {
    background-color: #f9fafb;
    background-color: #ebeeef;
    &__logos {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5em 0;
        flex-direction: row;
        gap: 1em;
        li {
            width: 200px;
            max-height: 100px;
        }
        img {
            width: 150px;
        }
    }
}
.featureIcon {
    width: 32px;
    padding: 6px 0;
    margin-left: 6px;
    margin-right: 6px;
    color: $navy;
    opacity: 1;
}
.reason {
    text-align: left;
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px dotted $navy;
    &:last-of-type {
        border-bottom: none;
    }
    align-items: center;
    .featureIcon {
        margin-left: 1em;
        margin-right: 1em;
    }

    h4 {
        font-size: 20px;
        font-weight: 600;
        margin: 0.5em 0 0 0;
        color: $navy;
    }
    p {
        font-size: 18px;
        color: $navy;
        font-weight: 500;
        opacity: 0.87;
        margin-bottom: 0;
    }
}
.features {
    overflow: hidden;

    .featuresList {
        position: relative;
        z-index: 10;
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            display: block;
            padding: 1.5em 1em;
            border-left: 4px solid #f2f4f7;
            &.active {
                border-left: 4px solid $green;
                transition: border-color 0.3s ease-in-out;
                h3 {
                    color: $green;
                    font-weight: 400;
                    transition: color 0.3s ease-in-out;
                }
            }
            &:hover {
                cursor: pointer;
                text-decoration: none;
            }
            h3 {
                font-size: 20px;
                font-weight: 500 !important;
            }
            p {
                font-size: 16px;
            }
            a {
                color: $green;
                font-weight: bold;
                font-size: 16px;
                &:hover {
                    color: $green;
                    border-bottom: 2px solid $green;
                    text-decoration: none;
                }
            }
        }
    }

    .imageSlide {
        position: absolute;
        z-index: 1;
        right: 0;
        left: 0;
        bottom: 0;
        &.imageSlide--first {
            position: relative;
        }
        @media (min-width: 768px) {
            left: 40%;
            &.imageSlide--first {
                position: absolute;
            }
        }
        @media (min-width: 1300px) {
            left: 50%;
        }
        @media (min-width: 1900px) {
            left: 55%;
        }
        transition: opacity 0.6s ease-in-out;
        opacity: 0;
        &.activeSlide {
            opacity: 1;
            transition-delay: 0.3s;
        }
        &:not(.activeSlide) {
            opacity: 0;
            transition-delay: 0s;
        }
        // transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        // &.activeSlide {
        //   transform: translateX(0);
        //   transition-delay: 0.3s;
        // }
        // &:not(.activeSlide) {
        //   transform: translateX(100%);
        //   transition-delay: 0s;
        // }
    }
}
.keyFeatures {
    overflow: hidden;

    .keyFeaturesList {
        position: relative;
        z-index: 10;
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;

        li {
            display: block;
            padding: 1.5em 1em;
            border-left: 4px solid $green;
            &.active {
                transition: border-color 0.3s ease-in-out;
                h3 {
                    color: $green;
                    transition: color 0.3s ease-in-out;
                }
            }

            h3 {
                font-size: 20px;
                margin-bottom: 0;
            }
            p {
                font-size: 16px;
            }
        }
    }
}
