*, :after, :before {
    box-sizing: inherit;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

html {
    box-sizing: border-box
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0
}

p {
    margin: 0
}

picture {
    display: block
}

img {
    display: block;
    border: none
}

img, svg {
    vertical-align: middle
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none
}

:focus {
    outline: none
}

button {
    all: unset
}

:root {
    --primary-font: "Scada", sans-serif;
    --scondary-font: "Roboto", sans-serif;
}

body {
    line-height: 1;
    text-rendering: optimizeSpeed;
    -webkit-text-decoration-skip: objects;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-style: normal;
    display: flex;
    flex-direction: column;
    position: relative;
    font-variation-settings: "wdth" 100;
    background: #EBEBEB;
    font-optical-sizing: auto;
    font-family: var(--primary-font), sans-serif;
}

.main {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    z-index: 1;
}

.mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mask__item {
    position: absolute;
    filter: blur(120px);
    -webkit-filter: blur(120px);
    pointer-events: none;
    border-radius: 50%;
    aspect-ratio: 1;
    width: clamp(300px, 30vw, 600px);
}

.mask__item:nth-child(1) {
    top: 23%;
    transform: translateX(-50%);
    left: clamp(50px, 20vw, 600px);
}

.mask__item:nth-child(2) {
    top: 52%;
    left: auto;
    transform: translateX(50%);
    right: clamp(50px, 15vw, 550px);
}

.mask__item:nth-child(3) {
    top: 85%;
    transform: translateX(-50%);
    left: clamp(50px, 20vw, 600px);
}

.mask--neon {
    background: #1EFFFF;
}

.mask--violet {
    background: #E88BFF;
}

.container {
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
}

.header {
    position: relative;
    z-index: 1;
    width: 100%;

    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #515DEF;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
}

.header__content {
    position: relative;
    z-index: 1;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.header__content-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
}

.cta-btn {
    width: 100%;
    padding: 16px 32px;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    color: #515DEF;
    border-radius: 8px;
    background: #F2F4FC;
    cursor: pointer;
    text-align: center;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            background-color 0.2s ease;

    &:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
        background-color: #AEBDFF;
        color: #fff;
    }

    &:active {
        transform: scale(0.98) translateY(1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        background-color: #AEBDFF;
        color: #515DEF;
    }
}

.cta-btn--hero {
    display: block;
}

.cta-btn--header {
    display: none;
}

.header__content-title {
    font-family: var(--scondary-font), sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #fff;
}

.content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero {
    width: 100%;
    background: url('../img/bg_banner_2.webp') no-repeat center / cover;
    border-radius: 30px;
    overflow: hidden;
    padding: 0 32px;
}

.hero__content {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 80px 0;
    background: url('../img/banner_2.webp') no-repeat;
    background-position-x: right;
    background-position-y: 50%;
    background-size: clamp(100px, 45vw, 700px);
    width: 100%;
    max-width: 1586px;
}

.hero__title {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: clamp(22px, 4.5vw, 44px);
    width: 50%;
    line-height: 1.1;
    font-weight: 700;
    color: #000;
}

.slides {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.slide__card {
    position: relative;
    width: 100%;
    max-width: 375px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: start;
    gap: 17px;
    padding: 40px 32px;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;

    &:nth-of-type(1) {
        & > .slide__card-img {
            border: 1px solid #B4B4B4;
        }
    }
}

.slide__card-img {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    aspect-ratio: 400 / 250;
    width: 100%;
    border-radius: 30px;
    background: #D9D9D9;
    object-fit: fill;
    grid-column: 1;
}

.slide__card-description {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 1.4;
    color: #515DEF;
    grid-column: 1;
}

.slide__card-btn {
    position: relative;
    z-index: 2;
    grid-column: 1;
}

.description {
    width: 100%;
    max-width: 1728px;
    margin: 0 auto 80px;
    padding-left: 24px;
    padding-right: 24px;
}

.description__wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1568px;
    padding: 44px 16px 116px;
    border-radius: 20px;
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(96px);
    -webkit-backdrop-filter: blur(96px);
}

.description__table-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.description__text-content {
    display: flex;
    flex-direction: column;
    max-width: 1409px;
    color: #515DEF;
    font-variant: small-caps;
    letter-spacing: .5px;

    & > p + p {
        margin-top: 14px;
    }

    & > p {
        font-size: 14px;
        line-height: 1;
        font-weight: 400;
    }

    & > h2 {
        font-size: 22px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 8px;

        &:not(:first-child) {
            margin-top: 35px;
        }
    }

    & > ul {
        margin-top: 14px;
        margin-bottom: 0;
        padding-left: 24px;

        & > li {
            font-size: 14px;

            &:not(:last-child) {
                margin-bottom: 14px;
            }
        }
    }
}

.table-wrapper__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #515DEF;
}

