@property --lg-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --lg-bg: #f2f8ff;
  --lg-ink: #0b1f3a;
  --lg-ink2: #31506f;
  --lg-mute: #64809e;
  --lg-faint: #9cb1c7;
  --lg-line: rgba(30, 120, 210, 0.14);
  --lg-line2: rgba(30, 120, 210, 0.28);
  --lg-a: #1a8cff;
  --lg-a2: #0a66d1;
  --lg-a3: #2fc6f5;
  --lg-ai: #0d9488;
  --lg-ok: #0f9d6b;
  --lg-err: #c62f3a;
  --lg-err-bg: #fff4f5;
  --lg-warn: #9a5b00;
  --lg-card: rgba(255, 255, 255, 0.86);
  --lg-field: rgba(242, 248, 255, 0.95);
  --lg-shadow: 0 40px 90px rgba(19, 94, 170, 0.18), 0 8px 24px rgba(11, 31, 58, 0.08);
  --lg-ease: cubic-bezier(.22, .8, .24, 1);
  --lg-d: 450px;
  --lg-px: 0px;
  --lg-py: 0px;
  --lg-rx: 0deg;
  --lg-ry: 0deg;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body.lg-body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--lg-ink);
  background: var(--lg-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
[lang="ar"] body.lg-body { font-family: 'Cairo', 'Inter', system-ui, Tahoma, Arial, sans-serif; }
.lg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lg-glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(60px); opacity: .75; will-change: transform; }
.lg-glow-a { width: 620px; height: 620px; top: -220px; left: -180px; background: #8fd3ff; animation: lgDriftA 26s ease-in-out infinite; }
.lg-glow-b { width: 560px; height: 560px; bottom: -240px; right: -120px; background: #9fe8df; opacity: .55; animation: lgDriftB 30s ease-in-out infinite; }
.lg-glow-c { width: 480px; height: 480px; top: 30%; left: 42%; background: #a6f0ff; opacity: .45; animation: lgDriftC 34s ease-in-out infinite; }
@keyframes lgDriftA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.08); } }
@keyframes lgDriftB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-90px, -50px) scale(1.1); } }
@keyframes lgDriftC { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-120px, 70px) scale(.92); } }
.lg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(26, 140, 255, 0.16) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); }
.lg-spot { position: fixed; z-index: 0; width: 640px; height: 640px; left: -320px; top: -320px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(26, 140, 255, 0.11), transparent 62%); transform: translate3d(var(--lg-sx, -999px), var(--lg-sy, -999px), 0); transition: opacity .4s; opacity: 0; }
.lg-spot.lg-on { opacity: 1; }
.lg-mesh { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }

.lg-wrap { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; overflow-x: clip; }

.lg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 32px; padding-top: max(14px, env(safe-area-inset-top)); background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--lg-line); position: sticky; top: 0; z-index: 5; }
.lg-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.lg-brand-logo { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lg-brand-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
.lg-brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lg-brand-name { font-size: 15px; font-weight: 700; color: var(--lg-ink); letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-brand-sub { font-size: 10px; font-weight: 600; color: var(--lg-mute); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; }
.lg-head-r { display: flex; align-items: center; gap: 10px; }

.lg-status { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid var(--lg-line); background: rgba(255, 255, 255, 0.75); color: var(--lg-mute); white-space: nowrap; transition: color .3s, background .3s, border-color .3s; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex-shrink: 0; }
.lg-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: 0; }
.lg-st-online { color: var(--lg-ok); background: rgba(15, 157, 107, 0.07); border-color: rgba(15, 157, 107, 0.22); }
.lg-st-online .lg-dot::after { animation: lgPing 2.2s ease-out infinite; }
.lg-st-down, .lg-st-offline { color: var(--lg-err); background: var(--lg-err-bg); border-color: rgba(198, 47, 58, 0.22); }
@keyframes lgPing { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.3); opacity: 0; } }

