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

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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #1a2b33;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 180, 230, 0.35), transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(122, 193, 67, 0.18), transparent 55%),
        linear-gradient(165deg, #e8f4f8 0%, #eef1f4 45%, #e3edf2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px;
}

.shell {
    width: 100%;
    max-width: 440px;
    animation: rise 0.55s ease-out both;
}

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

.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 60, 80, 0.04),
        0 24px 48px rgba(0, 80, 100, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.hero {
    padding: 24px 32px 28px;
    text-align: left;
    background: linear-gradient(135deg, #007a99 0%, #00b4e6 55%, #33c4ed 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18) 0%, transparent 40%);
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-logo {
    display: block;
    height: 68px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.hero-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.hero-kicker {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 70, 90, 0.35);
}

.hero h1 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 70, 90, 0.35);
}

.body {
    padding: 32px 32px 36px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #fdecea 0%, #fad4d0 100%);
    border: 1px solid rgba(214, 74, 74, 0.25);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #9b2c2c;
}

.alert-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d64a4a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.alert strong { display: block; font-weight: 800; margin-bottom: 2px; }

.field { margin-bottom: 20px; }

.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6b73;
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 16px;
    font-family: inherit;
    color: #1a2b33;
    background: #f4f7f9;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder { color: #a6b6ba; font-weight: 400; }

.field input:focus {
    outline: none;
    background: #ffffff;
    border-color: #00b4e6;
    box-shadow: 0 0 0 4px rgba(0, 180, 230, 0.18);
}

.btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    line-height: 1.25;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #007a99 0%, #0099c2 45%, #00b4e6 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 153, 194, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 153, 194, 0.48);
}

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

.hint {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: #8898a0;
}

.footer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #8898a0;
    letter-spacing: 0.02em;
}

@media (max-width: 420px) {
    .hero { padding: 20px 20px 24px; }
    .hero-kicker { font-size: 18px; }
    .hero h1 { font-size: 18px; }
    .body { padding: 26px 22px 30px; }
}
