.auth-page { min-height: 100vh; min-height: 100dvh; background: var(--navy-950); overflow-x: hidden; }
.auth-page button, .auth-page a { touch-action: manipulation; }
.auth-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(390px, .72fr) minmax(0, 1.28fr); grid-template-areas: "form visual"; direction: ltr; }
.auth-panel { grid-area: form; position: relative; z-index: 5; background: var(--white); direction: rtl; box-shadow: 24px 0 80px rgba(0,0,0,.22); }
.auth-panel-inner { width: min(100%, 560px); min-height: 100vh; min-height: 100dvh; margin-inline: auto; padding: 30px clamp(28px, 4vw, 62px) 24px; display: flex; flex-direction: column; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-brand { display: inline-flex; align-items: center; gap: 9px; direction: ltr; }
.auth-brand-mark { width: 38px; height: 38px; color: var(--navy-950); }
.auth-brand-mark rect { fill: var(--gold-400); stroke: none; }
.auth-brand-mark path { fill: var(--navy-950); stroke: none; }
.auth-brand-mark circle { fill: var(--green-600); stroke: var(--navy-950); stroke-width: 2; }
.auth-brand-name { color: var(--navy-950); font-weight: 900; font-size: 20px; letter-spacing: -.04em; }
.auth-brand-name span { color: var(--gold-600); }
.back-home { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; color: var(--slate-600); font-size: 13px; font-weight: 600; transition: color var(--transition); }
.back-home:hover { color: var(--navy-900); }
.back-home svg { width: 18px; height: 18px; }
.auth-copy { margin-top: clamp(42px, 8vh, 84px); }
.auth-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-size: 12px; font-weight: 800; }
.auth-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.auth-copy h1 { margin: 16px 0 9px; color: var(--navy-950); font-size: clamp(29px, 3vw, 41px); font-weight: 900; letter-spacing: -.055em; }
.auth-copy p { margin: 0; font-size: 14px; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; padding: 4px; border: 1px solid var(--slate-200); border-radius: 13px; background: var(--slate-50); }
.auth-tabs button { position: relative; z-index: 1; min-height: 44px; border: 0; background: transparent; color: var(--slate-500); border-radius: 10px; font-weight: 700; cursor: pointer; transition: color var(--transition); }
.auth-tabs button[aria-selected="true"] { color: var(--navy-950); }
.auth-tab-indicator { position: absolute; z-index: 0; inset-block: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--white); box-shadow: var(--shadow-sm), 0 6px 18px rgba(7,17,31,.06); transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.auth-tabs.is-signup .auth-tab-indicator { transform: translateX(-100%); }
.auth-forms { margin-top: 25px; }
.auth-form { display: grid; gap: 17px; }
.auth-form[hidden] { display: none; }
.field-group { display: grid; gap: 7px; }
.field-group label, .field-label-row { color: var(--navy-800); font-size: 13px; font-weight: 700; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; }
.field-label-row a { color: var(--gold-700); font-size: 12px; }
.field-shell { position: relative; display: flex; align-items: center; min-height: 52px; border: 1px solid var(--slate-200); border-radius: 12px; background: var(--white); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.field-shell:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(240,184,73,.17); }
.field-group.has-error .field-shell { border-color: var(--red-600); background: #fffafa; }
.field-shell > svg { width: 20px; height: 20px; margin-inline-start: 15px; flex: none; color: var(--slate-400); }
.field-shell input { width: 100%; min-width: 0; height: 50px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--navy-900); font-size: 14px; direction: rtl; }
.field-shell input[name="phone"] { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.field-shell input::placeholder { color: var(--slate-400); }
.password-toggle { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border: 0; background: transparent; color: var(--slate-500); cursor: pointer; border-radius: 9px; }
.password-toggle:hover { color: var(--navy-900); background: var(--slate-50); }
.password-toggle svg { width: 20px; height: 20px; }
.field-error { min-height: 0; color: var(--red-600); font-size: 11px; line-height: 1.4; }
.field-error:not(:empty) { min-height: 16px; }
.auth-submit { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; background: var(--gold-400); color: var(--navy-950); font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px rgba(217,154,34,.25); transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.auth-submit:hover { transform: translateY(-1px); background: #f5c360; box-shadow: 0 16px 34px rgba(217,154,34,.32); }
.auth-submit svg { width: 20px; height: 20px; }
.otp-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--slate-600); font-size: 13px; font-weight: 700; cursor: pointer; border-radius: 10px; transition: color var(--transition), background var(--transition); }
.otp-button:hover { color: var(--green-700); background: var(--green-100); }
.otp-button svg { width: 18px; height: 18px; }
.terms-check { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 9px; color: var(--slate-600); font-size: 12px; line-height: 1.8; cursor: pointer; }
.terms-check input { position: absolute; opacity: 0; pointer-events: none; }
.terms-check > span:first-of-type { width: 20px; height: 20px; margin-top: 3px; display: grid; place-items: center; border: 1px solid var(--slate-300); border-radius: 6px; color: transparent; transition: background var(--transition), border-color var(--transition); }
.terms-check svg { width: 14px; height: 14px; }
.terms-check input:checked + span { color: var(--white); background: var(--green-600); border-color: var(--green-600); }
.terms-check input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.terms-check a { color: var(--gold-700); font-weight: 700; }
.terms-check a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

body.legal-open { overflow: hidden; }
.legal-dialog { width: min(840px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; overflow: visible; background: transparent; color: var(--white); }
.legal-dialog::backdrop { background: rgba(2,8,16,.66); backdrop-filter: blur(8px); animation: liquid-backdrop-in 180ms ease-out both; }
.legal-dialog[open] { animation: liquid-dialog-in 240ms cubic-bezier(.2,.8,.2,1) both; }
.legal-liquid-shell { position: relative; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(145deg, rgba(19,38,56,.9), rgba(6,17,29,.92)); box-shadow: 0 28px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(125%); }
.legal-liquid-shell::before { content: ""; position: absolute; z-index: 8; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 1px 1px rgba(255,255,255,.12), inset -1px -1px rgba(15,138,112,.08); }
.legal-liquid-shell::after { content: ""; position: absolute; z-index: -1; width: 48%; height: 180px; inset: -115px -4% auto auto; border-radius: 50%; background: rgba(255,255,255,.1); filter: blur(42px); pointer-events: none; }
.legal-header { position: relative; z-index: 2; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.legal-heading { display: flex; align-items: center; gap: 12px; }
.legal-heading > span:last-child { display: grid; line-height: 1.5; }
.legal-heading small { color: rgba(255,255,255,.48); font-size: 10px; }
.legal-heading strong { font-size: 16px; }
.legal-symbol { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(240,184,73,.28); border-radius: 10px; background: rgba(240,184,73,.08); color: var(--gold-400); }
.legal-symbol svg { width: 19px; height: 19px; }
.legal-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.68); cursor: pointer; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.legal-close:hover { color: var(--white); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
.legal-close svg { width: 20px; height: 20px; }
.legal-tabs { position: relative; z-index: 2; display: flex; gap: 24px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-tabs button { position: relative; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 2px; border: 0; background: transparent; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 600; cursor: pointer; transition: color 180ms ease; }
.legal-tabs button::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--gold-400); transform: scaleX(0); transition: transform 180ms ease; }
.legal-tabs button[aria-selected="true"] { color: var(--white); }
.legal-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.legal-tabs button svg { width: 17px; height: 17px; }
.legal-scroll { position: relative; z-index: 2; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 30px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.legal-scroll::-webkit-scrollbar { width: 7px; }
.legal-scroll::-webkit-scrollbar-track { background: transparent; }
.legal-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 10px; }
.legal-panel[hidden] { display: none; }
.legal-intro { padding: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.legal-intro > div { min-width: 0; }
.legal-intro > div > span { color: var(--gold-400); font-size: 10px; font-weight: 700; }
.privacy-intro > div > span { color: #65d4b9; }
.legal-intro h3 { margin: 4px 0 6px; color: var(--white); font-size: 20px; font-weight: 800; }
.legal-intro p { max-width: 680px; margin: 0; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.9; }
.legal-grid { margin-top: 2px; }
.legal-clause { min-width: 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-clause > span { padding-top: 1px; color: rgba(240,184,73,.72); font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; }
.legal-clause h4, .privacy-map h4 { margin: 0 0 5px; color: rgba(255,255,255,.9); font-size: 13px; }
.legal-clause p, .privacy-map p { margin: 0; color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.9; }
.privacy-map { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; margin-top: 2px; }
.privacy-map article { min-width: 0; display: grid; grid-template-columns: 28px 1fr; gap: 11px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.privacy-icon { width: 28px; height: 28px; display: grid; place-items: center; color: #65d4b9; }
.privacy-icon svg { width: 17px; height: 17px; }
.privacy-alert { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding: 13px 15px; border-inline-start: 3px solid var(--green-600); background: rgba(15,138,112,.08); color: rgba(255,255,255,.67); font-size: 10px; line-height: 1.75; }
.privacy-alert svg { width: 23px; height: 23px; flex: none; color: #65d4b9; }
.privacy-alert strong { color: #8be1cd; }
.legal-footer { position: relative; z-index: 3; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.09); background: rgba(4,13,23,.42); backdrop-filter: blur(12px); }
.legal-footer > span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.45); font-size: 9px; }
.legal-footer > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.legal-footer button { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 20px; border: 1px solid var(--gold-400); border-radius: 10px; background: var(--gold-400); color: var(--navy-950); font-size: 11px; font-weight: 800; cursor: pointer; transition: background var(--transition), border-color var(--transition); }
.legal-footer button:hover { border-color: #f7c55c; background: #f7c55c; }
.legal-footer button svg { width: 17px; height: 17px; }
.legal-tabs button:focus-visible, .legal-close:focus-visible, .legal-footer button:focus-visible { outline: 2px solid rgba(240,184,73,.78); outline-offset: 3px; }

@keyframes liquid-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes liquid-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.auth-message { margin-top: 16px; padding: 12px 14px; border: 1px solid #a9dfd1; border-radius: 10px; background: var(--green-100); color: var(--green-700); font-size: 12px; font-weight: 700; }
.auth-security { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-start; gap: 9px; color: var(--slate-500); font-size: 11px; line-height: 1.7; }
.auth-security svg { width: 20px; height: 20px; flex: none; color: var(--green-600); }
.auth-security strong { color: var(--navy-700); }

.finance-showcase { grid-area: visual; position: relative; min-height: 100vh; min-height: 100dvh; padding: clamp(28px, 3.6vw, 56px); direction: rtl; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 78% 18%, rgba(15,138,112,.2), transparent 28%), radial-gradient(circle at 18% 78%, rgba(240,184,73,.16), transparent 34%), var(--navy-950); }
.finance-showcase::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.finance-showcase::after { content: ""; position: absolute; z-index: -2; inset: -40% -20%; background: conic-gradient(from 110deg, transparent 0 35%, rgba(240,184,73,.05) 42%, transparent 48% 72%, rgba(15,138,112,.06) 78%, transparent 85%); animation: ambient-spin 24s linear infinite; }
.finance-showcase.is-motion-paused *, .finance-showcase.is-motion-paused::after { animation-play-state: paused !important; }
.finance-ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(95px); pointer-events: none; }
.finance-ambient-one { width: 380px; height: 380px; inset: 18% auto auto 8%; background: rgba(15,138,112,.13); }
.finance-ambient-two { width: 330px; height: 330px; inset: auto 8% 4% auto; background: rgba(240,184,73,.11); }
.finance-header { position: relative; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.finance-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-400); font-size: 12px; font-weight: 800; }
.finance-kicker > span { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 5px rgba(15,138,112,.16); }
.finance-header h2 { max-width: 650px; margin: 10px 0 5px; color: var(--white); font-size: clamp(29px, 3.1vw, 46px); font-weight: 900; letter-spacing: -.05em; }
.finance-header p { margin: 0; color: var(--slate-300); font-size: 14px; }
.motion-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.055); color: var(--slate-200); font-size: 11px; font-weight: 700; cursor: pointer; backdrop-filter: blur(14px); transition: color var(--transition), border-color var(--transition), background var(--transition); }
.motion-toggle:hover { color: var(--white); border-color: rgba(240,184,73,.48); background: rgba(240,184,73,.1); }
.motion-toggle svg { width: 17px; height: 17px; }

.finance-stage { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, 900px); min-height: 570px; flex: 1; align-self: center; display: grid; place-items: center; perspective: 1400px; }
.stage-orbit { position: absolute; border: 1px dashed rgba(240,184,73,.2); border-radius: 50%; pointer-events: none; animation: orbit-spin 18s linear infinite; }
.orbit-one { width: min(84%, 730px); aspect-ratio: 1.75; transform: rotate(-7deg); }
.orbit-two { width: min(67%, 590px); aspect-ratio: 1.6; border-color: rgba(15,138,112,.22); animation-direction: reverse; animation-duration: 14s; }
.stage-orbit span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 18px var(--gold-400); }
.stage-orbit span:first-child { inset: -5px 28% auto auto; }
.stage-orbit span:last-child { inset: auto auto -5px 23%; background: var(--green-600); box-shadow: 0 0 18px var(--green-600); }
.money-particle { position: absolute; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(240,184,73,.28); border-radius: 50%; background: rgba(240,184,73,.1); color: var(--gold-400); font-family: Arial, sans-serif; font-weight: 800; box-shadow: 0 0 26px rgba(240,184,73,.12); backdrop-filter: blur(9px); animation: particle-float 5s ease-in-out infinite; }
.particle-one { inset: 15% 5% auto auto; animation-delay: -1s; }
.particle-two { inset: auto auto 12% 8%; animation-delay: -2.8s; transform: scale(.8); }
.particle-three { inset: 45% auto auto 2%; animation-delay: -4s; transform: scale(.65); }

.revenue-console { position: relative; z-index: 3; width: min(82%, 740px); overflow: hidden; padding: clamp(20px, 2.2vw, 30px); border: 1px solid rgba(255,255,255,.16); border-radius: clamp(22px, 2vw, 30px); background: linear-gradient(145deg, rgba(20,38,60,.93), rgba(7,17,31,.91)); color: var(--white); box-shadow: 0 40px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(24px); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0); transform-style: preserve-3d; transition: transform 180ms ease-out, box-shadow 300ms ease; }
.revenue-console:hover { box-shadow: 0 48px 115px rgba(0,0,0,.48), 0 0 60px rgba(15,138,112,.09), inset 0 1px rgba(255,255,255,.1); }
.console-shine { position: absolute; inset: -50% auto -50% -30%; width: 24%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transform: rotate(18deg); animation: console-scan 7s ease-in-out infinite; pointer-events: none; }
.console-header, .console-balance, .console-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.console-title { display: flex; align-items: center; gap: 10px; }
.console-title > span:last-child { display: grid; line-height: 1.5; }
.console-title small { color: var(--slate-400); font-size: 9px; }
.console-title strong { font-size: 13px; }
.console-logo { width: 38px; height: 38px; color: var(--navy-950); }
.console-logo rect { fill: var(--gold-400); stroke: none; }
.console-logo path { fill: var(--navy-950); stroke: none; }
.live-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(15,138,112,.3); border-radius: 999px; background: rgba(15,138,112,.1); color: #79d6c2; font-size: 9px; font-weight: 700; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: #29c59f; box-shadow: 0 0 0 5px rgba(41,197,159,.12); animation: live-pulse 1.8s ease-out infinite; }
.console-balance { margin-top: 23px; align-items: flex-end; }
.console-balance > div { display: grid; gap: 2px; }
.console-balance > div > span { color: var(--slate-400); font-size: 10px; }
.console-balance strong { direction: ltr; color: var(--white); font-family: var(--font-sans); font-size: clamp(28px, 3.2vw, 43px); line-height: 1.15; letter-spacing: -.03em; }
.console-balance strong b { font-weight: 900; }
.console-balance strong small { color: var(--gold-400); font-size: 12px; }
.balance-change { display: inline-flex; align-items: center; gap: 5px; color: #79d6c2; font-size: 9px; font-weight: 700; }
.balance-change svg { width: 15px; height: 15px; }
.revenue-chart { position: relative; height: clamp(90px, 15vh, 145px); margin-top: 11px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.07); }
.chart-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 100% 33.33%; }
.revenue-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url(#auth-chart-fill); stroke: none; opacity: 0; animation: area-in 1s .45s ease forwards; }
.chart-line { fill: none; stroke: var(--gold-400); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; filter: drop-shadow(0 0 7px rgba(240,184,73,.55)); animation: draw-chart 1.9s .2s cubic-bezier(.2,.8,.2,1) forwards; }
.chart-point { fill: var(--gold-400); stroke: var(--navy-900); stroke-width: 3; vector-effect: non-scaling-stroke; transform-origin: 620px 18px; animation: point-pulse 2s ease-in-out infinite; }

.money-flow { display: grid; grid-template-columns: minmax(88px,1fr) 20px minmax(88px,1fr) 20px minmax(88px,1fr) 20px minmax(88px,1fr); align-items: center; gap: 4px; margin-top: 18px; direction: rtl; }
.flow-step { min-width: 0; min-height: 68px; display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.025); color: var(--slate-300); text-align: right; cursor: pointer; transition: border-color 420ms ease, background 420ms ease, transform 420ms cubic-bezier(.2,.8,.2,1), color 420ms ease; }
.flow-step:hover { background: rgba(255,255,255,.055); }
.flow-step.is-active { color: var(--white); border-color: rgba(240,184,73,.46); background: rgba(240,184,73,.075); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.flow-step > span:last-child { min-width: 0; display: grid; line-height: 1.5; }
.flow-step small { color: var(--slate-400); font-size: 7px; white-space: nowrap; }
.flow-step strong { direction: ltr; font-family: Arial, sans-serif; font-size: 11px; white-space: nowrap; }
.flow-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 9px; background: rgba(40,116,166,.14); color: #77b9e4; }
.flow-icon svg { width: 15px; height: 15px; }
.flow-icon.red { color: #ed8f88; background: rgba(194,65,58,.13); }
.flow-icon.gold { color: var(--gold-400); background: rgba(240,184,73,.12); }
.flow-icon.green { color: #63d0b5; background: rgba(15,138,112,.15); }
.flow-arrow { position: relative; display: grid; place-items: center; color: var(--slate-600); }
.flow-arrow svg { width: 16px; height: 16px; }
.flow-arrow i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 12px var(--gold-400); opacity: 0; animation: flow-light 2.4s ease-in-out infinite; }
.flow-arrow:nth-of-type(2) i { animation-delay: .8s; }
.flow-arrow:nth-of-type(3) i { animation-delay: 1.6s; }
.console-footer { margin-top: 19px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.settlement-switch { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.03); }
.settlement-switch button { min-height: 34px; padding: 5px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--slate-400); font-size: 9px; font-weight: 700; cursor: pointer; transition: color var(--transition), background var(--transition), box-shadow var(--transition); }
.settlement-switch button.is-selected { color: var(--navy-950); background: var(--gold-400); box-shadow: 0 6px 16px rgba(240,184,73,.18); }
.settlement-note { display: inline-flex; align-items: center; gap: 7px; color: var(--slate-300); font-size: 8px; }
.settlement-note svg { width: 16px; height: 16px; color: var(--green-600); }

.floating-card { position: absolute; z-index: 5; min-width: 185px; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(7,17,31,.8); color: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.3); backdrop-filter: blur(16px); animation: card-float 4.8s ease-in-out infinite; }
.floating-card > span:last-child { display: grid; line-height: 1.45; }
.floating-card small { color: var(--slate-400); font-size: 8px; }
.floating-card strong { font-size: 11px; }
.floating-card strong b { color: var(--gold-400); font-size: 15px; }
.floating-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 10px; background: rgba(240,184,73,.14); color: var(--gold-400); }
.floating-icon.green { background: rgba(15,138,112,.15); color: #63d0b5; }
.floating-icon.navy { background: rgba(40,116,166,.15); color: #78b9e4; }
.floating-icon svg { width: 19px; height: 19px; }
.saving-card { inset: 20% auto auto 0; animation-delay: -1.5s; }
.received-card { inset: auto 0 19% auto; animation-delay: -3s; }
.security-card { inset: auto auto 6% 9%; animation-delay: -4.1s; }
.finance-trust-row { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; color: var(--slate-400); font-size: 9px; }
.finance-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.finance-trust-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(15,138,112,.11); }

@keyframes ambient-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin { to { transform: rotate(353deg); } }
@keyframes particle-float { 0%,100% { translate: 0 0; rotate: -8deg; } 50% { translate: 0 -15px; rotate: 8deg; } }
@keyframes console-scan { 0%,18% { translate: -250% 0; opacity: 0; } 35%,55% { opacity: 1; } 75%,100% { translate: 700% 0; opacity: 0; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(41,197,159,.35); } 70%,100% { box-shadow: 0 0 0 8px rgba(41,197,159,0); } }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }
@keyframes area-in { to { opacity: 1; } }
@keyframes point-pulse { 0%,100% { scale: 1; } 50% { scale: 1.55; } }
@keyframes flow-light { 0%,70%,100% { opacity: 0; transform: translateX(8px); } 20%,48% { opacity: 1; } 60% { opacity: 0; transform: translateX(-8px); } }
@keyframes card-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: minmax(350px, .9fr) minmax(0, 1.1fr); }
  .finance-showcase { padding: 30px 24px; }
  .finance-header { display: block; }
  .motion-toggle { margin-top: 14px; }
  .finance-stage { min-height: 580px; }
  .revenue-console { width: 94%; }
  .money-flow { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .flow-arrow { display: none; }
  .saving-card { inset-inline-start: -4px; }
  .received-card { inset-inline-end: -4px; }
  .security-card { display: none; }
}