.lg-lang { position: relative; display: inline-flex; align-items: center; height: 34px; border-radius: 10px; border: 1px solid var(--lg-line); background: rgba(255, 255, 255, 0.85); transition: border-color .2s, box-shadow .2s, background .2s; }
.lg-lang:hover { border-color: var(--lg-line2); background: #fff; }
.lg-lang:focus-within { border-color: var(--lg-a); box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.16); }
.lg-lang-ic { position: absolute; inset-inline-start: 10px; width: 15px; height: 15px; fill: none; stroke: var(--lg-mute); stroke-width: 1.6; pointer-events: none; }
.lg-lang-sel { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--lg-ink); height: 100%; padding-inline-start: 31px; padding-inline-end: 12px; cursor: pointer; max-width: 170px; }

.lg-notify { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 46px; position: relative; z-index: 4; font-size: 13px; font-weight: 500; color: #0b5cad; background: rgba(232, 243, 255, 0.92); border-bottom: 1px solid var(--lg-line); animation: lgDrop .45s var(--lg-ease); }
.lg-notify[hidden] { display: none; }
.lg-notify svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.lg-notify-x { position: absolute; inset-inline-end: 12px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lg-notify-x:hover, .lg-notify-x:focus-visible { background: rgba(26, 140, 255, 0.12); outline: none; }
@keyframes lgDrop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

.lg-main { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 30px 36px 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.lg-hero { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 20px; max-width: 580px; animation: lgIn .9s var(--lg-ease) both; }
.lg-stage { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: lgIn .9s .1s var(--lg-ease) both; }
@keyframes lgIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.lg-eyebrow { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--lg-ai); background: rgba(255, 255, 255, 0.7); isolation: isolate; }
.lg-eyebrow::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--lg-ang), rgba(13, 148, 136, .15), var(--lg-ai), var(--lg-a3), rgba(13, 148, 136, .15)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: lgAng 6s linear infinite; z-index: -1; }
@keyframes lgAng { to { --lg-ang: 360deg; } }
.lg-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--lg-a3), var(--lg-ai)); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14); animation: lgBlink 2.4s ease-in-out infinite; }
@keyframes lgBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.lg-h1 { margin: 0; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.lg-h1a { color: var(--lg-ink); }
.lg-h1b { display: block; background: linear-gradient(90deg, var(--lg-a2) 0%, var(--lg-a) 25%, var(--lg-a3) 45%, var(--lg-ai) 70%, var(--lg-a2) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--lg-a); animation: lgShimmer 9s linear infinite; padding-bottom: .06em; }
@keyframes lgShimmer { to { background-position: -220% 0; } }
[lang="ar"] .lg-h1, [lang="hi"] .lg-h1, [lang="ml"] .lg-h1, [lang="ta"] .lg-h1, [lang="te"] .lg-h1 { letter-spacing: 0; line-height: 1.32; font-size: clamp(30px, 3.4vw, 48px); }
.lg-intro { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--lg-ink2); max-width: 520px; }
.lg-regions { margin: -4px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lg-a2); }
.lg-regions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; animation: lgSpinFlat 18s linear infinite; }
@keyframes lgSpinFlat { to { transform: rotate(360deg); } }

