:root{--blue:#1f6fff;--blue-dark:#1454cc;--text:#0f172a;--muted:#64748b;--danger:#dc2626;--white:#fff;--shadow:0 18px 50px rgba(15,23,42,.12);--radius:28px}
*{box-sizing:border-box;margin:0;padding:0}html,body{min-height:100%;width:100%;overflow-x:hidden}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:linear-gradient(135deg, rgba(31,111,255,.12), rgba(255,255,255,.92)), radial-gradient(circle at top, rgba(31,111,255,.08), rgba(255,255,255,0) 35%);-webkit-text-size-adjust:100%;text-size-adjust:100%}a{color:var(--blue);text-decoration:none}button,input{font:inherit}input,button{font-size:16px}.splash-screen{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;transition:opacity .25s ease, transform .25s ease;background:radial-gradient(circle at top, rgba(31,111,255,.12), rgba(255,255,255,.88)), rgba(255,255,255,.84)}.splash-screen.hide{opacity:0;transform:scale(1.02);pointer-events:none}.splash-content{width:min(760px, 92vw);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center}.splash-logo{width:min(280px, 62vw);max-height:220px;object-fit:contain;animation:splashZoom .9s ease both;filter:drop-shadow(0 12px 24px rgba(31,111,255,.16))}@keyframes splashZoom{0%{transform:scale(.82);opacity:0}20%{transform:scale(.92);opacity:1}70%{transform:scale(1.04);opacity:1}100%{transform:scale(1);opacity:1}}.splash-text h1{font-size:clamp(1.5rem, 3vw, 3rem);line-height:1.12;margin-bottom:10px;color:#14315a;animation:textRise .9s ease both}.splash-text p{font-size:clamp(.98rem, 1.4vw, 1.12rem);color:var(--muted);line-height:1.7;animation:textRise .9s ease both}@keyframes textRise{0%{transform:translateY(12px);opacity:0}25%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:1}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px;opacity:0;transform:translateY(18px);pointer-events:none;transition:all .28s ease}.auth-page.show{opacity:1;transform:translateY(0);pointer-events:auto}.auth-shell{width:min(1000px, 100%);display:flex;justify-content:center}.auth-card{width:min(760px, 100%);background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.55);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:blur(16px);overflow:hidden;padding:24px;animation:pop .32s ease}@keyframes pop{from{transform:translateY(18px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.auth-visual{display:flex;justify-content:center;margin-bottom:16px}.auth-image{width:100%;max-width:220px;max-height:150px;object-fit:contain;border-radius:22px;filter:drop-shadow(0 10px 24px rgba(31,111,255,.14))}.auth-copy{text-align:center;margin-bottom:12px}.auth-copy h2{font-size:clamp(1.4rem, 2.2vw, 2rem);margin-bottom:8px;color:var(--text)}.auth-copy p{color:var(--muted);max-width:620px;margin:0 auto;line-height:1.6}.auth-offer{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.auth-offer__badge,.auth-offer__price{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-weight:800}.auth-offer__badge{background:#edf4ff;color:var(--blue-dark)}.auth-offer__price{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;animation:bouncePrice 1.4s infinite}.tab-switcher{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.tab-btn{border:none;border-radius:18px;padding:14px 16px;background:#edf4ff;color:#17335d;font-weight:900}.tab-btn.active{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;box-shadow:0 12px 26px rgba(31,111,255,.18)}.forms-stack{display:grid;gap:12px}.auth-form{display:none;gap:12px}.auth-form.active{display:grid}.form-group label{display:block;margin-bottom:8px;font-weight:800;color:#16325c}.form-group input{width:100%;border:1px solid rgba(148,163,184,.2);background:#fff;border-radius:16px;padding:14px 14px;outline:none}.form-group input:focus{border-color:rgba(31,111,255,.7);box-shadow:0 0 0 4px rgba(31,111,255,.1)}.password-field{display:flex;gap:8px;align-items:center}.password-field input{flex:1}.eye-btn,.primary-btn{border:none;border-radius:16px}.eye-btn{width:48px;height:48px;background:#edf4ff;color:var(--blue-dark)}.primary-btn{width:100%;padding:14px 16px;background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;font-weight:900;box-shadow:0 14px 28px rgba(31,111,255,.2)}.forgot-row{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.mini-help{color:var(--muted);font-size:.88rem}.alert,.form-errors{border-radius:16px;padding:12px 14px}.alert.success,.flash-success{background:rgba(15,118,110,.12);color:#0f766e}.alert.error,.form-errors{background:rgba(220,38,38,.08);color:var(--danger);border:1px solid rgba(220,38,38,.16)}.form-errors p{color:inherit}.modal-backdrop{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(12,18,30,.52);z-index:6500}.modal-backdrop.show{display:flex}.modal-card{width:min(520px, 100%);background:rgba(255,255,255,.95);border-radius:26px;padding:22px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.6)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.modal-head h3{font-size:1.2rem;color:#14315a}.modal-close{width:40px;height:40px;border:none;border-radius:14px;background:#edf4ff;color:var(--blue-dark);font-size:1.4rem;line-height:1}.modal-note{color:var(--muted);line-height:1.6;margin-bottom:18px}.trial-promo{margin-bottom:16px;padding:16px;border-radius:20px;background:linear-gradient(135deg, rgba(31,111,255,.08), rgba(255,255,255,.96));border:1px solid rgba(31,111,255,.12)}.trial-promo__head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}.trial-promo__badge{padding:7px 12px;border-radius:999px;background:#edf4ff;color:var(--blue-dark);font-weight:800}.trial-promo__head strong{color:#16325c}.trial-promo p{color:var(--muted);line-height:1.6;margin-bottom:10px}.trial-promo__list{margin:0 0 10px 18px;color:#16325c;line-height:1.7}.trial-promo__footer{font-weight:700;color:#14315a}.splash-screen img,.auth-image{user-select:none}.auth-visual{margin-bottom:16px}.auth-offer__price{white-space:nowrap}@media (max-width:640px){.auth-card{padding:18px;border-radius:22px}.tab-switcher{grid-template-columns:1fr}.splash-screen{padding:14px}.splash-content{width:100%}.splash-logo{width:min(220px, 64vw);max-height:160px}.splash-text h1{font-size:1.65rem}.auth-image{max-width:180px;max-height:120px}}