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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(circle at top, #0f2027 0%, #203a43 55%, #2c5364 100%);
    color: #f5f7fa;
}

.card {
    width: 100%;
    max-width: 460px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: rise 0.6s ease both;
}

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

.logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #ffffff;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
}

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

input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

button {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #2196f3 0%, #0d6efd 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(33, 150, 243, 0.4);
}

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

.msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.msg.ok {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}

.msg.err {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

@media (max-width: 480px) {
    .card { padding: 32px 22px; }
    h1   { font-size: 1.3rem; }
}