.lg-feats { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lg-feat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--lg-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; transition: transform .45s var(--lg-ease), box-shadow .45s var(--lg-ease), border-color .3s, background .3s; isolation: isolate; }
.lg-feat::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--lg-ang), transparent 0 60%, var(--lg-a) 80%, var(--lg-ai) 92%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; z-index: -1; }
.lg-feat::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60%; left: -70%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent); transform: skewX(-18deg); pointer-events: none; }
.lg-feat:hover { transform: translateY(-5px); background: #fff; border-color: transparent; box-shadow: 0 18px 40px rgba(19, 94, 170, 0.16); }
.lg-feat:hover::before { opacity: 1; animation: lgAng 3s linear infinite; }
.lg-feat:hover::after { animation: lgSweep .9s var(--lg-ease); }
@keyframes lgSweep { from { left: -70%; } to { left: 120%; } }
.lg-feat-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .45s var(--lg-ease); }
.lg-feat:hover .lg-feat-ic { transform: scale(1.1) rotate(-6deg); }
.lg-feat-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lg-ic-gps { color: var(--lg-a2); background: linear-gradient(135deg, rgba(26, 140, 255, 0.16), rgba(26, 140, 255, 0.06)); }
.lg-ic-iot { color: #0a8aa6; background: linear-gradient(135deg, rgba(47, 198, 245, 0.2), rgba(47, 198, 245, 0.06)); }
.lg-ic-ai { color: var(--lg-ai); background: linear-gradient(135deg, rgba(13, 148, 136, 0.16), rgba(13, 148, 136, 0.05)); }
.lg-feat-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lg-feat-t strong { font-size: 14px; font-weight: 700; }
.lg-feat-t span { font-size: 12.5px; line-height: 1.45; color: var(--lg-mute); }

.lg-orbit { position: relative; width: calc(var(--lg-d) + 170px); height: calc(var(--lg-d) + 170px); display: flex; align-items: center; justify-content: center; }
.lg-par { position: absolute; inset: 0; transform: translate3d(var(--lg-px), var(--lg-py), 0); transition: transform .6s var(--lg-ease); pointer-events: none; }
.lg-globe { position: absolute; top: 50%; left: 50%; width: calc(var(--lg-d) * 1.72); height: calc(var(--lg-d) * 1.72); transform: translate(-50%, -50%); pointer-events: none; transition: transform 1.4s var(--lg-ease), opacity 1.2s; }
.lg-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); }
.lg-ring-1 { width: calc(var(--lg-d) + 30px); height: calc(var(--lg-d) + 30px); background: conic-gradient(from 0deg, transparent 0 64%, rgba(26, 140, 255, 0.12) 72%, rgba(26, 140, 255, 0.85) 90%, #8be3ff 96%, rgba(13, 148, 136, 0.9) 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); animation: lgSpin 12s linear infinite; }
.lg-ring-2 { width: calc(var(--lg-d) + 68px); height: calc(var(--lg-d) + 68px); border: 1px solid var(--lg-line2); animation: lgSpinR 40s linear infinite; }
.lg-ring-2::before, .lg-ring-2::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lg-a3); box-shadow: 0 0 0 4px rgba(47, 198, 245, 0.18), 0 0 14px rgba(47, 198, 245, 0.7); }
.lg-ring-2::before { top: -4px; left: calc(50% - 4px); }
.lg-ring-2::after { bottom: 14%; right: 4%; background: var(--lg-ai); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16), 0 0 14px rgba(13, 148, 136, 0.6); }
.lg-ring-3 { width: calc(var(--lg-d) + 110px); height: calc(var(--lg-d) + 110px); border: 1px dashed rgba(30, 120, 210, 0.22); animation: lgSpin 70s linear infinite; }
.lg-ring-3 i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--lg-a); box-shadow: 0 0 10px rgba(26, 140, 255, 0.45); }
.lg-ring-3 i:nth-child(1) { top: 50%; left: -6px; }
.lg-ring-3 i:nth-child(2) { top: 6%; right: 22%; border-color: var(--lg-a3); }
.lg-ring-3 i:nth-child(3) { bottom: 4%; left: 30%; border-color: var(--lg-ai); }
.lg-ring-scan { width: calc(var(--lg-d) + 12px); height: calc(var(--lg-d) + 12px); background: conic-gradient(from 0deg, transparent 0 58%, rgba(26, 140, 255, 0.55) 92%, rgba(139, 227, 255, 1) 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); opacity: 0; transition: opacity .5s var(--lg-ease); animation: lgSpin 1.3s linear infinite; }
@keyframes lgSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes lgSpinR { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
.lg-stage:hover .lg-ring-1 { animation-duration: 7s; }

.lg-card { position: relative; z-index: 2; width: var(--lg-d); height: var(--lg-d); border-radius: 50%; border: 1.5px solid transparent; background: linear-gradient(var(--lg-card), var(--lg-card)) padding-box, conic-gradient(from var(--lg-ang), rgba(26, 140, 255, 0.25), rgba(255, 255, 255, 0.9) 25%, rgba(13, 148, 136, 0.35) 50%, rgba(255, 255, 255, 0.9) 75%, rgba(26, 140, 255, 0.25)) border-box; -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25); box-shadow: var(--lg-shadow); display: flex; align-items: center; justify-content: center; transform: perspective(1200px) rotateX(var(--lg-rx)) rotateY(var(--lg-ry)); transition: transform .6s var(--lg-ease), box-shadow .6s var(--lg-ease); animation: lgAng 12s linear infinite; }
.lg-card::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.98), transparent 48%), radial-gradient(circle at 78% 92%, rgba(47, 198, 245, 0.12), transparent 52%); pointer-events: none; }
.lg-card:focus-within { box-shadow: var(--lg-shadow), 0 0 0 10px rgba(26, 140, 255, 0.05); }

