@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');

html {
    height: 100%;
}
 
body {
    height: 100%;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    min-height: 100%;
    overflow-x: hidden;
    background: #F9F3FF;
    color: #3F3548;
}
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.jf4m81ai-main {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Header */
.jf4m81ai-header {
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	right: 0;
	padding: 40px 20px 20px;
    transition: .3s;
}

.jf4m81ai-header.scroll {
    background: #F9F3FF;
    box-shadow: 0px 0px 4px 0px #CFAFFF;
}

.jf4m81ai-header__global {
    width: 100%;
}

.jf4m81ai-header__menu {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    gap: 8px;
}

.jf4m81ai-header__navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jf4m81ai-header__filter {
	display: flex;
	align-items: center;
	justify-content: space-between;
    gap: 20px 90px;
}

.jf4m81ai-header__blueprint {
	display: flex;
	align-items: center;
	font-size: 15px;
	line-height: 19px;
	text-transform: uppercase;
}

.jf4m81ai-header__points {
	padding: 6px 24px;
    border: 2px solid #8856D33D;
    border-radius: 100px;
    transition: .3s;
}

.jf4m81ai-header__points.active {
    border-color: #8856D3;
}

.jf4m81ai-header__points:hover {
    border-color: #8856D3;
}

.jf4m81ai-burger {
    display: none;
    position: absolute;
    z-index: 8;
    right: 20px;
    width: 22px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

.jf4m81ai-burger .jf4m81ai-flow {
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: #8856D3;
    transition: transform 0.2s ease-out;
}

.toggle .flow1 {
    background: #8856D3;
    transform: scale(0.9) rotateZ(-44deg) translate(-5px, 2.6px);
}

.toggle .flow2 {
    display: none;
}

.toggle .flow3 {
    background: #8856D3;
    transform: scale(0.9) rotateZ(45deg) translate(-8.9px, -6px);
}


/* Content */
.jf4m81ai-topic {
    font-size: 80px;
    line-height: 90px;
    font-weight: 600;
    margin-bottom: 48px;
    max-width: 820px;
}

.jf4m81ai-topic span {
    display: block;
    font-family: "Courgette", cursive;
    font-weight: 400;
    color: #8856D3;
    font-size: 96px;
}

.jf4m81ai-subtopic {
    font-size: 64px;
    line-height: 70px;
    font-weight: 600;
}

.jf4m81ai-subtopic span {
    font-family: "Courgette", cursive;
    font-weight: 400;
    color: #8856D3;
}

.jf4m81ai-button {
    font-family: "Quicksand", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
    background: transparent;
    color: #8856D3;
    width: 100%;
    height: 56px;
    padding: 6px 12px 6px 20px;
    transition: 0.5s;
    border-radius: 100px;
    border: 2px solid #8856D3;
    cursor: pointer;
    user-select: none;
}

.jf4m81ai-button img {
    margin-left: 12px;
}

.jf4m81ai-header__navbar .jf4m81ai-button {
    background: #F9F3FF;
    max-width: 174px;
}

.jf4m81ai-button__link {
    max-width: 245px;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
    border-radius: 10px;
}

.jf4m81ai-button__link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* enclosure */
.jf4m81ai-enclosure {
    position: relative;
    background-image: url(../images/enclosure-bg-jf4m81ai.png);
    background-repeat: no-repeat;
    /* background-size: contain; */
    background-position: bottom;
    padding: 216px 20px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jf4m81ai-enclosure__box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jf4m81ai-enclosure__box p {
    font-size: 30px;
    line-height: 40px;
    font-weight: 500;
    text-align: center;
    max-width: 650px;
    width: 100%;
    margin: 0 auto 48px;
}

/* snippet */

.jf4m81ai-snippet {
    padding: 20px 20px 80px;
}

.jf4m81ai-snippet__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.jf4m81ai-snippet__points {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
}

.jf4m81ai-snippet__points img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* platforms */

.jf4m81ai-platforms {
    position: relative;
    padding: 80px 20px 140px;
    background: linear-gradient(104.96deg, #CE51FF 2.85%, #2800A2 97.15%);
}

.jf4m81ai-platforms::before {
    content: '';
    background-image: url(../images/platforms-bg-jf4m81ai.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.jf4m81ai-platforms .jf4m81ai-subtopic {
    color: #FFFFFF;
    margin-bottom: 64px;
}

.jf4m81ai-platforms__list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.jf4m81ai-platforms__points {
    background: #FFFFFF;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
    border-radius: 30px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.jf4m81ai-platforms__points p {
    font-size: 31px;
    line-height: 40px;
}

.jf4m81ai-platforms__points span {
    font-size: 100px;
    line-height: 104px;
    font-family: "Courgette", cursive;
    font-weight: 400;
    color: #8856D3;
}

.jf4m81ai-platforms__points .jf4m81ai-button__link {
    min-width: 245px;
}

.jf4m81ai-platforms .jf4m81ai-subtopic span {
    color: #ffffff;
}

/* returns */

.jf4m81ai-returns {
    padding: 60px 20px 160px;
}

.jf4m81ai-returns__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 64px;
}

.jf4m81ai-returns__top p {
    max-width: 660px;
    width: 100%;
    text-align: right;
    font-size: 20px;
    line-height: 30px;
}

.jf4m81ai-returns__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.jf4m81ai-returns__points {
    box-shadow: 0px 20px 40px 0px #CFAFFF;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
}

.jf4m81ai-returns__box {
    padding: 24px 24px 32px;
}

.jf4m81ai-returns__box h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.jf4m81ai-returns__box ul {
    list-style-type: disc;
    padding-left: 24px;
}

.jf4m81ai-returns__box ul li {
    margin-bottom: 12px;
}

.jf4m81ai-returns__points:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.jf4m81ai-returns__points:last-child .jf4m81ai-button__link {
    margin: 60px auto 0;
}


/* Passions */
.jf4m81ai-stories {
    padding: 100px 20px 140px;
}

.jf4m81ai-stories__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.jf4m81ai-stories__points {
    background: #ffffff;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
}

.jf4m81ai-stories__points span {
    font-family: "Courgette", cursive;
    font-size: 32px;
    line-height: 42px;
    font-weight: 400;
    color: #8856D3;
}

.jf4m81ai-stories__points p {
    font-size: 22px;
    line-height: 32px;
}

.jf4m81ai-stories .jf4m81ai-subtopic {
    margin-bottom: 64px;
}


/* service */
.jf4m81ai-service {
	padding: 160px 20px 120px;
    flex-grow: 1;
}

.jf4m81ai-service__block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.jf4m81ai-service__diagram {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
}

.jf4m81ai-service__diagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jf4m81ai-form {
    box-shadow: 0px 20px 40px 0px #CFAFFF;
    background: #ffffff;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 16px;
    padding: 70px 80px;
}

.jf4m81ai-form .jf4m81ai-subtopic {
    text-align: center;
    margin-bottom: 16px;
}

.jf4m81ai-form__points.form-message {
    margin-bottom: 16px;
}

.jf4m81ai-form__input {
    font-family: "Quicksand", sans-serif;
    display: block;
    width: 100%;
    height: 56px;
    background: #ffffff;
    color: #3F3548;
    outline: none;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    border: 2px solid #8856D380;
}

.jf4m81ai-form__input::placeholder {
    color: #3F3548;
}

.jf4m81ai-form__input.error {
    border-color: #e00000;
}

label.error {
    display: none !important;
}

textarea.jf4m81ai-form__input {
    height: 180px;
    padding: 12px 20px;
    border-radius: 30px;
}

.jf4m81ai-form .jf4m81ai-button {
    background: #8856D3;
    color: #ffffff;
    justify-content: center;
    padding: 6px 12px;
}

/* criteria */

.jf4m81ai-criteria {
    padding: 160px 20px 120px;
}

.jf4m81ai-criteria .jf4m81ai-subtopic {
    margin-bottom: 64px;
}

.jf4m81ai-criteria__block {
    display: grid;
    grid-template-columns: 405px 1fr;
    gap: 32px;
}

.jf4m81ai-criteria__box {
    box-shadow: 0px 20px 40px 0px #CFAFFF;
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    font-size: 18px;
    line-height: 26px;
}

.jf4m81ai-criteria__box p + p {
    margin-top: 20px;
}


.jf4m81ai-criteria__diagram {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0px 20px 40px 0px #CFAFFF;
}

.jf4m81ai-criteria__diagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Footer */

.jf4m81ai-footer {
    color: #3F3548;
    padding: 34px 20px;
    font-size: 14px;
    line-height: 20px;
    box-shadow: 0px 0px 4px 0px #CFAFFF;
    background: #FFFFFF;
}

.jf4m81ai-footer__block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jf4m81ai-footer__list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jf4m81ai-footer__points {
    padding: 2px;
    transition: .3s;
}

.jf4m81ai-footer__points:hover {
    color: #8856D3;
}

/* Info */

.jf4m81ai-information {
    padding: 160px 20px 120px;
    color: #3F3548;
}

.jf4m81ai-information h1 {
    font-family: "Courgette", cursive;
    position: relative;
    z-index: 2;
    font-size: 50px;
    line-height: 58px;
    margin-bottom: 30px;
    text-align: center;
}

.jf4m81ai-information h2 {
    font-family: "Courgette", cursive;
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 30px;
}

.jf4m81ai-information h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
    margin-bottom: 30px;
}

.jf4m81ai-information p {
    margin-bottom: 20px;
}

.jf4m81ai-information ul {
    list-style-type: disc;
    padding-left: 24px;
}

.jf4m81ai-information li {
    margin-bottom: 14px;
}

.jf4m81ai-information a {
    display: inline-block;
    font-weight: 600;
    color: #8856D3;
}



@media (max-width: 1060px) {

    .jf4m81ai-enclosure {
        padding: 90px 20px 70px;
        background-position: bottom;
        background-size: contain;
    }

    .jf4m81ai-enclosure__box p {
        font-size: 18px;
        line-height: 28px;
        margin: 0 auto 38px;
    }

    .jf4m81ai-button__link {
        max-width: 200px;
    }

    .jf4m81ai-platforms::before {
        background-size: cover;
        background-position: right;
    }

    .jf4m81ai-platforms__points .jf4m81ai-button__link {
        min-width: 200px;
    }

    .jf4m81ai-burger {
        display: flex;
    }

    .jf4m81ai-header__global {
        display: none;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #F9F3FF;
        color: #3F3548;
        width: 80%;
        overflow-y: auto;
        box-shadow: 0px 0px 4px 0px #CFAFFF;
    }

    .jf4m81ai-header__menu {
        flex-direction: column;
        gap: 20px;
    }

    .jf4m81ai-header__navbar .jf4m81ai-button {
        max-width: 200px;
    }

    .jf4m81ai-header__navbar {
        flex-direction: column;
        padding: 60px 20px 40px;
    }

    .jf4m81ai-header__points {
        text-align: center;
        width: 100%;
    }
    
    .jf4m81ai-topic {
        font-size: 48px;
        line-height: 58px;
        margin-bottom: 28px;
    }

    .jf4m81ai-topic span {
        font-size: 54px;
        line-height: 60px;
    }

    .jf4m81ai-enclosure .jf4m81ai-subtext {
        margin-bottom: 40px;
    }

    .jf4m81ai-enclosure__diagram {
        max-width: 520px;
        margin: 0 auto;
        border-radius: 30px;
    }

    .jf4m81ai-subtopic {
        font-size: 44px;
        line-height: 54px;
    }

    .jf4m81ai-criteria .jf4m81ai-subtopic {
        margin-bottom: 38px;
    }

    .jf4m81ai-snippet {
        padding: 48px 20px;
    }

    .jf4m81ai-snippet__list {
        gap: 24px;
    }

    .jf4m81ai-enclosure__block {
        grid-template-columns: 1fr;
    }

    .jf4m81ai-platforms {
        padding: 48px 20px 88px;
    }

    .jf4m81ai-platforms .jf4m81ai-subtopic {
        margin-bottom: 38px;
    }

    .jf4m81ai-platforms__points {
        gap: 16px;
    }

    .jf4m81ai-platforms__points span {
        font-size: 78px;
        line-height: 88px;
    }

    .jf4m81ai-platforms__points p {
        font-size: 18px;
        line-height: 28px;
    }

    .jf4m81ai-returns__top {
        margin-bottom: 38px;
    }

    .jf4m81ai-returns {
        padding: 48px 20px 88px;
    }

    .jf4m81ai-returns__top p {
        max-width: 540px;
        font-size: 18px;
        line-height: 28px;
    }

    .jf4m81ai-returns__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .jf4m81ai-returns__points:last-child {
        font-size: 18px;
        line-height: 28px;
    }

    .jf4m81ai-stories {
        padding: 48px 20px 88px;
    }

    .jf4m81ai-stories .jf4m81ai-subtopic {
        margin-bottom: 38px;
    }

    .jf4m81ai-stories__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .jf4m81ai-stories__points {
        padding: 30px 20px;
    }

    .jf4m81ai-stories__points p {
        font-size: 18px;
        line-height: 28px;
    }

    .jf4m81ai-stories__points span {
        font-size: 28px;
        line-height: 36px;
    }

    .jf4m81ai-service {
        padding: 110px 20px 60px;
    }

    .jf4m81ai-service__block {
       gap: 24px; 
    }

    .jf4m81ai-form {
        padding: 30px 24px;
        border-radius: 30px;
    }

    .jf4m81ai-criteria {
        padding: 110px 20px 60px;
    }

    .jf4m81ai-criteria__block {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .jf4m81ai-criteria__diagram {
        height: 440px;
    }

    .jf4m81ai-criteria__box {
        font-size: 18px;
        line-height: 28px;
        padding: 30px;
    }

    .jf4m81ai-information {
        padding: 130px 20px 60px;
    }

    .jf4m81ai-information h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .jf4m81ai-information h2 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .jf4m81ai-information h3 {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 20px;
    }
}


@media (max-width: 860px) {

    body {
        font-size: 16px;
        line-height: 26px;
    }

    .jf4m81ai-platforms__list {
        grid-template-columns: 1fr;
    }

    .jf4m81ai-platforms__points {
        flex-direction: column;
        align-items: flex-start;
    }

    .jf4m81ai-snippet__list {
        grid-template-columns: 1fr 1fr;
    }

    .jf4m81ai-returns__list {
        grid-template-columns: 1fr;
    }

    .jf4m81ai-stories__list {
        grid-template-columns: 1fr;
    }

    .jf4m81ai-returns__top {
        flex-direction: column;
    }

    .jf4m81ai-returns__top p {
        text-align: center;
    }

    .jf4m81ai-returns__box h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .jf4m81ai-service__block {
        grid-template-columns: 1fr;
    }

    .jf4m81ai-form {
        grid-template-columns: 1fr;
        grid-row: 1;
    }

    .jf4m81ai-form__points.form-message {
        grid-column: auto;
        margin-bottom: 10px;
    }

    .jf4m81ai-footer__block {
        flex-direction: column-reverse;
    }

    .jf4m81ai-footer__list {
        flex-direction: column;
        gap: 10px;
    }
}
