@font-face {
    font-family: "Segoe UI Bold";
    src: url("../../../css/fonts/segoe-ui-bold.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI Light";
    src: url("../../../css/fonts/segoe-ui-light.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI SemiLight";
    src: url("../../../css/fonts/segoe-ui-semilight.ttf") format("truetype");
}

.ai-hero {
    padding: clamp(32px, 7vw, 110px) clamp(16px, 4vw, 40px);
    padding-top: clamp(84px, 7vw, 110px);
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
    font-family: "Segoe UI Light", sans-serif;
    background: radial-gradient(ellipse at 70% 35%, rgba(114, 102, 255, 0.08), rgba(71, 177, 74, 0));
}

.ai-hero + .blog-article-block#blog-article-bage {
    margin-top: 0;
}

.ai-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ai-hero__container {
        max-width: 780px;
    }
}

@media (min-width: 992px) {
    .ai-hero__container {
        max-width: 1000px;
    }
}

@media (min-width: 1200px) {
    .ai-hero__container {
        max-width: 1200px;
    }
}

.ai-hero__content,
.ai-hero__visuals {
    min-width: 0;
}

.ai-hero__content {
    position: relative;
    z-index: 1;
    max-width: 615px;
}

.ai-hero__slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 600;
    line-height: 1.35;
}

.ai-hero__slogan-icon {
    width: 18px;
    height: 18px;
}

.ai-hero__title {
    margin: 0;
    font-family: "Segoe UI Bold", sans-serif;
    font-size: clamp(34px, 3.2vw, 50px);
    font-weight: 600;
    line-height: 1.08;
}

.ai-hero__caption {
    display: block;
    width: clamp(180px, 48%, 299px);
    max-width: 100%;
    height: auto;
    margin: 18px 0 28px;
    mix-blend-mode: multiply;
}

.ai-hero__caption--mobile {
    display: none;
}

.ai-hero__caption--desktop {
    width: clamp(210px, 34%, 299px);
    margin: 0 0 -48px -14px;
    align-self: flex-start;
    transform: translateY(clamp(28px, 2.1vw, 42px));
}

.ai-hero__paragraph {
    margin: 0 0 22px;
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 300;
    line-height: 1.33;
}

.ai-hero__content > .ai-hero__paragraph:first-of-type {
    margin-top: clamp(22px, 2.2vw, 42px);
}

.ai-hero__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 10px 0 20px;
    padding-left: 26px;
    list-style: none;
}

.ai-hero__list-item {
    position: relative;
    font-family: "Segoe UI SemiLight", sans-serif;
    font-size: clamp(14px, 1.25vw, 17px);
}

.ai-hero__list-item::before {
    content: "";
    position: absolute;
    top: 0.35em;
    left: -20px;
    width: 12px;
    height: 7px;
    border-bottom: 2px solid #26ae4a;
    border-left: 2px solid #26ae4a;
    transform: rotate(-45deg);
}

.ai-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(220px, 100%);
    min-height: 56px;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #00aeef, #8cc63f) 1;
    color: inherit;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
}

.ai-hero__visuals {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    width: max-content;
    max-width: none;
    margin-top: clamp(-70px, -4vw, -40px);
    margin-left: clamp(-90px, -5vw, -40px);
}

.ai-hero__schema {
    display: block;
    width: clamp(420px, 52vw, 820px);
    max-width: none;
    height: auto;
    mix-blend-mode: multiply;
}

.ai-hero__schema--mobile {
    display: none;
}

.ai-hero__corgi {
    display: block;
    width: clamp(145px, 30%, 206px);
    max-width: 100%;
    height: auto;
    margin-top: -300px;
    margin-left: -110px;
    align-self: flex-start;
    mix-blend-mode: multiply;
}

@media (min-width: 768px) {
    .ai-hero__schema,
    .ai-hero__corgi {
        transform: translateY(clamp(-52px, -2.7vw, -24px));
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .ai-hero__schema {
        transform: none;
    }

    .ai-hero__corgi {
        align-self: center;
        margin-top: -45px;
        margin-left: 0;
        transform: none;
    }
}

@media (min-width: 1200px) {
    .ai-hero__corgi {
        align-self: flex-start;
        margin-top: -300px;
        margin-left: -110px;
    }
}

@media (max-width: 767px) {
    .ai-hero {
        padding-top: 84px;
    }

    .ai-hero__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ai-hero__title {
        font-size: clamp(24px, 7.5vw, 42px);
    }

    .ai-hero__caption--mobile {
        display: block;
        margin: 14px 0 22px;
    }

    .ai-hero__content > .ai-hero__paragraph:first-of-type {
        margin-top: 0;
    }

    .ai-hero__caption--desktop {
        display: none;
    }

    .ai-hero__schema:not(.ai-hero__schema--mobile) {
        display: none;
    }

    .ai-hero__schema--mobile {
        display: block;
        width: calc(100% - 56px);
        max-width: 100%;
        margin: 8px 0 18px;
    }

    .ai-hero__visuals {
        width: 100%;
        margin: 0;
    }

    .ai-hero__corgi {
        width: clamp(124px, 34vw, 170px);
        margin: 0 0 0 clamp(32px, 15vw, 100px);
        align-self: flex-start;
    }
}

@media (max-width: 500px) {
    .ai-hero__schema--mobile {
        width: 100%;
    }
}