.table__header {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.03;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #E9ECF2;
}

.table__header-row-cell {
    display: flex;
    align-items: center;
    width: auto;
    padding: 16px 12px;
    flex: 1 1 0;
    background: #515DEF;
    align-self: stretch;
    height: auto;
}

.table__header-row-cell:first-child {
    flex: 0 1 35%;
    max-width: 35%;
    background: #DB47FF;
}

.table__header-row-cell:not(:last-child) {
    border-right: 1px solid #42C83C;
}

.table__body-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    border: 1px solid #E9ECF2;
}

.table__body-row > .table__body-row-cell:not(:last-child) {
    border-right: 1px solid #E9ECF2;
}

.table__body-row .table__body-row-cell:first-child {
    font-weight: 700;
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #515DEF;
    flex: 0 1 35%;
    max-width: 35%;
    flex-shrink: 0;
    background: #F2BFFF;
}

.table__body-row .table__body-row-cell {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    width: auto;
    background: #AEBDFF;
    font-weight: 700;
    font-size: 8px;
    line-height: 1.4;
    color: #515DEF;
    padding: 27px 12px;
}

.footer {
    position: relative;
    width: 100%;

    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        border-top-left-radius: 13px;
        border-top-right-radius: 13px;
    }
}

.footer__content {
    position: relative;
    z-index: 1;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__content-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #515DEF;
}

.scroll-to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 80px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F4FC;
    cursor: pointer;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease;
    opacity: 0;
    transform: translateY(20px) scale(.9);
    visibility: hidden;
    z-index: 9999;
}

.scroll-to-top-btn--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.scroll-to-top-btn__icon {
    width: 24px;
    height: 24px;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-to-top-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
        background-color: #AEBDFF;
    }
}

