:root {
    --bg-color: #020713;
    --text-color: #ffffff;
    --main-color: #07EFF6;
    --primary-color: #0083E0;
    --red-color: #FF6565;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto Mono', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

.container {
    max-width: 1240px;
    width: 100%;
    padding: 0 20px;
}

h1 {
    margin-top: 32px;
    color: var(--text-color);
    font-size: 56px;
    line-height: 1.2;
    font-weight: 400;
}

h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 400;
    background: linear-gradient(90deg, var(--main-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    width: max-content;
}

section {
    padding: 32px 0;
}

section p {
    color: var(--main-color);
    font-weight: 300;
    margin-bottom: 32px;
}

.main {
    padding-bottom: 64px;
}

.main__break-line {
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    position: relative;
}

.main__break-line::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    opacity: 0.5;
    top: 50%;
    left: 0;
    background: linear-gradient(
            to right,
            rgba(7, 239, 246, 0) 1%,
            var(--main-color) 35%,
            var(--primary-color) 75%,
            rgba(0, 131, 224, 0) 100%
    );
}

.header {
    position: relative;
}

.header__logo {
    height: 160px;
    width: 160px;
}

.header__logo-shadow {
    position: absolute;
    top: 0;
    left: -64px;
    z-index: -1;
}

.preview {
    display: flex;
    padding-bottom: 80px;
}

.preview__content {
    max-width: 560px;
}

.preview__content-button {
    display: inline-flex;
    background-color: transparent;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 12px 24px;
    margin-top: 40px;
    font-size: 16px;
    line-height: 22px;
    transition: all 0.5s ease;
}

.preview__content-button svg path {
    transition: all 0.5s ease;
}

.preview__content-button:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    cursor: pointer;
}

.preview__content-button:hover svg path {
    stroke: var(--bg-color);
}

.preview__content-button svg {
    margin-left: 8px;
}

.preview__picture {
    position: relative;
    height: 290px;
    width: 20px;
}

.preview__picture-checklist {
    position: absolute;
    left: 96px;
    top: 100px;
    z-index: 1;
}

.preview__picture-score {
    position: absolute;
    left: 242px;
    top: -36px;
    z-index: 2;
}

.preview__picture-power {
    position: absolute;
    left: 268px;
    top: 122px;
    z-index: 3;
}

.preview__picture-checklist_shadow {
    position: absolute;
    left: -80px;
    top: -80px;
    z-index: -1;
}

.preview__picture-power_shadow {
    position: absolute;
    left: 110px;
    top: -200px;
    z-index: -1;
}

.problem-solving ul,
.how-to-use ul {
    list-style: none;
    padding-left: 64px;
}

.problem-solving ul li,
.how-to-use ul li {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 2px;
    position: relative;
}

.problem-solving ul li::before,
.how-to-use ul li::before {
    content: '>';
    position: absolute;
    left: -24px;
    font-weight: 300;
}

.problem-solving ul li span,
.how-to-use ul li span {
    color: var(--primary-color);
}

.how-to-use ul li:last-child span {
    color: var(--main-color);
}

.how-it-works ol {
    list-style-type: none;
    counter-reset: process-counter;
    padding-left: 64px;
}

.how-it-works ol li {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 4px;
    position: relative;
}

.how-it-works ol li::before {
    content: '>'counter(process-counter);
    counter-increment: process-counter;
    position: absolute;
    left: -24px;
    font-weight: 300;
}

.how-to-use h2,
.demo h2 {
    margin-bottom: 32px;
}

.demo a {
    font-weight: 400;
}

.demo__drop-line {
    color: var(--text-color);
    margin-bottom: 4px;
}

.demo-form {
    display: flex;
    margin-bottom: 32px;
    max-width: 550px;
    flex-wrap: wrap;
}

.demo-form__wrapper {
    display: flex;
    flex-direction: column;
    max-width: 398px;
    width: 100%;
}

.demo-form__wrapper label {
    display: block;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 8px;
    color: var(--text-color);
}

.demo-form__wrapper input {
    padding: 12px 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    height: 48px;
    margin-right: 20px;
    transition: all 0.5s ease;
}

.demo-form__email:focus {
    outline: none;
    border-color: var(--main-color);
}

.demo-form__email.is-invalid {
    border-color: var(--red-color);
}

.demo-form__email.is-invalid:focus {
    border-color: var(--red-color);
}

.demo-form__validation-message {
    color: var(--red-color);
    font-size: 12px;
    display: none;
}

.demo-form__validation-message.is-active {
    display: block;
    margin-top: 4px;
}

