.methods {
    background: #F7F8FB;
}

.methods__container {
    position: relative;
}

.methods__title h2{
    color: #2A1D6D;
}

.methods__text {
    color: #5F597A;
}

.methods__buttons {
    max-width: 530px;
    display: flex;
    gap: 12px;
    margin: auto;
    align-items: center;
    justify-content: center;
}

.blue-button {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #fff!important;
    background: #522feb;
    display: flex;
    max-width: fit-content;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #522feb;

}

.methods__btn {
    padding: 20px 32px;
    border-radius: 40px;
    transition: all ease 0.3s;
}

.methods .methods__btn.white-button:hover,
.methods .methods__btn.blue-button:hover{
    color: #522feb!important;
    border: 1px solid #522feb;
    background: transparent;
}

.methods__see-more {
    cursor: pointer;
    margin-top: 24px;
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #522feb;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


@media screen and (min-width: 1025px) {
    .methods__title h2{
        font-size: 40px;
    }

    .methods__table {
        border: 1px solid #dfe2e6;
        border-radius: 20px;
        padding: 8px;
        background: #fff;
        max-width: 946px;
        margin: auto;
        margin-bottom: 40px;
    }

    .methods__table-header {
        display: flex;
        justify-content: flex-end;
    }

    .methods__table-tm {
        flex-basis: 310px;
        border-radius: 12px 12px 0 0;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        line-height: 150%;
        color: #5f597a;
        background: #eef0f3;
    }

    .methods__table-lap {
        flex-basis: 310px;
        border-radius: 12px 12px 0 0;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 16px;
        line-height: 150%;
        text-align: center;
        color: #fff;
        background: #522feb;
    }

    .methods__table-rows {
        display: flex;
        flex-direction: column;
    }

    .methods__table-row {
        border-bottom: 1px solid #dfe2e6;
        display: none;
    }

    .methods__table-rows .methods__table-row:nth-child(1),
    .methods__table-rows .methods__table-row:nth-child(2),
    .methods__table-rows .methods__table-row:nth-child(3),
    .methods__table-rows .methods__table-row:nth-child(4) {
        display: flex;
    }

    .methods__table-rows .methods__table-row:nth-child(4) {
        border-bottom: 0;
    }

    .methods__table-rows .methods__table-row:nth-child(4) .methods__table-sc {
        border-radius: 0px 0px 20px 20px;
    }

    .methods__table-rows.methods__table-rows-open .methods__table-row:nth-child(4) .methods__table-sc {
        border-radius: unset;
    }

    .methods__table-rows.methods__table-rows-open .methods__table-row {
        display: flex;
    }

    .methods__table-name {
        flex-basis: 310px;
        padding: 12px 24px;
        font-weight: 600;
        font-size: 14px;
        line-height: 143%;
        color: #2a1d6d;
        display: flex;
        align-items: center;
    }

    .methods__table-fc {
        flex-basis: 310px;
        padding: 12px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #5F597A;
        font-size: 14px;
        font-weight: 400;
    }

    .methods__table-sc {
        flex-basis: 310px;
        padding: 12px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #5F597A;
        font-size: 14px;
        font-weight: 600;
        background: #efedfd;
    }

    .methods__table-rows .methods__table-row:last-child .methods__table-sc{
        border-radius: 0 0 12px 12px;
    }

    .methods__table-rows .methods__table-row:last-child {
        border: none;
    }

    .methods__table-fc svg, .methods__table-sc svg {
        flex-shrink: 0;
    }

    .methods__table-mobile {
        display: none;
    }

    .methods__decor1, .methods__decor2, .methods__decor3 {
        position: absolute;
    }

    .methods__decor1 {
        left: -60px;
        top: -7px;
    }

    .methods__decor2 {
        left: -64px;
        bottom: -10px;
    }

    .methods__decor3 {
        right: -35px;
        bottom: -20px;
    }
}

@media screen and (max-width: 1024px) {
    .methods__title h2{
        font-size: 32px;
    }

    .methods__table {
        display: none;
    }

    .methods__table-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
    }

    .methods__table-mobile .methods__table-mobile-row {
        display: none;
    }

    .methods__table-mobile .methods__table-mobile-row:nth-child(2),
    .methods__table-mobile .methods__table-mobile-row:nth-child(3),
    .methods__table-mobile .methods__table-mobile-row:nth-child(4),
    .methods__table-mobile .methods__table-mobile-row:nth-child(5) {
        display: block;
    }

    .methods__table-mobile.methods__table-rows-open .methods__table-mobile-row {
        display: block;
    }

    .methods__table-mobile-name {
        font-weight: 500;
        font-size: 12px;
        line-height: 130%;
        color: #2a1d6d;
        padding: 10px 16px;
    }

    .methods__table-mobile-tm {
        display: flex;
        gap: 12px;
    }

    .methods__table-mobile-lap {
        display: flex;
        gap: 12px;
        background: #efedfd;
    }

    .methods__table-mobile-tm-title {
        flex-basis: calc((100% - 12px) / 2);
        font-weight: 500;
        font-size: 14px;
        color: #5f597a;
        padding: 12px 16px;
    }

    .methods__table-mobile-tm-text {
        flex-basis: calc((100% - 12px) / 2);
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px 12px 0px;
        font-weight: 500;
        font-size: 12px;
        line-height: 140%;
        text-align: right;
        color: #2a1d6d;
    }

    .methods__table-mobile-lap-title {
        flex-basis: calc((100% - 12px) / 2);
        font-weight: 500;
        font-size: 14px;
        color: #5f597a;
        padding: 12px 16px;
    }

    .methods__table-mobile-lap-text {
        flex-basis: calc((100% - 12px) / 2);
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px 12px 0px;
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        text-align: right;
        color: #2a1d6d;
    }

    .methods__buttons {
        flex-direction: column;
        margin-top: 24px;
    }

    .methods__table-mobile-tm-text svg, .methods__table-mobile-lap-text svg {
        flex-shrink: 0;
    }

    .methods__decor1 {
        display: none;
    }

    .methods__decor2 {
        display: none;
    }

    .methods__decor3 {
        display: none;
    }

    .methods__decor1-mob {
        position: absolute;
        left: 0px;
        top: -30px;
    }

    .methods__see-more {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 440px) {
    .methods__btn {
        min-width: 100%;
    }
}