@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Regular.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Bold.ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

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

body {
    min-height: 100%;
    height: auto;
    font: 16px "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    background-color: #171A21;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
}

body:before, body:after {
    content: '';
    position: absolute;
    z-index: 1;
    background: no-repeat;
    background-size: cover;
}

body:before {
    left: 0;
    top: 0;
    width: 1399px;
    height: 917px;
    background-image: url("images/ellipse1.png");
}

body:after {
    right: 0;
    bottom: 0;
    width: 800px;
    height: 902px;
    background-image: url("images/ellipse2.png");
}

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

h1 {
    font-size: 64px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 18px;
}

.yellow {
    color: #FFE04D;
}

.header, .hero, .features, .about, .timeline, .register, .footer {
    position: relative;
    z-index: 2;
}

.header {
    padding: 63px 0 83px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header p {
    font-size: 14px;
    line-height: 18px;
    color: rgba(255,255,255,.7);
}

.hero {
    margin-bottom: 124px;
    position: relative;
}

.hero:before {
    content: '';
    display: block;
    width: 1303px;
    height: 994px;
    position: absolute;
    top: -165px;
    left: 23%;
    background: url("images/start-image.png") no-repeat right top;
    background-size: cover;
}

@media screen and (max-width: 1340px) {
    .hero:before {
        width: 900px;
        left: 26%;
        background-position: left top;
        background-size: contain;
        top: 0;
    }
}

@media screen and (max-width: 1024px) {
    .hero:before {
        left: 20%;
    }
}

@media screen and (max-width: 900px) {
    .hero:before {
        left: 6%;
    }
}

.hero-content {
    max-width: 610px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 34px;
}

.hero-description {
    font-size: 18px;
    line-height: 32px;
    color: rgba(255,255,255,.7);
    margin-bottom: 72px;
    max-width: 390px;
}

.hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 193px;
    height: 55px;
    color: #FFE04D;
    background-color: rgba(255, 224, 77, 0.15);
    font-size: 20px;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.hero-button:active {
    transform: translateY(2px);
}

.hero-link {
    text-decoration: underline;
}

.features {
    margin-bottom: 110px;
}

.features__top-info {
    color: rgba(255,255,255,.7);
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.features-grid {
    display: flex;
    justify-content: space-between;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
    max-width: 207px;
}

hr {
    height: auto;
    border: none;
    border-top: 10px dashed #FFE04D33;
    margin-bottom: 110px;
}

.about {
    margin-bottom: 82px;
}

.about-content {
    display: flex;
    gap: 60px;
}

.about h2 {
    margin-bottom: 32px;
}

.about-item {
    flex: 1;
}

.about-item p, .about-item ul {
    color: rgba(255,255,255,.7);
    line-height: 28px;
}

.about-item ul {
    list-style-position: inside;
    padding-left: 0;
}

.about-item ul:not(:last-child) {
    margin-bottom: 20px;
}

.about-item li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.about-item li::before {
    content: "•";
    flex-shrink: 0;
}

.timeline {
    margin-bottom: 150px;
}

.timeline .container {
    position: relative;
}

.timeline .container:before {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 63px;
    background-color: rgba(255,255,255,.1);
}

.timeline h2 {
    margin-bottom: 18px;
}

.timeline-items {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-weight: 700;
}

.timeline-item:before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
}

.timeline-item.active:before {
    background-color: #FFE04D;
}

.timeline-item.active {
    color: #FFE04D;
}

.register-content {
    padding: 66px 100px;
    background-color: rgba(255,255,255,.07);
    border-radius: 4px;
}

.register-content h2 {
    text-align: center;
    margin-bottom: 5px;
}

.register-form__fields {
    display: flex;
    gap: 20px;
}

.register-form__item {
    flex: 1;
    margin-bottom: 30px;
}

.register-form__item label {
    display: block;
    opacity: .7;
    font: inherit;
    line-height: 28px;
    margin-bottom: 7px;
}

.register-form__item input {
    width: 100%;
    height: 47px;
    font-weight: 700;
    padding: 0 20px;
    border: none;
    border-radius: 2px;
}

.register-form__item input::-webkit-input-placeholder {
    color: rgba(23, 26, 33, 0.3);
}
.register-form__item input::-moz-placeholder {
    color: rgba(23, 26, 33, 0.3);
}
.register-form__item input:-ms-input-placeholder {
    color: rgba(23, 26, 33, 0.3);
}

.register-form__item input.invalid {
    background: #fdd;
}

.register-form__error {

}
.register-form__error:empty {display:none;}

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

.checkbox {
    display: none;
}

.checkbox + label {
    display: flex;
    align-items: center;
    min-height: 26px;
    color: rgba(255,255,255,.7);
    padding-left: 36px;
    background: url("icons/checkbox.svg") no-repeat left center;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox + label::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 24px;
    height: 24px;
    background: url("icons/checkbox-checked.svg") no-repeat center;
    background-size: contain;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkbox:checked + label::after {
    transform: translateY(-50%) scale(1);
}

.register-form__submit {
    width: 130px;
    height: 47px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFE04D;
    border-radius: 4px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.register-form__submit:active {
    transform: translateY(2px);
}

.register-form__wrapper {
    position: relative;
}

.register-form__success {
    text-align: center;
    color: white;
    animation: fadeIn 0.6s ease;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}

.success-title {
    font-size: 26px;
    margin-bottom: 20px;
}

.success-message {
    line-height: 1.4;
    color: rgba(255,255,255,.7);
    max-width: 540px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.footer-content {
    display: flex;
    align-content: center;
    justify-content: space-between;
    padding: 74px 0;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

.footer-section {
    display: flex;
    align-items: center;
}

.footer-section a {
    text-decoration: underline;
}

.footer-section a:hover {
    color: #fff;
    transition: color 0.3s ease;
}

.footer__copyright {
    margin-left: 18px;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.footer__social-item:hover path {
    fill-opacity: 1;
    transition: fill-opacity 0.3s ease;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) url("images/loader.gif") no-repeat center;
    z-index: 9999;
    display: none;
}

@media screen and (max-width: 1240px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 18px;
    }

    .header {
        padding: 40px 0;
    }

    .hero, .features, hr, .about, .timeline {
        margin-bottom: 80px;
    }

    .hero-content {
        max-width: 550px;
    }

    .hero-description {
        margin-bottom: 50px;
    }

    .feature-icon svg {
        width: 40px;
    }

    .feature-card {
        gap: 10px;
    }

    .feature-card h3 {
        margin-top: auto;
    }

    .timeline .container:before {
        top: 59px;
    }

    .register-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 900px) {
    .features-grid {
        flex-wrap: wrap;
        gap: 20px;
    }
    .feature-card {
        width: calc((100% - 20px) / 2);
        max-width: 50%;
        gap: 0;
    }
    .feature-card h3 {
        max-width: 200px;
    }

    .about-content {
        flex-wrap: wrap;
        gap: 40px;
    }

    .about-item {
        flex: none;
        width: calc((100% - 40px) / 2);
    }

    .register-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
        width: auto;
    }

    .hero, .features, hr, .about, .timeline {
        margin-bottom: 60px;
    }

    .hero-description, .features__top-info {
        margin-bottom: 30px;
    }

    .hero:before {
        display: none;
    }

    .hero-links {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .hero-button {
        height: 45px;
        font-size: 18px;
    }

    hr {
        border-top-width: 5px;
    }

    .about-content {
        display: block;
    }

    .about h2 {
        margin-bottom: 20px;
    }

    .about h2 br {
        display: none;
    }

    .about-item {
        width: 100%;
        margin-bottom: 40px;
    }

    .about-item:last-child {
        margin-bottom: 0;
    }

    .timeline-items {
        flex-direction: column;
        gap: 30px;
    }

    .timeline-item {
        flex-direction: row;
    }

    .timeline .container:before {
        top: 59px;
        left: 31px;
        right: auto;
        width: 4px;
        height: auto;
        bottom: 0;
    }

    .register-form__fields {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .register-form__item {
        margin-bottom: 0;
    }

    .register-form__item input {
        height: 38px;
    }

    .register-form__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .register-form__submit {
        height: 40px;
        font-size: 18px;
    }

    .success-icon {
        font-size: 40px;
    }

    .success-title {
        font-size: 22px;
    }

    .success-message {
        font-size: 14px;
    }

    .footer-content {
        padding: 60px 0;
        gap: 40px;
    }
}

@media screen and (max-width: 450px) {
    .hero-links {
        align-items: center;
    }

    .features__top-info {
        flex-direction: column;
        align-items: center;
    }

    .dot {
        display: none;
    }

    .feature-icon svg {
        height: 68px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .register-content {
        padding: 20px;
    }

    .register-form__bottom {
        align-items: center;
    }

    .footer__brand {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-section {
        justify-content: center;
        width: 100%;
    }
}