.demo-form__button {
    display: inline-flex;
    align-items: center;
    height: 48px;
    background-color: transparent;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 12px 24px;
    font-size: 16px;
    transition: all 0.5s ease;
    margin-top: 32px;
}

.demo-form__button svg path {
    transition: all 0.5s ease;
}

.demo-form__button:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    cursor: pointer;
}

.demo-form__button:hover svg path {
    stroke: var(--bg-color);
}

.demo-form__button svg {
    margin: 0 0 2px 8px;
}

.demo__success {
    display: none;
}

.demo__success p {
    color: var(--text-color);
    margin-bottom: 0;
}

.demo__success.is-active {
    display: block;
}

.demo__success-message {
    display: flex;
    margin-bottom: 32px;
}

.demo__success-message svg {
    margin-right: 20px;
}

.footer {
    padding-bottom: 64px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer p {
    font-size: 10px;
    font-weight: 300;
    color: var(--text-color);
    max-width: 480px;
    text-align: center;
    margin-bottom: 6px;
}

.footer p a {
    color: var(--text-color);
    text-decoration: underline;
    transition: all 0.5s ease;
}

.footer p a:hover {
    color: var(--main-color);
}

.footer__logo-link img {
    max-height: 46px;
}

.footer__socials {
    display: flex;
    gap: 32px;
}

.footer__socials a {
    display: inline-block;
}

.footer__socials a svg {
    width: 24px;
    height: 24px;
    transition: all 0.5s ease;
}

.footer__socials a svg:hover {
    fill: var(--main-color);
}

input:is(:-webkit-autofill) {
    transition: background-color 600000s 0s, color 600000s 0s;
}

@media (max-width: 1239px) {
    .preview__picture-checklist {
        left: 0;
    }

    .preview__picture-score {
        left: 146px;
    }

    .preview__picture-power {
        left: 172px;
    }

    .preview__picture-checklist_shadow {
        left: -176px;
    }

    .preview__picture-power_shadow {
        left: 24px;
    }
}

@media (max-width: 1023px) {
    section {
        padding: 48px 0;
    }

    .main {
        padding-bottom: 48px;
    }

    .preview {
        flex-direction: column-reverse;
        padding-bottom: 54px;
    }

    .preview__content {
        margin-top: -62px;
    }

    .preview__picture {
        height: 290px;
        width: 100%;
    }

    .preview__picture-checklist {
        right: 272px;
        left: initial;
        top: -12px;
    }

    .preview__picture-score {
        right: 132px;
        left: initial;
        top: -150px;
    }

    .preview__picture-power {
        right: 68px;
        left: initial;
        top: 10px;
    }

    .preview__picture-checklist_shadow {
        right: 96px;
        left: initial;
        top: -242px;
    }

    .preview__picture-power_shadow {
        right: -10px;
        left: initial;
        top: -252px;
    }

    .footer p {
        max-width: 330px;
    }
}

@media (max-width: 719px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    section {
        padding: 32px 0;
    }

    .main {
        padding-bottom: 32px;
    }

    .header__logo {
        height: 96px;
        width: 96px;
    }

    .header__logo-shadow {
        display: none;
    }

    .preview {
        padding-bottom: 36px;
    }

    .preview__content {
        margin-top: 0;
    }

    .preview__picture {
        height: 180px;
    }

    .preview__picture-checklist {
        width: 158px;
        height: 158px;
        top: -2px;
        right: 150px;
    }

    .preview__picture-score {
        right: 50px;
        height: 154px;
        width: 154px;
        top: -100px;
    }

    .preview__picture-power {
        right: 4px;
        height: 182px;
        width: 182px;
        top: 12px;
    }

    .preview__picture-checklist_shadow {
        display: none;
    }

    .preview__picture-power_shadow {
        display: none;
    }

    .preview__content-button {
        margin-top: 16px;
    }

    .problem-solving ul,
    .how-it-works ol,
    .how-to-use ul {
        padding-left: 48px;
    }

    .demo-form {
        flex-direction: column;
    }

    .demo-form__wrapper {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .demo-form__wrapper input {
        margin-right: 0;
    }

    .demo-form__button {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 32px;
    }

    .footer__logo-link {
        margin-bottom: 20px;
    }

    .footer p {
        margin-bottom: 20px;
        text-align: start;
    }
}

@media (max-width: 569px) {
    .preview__picture-checklist {
        right: 140px;
        top: -2px
    }

    .preview__picture-score {
        right: 42px;
        top: -100px;
    }

    .preview__picture-power {
        right: -4px;
        top: 12px;
    }

    .preview__picture-checklist_shadow {
        right: 0;
        top: -200px;
    }

    .preview__picture-power_shadow {
        right: 80px;
        top: -120px;
    }
}