.lg-form, .lg-done, .lg-signed { position: relative; z-index: 1; width: 72%; display: flex; flex-direction: column; gap: 10px; transition: opacity .35s var(--lg-ease), transform .45s var(--lg-ease); }
.lg-form[hidden], .lg-done[hidden], .lg-signed[hidden] { display: none; }
.lg-card-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; margin-bottom: 2px; }
.lg-ai { position: relative; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--lg-a) 0%, var(--lg-ai) 100%); box-shadow: 0 8px 18px rgba(26, 140, 255, 0.32); margin-bottom: 6px; }
.lg-ai::after { content: ''; position: absolute; inset: -5px; border-radius: 14px; border: 1px solid rgba(13, 148, 136, 0.35); animation: lgHalo 2.8s ease-out infinite; }
@keyframes lgHalo { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.lg-ai svg { width: 18px; height: 18px; fill: #fff; }
.lg-title { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.lg-welcome { margin: 0; font-size: 13px; color: var(--lg-mute); }

.lg-recent { display: flex; flex-direction: column; gap: 6px; }
.lg-recent[hidden] { display: none; }
.lg-recent-t { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lg-mute); text-align: center; }
.lg-recent-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.lg-has-recent .lg-welcome { display: none; }
.lg-acc { position: relative; display: flex; align-items: center; }
.lg-acc-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; max-width: 132px; padding: 0 12px 0 4px; padding-inline-end: 26px; border-radius: 99px; border: 1px solid var(--lg-line); background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--lg-ink); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lg-acc-btn:hover, .lg-acc-btn:focus-visible { border-color: var(--lg-a); box-shadow: 0 6px 16px rgba(26, 140, 255, 0.16); transform: translateY(-1px); outline: none; }
.lg-acc-btn.lg-on { border-color: var(--lg-a); background: rgba(26, 140, 255, 0.07); }
.lg-acc-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--lg-a), var(--lg-ai)); }
.lg-acc-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-acc-x { position: absolute; inset-inline-end: 4px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: var(--lg-faint); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.lg-acc-x:hover, .lg-acc-x:focus-visible { background: rgba(198, 47, 58, 0.1); color: var(--lg-err); outline: none; }
.lg-acc-x svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.lg-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; inset-inline-start: -9999px; }

