
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}

.wrapper {
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.logo img {
    height: 120px;
    object-fit: contain;
}


.titles {
    text-align: center;
    margin-bottom: 16px;
}



h2 {
    font-size: 16px;
    font-weight: 400;
    margin: 8px 0 16px;
    color: #555;
}

.divider {
    height: 1px;
    width: 100%;
    max-width: 100px;
    margin: 0 auto 32px;
    border-radius: 1px;
    background: linear-gradient(to right, transparent, #e6b843, transparent);
}

.content-wrapper {
    max-width: 1600px;
    background-color: #f7f7f7;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.content::before {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background-color: #ddd;
    transform: translateX(-50%);
    pointer-events: none;
}

.left-column {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 30px;
    box-sizing: border-box;
}

.right-column {
    flex: 1;
    padding-left: 40px;
    box-sizing: border-box;
}

.form-box {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    padding: 24px;
    border: 1px solid #ddd;
}

form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.form-box p {
    font-size: 14px;
    margin-bottom: 16px;
}
.errorMessage {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    font-family: 'Inter', sans-serif;
}

.form-box input[type="text"],
.form-box input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    margin-top: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.form-box button, #basics button{
    width: 100%;
    padding: 12px;
    background: radial-gradient(circle,
    #f0c930 0%,
    #ffd700 30%,
    #d4af37 60%,
    #bfa10a 100%
    );
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: filter 0.2s ease, background 0.2s ease;
}

#basics button,.form-box button{
    background: radial-gradient(circle,
    #f0c930 0%,
    #ffd700 50%,
    #d4af37 80%,
    #bfa10a 100%
    );

    width: auto;
}


.material-icons.icon {
    font-size: 18px;
    font-weight: 300;
    vertical-align: middle;
}

.form-box button:hover, #basics button:hover {
    background: radial-gradient(circle,
    #f7d43a 0%,
    #ffe33f 50%,
    #e6c347 80%,
    #d4af37 100%
    );
    filter: brightness(0.9);
}


.footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 60px;
}

@media (max-width: 768px) {

    .logo img {
        height: 80px;
    }
    .content {
        flex-direction: column;
        position: static;
    }
    .content::before {
        display: none;
    }
    .left-column, .right-column {
        padding: 0;
    }


    .content-wrapper {
        display: block;
        height: auto !important;
        padding: 20px 16px;
    }

    #content-main[style*="opacity: 0"] {
        display: none !important;
    }


}
@media (min-width: 769px) {
    #basics {
        position: absolute;
        inset: 0;
    }
}


.how-it-works {
    display: flex;
    gap: 10px;
}

.how-step svg {
    width: 20px;
    height: 20px;
    margin-right: 7px;
    margin-top: 2px;
}

.how-divider {
    width: 50px;
    height: 1px;
    background-color: #ccc;
    margin-top: 30px;
}

#content-main {
    transition: opacity 0.5s ease;
    width: 100%;
}

#basics {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    font-family: 'Segoe UI', sans-serif;
    background: #f7f7f7;
    border-radius: 20px;
    transform: translateY(-40px); /* анимация сверху вниз */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#basics.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}


#basics h1 {
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.2;
    max-width: 90%;
}

#basics p {
    font-size: clamp(20px, 1.6vw, 20px);
    color: #444;
    max-width: 600px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}



@media (max-width: 1100px) {
    .how-it-works {
        flex-direction: column;
        gap: 5px;
    }

    .how-divider {
        width: 1px !important;
        height: 20px !important;
        margin: 12px auto;
        align-self: flex-start;!important;
        margin-left: 3px;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-delayed-1 { transition-delay: 0.1s; }
.fade-delayed-2 { transition-delay: 0.3s; }
.fade-delayed-3 { transition-delay: 0.5s; }

.fade-scale.show {
    opacity: 1;
    transform: scale(1);
}