@media (min-width: 600px) {
    .header {
        &:before {
            border-bottom-left-radius: 25px;
            border-bottom-right-radius: 25px;
        }
    }

    .header__content {
        justify-content: flex-start;
        height: 68px;
        padding: 0 80px;
    }

    .hero {
        padding: 0 40px;
        border-radius: 25px;
    }

    .hero__content {
        padding: 60px 0;
        background-position-x: right;
        background-position-y: 0;
        background-size: clamp(250px, 21vw, 700px);
    }

    .cta-btn {
        width: fit-content;
        padding: 16px 28px;
    }

    .cta-btn--hero {
        display: none;
    }

    .cta-btn--header {
        display: block;
        margin-left: auto;
    }

    .hero__title {
        width: 100%;
        font-size: clamp(22px, 3.5vw, 80px);
    }

    .slides {
        gap: 16px;
        padding: 40px;
    }

    .slide__card {
        grid-template-columns: 140px 1fr;
        width: 100%;
        max-width: 1586px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        column-gap: 16px;
        row-gap: 8px;
        padding: 19px 48px;
        border-radius: 26px;

        &:before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 45%;
            transform: rotate(-15deg);
            z-index: 1;
            aspect-ratio: 590 / 474;
            max-width: 590px;
            background: url('../img/card_lines.svg');
        }
    }

    .slide__card-img {
        width: 100%;
        max-width: 212px;
        border-radius: 20px;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .slide__card-btn {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .description {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .description__text-content {
        & > p + p {
            margin-top: 16px;
        }

        & > p {
            font-size: 16px;
        }

        & > h2 {
            font-size: 32px;
            margin-bottom: 16px;

            &:not(:first-child) {
                margin-top: 24px;
            }
        }

        & > ul {
            margin-top: 16px;
            margin-bottom: 0;
            padding-left: 24px;

            & > li {
                font-size: 16px;

                &:not(:last-child) {
                    margin-bottom: 16px;
                }
            }
        }
    }

    .description__wrapper {
        gap: 40px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .description__table-content {
        gap: 24px;
    }

    .table-wrapper__title {
        font-size: 40px;
    }

    .table__header {
        font-size: 16px;
        font-weight: 700;
    }

    .table__header-row-cell {
        padding: 15px 16px 9px;
    }

    .table__body-row .table__body-row-cell:first-child {
        font-size: 13px;
    }

    .table__body-row .table__body-row-cell {
        font-size: 12px;
        padding: 16px;
    }

    .footer__content {
        height: 62px;
    }

    .scroll-to-top-btn {
        width: 60px;
        height: 60px;
    }

    .scroll-to-top-btn__icon {
        width: 21px;
        height: 21px;
    }

    .mask__item:nth-child(1) {
        top: 15%;
    }

    .mask__item:nth-child(2) {
        top: 40%;
    }

    .mask__item:nth-child(3) {
        top: 70%;
    }

    .mask__item:nth-child(4) {
        top: 93%;
        left: auto;
        transform: translateX(50%);
        right: clamp(50px, 15vw, 550px);
    }
}

@media (min-width: 680px) {
    .hero {
        padding: 0 40px 0 80px;
        border-radius: 25px;
    }
}

@media (min-width: 820px) {
    .slide__card-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 1;
    }

    .slide__card-btn {
        grid-column: 3 / 4;
        grid-row: 1 / 1;
    }
}

@media (min-width: 1440px) {
    .header {
        background: transparent;

        &:before {
            border-bottom-left-radius: 30px;
            border-bottom-right-radius: 30px;
        }
    }

    .header__content {
        height: 84px;
    }

    .hero {
        border-radius: 30px;
        padding: 0 71px;
    }

    .hero__content {
        padding: 102px 0;
        background-position-x: right;
    }

    .cta-btn {
        width: fit-content;
        padding: 16px 21px;
    }

    .slides {
        gap: 40px;
        padding: 88px 71px;
    }

    .slide__card {
        grid-template-columns: 212px 1fr auto;
        width: 100%;
        max-width: 1586px;
        gap: 51px;
        padding: 26px 125px 26px 113px;
        border-radius: 30px;

        &:before {
            top: -20%;
            right: -20%;
            aspect-ratio: 688 / 558;
            max-width: 688px;
        }
    }

    .slide__card-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
        max-width: 212px;
        border-radius: 24px;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 1;
        font-size: 18px;
    }

    .slide__card-btn {
        grid-column: 3 / 4;
        grid-row: 1 / 1;
    }

    .description {
        width: 100%;
        padding-left: 71px;
        padding-right: 71px;
    }

    .description__text-content {
        & > p + p {
            margin-top: 32px;
        }

        & > p {
            font-size: 32px;
        }

        & > h2 {
            font-size: 64px;

            &:not(:first-child) {
                margin-top: 88px;
            }
        }

        & > ul {
            margin-top: 32px;
            margin-bottom: 0;

            & > li {
                font-size: 32px;

                &:not(:last-child) {
                    margin-bottom: 32px;
                }
            }
        }
    }

    .description__wrapper {
        gap: 63px;
        padding: 64px 104px 208px;
    }

    .description__table-content {
        gap: 56px;
    }

    .table-wrapper__title {
        font-size: 56px;
    }

    .table__header {
        font-size: 36px;
    }

    .table__header-row-cell {
        padding: 30px 32px;
    }

    .table__body-row .table__body-row-cell:first-child {
        font-size: 24px;
    }

    .table__body-row .table__body-row-cell {
        font-size: 18px;
        padding: 24px 36px;
    }

    .footer__content {
        height: 70px;
    }

    .scroll-to-top-btn {
        width: 90px;
        height: 90px;
    }

    .scroll-to-top-btn__icon {
        width: 32px;
        height: 32px;
    }

    .mask__item:nth-child(1) {
        top: 20%;
    }

    .mask__item:nth-child(2) {
        top: 37%;
    }
}