.lg-field { position: relative; display: flex; align-items: center; height: 52px; border-radius: 14px; background: var(--lg-field); border: 1px solid var(--lg-line); transition: border-color .2s, box-shadow .25s, background .2s, transform .2s; }
.lg-field:hover { border-color: var(--lg-line2); background: #fff; }
.lg-field:focus-within { border-color: var(--lg-a); background: #fff; box-shadow: 0 0 0 4px rgba(26, 140, 255, 0.13), 0 8px 20px rgba(26, 140, 255, 0.1); }
.lg-field.lg-bad { border-color: var(--lg-err); box-shadow: 0 0 0 4px rgba(198, 47, 58, 0.1); }
.lg-f-ic { position: absolute; inset-inline-start: 15px; width: 18px; height: 18px; fill: none; stroke: var(--lg-faint); stroke-width: 1.7; stroke-linecap: round; transition: stroke .2s, transform .3s var(--lg-ease); pointer-events: none; }
.lg-field:focus-within .lg-f-ic { stroke: var(--lg-a); transform: scale(1.08); }
.lg-input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--lg-ink); padding: 18px 14px 4px; padding-inline-start: 45px; border-radius: 14px; }
.lg-field-pwd .lg-input { padding-inline-end: 48px; }
.lg-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--lg-ink); }
#lgUser { direction: ltr; text-align: start; }
[dir="rtl"] #lgUser { text-align: right; }
.lg-label { position: absolute; inset-inline-start: 45px; top: 50%; transform: translateY(-50%); font-size: 14.5px; color: var(--lg-mute); pointer-events: none; transition: top .22s var(--lg-ease), font-size .22s var(--lg-ease), color .2s; white-space: nowrap; max-width: calc(100% - 96px); overflow: hidden; text-overflow: ellipsis; }
.lg-input:focus + .lg-label, .lg-input:not(:placeholder-shown) + .lg-label, .lg-input:-webkit-autofill + .lg-label { top: 14px; font-size: 11px; font-weight: 600; color: var(--lg-a2); }
.lg-eye { position: absolute; inset-inline-end: 7px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--lg-mute); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .2s, background .2s; }
.lg-eye:hover, .lg-eye:focus-visible { color: var(--lg-a); background: rgba(26, 140, 255, 0.08); outline: none; }
.lg-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lg-eye .lg-eye-off { display: none; }
.lg-eye[aria-pressed="true"] .lg-eye-on { display: none; }
.lg-eye[aria-pressed="true"] .lg-eye-off { display: block; }

.lg-caps { display: block; margin-top: -4px; font-size: 11.5px; font-weight: 600; color: var(--lg-warn); text-align: center; }
.lg-caps[hidden] { display: none; }
.lg-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.lg-remember { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--lg-ink2); user-select: none; min-width: 0; }
.lg-remember input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lg-switch { position: relative; width: 30px; height: 18px; border-radius: 9px; background: #cfdcea; flex-shrink: 0; transition: background .25s; }
.lg-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 31, 58, 0.25); transition: transform .25s var(--lg-ease); }
[dir="rtl"] .lg-switch::after { left: auto; right: 2px; }
.lg-remember input:checked + .lg-switch { background: var(--lg-a); }
.lg-remember input:checked + .lg-switch::after { transform: translateX(12px); }
[dir="rtl"] .lg-remember input:checked + .lg-switch::after { transform: translateX(-12px); }
.lg-remember input:focus-visible + .lg-switch { box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.3); }
.lg-remember-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-forgot { flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: var(--lg-a2); text-decoration: none; border-radius: 6px; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--lg-ease); }
.lg-forgot:hover { background-size: 100% 1px; }
.lg-forgot:focus-visible { outline: 2px solid var(--lg-a); outline-offset: 2px; }

.lg-btn { position: relative; align-self: center; width: 100%; height: 52px; border: 0; border-radius: 26px; cursor: pointer; font: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: 0.01em; color: #fff; background: linear-gradient(120deg, var(--lg-a) 0%, var(--lg-a2) 50%, #0a5bb8 100%); background-size: 180% 100%; background-position: 0 0; box-shadow: 0 12px 26px rgba(26, 140, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28); display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; text-decoration: none; transition: width .5s var(--lg-ease), border-radius .5s var(--lg-ease), box-shadow .3s, background-position .6s var(--lg-ease), transform .2s var(--lg-ease); isolation: isolate; }
.lg-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.lg-btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(26, 140, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.lg-btn:hover::after { animation: lgSweep .9s var(--lg-ease); }
.lg-btn:active { transform: translateY(0) scale(.985); }
.lg-btn:focus-visible { outline: 3px solid rgba(26, 140, 255, 0.45); outline-offset: 3px; }
.lg-btn-t { display: inline-flex; align-items: center; gap: 8px; transition: opacity .2s, transform .3s var(--lg-ease); }
.lg-btn-arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--lg-ease); }
[dir="rtl"] .lg-btn-arr { transform: scaleX(-1); }
.lg-btn:hover .lg-btn-arr { transform: translateX(4px); }
[dir="rtl"] .lg-btn:hover .lg-btn-arr { transform: scaleX(-1) translateX(4px); }
.lg-btn-spin, .lg-btn-ok { position: absolute; width: 30px; height: 30px; opacity: 0; transition: opacity .25s; }
.lg-spin-track { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 3.5; }
.lg-spin-arc { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 38 113; transform-origin: 24px 24px; }
.lg-btn-ok path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }

.lg-busy .lg-btn, .lg-success .lg-btn { width: 52px; border-radius: 26px; cursor: default; pointer-events: none; transform: none; }
.lg-busy .lg-btn-t, .lg-success .lg-btn-t { opacity: 0; transform: scale(.9); }
.lg-busy .lg-btn-spin { opacity: 1; transition-delay: .25s; }
.lg-busy .lg-spin-arc { animation: lgArc 0.9s linear infinite; }
.lg-success .lg-btn { background: linear-gradient(135deg, #1bbd83, var(--lg-ok)); box-shadow: 0 12px 26px rgba(15, 157, 107, 0.35), 0 0 0 8px rgba(15, 157, 107, 0.1); }
.lg-success .lg-btn-ok { opacity: 1; }
.lg-success .lg-btn-ok path { animation: lgDraw .45s .1s var(--lg-ease) forwards; }
@keyframes lgArc { to { transform: rotate(360deg); } }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }

.lg-busy .lg-ring-scan { opacity: 1; }
.lg-busy .lg-ring-1 { animation-duration: 3.5s; }
.lg-busy .lg-card { box-shadow: var(--lg-shadow), 0 0 0 10px rgba(26, 140, 255, 0.07); }
.lg-busy .lg-input, .lg-busy .lg-eye, .lg-busy .lg-forgot, .lg-busy .lg-acc-btn, .lg-busy .lg-acc-x, .lg-busy .lg-remember { pointer-events: none; }
.lg-busy .lg-field, .lg-busy .lg-recent, .lg-busy .lg-row { opacity: .6; transition: opacity .3s; }

.lg-leaving .lg-form { opacity: 0; transform: scale(.95); }
.lg-leaving .lg-ring-1 { animation-duration: 2s; }
.lg-leaving .lg-ring-scan { opacity: 0; }
.lg-leaving .lg-globe { transform: translate(-50%, -50%) scale(1.06); }
.lg-done.lg-in, .lg-signed.lg-in { animation: lgRise .55s var(--lg-ease) both; }
@keyframes lgRise { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.lg-done, .lg-signed { align-items: center; text-align: center; gap: 10px; }
.lg-avatar { position: relative; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--lg-a) 0%, var(--lg-ai) 100%); box-shadow: 0 12px 28px rgba(26, 140, 255, 0.35); }
.lg-avatar::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(26, 140, 255, 0.25); animation: lgHalo 2.2s ease-out infinite; }
.lg-greet { margin: 6px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.lg-done-sub { margin: 0; font-size: 13.5px; color: var(--lg-mute); }
.lg-bar { width: 72%; height: 5px; border-radius: 5px; background: rgba(26, 140, 255, 0.14); overflow: hidden; margin-top: 6px; }
.lg-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--lg-a3), var(--lg-a), var(--lg-ai)); transition: width 1.3s var(--lg-ease); }
.lg-done.lg-in .lg-bar i { width: 100%; }
.lg-btn-link { width: 80%; margin-top: 6px; }
.lg-notyou { font-size: 12.5px; font-weight: 600; color: var(--lg-mute); text-decoration: none; transition: color .2s; }
.lg-notyou:hover, .lg-notyou:focus-visible { color: var(--lg-a2); text-decoration: underline; outline: none; }

.lg-shake .lg-card { animation: lgShake .45s var(--lg-ease); }
@keyframes lgShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

