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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.5;
    color: #1c1c1e;
    background: #ffffff;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("/assets/images/background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    opacity: 0.8;
}

.container {
    max-width: 1728px;
    padding: 0 110px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 180px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 65px;
    margin-bottom: 25px;
}

.logo__icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo__icon img {
    width: 55px;
    height: 55px;
}

.logo__text {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.5;
    color: #000000;
}

.main-content {
    max-width: 860px;
}

.hero {
    margin-bottom: 70px;
}

.hero__title {
    font-weight: 900;
    font-size: 66px;
    line-height: 1.2;
    color: #1c1c1e;
    margin-bottom: 15px;
}

.hero__subtitle {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: #1c1c1e;
    max-width: 690px;
}

.form {
    display: flex;
    align-items: stretch;
    gap: 35px;
    position: relative;
}

.form__input-wrapper {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form__input {
    width: 100%;
    height: 68px;
    padding: 0 30px;
    border: 1px solid #e5e5ea;
    border-radius: 20px;
    font-weight: 400;
    font-size: 25px;
    line-height: 150%;
    color: #8e8e93;
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form__input:focus {
    border-color: #007aff;
    color: #1c1c1e;
}

.form__input::placeholder {
    color: #8e8e93;
}

.form__button {
    height: 68px;
    padding: 0 40px;
    background: linear-gradient(90deg, #ffa207 0%, #ff7700 100%);
    border: none;
    border-radius: 140px;
    font-weight: 500;
    font-size: 25px;
    line-height: 150%;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    white-space: nowrap;
}

.form__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 162, 7, 0.3);
}

.form__button:active {
    transform: translateY(0);
}

.form__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form__button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.form__status {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.form__status--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form__status--success {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 16px 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1c1c1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
}

.form__status--error {
    background: #ffffff;
    border: 1px solid #ff3b30;
    border-radius: 12px;
    padding: 16px 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ff3b30;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
}

.form__status-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #8e8e93;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.form__status-close:hover {
    color: #1c1c1e;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    z-index: 10;
}

.footer__copyright {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: white;
}

@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
        padding-top: 180px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding-top: 160px;
    }

    .hero__title {
        font-size: 54px;
    }

    .hero__subtitle {
        font-size: 20px;
    }

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

    .form__input-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
        padding-top: 140px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .logo__text {
        font-size: 32px;
    }

    .footer {
        padding: 12px 15px;
    }

    .footer__copyright {
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
        padding-top: 100px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .logo {
        gap: 10px;
    }

    .logo__text {
        font-size: 28px;
    }

    .form__input,
    .form__button {
        height: 56px;
        font-size: 16px;
    }

    .form__status--success,
    .form__status--error {
        max-width: 100%;
        font-size: 14px;
        padding: 12px 16px;
    }

    .footer__copyright {
        font-size: 11px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}
