* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        "Century Gothic",
        "Trebuchet MS",
        Arial,
        sans-serif;

    color: #29252f;
    background: #faf8fc;
}

button,
input,
select {
    font-family: inherit;
}

.page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px 20px;

    background:
        radial-gradient(
            circle at top left,
            #fff0f8 0,
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            #f1e9ff 0,
            transparent 35%
        ),
        #faf9fc;
}

.trial-card {
    width: 100%;
    max-width: 1120px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eee7f2;
    border-radius: 26px;

    box-shadow:
        0 24px 70px
        rgba(55, 35, 75, 0.10);
}

.trial-intro {
    padding: 52px;

    background:
        linear-gradient(
            145deg,
            #fff0f7 0%,
            #f3edff 100%
        );
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 26px;
    font-weight: 700;
}

.brand-hyro {
    color: #27232c;
}

.brand-spa {
    color: #e84b98;
}

.intro-content {
    margin-top: 82px;
}

.small-title {
    margin-bottom: 16px;

    color: #b24887;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.trial-intro h1 {
    max-width: 430px;

    margin: 0 0 20px;

    font-size: 45px;
    line-height: 1.12;
}

.intro-text {
    max-width: 450px;

    margin: 0;

    color: #6d6671;

    font-size: 16px;
    line-height: 1.75;
}

.benefits {
    display: grid;
    gap: 15px;

    margin-top: 35px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px;
}

.tick {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #df408d;

    font-weight: 700;
}

.trial-form-section {
    padding: 52px 58px;
}

.form-header h2 {
    margin: 0 0 8px;

    font-size: 30px;
}

.form-header p {
    margin: 0 0 30px;

    color: #817a85;

    font-size: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 700;

    color: #4e4853;
}

.required {
    color: #e54894;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    height: 49px;

    padding: 0 14px;

    outline: none;

    border: 1.5px solid #e7dce9;
    border-radius: 11px;

    background: #fffafd;

    color: #29252f;

    font-size: 14px;
}

input:focus,
select:focus {
    border-color: #dc5b9a;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(226, 84, 153, 0.08);
}

input::placeholder {
    color: #b5adb8;
}

.terms {
    display: flex;

    gap: 10px;

    margin: 5px 0 22px;

    color: #746d78;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.6;
}

.terms input {
    margin-top: 3px;
}

.terms a {
    color: #d9468d;

    font-weight: 700;
    text-decoration: none;
}

.primary-button {
    width: 100%;
    height: 52px;

    border: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #e84d99,
            #d84691
        );

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.login-link {
    margin-top: 22px;

    text-align: center;

    color: #817a85;

    font-size: 13px;
}

.login-link a {
    color: #d9468d;

    font-weight: 700;
    text-decoration: none;
}

.error-box {
    margin-bottom: 22px;

    padding: 14px 16px;

    border: 1px solid #f1b4c9;
    border-radius: 11px;

    background: #fff4f7;

    color: #a12b57;

    font-size: 13px;
    line-height: 1.55;
}

.error-box ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.success-card {
    width: 100%;
    max-width: 600px;

    padding: 58px 45px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #eee7f2;
    border-radius: 25px;

    box-shadow:
        0 24px 70px
        rgba(55, 35, 75, 0.10);
}

.success-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #fff0f7;

    color: #de438e;

    font-size: 32px;
    font-weight: 700;
}

.success-brand {
    justify-content: center;
    margin-bottom: 28px;
}

.success-note {
    margin: 24px 0;

    padding: 16px;

    border-radius: 12px;

    background: #f9f5ff;

    color: #675e70;

    font-size: 13px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 22px;

    border: 1px solid #e6d8eb;
    border-radius: 10px;

    color: #ca3f82;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 900px) {

    .trial-card {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .trial-intro {
        padding: 38px;
    }

    .intro-content {
        margin-top: 40px;
    }

    .trial-intro h1 {
        font-size: 37px;
    }

    .trial-form-section {
        padding: 40px;
    }
}

@media (max-width: 560px) {

    .page {
        padding: 0;
        align-items: flex-start;
    }

    .trial-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .trial-intro {
        padding: 30px 24px;
    }

    .intro-content {
        margin-top: 35px;
    }

    .trial-intro h1 {
        font-size: 32px;
    }

    .trial-form-section {
        padding: 32px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