.lg-fb { position: relative; width: 100%; min-height: 58px; display: flex; flex-direction: column; align-items: center; margin-top: -10px; }
.lg-msg { display: flex; align-items: flex-start; gap: 9px; max-width: min(470px, 100%); margin: 0; padding: 11px 15px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: var(--lg-err); background: var(--lg-err-bg); border: 1px solid rgba(198, 47, 58, 0.2); box-shadow: 0 8px 22px rgba(198, 47, 58, 0.08); animation: lgRise .35s var(--lg-ease); }
.lg-msg[hidden] { display: none; }
.lg-msg.lg-info { color: #0b5cad; background: #eef6ff; border-color: var(--lg-line2); box-shadow: none; }
.lg-msg svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lg-step { margin: 0; min-height: 18px; font-size: 13px; font-weight: 600; color: var(--lg-a2); text-align: center; }

.lg-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.lg-support-t { font-size: 12.5px; color: var(--lg-mute); font-weight: 600; }
.lg-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--lg-ink2); text-decoration: none; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--lg-line); transition: border-color .2s, color .2s, background .2s, transform .25s var(--lg-ease), box-shadow .25s; }
.lg-chip:hover, .lg-chip:focus-visible { color: var(--lg-a2); border-color: var(--lg-a); background: #fff; outline: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(26, 140, 255, 0.15); }
.lg-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.lg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 13px 36px; padding-bottom: max(13px, env(safe-area-inset-bottom)); font-size: 12px; color: var(--lg-mute); border-top: 1px solid var(--lg-line); background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: relative; z-index: 2; }
.lg-foot-secure { display: inline-flex; align-items: center; gap: 6px; }
.lg-foot-secure svg { width: 14px; height: 14px; fill: none; stroke: var(--lg-ok); stroke-width: 1.8; }
.lg-foot-site { color: var(--lg-mute); text-decoration: none; transition: color .2s; }
.lg-foot-site:hover { color: var(--lg-a2); }

@media (max-width: 1180px) {
  :root { --lg-d: 410px; }
  .lg-main { gap: 16px; padding: 26px 24px 32px; }
  .lg-feats { grid-template-columns: 1fr; }
  .lg-globe { width: calc(var(--lg-d) * 1.5); height: calc(var(--lg-d) * 1.5); }
  .lg-feat { flex-direction: row; align-items: center; padding: 12px 16px; }
}

@media (max-width: 920px) {
  :root { --lg-d: min(410px, calc(100vw - 56px)); }
  .lg-main { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 10px 16px 28px; }
  .lg-stage { grid-column: 1; grid-row: 1; width: 100%; }
  .lg-hero { grid-column: 1; grid-row: 2; align-items: center; text-align: center; max-width: 620px; }
  .lg-eyebrow { align-self: center; }
  .lg-feats { width: 100%; }
  .lg-feat { text-align: start; }
  .lg-orbit { width: 100%; height: calc(var(--lg-d) + 70px); }
  .lg-globe { width: calc(var(--lg-d) * 1.42); height: calc(var(--lg-d) * 1.42); }
  .lg-ring-3 { width: calc(var(--lg-d) + 44px); height: calc(var(--lg-d) + 44px); }
  .lg-ring-2 { width: calc(var(--lg-d) + 28px); height: calc(var(--lg-d) + 28px); }
  .lg-ring-1 { width: calc(var(--lg-d) + 13px); height: calc(var(--lg-d) + 13px); }
  .lg-ring-scan { width: calc(var(--lg-d) + 5px); height: calc(var(--lg-d) + 5px); }
  .lg-fb { min-height: 36px; margin-top: -6px; }
}

