*, :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: "Oswald", 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: linear-gradient(to bottom, #000000 0%, #0C2565 38%, #05020A 100%);
    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: 35%;
    transform: translateX(-50%);
    left: clamp(50px, 20vw, 600px);
    width: clamp(300px, 30vw, 550px);
}

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

.mask__item:nth-child(3) {
    display: none;
}

.mask--blue {
    background: #1E50FF;
}

.mask--violet {
    background: #9C08FF;
}

.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: 20px 32px;
    font-family: var(--scondary-font), sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    color: #515DEF;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition:
            color 0.2s ease,
            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: #D9D9D9;
        color: #0D1849;
    }

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

.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_4.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_4.webp') no-repeat;
    background-position-x: right;
    background-position-y: 30%;
    background-size: clamp(100px, 45vw, 700px);
    width: 100%;
    max-width: 1586px;
}

.hero__title {
    font-family: var(--scondary-font), 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: #fff;
}

.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;
    background: #151925;
    border-radius: 8px;
}

.slide__card:nth-of-type(1)::before {
    content: '';
    position: absolute;
    z-index: 2;
    aspect-ratio: 1;
    width: 2rem;
    left: 0;
    top: -2rem;
    background: url('../img/star.svg') no-repeat center / contain;
}

.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-size: 12px;
    line-height: 1.4;
    color: #fff;
    grid-column: 1;
}

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


.description {
    width: 100%;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
}

.description__text-block {
    margin-bottom: 46px;
}

.description__text-content {
    display: flex;
    flex-direction: column;
    max-width: 1360px;
    color: #fff;
    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 {
    position: relative;
    width: 100%;
    max-width: 1728px;
    margin: 0 auto 80px;
    padding-left: 24px;
    padding-right: 24px;
}

.table-wrapper__content:before {
    content: '';
    position: absolute;
    z-index: 2;
    aspect-ratio: 1;
    width: 3rem;
    right: -0.5rem;
    top: -2rem;
    transform: rotate(-30deg);
    background: url('../img/star.svg') no-repeat center / contain;
}

.table-wrapper__content:after {
    content: '';
    position: absolute;
    z-index: 2;
    aspect-ratio: 1;
    width: 3rem;
    left: 0;
    bottom: -4rem;
    transform: rotate(-30deg);
    background: url('../img/star.svg') no-repeat center / contain;
}

.table-wrapper__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1568px;
    padding: 20px 16px 110px;
    border-radius: 20px;
    background: #151925;
    backdrop-filter: blur(96px);
    -webkit-backdrop-filter: blur(96px);
}

.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 #C7C7C7;
}

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

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

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

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

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

.table__body-row .table__body-row-cell:first-child {
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    flex: 0 1 35%;
    max-width: 35%;
    flex-shrink: 0;
}

.table__body-row .table__body-row-cell {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    width: auto;
    background: #0D1849;
    font-weight: 700;
    font-size: 8px;
    line-height: 1.4;
    color: #fff;
    padding: 11px 6px;
}

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

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

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

.footer__content-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    text-transform: uppercase;
}

.scroll-to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    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;
    font-family: var(--scondary-font), sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #515DEF;
    padding: 14px 40px;
}

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

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

@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: 20px;
        background-size: clamp(250px, 20vw, 700px);
    }

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

    .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;
        column-gap: 16px;
        row-gap: 8px;
        padding: 19px 48px;
    }

    .slide__card:nth-of-type(1)::before {
        content: '';
        left: -1.5rem;
        top: -1.5rem;
        transform: rotate(45deg);
    }

    .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 {
        padding: 0 78px;
    }


    .description__text-block {
        margin-bottom: 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;
                }
            }
        }
    }

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

    .table-wrapper__content {
        gap: 24px;
        padding: 40px 32px 96px;
    }

    .table-wrapper__content:before {
        right: -1.5rem;
        top: -1.5rem;
    }

    .table-wrapper__content:after {
        left: -1.5rem;
        bottom: -1.5rem;
    }

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

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

    .table__header-row-cell {
        padding: 8px 16px 4px;
    }

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

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

    .footer__content {
        height: 62px;
    }

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

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

@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 {
        &: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: 20px 56px;
    }

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

    .slide__card {
        grid-template-columns: 212px 1fr auto;
        width: 100%;
        max-width: 1586px;
        gap: 51px;
        padding: 26px 102px 26px 64px;
    }

    .slide__card:nth-of-type(1)::before {
        content: '';
        left: auto;
        right: -1rem;
        top: 0;
        transform: rotate(0deg);
    }

    .slide__card:nth-of-type(3)::before {
        content: '';
        position: absolute;
        z-index: 2;
        aspect-ratio: 1;
        width: 4.625rem;
        left: -2.3rem;
        bottom: -2.3rem;
        background: url('../img/star.svg') no-repeat center / contain;
    }

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

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

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

    .description {
        padding: 0 178px;
    }

    .description__text-block {
        margin-bottom: 88px;
    }

    .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;
                }
            }
        }
    }

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

    .table-wrapper__content:before {
        width: 4.4rem;
        right: -2.2rem;
        top: 45%;
        transform: rotate(0);
    }

    .table-wrapper__content:after {
        width: 4rem;
        left: -2rem;
        bottom: -2rem;
        transform: rotate(0);
    }

    .table-wrapper__content {
        gap: 56px;
        padding: 36px 104px 128px;
    }

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

    .table__header {
        font-size: 36px;
    }

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

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

    .table__body-row .table__body-row-cell {
        font-size: 18px;
        padding: 16px 32px 10px;
    }

    .footer__content {
        height: 68px;
    }

    .mask__item:nth-child(3) {
        display: block;
        top: 82%;
        transform: translateX(-50%);
        left: clamp(50px, 20vw, 600px);
        width: clamp(400px, 30vw, 800px);
    }
}
