* {
    box-sizing: border-box;
}

:root {
    --bg: #2a1020;
    --card: rgba(255, 255, 255, 0.92);
    --card-strong: rgba(255, 255, 255, 0.96);
    --text: #20263a;
    --muted: #6b7385;
    --line: rgba(255, 255, 255, 0.18);
    --line-soft: #e8dbe2;
    --accent: #de4c88;
    --accent-dark: #c73874;
    --accent-soft: rgba(222, 76, 136, 0.10);
    --error-bg: #fff1f3;
    --error-text: #a12b46;
    --shadow: 0 24px 70px rgba(22, 8, 17, 0.30);
}

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

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
    background:
        linear-gradient(rgba(52, 13, 33, 0.76), rgba(52, 13, 33, 0.82)),
        url("bg-mfa-cu.svg") center center / cover no-repeat fixed,
        linear-gradient(135deg, #56172e 0%, #321120 50%, #1f1620 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.12), transparent 18rem),
        radial-gradient(circle at 82% 20%, rgba(233,84,143,0.22), transparent 20rem),
        radial-gradient(circle at 75% 78%, rgba(255,255,255,0.08), transparent 18rem);
}

.landing-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.landing-grid {
    width: min(1280px, 100%);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.info-panel,
.form-panel {
    display: flex;
}

.info-card,
.form-card {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.info-card {
    color: #fff;
    padding: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
}

.form-card {
    padding: 32px;
    background: var(--card-strong);
    border: 1px solid rgba(255,255,255,0.65);
    align-self: center;
}

.brand-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.brand-mark {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ff87b3, #de4c88);
    box-shadow: 0 12px 28px rgba(222, 76, 136, 0.35);
}

.eyebrow {
    margin: 0 0 8px;
    color: #ffd8e7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.subtitle {
    margin: 12px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,0.90);
    font-size: 16px;
    line-height: 1.75;
}

.feature-group {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.feature-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.14);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: rgba(255,255,255,0.16);
}

.feature-item h3 {
    margin: 2px 0 6px;
    font-size: 17px;
    color: #fff;
}

.feature-item p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    font-size: 14px;
}

.info-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    line-height: 1.7;
    color: #fff;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
}

.form-card-header h2 {
    margin: 10px 0 8px;
    font-size: 30px;
    line-height: 1.2;
    color: #1d2235;
}

.form-card-header p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
}

.alert.error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid #f2cad6;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #242b3d;
}

input {
    width: 100%;
    height: 54px;
    border: 1px solid #d7dce8;
    border-radius: 15px;
    padding: 0 16px;
    font-size: 16px;
    color: #1e2436;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 5px rgba(222, 76, 136, 0.12);
}

.help-text {
    margin: 9px 2px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 15px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #ea5a95, #c73874);
    box-shadow: 0 14px 28px rgba(199, 56, 116, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

button:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

button:active {
    transform: translateY(0);
}

@media (max-width: 980px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .landing-shell {
        padding: 16px;
    }

    .info-card,
    .form-card {
        border-radius: 22px;
        padding: 22px;
    }

    .brand-row {
        gap: 14px;
        margin-bottom: 22px;
    }

    .brand-mark {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        border-radius: 18px;
        font-size: 20px;
    }

    h1 {
        font-size: 30px;
    }

    .form-card-header h2 {
        font-size: 24px;
    }

    .feature-item {
        grid-template-columns: 48px 1fr;
        padding: 14px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 22px;
    }

    input,
    button {
        height: 50px;
    }
}
