* { box-sizing: border-box; }
:root { --auth-text: #171b2f; --auth-muted: #677085; --auth-line: #e2e5ee; }
body { margin: 0; font-family: "Manrope", sans-serif; color: var(--auth-text); background: #f7f8fc; }
button, input, select { font: inherit; }
a { color: var(--auth-primary); text-underline-offset: 4px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--auth-primary); outline-offset: 4px; }
.auth-shell { display: grid; grid-template-columns: 47% 53%; min-height: 100svh; }
.auth-hero { position: sticky; top: 0; height: 100svh; min-height: 760px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 44px 9%; color: #fff; background: #090d1b; }
.auth-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 88% 40%, rgba(var(--auth-primary-rgb), .22), transparent 70%), linear-gradient(130deg, rgba(var(--auth-accent-rgb), .24), transparent 65%); }
.auth-grid { position: absolute; inset: 0; z-index: -2; opacity: .18; background-image: linear-gradient(#8991b51a 1px, transparent 1px), linear-gradient(90deg, #8991b51a 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(transparent, #000, transparent); }
.auth-aurora { position: absolute; z-index: -1; width: 600px; height: 600px; right: -380px; top: -240px; border-radius: 50%; background: rgba(var(--auth-secondary-rgb), .35); filter: blur(90px); animation: aurora-drift 14s ease-in-out infinite alternate; }
.auth-brand { display: inline-flex; align-self: flex-start; }
.auth-brand img { object-fit: contain; object-position: left center; width: 180px; height: 56px; }
.auth-hero-copy { margin-top: clamp(40px, 7vh, 86px); position: relative; z-index: 2; }
.auth-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.6; font-weight: 700; text-transform: uppercase; letter-spacing: 2.3px; color: #c8cce0; }
.auth-status-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px rgba(var(--auth-secondary-rgb), .8); }
.auth-hero h1 { font-size: clamp(36px, 3.65vw, 62px); font-weight: 500; line-height: 1.15; letter-spacing: -2.5px; margin: 23px 0 22px; }
.auth-hero h1 em { font-style: normal; color: #fff; text-shadow: 0 0 36px rgba(var(--auth-secondary-rgb), .9); }
.auth-hero-copy p { font-size: 14px; line-height: 1.9; color: #acb3c9; margin: 0; }
.auth-universe { position: relative; flex: 1; min-height: 240px; max-height: 420px; width: 100%; margin: auto; perspective: 800px; transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0); transition: transform .7s ease-out; }
.auth-planet { position: absolute; width: 205px; height: 205px; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.8), rgba(var(--auth-secondary-rgb), .95) 12%, var(--auth-primary) 40%, #0b1025 76%); box-shadow: inset -24px -28px 40px #020711, inset 3px 2px 12px #ffffff66, 0 0 60px rgba(var(--auth-primary-rgb), .35); }
.planet-grid { position: absolute; inset: -20%; opacity: .25; background: repeating-linear-gradient(0deg, transparent 0 16px, #ffffff77 17px, transparent 18px 25px); transform: rotate(-30deg); }
.auth-orbit { position: absolute; left: 50%; top: 50%; width: 390px; height: 390px; border: 1px solid rgba(var(--auth-secondary-rgb), .7); border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg) rotateX(65deg); box-shadow: 0 0 14px rgba(var(--auth-primary-rgb), .3), inset 0 0 14px rgba(var(--auth-primary-rgb), .25); }
.orbit-one { border-top: 3px solid #ffffffb0; animation: orbit-float 12s ease-in-out infinite alternate; }
.orbit-two { width: 330px; height: 330px; transform: translate(-50%, -50%) rotate(48deg) rotateX(65deg); border-left: 2px solid #ffffffa0; }
.orbit-three { width: 450px; height: 450px; opacity: .25; }
.orbit-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #ffffff22; background: #171b31bb; box-shadow: 0 12px 35px #0004; backdrop-filter: blur(16px); border-radius: 12px; font-size: 11px; color: #e5e7f3; animation: label-float 6s ease-in-out infinite alternate; }
.orbit-label span { font-size: 20px; color: #fff; }
.label-one { right: -2%; top: 23%; }
.label-two { left: -2%; bottom: 19%; animation-delay: -3s; }
.orbit-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px 6px rgba(var(--auth-secondary-rgb), .8); }
.spark-one { top: 25%; left: 17%; }.spark-two { bottom: 20%; right: 20%; width: 4px; height: 4px; }
.auth-hero-footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff20; padding-top: 25px; gap: 12px; }
.auth-hero-footer strong, .auth-hero-footer small { display: block; }
.auth-hero-footer strong { font-size: 12px; font-weight: 600; margin: 10px 0 5px; }
.auth-hero-footer small { color: #9ca5bf; font-size: 10px; }
.auth-mini-icon { color: #aab2ce; font-size: 10px; letter-spacing: 2px; }
.auth-main { position: relative; padding: 30px clamp(24px, 5vw, 92px); display: flex; flex-direction: column; background: radial-gradient(ellipse at 100% 0%, rgba(var(--auth-primary-rgb), .05), transparent 60%), #f7f8fc; }
.auth-language { display: flex; gap: 14px; align-items: center; justify-content: flex-end; font-size: 11px; margin-bottom: 28px; }
.auth-language > span { font-size: 22px; color: var(--auth-muted); }
.auth-language a { text-decoration: none; color: var(--auth-muted); padding: 6px 0; }
.auth-language a[aria-current] { color: var(--auth-text); font-weight: 800; border-bottom: 2px solid var(--auth-primary); }
.auth-card { width: 100%; max-width: 590px; margin: auto; padding: 38px; background: #ffffffed; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 24px 70px -40px #26325c50, 0 2px 10px #26325c05; animation: card-arrive .6s ease-out; }
.auth-card-kicker { color: var(--auth-primary); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px; }
.auth-card h2 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; font-weight: 800; letter-spacing: -1.3px; }
.auth-intro { margin: 0 0 28px; color: var(--auth-muted); font-size: 13px; line-height: 1.8; }
.auth-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 16px; }
.auth-field { min-width: 0; }.auth-field.full { grid-column: 1 / -1; }
.auth-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.auth-field label small { font-weight: 400; color: var(--auth-muted); }
.auth-input, .auth-select { width: 100%; min-width: 0; height: 45px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--auth-line); color: var(--auth-text); background: #fcfcfe; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.auth-input::placeholder { color: #949aab; }
.auth-input:focus, .auth-select:focus { outline: 0; border-color: var(--auth-primary); box-shadow: 0 0 0 3px rgba(var(--auth-primary-rgb), .1); background: #fff; }
.auth-password { position: relative; }.auth-password input { padding-right: 48px; }
.auth-password-toggle { border: 0; background: transparent; color: var(--auth-muted); position: absolute; right: 3px; top: 3px; width: 40px; height: 39px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.auth-password-toggle svg { width: 19px; height: 19px; }
.auth-field-heading { display: flex; justify-content: space-between; gap: 10px; }
.auth-field-heading a { font-size: 10px; }
.auth-help { display: block; margin-top: 7px; font-size: 10px; color: var(--auth-muted); }
.auth-trial { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 10px; margin: 24px 0 18px; background: rgba(var(--auth-primary-rgb), .045); border: 1px solid rgba(var(--auth-primary-rgb), .10); }
.auth-trial-icon { font-size: 24px; color: var(--auth-primary); }
.auth-trial strong { display: block; font-size: 11px; margin-bottom: 4px; }
.auth-trial p { margin: 0; color: var(--auth-muted); font-size: 10px; line-height: 1.7; }
.auth-submit { position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 49px; padding: 13px 15px; color: #fff; font-weight: 700; font-size: 12px; background: linear-gradient(115deg, var(--auth-primary), var(--auth-secondary)); border: 0; border-radius: 9px; box-shadow: 0 7px 18px -8px rgba(var(--auth-primary-rgb), .5); cursor: pointer; transition: transform .2s, filter .2s; overflow: hidden; }
.auth-submit:hover { transform: translateY(-2px); filter: brightness(1.1); }
.auth-submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, #ffffff30 50%, transparent 80%); transform: translateX(-110%); transition: transform .7s; }
.auth-submit:hover::after { transform: translateX(110%); }
.auth-submit:disabled { opacity: .7; cursor: wait; }
.auth-terms { margin: 16px 0 0; color: var(--auth-muted); text-align: center; font-size: 10px; line-height: 1.8; }
.auth-switch { border-top: 1px solid var(--auth-line); padding-top: 22px; margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--auth-muted); }
.auth-switch a { font-weight: 800; margin-left: 4px; }
.auth-footnote { margin: 26px 0 0; text-align: center; font-size: 10px; color: var(--auth-muted); letter-spacing: .2px; }
.auth-alert { padding: 13px 16px; border: 1px solid #e9b8bf; border-radius: 9px; background: #fff3f4; color: #952638; font-size: 12px; line-height: 1.7; margin-bottom: 20px; }
.auth-alert.success { background: #effaf4; border-color: #b9e0c9; color: #226641; }
.auth-login .auth-card { max-width: 460px; padding: 44px 38px; }.auth-login .auth-fields { grid-template-columns: 1fr; gap: 22px; }.auth-login .auth-submit { margin-top: 27px; }
.auth-login .auth-card h2 { font-size: 36px; }
@keyframes aurora-drift { to { transform: translate(-100px, 160px) scale(1.2); } }
@keyframes label-float { to { translate: 0 -10px; } }
@keyframes orbit-float { to { transform: translate(-50%, -50%) rotate(-18deg) rotateX(68deg); } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) { .auth-hero { padding-left: 12%; padding-right: 12%; }.auth-universe { max-height: 460px; } }
@media (max-width: 1100px) { .auth-shell { grid-template-columns: 43% 57%; }.auth-hero { padding: 32px 8%; }.auth-hero h1 { font-size: 38px; letter-spacing: -1.8px; }.auth-main { padding: 25px; }.auth-card { padding: 28px; }.auth-orbit { width: 320px; height: 320px; }.orbit-three { width: 380px; height: 380px; }.orbit-label { padding: 10px; font-size: 10px; }.auth-hero-footer { gap: 8px; } }
@media (max-width: 760px) { .auth-input, .auth-select { font-size: 16px; } .auth-shell { display: block; }.auth-hero { position: relative; min-height: 0; height: auto; padding: 24px; }.auth-brand img { width: 150px; height: 42px; }.auth-hero-copy { margin-top: 30px; max-width: 440px; }.auth-hero h1 { font-size: 34px; margin: 14px 0; }.auth-hero-copy p { font-size: 12px; }.auth-eyebrow { font-size: 8px; letter-spacing: 1.6px; }.auth-universe, .auth-hero-footer { display: none; }.auth-main { padding: 18px 20px 28px; }.auth-language { margin-bottom: 18px; }.auth-card, .auth-login .auth-card { max-width: 590px; padding: 26px; border-radius: 18px; }.auth-card h2, .auth-login .auth-card h2 { font-size: 29px; }.auth-login .auth-hero-copy { margin-top: 20px; } }
@media (max-width: 390px) { .auth-main { padding: 16px 12px 24px; }.auth-card, .auth-login .auth-card { padding: 23px 18px; }.auth-fields { grid-template-columns: 1fr; }.auth-hero h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; }.auth-universe { transform: none; } }