@media (max-width: 600px) {
  :root { --lg-d: min(370px, calc(100vw - 50px)); }
  .lg-head { padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .lg-brand-logo, .lg-brand-logo img { width: 38px; height: 38px; }
  .lg-brand-sub { display: none; }
  .lg-status { width: 30px; height: 30px; padding: 0; justify-content: center; background: transparent; border-color: transparent; }
  .lg-dot { width: 9px; height: 9px; }
  .lg-status-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lg-lang-sel { max-width: 118px; font-size: 13px; }
  .lg-form, .lg-done, .lg-signed { width: 78%; gap: 8px; }
  .lg-welcome, .lg-ai { display: none; }
  .lg-title { font-size: 20px; }
  .lg-recent-t { display: none; }
  .lg-acc-btn { max-width: 112px; height: 32px; font-size: 12px; }
  .lg-acc:nth-child(3) { display: none; }
  .lg-field { height: 48px; }
  .lg-input { font-size: 16px; padding-top: 16px; }
  .lg-label { font-size: 14px; }
  .lg-input:focus + .lg-label, .lg-input:not(:placeholder-shown) + .lg-label, .lg-input:-webkit-autofill + .lg-label { top: 12px; font-size: 10.5px; }
  .lg-remember { font-size: 11.5px; }
  .lg-forgot { font-size: 12px; }
  .lg-btn { height: 48px; font-size: 15px; }
  .lg-busy .lg-btn, .lg-success .lg-btn { width: 48px; }
  .lg-avatar { width: 58px; height: 58px; font-size: 24px; }
  .lg-greet { font-size: 18px; }
  .lg-h1 { font-size: 31px; }
  .lg-intro { font-size: 14.5px; }
  .lg-foot { justify-content: center; text-align: center; padding: 12px 14px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .lg-notify { padding: 10px 42px; font-size: 12.5px; }
  .lg-glow { filter: blur(48px); }
}

@media (max-width: 370px) {
  :root { --lg-d: calc(100vw - 36px); }
  .lg-form, .lg-done, .lg-signed { width: 80%; gap: 7px; }
  .lg-field { height: 46px; }
  .lg-btn { height: 46px; }
  .lg-remember-t { max-width: 96px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .lg-main { grid-template-columns: minmax(0, 1fr) auto; }
  .lg-stage { grid-column: 2; }
  .lg-hero { grid-column: 1; grid-row: 1; text-align: start; align-items: flex-start; }
  .lg-feats { display: none; }
}

@media (hover: none) {
  .lg-feat:hover { transform: none; box-shadow: none; }
  .lg-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .lg-busy .lg-spin-arc { animation: lgArc 1.6s linear infinite !important; }
  .lg-card { transform: none; }
}

@media (forced-colors: active) {
  .lg-card, .lg-field, .lg-btn { border: 1px solid CanvasText; }
}

.lg-timer { margin-inline-start: 8px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--lg-mute); }
.lg-timer:empty { display: none; }
.lg-step .lg-timer { display: inline-block; min-width: 3.4em; text-align: start; padding: 1px 8px; border-radius: 99px; background: rgba(26, 140, 255, 0.08); color: var(--lg-a2); }
.lg-step .lg-timer:empty { display: none; }
.lg-bar { position: relative; }
.lg-done.lg-in .lg-bar i { width: 74%; }
.lg-done.lg-wait .lg-bar i { width: 94%; transition: width 9s cubic-bezier(.1, .7, .2, 1); }
.lg-done.lg-in .lg-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 38%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent); animation: lgBarRun 1.15s 1.1s linear infinite; }
@keyframes lgBarRun { from { left: -40%; } to { left: 110%; } }
.lg-done .lg-avatar::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2.5px solid transparent; border-top-color: var(--lg-a); border-right-color: var(--lg-ai); animation: lgArc 1.1s linear infinite; }
.lg-done .lg-avatar::after { display: none; }
.lg-ic-av { display: none; font-size: 17px; font-weight: 800; color: #fff; line-height: 1; }
.lg-card-head.lg-bye .lg-ai { display: flex; width: 46px; height: 46px; border-radius: 50%; }
.lg-card-head.lg-bye .lg-ai::after { border-radius: 50%; }
.lg-card-head.lg-bye-av .lg-ic-spark { display: none; }
.lg-card-head.lg-bye-av .lg-ic-av { display: block; }
.lg-card-head.lg-bye .lg-welcome { display: block; color: var(--lg-ok); font-weight: 600; }
.lg-card-head.lg-bye .lg-title { font-size: 21px; }
@media (max-width: 600px) {
  .lg-card-head.lg-bye .lg-ai { width: 38px; height: 38px; margin-bottom: 2px; }
  .lg-card-head.lg-bye .lg-title { font-size: 18px; }
  .lg-card-head.lg-bye .lg-welcome { font-size: 12px; }
}
.lg-card-head.lg-exp .lg-welcome { color: #0b5cad; }
