#ew-hero,
#ew-hero * {
    box-sizing: border-box;
}

#ew-hero {
    --ew-blue: #2B80FF;
    --ew-orange: #ff9d00;
    --ew-dark: #07182b;

    position: relative;
    width: 100%;
    min-height: 790px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--ew-dark);

    font-family: inherit;
}


/* =========================
   BACKGROUND
========================= */

#ew-hero .ew-hero-bg,
#ew-hero .ew-hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

#ew-hero .ew-hero-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    opacity: 0;

    transform: scale(1.06);

    transition:
        opacity 1.5s ease,
        transform 7s ease;
}

#ew-hero .ew-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}



/* =========================
   OVERLAY
========================= */

#ew-hero .ew-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 18, 34, .95) 0%,
            rgba(5, 18, 34, .89) 25%,
            rgba(5, 18, 34, .69) 44%,
            rgba(5, 18, 34, .40) 60%,
            rgba(5, 18, 34, .16) 75%,
            rgba(5, 18, 34, .04) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 14, 26, .20) 0%,
            rgba(4, 14, 26, .06) 40%,
            transparent 70%
        );
}

#ew-hero .ew-hero-glow {
    position: absolute;

    z-index: 2;

    top: -220px;
    left: 10%;

    width: 700px;
    height: 700px;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(43, 128, 255, .13),
            transparent 68%
        );
}


/* =========================
   INNER
========================= */

#ew-hero .ew-hero-inner {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    padding: 150px 60px 120px;
}

#ew-hero .ew-hero-content {
    width: 100%;
    max-width: 940px;
}


/* =========================
   KICKER
========================= */

#ew-hero .ew-hero-kicker {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 27px;

    color: rgba(255,255,255,.86);

    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;

    opacity: 0;

    transform: translateY(15px);

    animation:
        ewFadeUp .7s ease .1s forwards;
}

#ew-hero .ew-kicker-dot {
    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background: var(--ew-orange);

    box-shadow:
        0 0 0 5px rgba(255,157,0,.14);
}


/* =========================
   HEADLINE
========================= */

#ew-hero h1 {
    max-width: 940px;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 74px);
    line-height: .99;
    letter-spacing: -.043em;

    font-weight: 650;

    opacity: 0;

    transform: translateY(22px);

    animation:
        ewFadeUp .8s ease .22s forwards;
}

#ew-hero h1 span {
    display: block;

    color: rgba(255,255,255,.94);
}


/* =========================
   TEXT
========================= */

#ew-hero .ew-hero-text {
    max-width: 670px;

    margin: 29px 0 0;
    padding: 0;

    color: rgba(255,255,255,.78);

    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;

    opacity: 0;

    transform: translateY(18px);

    animation:
        ewFadeUp .8s ease .34s forwards;
}


/* =========================
   BUTTONS
========================= */

#ew-hero .ew-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 38px;

    opacity: 0;

    transform: translateY(18px);

    animation:
        ewFadeUp .8s ease .46s forwards;
}

#ew-hero .ew-btn {
    min-height: 57px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    border-radius: 4px;

    text-decoration: none !important;

    font-size: 14px;
    line-height: 1;

    font-weight: 600;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

#ew-hero .ew-btn:hover {
    transform: translateY(-2px);
}

#ew-hero .ew-btn-primary {
    color: #ffffff !important;

    background: #2B80FF;

    border: 1px solid #2B80FF;

    box-shadow:
        0 12px 36px rgba(43,128,255,.28);
}

#ew-hero .ew-btn-primary:hover {
    color: #ffffff !important;

    background: #176feF;

    border-color: #176fef;

    box-shadow:
        0 16px 42px rgba(43,128,255,.36);
}

#ew-hero .ew-btn-primary svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform .25s ease;
}

#ew-hero .ew-btn-primary:hover svg {
    transform: translateX(4px);
}

#ew-hero .ew-btn-secondary {
    color: #ffffff !important;

    background: rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.28);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#ew-hero .ew-btn-secondary:hover {
    color: #ffffff !important;

    background: rgba(255,255,255,.12);

    border-color:
        rgba(255,255,255,.46);
}


/* =========================
   META
========================= */

#ew-hero .ew-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 28px;

    margin-top: 42px;

    opacity: 0;

    transform: translateY(16px);

    animation:
        ewFadeUp .8s ease .58s forwards;
}

#ew-hero .ew-meta-item {
    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255,255,255,.69);

    font-size: 13px;
    font-weight: 400;
}

#ew-hero .ew-meta-check {
    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(43,128,255,.14);

    border:
        1px solid rgba(43,128,255,.42);
}

#ew-hero .ew-meta-check svg {
    width: 12px;
    height: 12px;

    fill: none;

    stroke: #2B80FF;

    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================
   SCROLL
========================= */

#ew-hero .ew-scroll-indicator {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 27px;

    width: 24px;
    height: 40px;

    border:
        1px solid rgba(255,255,255,.25);

    border-radius: 20px;

    transform:
        translateX(-50%);
}

#ew-hero .ew-scroll-indicator span {
    position: absolute;

    left: 50%;
    top: 8px;

    width: 3px;
    height: 7px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.76);

    animation:
        ewScroll 1.8s ease infinite;
}


/* =========================
   ANIMATION
========================= */

@keyframes ewFadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes ewScroll {

    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    #ew-hero {
        min-height: 720px;
    }

    #ew-hero .ew-hero-inner {
        padding:
            135px
            40px
            110px;
    }

    #ew-hero h1 {
        font-size:
            clamp(46px, 7vw, 64px);
    }

    #ew-hero .ew-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,18,34,.95) 0%,
                rgba(5,18,34,.87) 36%,
                rgba(5,18,34,.56) 62%,
                rgba(5,18,34,.20) 82%,
                rgba(5,18,34,.05) 100%
            );
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    #ew-hero {
        min-height: 700px;

        align-items: flex-end;
    }

    #ew-hero .ew-hero-inner {
        padding:
            115px
            22px
            72px;
    }

    #ew-hero .ew-hero-slide {
        background-position:
            center center;
    }

    #ew-hero .ew-hero-kicker {
        margin-bottom: 19px;

        font-size: 12.5px;

        gap: 9px;
    }

    #ew-hero h1 {
        font-size: 42px;
        line-height: 1.03;
        letter-spacing: -.04em;
    }

    #ew-hero .ew-hero-text {
        margin-top: 22px;

        font-size: 15.5px;
        line-height: 1.65;
    }

    #ew-hero .ew-hero-actions {
        width: 100%;

        gap: 9px;

        margin-top: 29px;
    }

    #ew-hero .ew-btn {
        width: 100%;

        min-height: 55px;
    }

    #ew-hero .ew-hero-meta {
        margin-top: 27px;

        gap: 12px 18px;
    }

    #ew-hero .ew-meta-item {
        font-size: 11.5px;
    }

    #ew-hero .ew-scroll-indicator {
        display: none;
    }

    #ew-hero .ew-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(5,18,34,.96) 0%,
                rgba(5,18,34,.87) 42%,
                rgba(5,18,34,.55) 67%,
                rgba(5,18,34,.18) 87%,
                rgba(5,18,34,.04) 100%
            );
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 420px) {

    #ew-hero {
        min-height: 690px;
    }

    #ew-hero h1 {
        font-size: 37px;
    }

    #ew-hero .ew-hero-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    #ew-hero .ew-hero-meta {
        gap: 10px 14px;
    }

}
