:root {
  --brand:#5b45ff; --brand-soft:#8f80ff; --deep:#2d2d83; --mint:#00e5a3;
  --night:#090a19; --surface:#101126; --line:rgba(151,138,255,.16);
  --text:#f8f9fe; --muted:#9b9eb9;
  --heading:"Bricolage Grotesque",sans-serif; --body:"Plus Jakarta Sans",sans-serif;
}
*{box-sizing:border-box} html,body{margin:0;min-height:100%;background:var(--night);color:var(--text);font-family:var(--body)}
[hidden]{display:none!important}
button,input{font:inherit} button,a{-webkit-tap-highlight-color:transparent}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(440px,.88fr)}
.auth-story{position:relative;min-height:100vh;padding:36px clamp(34px,4vw,68px);overflow:hidden;display:flex;flex-direction:column;background:#0d0e20;isolation:isolate}
.auth-story::before{content:"";position:absolute;z-index:-2;inset:-20%;background:radial-gradient(circle at 26% 30%,rgba(91,69,255,.5),transparent 28%),radial-gradient(circle at 77% 71%,rgba(45,45,131,.55),transparent 32%);animation:drift 13s ease-in-out infinite alternate}
.auth-story::after{content:"";position:absolute;z-index:-1;inset:0;opacity:.28;background-image:linear-gradient(rgba(151,138,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(151,138,255,.1) 1px,transparent 1px);background-size:62px 62px;mask-image:linear-gradient(to bottom,transparent,#000 26%,#000 78%,transparent)}
.auth-story-header,.auth-story-footer,.auth-panel-top{display:flex;align-items:center;justify-content:space-between}.auth-logo img{display:block;width:auto;height:31px}
.auth-secure{display:inline-flex;align-items:center;gap:8px;color:#aeb1ca;font-size:10px;font-weight:650}.auth-secure i{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px rgba(0,229,163,.8)}
.auth-story-copy{width:min(690px,92%);margin:auto 0 28px}.auth-eyebrow{color:#b1a9ff;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.auth-story h1{margin:20px 0 0;font:580 clamp(46px,5vw,76px)/.94 var(--heading);letter-spacing:-.065em}.auth-story h1 em{color:var(--brand-soft);font-style:normal}
.auth-story-copy p{width:min(510px,90%);margin:22px 0 0;color:#b3b5cb;font-size:13px;line-height:1.7}
.auth-product-preview{width:min(700px,95%);margin:0 0 auto;overflow:hidden;border:1px solid rgba(151,138,255,.24);border-radius:16px;background:rgba(12,13,31,.78);box-shadow:0 28px 80px rgba(0,0,0,.35),0 0 80px rgba(91,69,255,.12);backdrop-filter:blur(14px);transform:perspective(1100px) rotateX(2deg) rotateY(-3deg);transform-origin:left center}
.preview-top{height:40px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#c5c7da;font-size:9px}.preview-top span{display:flex;align-items:center;gap:7px;font-weight:700}.preview-top span i{width:8px;height:8px;border-radius:3px;background:var(--brand);box-shadow:0 0 12px rgba(91,69,255,.8)}.preview-top b{color:var(--mint);font-weight:600}
.preview-body{min-height:220px;display:grid;grid-template-columns:54px 1fr 66px}.preview-rail,.preview-controls{padding-top:20px;display:flex;align-items:center;flex-direction:column;gap:13px;border-right:1px solid var(--line)}.preview-controls{border-right:0;border-left:1px solid var(--line)}.preview-rail i,.preview-controls i{width:19px;height:19px;border:1px solid var(--line);border-radius:5px}.preview-rail i:first-child{background:var(--brand);border-color:var(--brand)}
.preview-canvas{position:relative;display:grid;place-content:center;justify-items:center;min-width:0;overflow:hidden}.preview-canvas::before{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(91,69,255,.42);border-radius:50%;box-shadow:0 0 50px rgba(91,69,255,.2),inset 0 0 50px rgba(91,69,255,.1);animation:orbit 8s linear infinite}
.preview-canvas span{position:relative;width:56px;height:56px;display:grid;place-items:center;color:white;border-radius:19px 25px 18px 27px;background:linear-gradient(145deg,var(--brand),var(--deep));font:700 29px/1 var(--heading);rotate:7deg;box-shadow:0 14px 36px rgba(91,69,255,.34)}.preview-canvas strong{position:relative;margin-top:14px;font:620 18px/1 var(--heading)}.preview-canvas small{position:relative;margin-top:8px;color:var(--mint);font-size:8px;letter-spacing:.1em}
.auth-story-footer{margin-top:25px;color:#727590;font-size:8px;letter-spacing:.08em}
.auth-panel{min-height:100vh;padding:36px clamp(32px,5vw,76px);display:grid;place-items:center;background:var(--surface);border-left:1px solid var(--line)}.auth-panel-inner{width:min(430px,100%)}
.auth-panel-top{margin-bottom:clamp(44px,7vh,78px)}.auth-panel-top>span{color:#737691;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.auth-back{color:#8f92ad;font-size:10px;text-decoration:none;transition:color .2s}.auth-back:hover{color:white}
.auth-heading>span{color:#9486ff;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.auth-heading h2{margin:12px 0 0;font:590 clamp(36px,3.5vw,49px)/.98 var(--heading);letter-spacing:-.055em}.auth-heading p{margin:13px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.auth-tabs{margin-top:30px;padding:4px;display:grid;grid-template-columns:1fr 1fr;background:#0c0d20;border:1px solid var(--line);border-radius:11px}.auth-tabs button{min-height:38px;padding:0 13px;color:#80839e;border:0;border-radius:8px;background:transparent;font-size:10px;font-weight:700;cursor:pointer;transition:color .2s,background .2s,box-shadow .2s}.auth-tabs button.is-active{color:white;background:#1d1f3e;box-shadow:0 5px 14px rgba(0,0,0,.18)}
.auth-google{width:100%;min-height:46px;margin-top:18px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:11px;color:#eceefa;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.035);font-size:11px;font-weight:650;cursor:pointer;transition:border-color .2s,background .2s}.auth-google:hover{border-color:rgba(151,138,255,.45);background:rgba(91,69,255,.08)}.auth-google b{margin-left:auto;color:#777a98;font-size:14px;font-weight:400}.google-mark{color:#fff;font-size:14px;font-weight:800}
.auth-separator{margin:21px 0;display:flex;align-items:center;gap:12px;color:#747791;font-size:9px}.auth-separator::before,.auth-separator::after{content:"";height:1px;flex:1;background:var(--line)}
.auth-form{display:grid;gap:15px}.auth-field{display:grid;gap:7px}.auth-field>span:first-child,.auth-label-row{color:#c4c6d7;font-size:10px;font-weight:650}.auth-label-row{display:flex;align-items:center;justify-content:space-between}.auth-label-row button{padding:0;color:#9b90ff;border:0;background:transparent;font-size:9px;cursor:pointer}
.auth-field input{width:100%;height:46px;padding:0 14px;color:white;border:1px solid var(--line);border-radius:9px;outline:0;background:#0c0d20;font-size:11px;transition:border-color .2s,box-shadow .2s,background .2s}.auth-field input::placeholder{color:#656982}.auth-field input:focus{border-color:rgba(111,92,255,.8);background:#0e0f24;box-shadow:0 0 0 3px rgba(91,69,255,.12)}
.auth-password-wrap{position:relative;display:block}.auth-password-wrap input{padding-right:50px}.auth-password-wrap>button{position:absolute;right:5px;top:50%;translate:0 -50%;width:36px;height:36px;padding:0;display:grid;place-items:center;color:#8c8fa8;border:0;border-radius:7px;background:transparent;cursor:pointer;transition:color .2s,background .2s}.auth-password-wrap>button:hover,.auth-password-wrap>button:focus-visible{color:#fff;background:rgba(91,69,255,.13);outline:0}.auth-password-wrap svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.auth-password-wrap .eye-closed{display:none}.auth-password-wrap>button.is-visible .eye-open{display:none}.auth-password-wrap>button.is-visible .eye-closed{display:block}.auth-message{min-height:0;margin:0;color:#ff7878;font-size:10px;line-height:1.45}.auth-message:empty{display:none}.auth-message.is-success{color:var(--mint)}
.auth-submit{width:100%;min-height:48px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;color:white;border:0;border-radius:9px;background:linear-gradient(110deg,var(--brand),#745fff);box-shadow:0 12px 28px rgba(91,69,255,.22);font-size:11px;font-weight:750;cursor:pointer;transition:transform .2s,box-shadow .2s}.auth-submit:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(91,69,255,.32)}.auth-submit:disabled,.auth-google:disabled{opacity:.55;cursor:wait;transform:none}.auth-submit b{font-size:17px;font-weight:400}
.auth-terms{margin:19px 0 0;color:#6f728c;font-size:8.5px;line-height:1.6;text-align:center}.auth-terms a{color:#9295ad}.auth-benefits{margin-top:17px;padding-top:15px;display:flex;justify-content:center;gap:18px;border-top:1px solid var(--line);color:#999cb4;font-size:9px}.auth-benefits i{margin-right:5px;color:var(--mint);font-style:normal}.auth-mode-register .auth-panel-top{margin-bottom:34px}
@keyframes drift{to{transform:translate3d(3%,-2%,0) scale(1.06)}} @keyframes orbit{to{transform:rotate(360deg)}}
@media(max-width:980px){.auth-shell{grid-template-columns:minmax(360px,.9fr) minmax(430px,1.1fr)}.auth-story{padding-inline:32px}.auth-product-preview{width:100%}.auth-story-footer span:last-child{display:none}}
@media(max-width:780px){.auth-shell{display:block}.auth-story{min-height:280px;padding:26px 22px}.auth-story-copy{margin:auto 0 0}.auth-story h1{font-size:clamp(38px,10vw,55px)}.auth-story-copy p,.auth-product-preview,.auth-story-footer{display:none}.auth-panel{min-height:calc(100vh - 280px);padding:38px 22px 55px;border-left:0;border-top:1px solid var(--line)}.auth-panel-top{margin-bottom:34px}}
@media(max-width:480px){.auth-story{min-height:225px}.auth-story h1{font-size:39px}.auth-secure{display:none}.auth-panel{min-height:calc(100vh - 225px);padding-inline:18px}.auth-heading h2{font-size:37px}.auth-benefits{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.auth-marketing-consent{display:flex;align-items:flex-start;gap:11px;margin:2px 0 14px;color:var(--auth-text, #f8f9fe);cursor:pointer}.auth-marketing-consent[hidden]{display:none}.auth-marketing-consent input{width:18px;height:18px;margin-top:2px;accent-color:#5b45ff;flex:0 0 auto}.auth-marketing-consent span{display:grid;gap:3px}.auth-marketing-consent strong{font-size:13px;font-weight:650}.auth-marketing-consent small{font-size:11px;line-height:1.45;color:var(--auth-muted, #9296ad)}
