:root { --login-navy: #0e1a3d; --login-blue: #1673e8; --login-cyan: #26bad7; --login-violet: #7132d5; --login-muted: #718097; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--login-navy); background: #fff; font-family: Inter,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; -webkit-font-smoothing: antialiased; }
.login-page { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: #fff; }
.login-shell { display: grid; min-height: 100vh; min-height: 100dvh; grid-template-columns: minmax(0,57%) minmax(430px,43%); }
.login-story { position: relative; display: flex; min-height: 640px; padding: clamp(2rem,5vw,5rem); overflow: hidden; flex-direction: column; justify-content: center; color: #fff; background: radial-gradient(circle at 12% 10%,rgba(40,197,223,.28),transparent 30rem),radial-gradient(circle at 90% 92%,rgba(137,79,229,.32),transparent 29rem),linear-gradient(135deg,#0d214f 0%,#154e93 51%,#4d2b91 100%); }
.login-story::before,.login-story::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.login-story::before { top: -180px; left: -170px; width: 460px; height: 460px; box-shadow: 0 0 0 65px rgba(255,255,255,.018),0 0 0 130px rgba(255,255,255,.012); }
.login-story::after { right: -130px; bottom: -200px; width: 430px; height: 430px; box-shadow: 0 0 0 55px rgba(255,255,255,.018); }
.story-content { position: relative; z-index: 2; width: min(680px,100%); margin-inline: auto; }
.story-badge { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.35rem; padding: .5rem .72rem; color: #dffaff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17); border-radius: 999px; font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.story-badge::before { width: 7px; height: 7px; content: ""; background: #61e0ed; border-radius: 50%; box-shadow: 0 0 0 4px rgba(97,224,237,.13); }
.login-story h1 { max-width: 650px; margin: 0; font-size: clamp(2.5rem,5vw,4.65rem); font-weight: 760; line-height: 1.02; letter-spacing: -.055em; }
.login-story h1 span { color: #75e0ec; }
.story-lead { max-width: 610px; margin: 1.2rem 0 0; color: #d7e3f5; font-size: clamp(.87rem,1.35vw,1.05rem); line-height: 1.75; }
.story-points { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; margin-top: 1.45rem; }
.story-point { display: inline-flex; align-items: center; gap: .45rem; color: #dce8f8; font-size: .68rem; font-weight: 650; }
.story-point svg { width: 16px; height: 16px; color: #64dcea; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.desktop-preview { position: relative; width: min(570px,95%); margin-top: 2rem; padding: .85rem; background: rgba(5,17,47,.38); border: 1px solid rgba(255,255,255,.17); border-radius: 19px; box-shadow: 0 28px 75px rgba(5,16,44,.32); backdrop-filter: blur(12px); transform: perspective(1000px) rotateY(-2deg); }
.preview-bar { display: flex; align-items: center; justify-content: space-between; padding: .05rem .2rem .7rem; }
.preview-dots { display: flex; gap: .32rem; }
.preview-dots i { width: 7px; height: 7px; background: rgba(255,255,255,.32); border-radius: 50%; }
.preview-bar small { color: #bbcae2; font-size: .53rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.preview-screen { display: grid; grid-template-columns: 110px 1fr; min-height: 170px; overflow: hidden; background: #f8fafd; border-radius: 12px; }
.preview-sidebar { padding: .85rem .55rem; background: #152852; }
.preview-brand { width: 40px; height: 8px; margin-bottom: 1.1rem; background: linear-gradient(90deg,#2ac0d8,#7650dc); border-radius: 999px; }
.preview-nav { height: 6px; margin: .65rem 0; background: rgba(255,255,255,.13); border-radius: 999px; }
.preview-nav.active { width: 85%; background: rgba(90,215,232,.55); }
.preview-content { padding: .9rem; }
.preview-title { width: 42%; height: 9px; background: #243c70; border-radius: 999px; }
.preview-subtitle { width: 65%; height: 5px; margin-top: .45rem; background: #dbe3ef; border-radius: 999px; }
.preview-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: .45rem; margin-top: .9rem; }
.preview-card { height: 48px; padding: .45rem; background: #fff; border: 1px solid #e3e9f2; border-radius: 7px; box-shadow: 0 4px 12px rgba(31,50,87,.05); }
.preview-card::before { display: block; width: 18px; height: 18px; content: ""; background: linear-gradient(135deg,#dff7fb,#ece6ff); border-radius: 5px; }
.preview-chart { position: relative; height: 43px; margin-top: .6rem; overflow: hidden; background: linear-gradient(180deg,#f2f7fd,#fff); border: 1px solid #e5ebf3; border-radius: 7px; }
.preview-chart::after { position: absolute; right: 7%; bottom: 7px; left: 7%; height: 24px; content: ""; background: linear-gradient(135deg,transparent 8%,#35b8d3 9% 11%,transparent 12% 31%,#4768da 32% 35%,transparent 36% 53%,#6b40cf 54% 57%,transparent 58%); opacity: .75; }
.login-form-panel { position: relative; display: grid; min-height: 640px; place-items: center; padding: 3rem clamp(1.5rem,4vw,4rem) 4rem; background: #fff; }
.login-form-card { width: min(460px,100%); }
.login-brand { display: flex; align-items: center; gap: 1rem; min-height: 94px; margin-bottom: 1.4rem; }
.login-brand img { display: block; width: 94px; height: 94px; object-fit: contain; }
.login-brand-copy { padding-left: 1rem; border-left: 2px solid #3b82e8; }
.login-brand-copy strong,.login-brand-copy small { display: block; }
.login-brand-copy strong { color: #1c3970; font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.login-brand-copy small { margin-top: .28rem; color: #7b879a; font-size: .62rem; }
.login-form-card h2 { margin: 0; color: var(--login-navy); font-size: clamp(2rem,3vw,2.65rem); font-weight: 770; letter-spacing: -.045em; }
.login-subtitle { margin: .55rem 0 1.5rem; color: var(--login-muted); font-size: .82rem; line-height: 1.6; }
.login-form-card label { display: block; margin: .95rem 0 .45rem; color: #253453; font-size: .72rem; font-weight: 750; }
.login-input { position: relative; display: flex; height: 54px; align-items: center; gap: .7rem; padding: 0 .9rem; background: #fff; border: 1px solid #d4deeb; border-radius: 12px; box-shadow: 0 1px 2px rgba(20,34,72,.03); transition: border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
.login-input:hover { border-color: #b9c6d8; }
.login-input:focus-within { background: #fbfdff; border-color: var(--login-blue); box-shadow: 0 0 0 4px rgba(22,115,232,.1); }
.login-input > svg,.password-toggle svg { width: 19px; height: 19px; flex: 0 0 19px; color: #78859a; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-input input { width: 100%; height: 50px; min-width: 0; padding: 0; color: #12203f; background: transparent; border: 0; outline: 0; font: inherit; font-size: .84rem; }
.login-input input::placeholder { color: #98a2b3; }
.password-toggle { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; padding: 0; color: #78859a; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.password-toggle:hover { color: var(--login-blue); background: #eef5ff; }
.password-toggle .eye-off,.password-toggle[data-visible="true"] .eye-on { display: none; }
.password-toggle[data-visible="true"] .eye-off { display: block; }
.login-alert { margin: 1rem 0 0; padding: .75rem .85rem; color: #8e2948; background: #fff1f4; border: 1px solid #f4c8d3; border-radius: 11px; font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; }
.login-alert ul { margin: 0; padding-left: 1rem; }
.login-submit { display: flex; width: 100%; min-height: 54px; margin-top: 1.45rem; align-items: center; justify-content: center; gap: .6rem; color: #fff; background: linear-gradient(105deg,#1673e8 0%,#4358df 52%,#742ddb 100%); border: 0; border-radius: 12px; box-shadow: 0 11px 25px rgba(65,75,213,.23); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; transition: transform .16s ease,filter .16s ease,box-shadow .16s ease; }
.login-submit:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 14px 29px rgba(65,75,213,.29); }
.login-submit:disabled { opacity: .72; cursor: wait; transform: none; }
.login-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-security { display: flex; align-items: center; gap: .55rem; margin-top: 1.25rem; color: #7d899c; font-size: .61rem; line-height: 1.5; }
.login-security svg { width: 17px; height: 17px; flex: 0 0 17px; color: #5271b8; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-copyright { position: absolute; right: 0; bottom: 14px; width: 43%; padding: 0 1rem; color: #8993a4; font-size: .58rem; text-align: center; }
@media (max-width: 1000px) { .login-shell { grid-template-columns: minmax(0,52%) minmax(420px,48%); } .login-story { padding: 2.5rem; } .login-story h1 { font-size: 3rem; } }
@media (max-width: 850px) { .login-page { overflow: auto; } .login-shell { display: block; min-height: 100vh; } .login-story { display: none; } .login-form-panel { min-height: calc(100vh - 28px); padding: 2rem 1.5rem 3rem; } .login-brand { justify-content: center; } .login-form-card h2,.login-subtitle { text-align: center; } .login-copyright { position: static; width: 100%; padding: 0 1rem 1rem; } }
@media (max-width: 480px) { .login-form-panel { padding: 1.4rem 1.25rem 2rem; } .login-brand { min-height: 82px; margin-bottom: 1rem; } .login-brand img { width: 78px; height: 78px; } .login-brand-copy { padding-left: .75rem; } .login-brand-copy strong { font-size: .66rem; } .login-form-card h2 { font-size: 1.85rem; } .login-input input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; animation: none !important; } }
