* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(155deg, #111827 0%, #1a2a52 45%, #1c3a6b 100%);
    display: flex; align-items: center; justify-content: center;
    -webkit-font-smoothing: antialiased;
    position: relative; overflow-x: hidden;
}
body::before { content: ''; position: fixed; width: 650px; height: 650px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); top: -200px; right: 150px; pointer-events: none; }
body::after  { content: ''; position: fixed; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.03); bottom: -100px; left: 80px; pointer-events: none; }

.brand-block { position: fixed; top: 7rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; z-index: 10; }
.page-footer { position: fixed; bottom: 1.75rem; left: 3rem; font-size: 0.7rem; color: rgba(255,255,255,0.22); z-index: 10; }
.page { width: 100%; max-width: 1180px; padding: 0 3rem; position: relative; z-index: 1; }

.brand-block { display: flex; align-items: center; gap: 1rem; }
.brand-icon { width: 46px; height: 46px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; flex-shrink: 0; }
.brand-title { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.5px; }
.brand-sub   { font-size: 0.95rem; color: rgba(255,255,255,0.42); margin-top: 0.3rem; line-height: 1.4; }

.main-row { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 0.65rem 2.5rem; align-items: stretch; }

.feat-col { display: flex; flex-direction: column; gap: 1rem; }
.feat-card { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1rem 0.9rem; display: flex; flex-direction: column; }
.feat-icon { width: 34px; height: 34px; background: rgba(255,255,255,0.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; flex-shrink: 0; }
.feat-title { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.88); margin-bottom: 0.3rem; }
.feat-desc  { font-size: 0.72rem; color: rgba(255,255,255,0.42); line-height: 1.55; }

.form-col { display: flex; flex-direction: column; }
.form-card { flex: 1; background: rgba(255,255,255,0.97); border-radius: 18px; box-shadow: 0 20px 55px rgba(0,0,0,0.3), 0 4px 14px rgba(0,0,0,0.15); padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }

.form-title    { font-size: 1.05rem; font-weight: 800; color: #111827; margin-bottom: 0.2rem; }
.form-subtitle { font-size: 0.77rem; color: #94a3b8; margin-bottom: 1.4rem; }
.hint-text     { font-size: 0.8rem; color: #64748b; margin-bottom: 1.15rem; line-height: 1.55; }

.form-floating { margin-bottom: 0.75rem; }
.form-floating .form-control { border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 0.855rem; padding: 1rem 0.8rem 0.5rem; height: 50px; transition: all 0.2s; background: #f8fafc; color: #111827; }
.form-floating .form-control:focus { border-color: #2c5fd4; box-shadow: 0 0 0 3px rgba(44,95,212,0.1); background: #fff; }
.form-floating label { font-size: 0.79rem; color: #94a3b8; }

.btn-submit { background: linear-gradient(135deg, #2c5fd4, #1a3fa8); border: none; color: #fff; width: 100%; padding: 0.72rem; border-radius: 10px; font-weight: 700; font-size: 0.875rem; transition: all 0.2s; cursor: pointer; box-shadow: 0 2px 12px rgba(44,95,212,0.35); }
.btn-submit:hover { background: linear-gradient(135deg, #1a3fa8, #152f80); transform: translateY(-1px); }

.alert-error   { background: #fef2f2; border: 1.5px solid #fca5a5; border-radius: 9px; padding: 0.55rem 0.8rem; font-size: 0.78rem; color: #b91c1c; margin-bottom: 0.85rem; }
.alert-success { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 11px; padding: 0.85rem 1rem; font-size: 0.82rem; color: #166534; margin-bottom: 1rem; line-height: 1.55; }
.back-link { display: block; text-align: center; margin-top: 0.9rem; font-size: 0.78rem; color: #94a3b8; text-decoration: none; transition: color 0.15s; }
.back-link:hover { color: #2c5fd4; }
.page-footer { font-size: 0.7rem; color: rgba(255,255,255,0.22); margin-top: 0.5rem; }

@media (max-width: 860px) {
    body { padding: 2rem 1.25rem; }
    .brand-title { font-size: 1.25rem; }
    .main-row { grid-template-columns: 1fr; }
    .feat-col { display: none; }
    .form-card { justify-content: flex-start; }
}