@media (max-width: 760px) {
  .auth-shell { display: flex; flex-direction: column; }
  .auth-panel { order: 1; box-shadow: none; }
  .auth-panel-inner { min-height: auto; padding: 22px 20px 30px; }
  .auth-copy { margin-top: 38px; }
  .auth-copy h1 { font-size: 31px; }
  .auth-tabs { margin-top: 26px; }
  .auth-security { margin-top: 10px; }
  .finance-showcase { order: 2; min-height: 760px; padding: 36px 16px 28px; }
  .finance-header h2 { font-size: 30px; }
  .finance-header p { font-size: 12px; }
  .finance-stage { min-height: 590px; margin-top: 18px; }
  .revenue-console { width: 100%; padding: 18px 14px; border-radius: 20px; }
  .console-balance strong { font-size: 31px; }
  .console-title strong { font-size: 11px; }
  .live-status { font-size: 8px; padding-inline: 8px; }
  .revenue-chart { height: 105px; }
  .flow-step { min-height: 62px; padding: 7px; }
  .flow-icon { width: 26px; height: 26px; }
  .console-footer { align-items: flex-start; flex-direction: column; }
  .settlement-note { font-size: 8px; }
  .floating-card { min-width: 160px; padding: 9px 10px; }
  .saving-card { inset: 4% auto auto -4px; }
  .received-card { inset: auto -4px 3% auto; }
  .money-particle, .stage-orbit { opacity: .55; }
  .finance-trust-row { gap: 13px; font-size: 8px; }
  .legal-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .legal-liquid-shell { max-height: calc(100dvh - 18px); border-radius: 18px; }
  .legal-header { min-height: 66px; padding: 11px 14px; }
  .legal-heading small { display: none; }
  .legal-heading strong { font-size: 14px; }
  .legal-symbol { width: 34px; height: 34px; border-radius: 9px; }
  .legal-close { width: 44px; height: 44px; border-radius: 10px; }
  .legal-tabs { gap: 20px; padding-inline: 16px; }
  .legal-tabs button { font-size: 12px; }
  .legal-scroll { padding: 20px 18px 24px; }
  .legal-intro { padding-bottom: 18px; }
  .legal-intro h3 { font-size: 16px; }
  .legal-intro p { font-size: 11px; }
  .legal-grid, .privacy-map { grid-template-columns: 1fr; }
  .legal-clause { padding: 15px 0; }
  .privacy-map article { padding: 15px 0; }
  .legal-footer { min-height: auto; align-items: stretch; flex-direction: column; gap: 10px; padding: 11px 14px 14px; }
  .legal-footer > span { justify-content: center; text-align: center; }
  .legal-footer button { justify-content: center; width: 100%; }
}

@media (max-width: 380px) {
  .auth-panel-inner { padding-inline: 15px; }
  .back-home { font-size: 0; width: 44px; justify-content: center; }
  .finance-showcase { padding-inline: 12px; }
  .console-title small { display: none; }
  .live-status { font-size: 0; width: 32px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .revenue-console { transform: none !important; }
  .finance-showcase::after, .stage-orbit, .money-particle, .console-shine, .chart-line, .chart-area, .chart-point, .live-status i, .flow-arrow i, .floating-card { animation: none !important; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area { opacity: 1; }
  .legal-dialog, .legal-dialog::backdrop, .liquid-caustic, .liquid-reflection { animation: none !important; }
}
