:root {
  --plum-950: #13081d;
  --plum-900: #1d0c2b;
  --plum-800: #2c1240;
  --sand: #efe8da;
  --sand-soft: #f7f3eb;
  --lime: #d9ff58;
  --lime-deep: #b9df32;
  --violet: #9b5cff;
  --ink: #1c1522;
  --muted: #786e7d;
  --line: rgba(239, 232, 218, .17);
  --danger: #b92e57;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; scroll-behavior: smooth; background: var(--plum-950); }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; color: var(--sand); font-family: Inter, "Segoe UI", Arial, sans-serif; background: radial-gradient(circle at 80% 24%, #35154b 0, var(--plum-900) 38%, var(--plum-950) 100%); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.signal-field { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .33; pointer-events: none; }
.aurora { position: fixed; z-index: 0; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; animation: aurora-drift 16s ease-in-out infinite alternate; }
.aurora--one { top: -24vw; right: -10vw; background: var(--violet); }
.aurora--two { bottom: -28vw; left: -15vw; background: var(--lime); animation-delay: -7s; }

.site-shell { position: relative; z-index: 1; width: min(calc(100% - 64px), var(--max)); min-height: 100vh; margin-inline: auto; }
.header { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.logo { position: relative; display: inline-flex; width: max-content; align-items: center; }
.logo__word { font-size: 27px; font-weight: 950; letter-spacing: -.065em; }
.logo__signal { position: absolute; right: -9px; bottom: -7px; width: 39px; height: 5px; overflow: hidden; transform: skewX(-28deg); background: var(--lime); }
.logo__signal::after { display: block; width: 12px; height: 100%; content: ""; background: var(--plum-900); animation: logo-scan 2.8s ease-in-out infinite; }
.header__context { display: flex; align-items: center; gap: 16px; color: #9d8da6; font-size: 12px; font-weight: 650; }
.header__city { color: var(--sand); }
.header__separator { width: 1px; height: 20px; background: var(--line); }
.header__system { display: inline-flex; align-items: center; gap: 9px; }
.header__system i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(217,255,88,.32); animation: status-pulse 2.2s ease-out infinite; }
.header__badge { justify-self: end; padding: 8px 10px; border: 1px solid var(--line); color: #a998b2; font-size: 11px; font-weight: 800; letter-spacing: .12em; }

.main { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(390px, .68fr); align-items: center; gap: clamp(62px, 7vw, 125px); padding: 60px 0 72px; }
.hero, .auth-zone { min-width: 0; }
.hero { position: relative; }
.hero__index { display: flex; align-items: center; gap: 12px; width: min(100%, 720px); margin-bottom: 47px; color: #7e6989; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; letter-spacing: .08em; }
.hero__index i { height: 1px; flex: 1; background: linear-gradient(90deg, var(--line), transparent); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; animation: fade-up .7s .1s both; }
.eyebrow span { width: 32px; height: 3px; background: var(--lime); }
.hero h1 { max-width: 850px; margin: 0; color: var(--sand); font-family: "Arial Narrow", Impact, sans-serif; font-size: clamp(72px, 8vw, 124px); line-height: .84; letter-spacing: -.04em; text-transform: uppercase; animation: fade-up .78s .16s both; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 2px var(--lime); text-shadow: 0 0 34px rgba(217,255,88,.12); }
.hero__lead { max-width: 680px; margin: 31px 0 0; color: #b5a6bc; font-size: 17px; line-height: 1.65; animation: fade-up .82s .22s both; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); width: min(100%, 780px); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-width: 0; min-height: 144px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); transition: background .25s, transform .25s; }
.metric:hover { z-index: 1; background: rgba(217,255,88,.06); transform: translateY(-4px); }
.metric__number { color: var(--lime); font-family: "Arial Narrow", Impact, sans-serif; font-size: 30px; }
.metric small { margin-left: 3px; color: #8e7a98; font-size: 12px; }
.metric strong { display: block; margin: 22px 0 7px; font-size: 13px; text-transform: uppercase; }
.metric p { margin: 0; color: #8c7b95; font-size: 12px; line-height: 1.45; }
.hero__status { display: flex; align-items: center; gap: 13px; width: min(100%, 330px); margin-top: 25px; }
.pulse-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(217,255,88,.08); }
.hero__status div { display: grid; gap: 3px; }
.hero__status small { color: #806f89; font-size: 11px; }
.hero__status strong { color: #cbbdd0; font-size: 12px; }
.status-code { margin-left: auto; color: var(--lime); font-family: ui-monospace, monospace; font-size: 12px; }

.auth-zone { position: relative; width: 100%; max-width: 510px; justify-self: end; perspective: 1200px; }
.orbit { position: absolute; z-index: -1; top: -68px; right: 0; width: 175px; height: 175px; border: 1px solid rgba(217,255,88,.13); border-radius: 50%; animation: orbit-spin 18s linear infinite; }
.orbit::before, .orbit::after { position: absolute; content: ""; border-radius: 50%; border: 1px solid rgba(155,92,255,.15); }
.orbit::before { inset: 21px; }
.orbit::after { inset: 48px; }
.orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px rgba(217,255,88,.65); }
.orbit i:nth-child(1) { top: 12px; left: 50%; }.orbit i:nth-child(2) { right: 8px; bottom: 46px; }.orbit i:nth-child(3) { bottom: 8px; left: 45px; }
.auth-card { position: relative; padding: 40px; color: var(--ink); background: var(--sand-soft); box-shadow: 0 35px 100px rgba(5,0,10,.4); transform-style: preserve-3d; transition: transform .18s ease-out; animation: card-in .9s .16s cubic-bezier(.2,.8,.2,1) both; }
.auth-card::before { position: absolute; top: 0; left: 0; width: 112px; height: 7px; content: ""; background: var(--lime-deep); }
.auth-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.auth-card__caption { color: #6f4d80; font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.auth-card h2 { margin: 13px 0 0; color: var(--ink); font-size: 36px; letter-spacing: -.035em; }
.secure-mark { position: relative; width: 44px; height: 44px; border: 1px solid #d7ceda; }
.secure-mark::before { position: absolute; left: 15px; top: 18px; width: 13px; height: 12px; content: ""; background: var(--plum-800); }
.secure-mark::after { position: absolute; left: 17px; top: 9px; width: 9px; height: 11px; content: ""; border: 2px solid var(--plum-800); border-bottom: 0; border-radius: 7px 7px 0 0; }
.secure-mark i { position: absolute; right: -4px; bottom: -4px; width: 10px; height: 10px; border: 2px solid var(--sand-soft); border-radius: 50%; background: var(--lime-deep); }
.auth-card__intro { max-width: 390px; margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.login-form { display: grid; gap: 9px; margin-top: 27px; }
.login-form>label { margin-top: 9px; color: #4f4554; font-size: 13px; font-weight: 750; }
.control { position: relative; }
.control input { width: 100%; height: 55px; padding: 0 84px 0 16px; border: 1px solid #d9d0dc; border-radius: 0; outline: 0; color: var(--ink); background: rgba(255,255,255,.68); font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.control input:focus { border-color: var(--plum-800); background: #fff; box-shadow: 0 0 0 4px rgba(44,18,64,.08); }
.control__line { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; pointer-events: none; transform: scaleX(0); transform-origin: left; background: var(--lime-deep); transition: transform .32s ease; }
.control input:focus~.control__line { transform: scaleX(1); }
.control__code, .password-toggle { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #94889a; font-size: 11px; font-weight: 800; }
.password-toggle { padding: 8px 0; border: 0; color: #6d5c74; background: transparent; cursor: pointer; }
.login-form__options { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 9px 0 5px; color: #948a98; font-size: 11px; }
.remember { display: flex; align-items: center; gap: 8px; color: #5e5362; }
.remember input { width: 15px; height: 15px; accent-color: var(--plum-800); }
.submit { position: relative; height: 57px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 0 19px; border: 0; color: var(--sand); background: var(--plum-800); cursor: pointer; font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, box-shadow .2s; }
.submit::before { position: absolute; inset: 0; content: ""; transform: translateX(-102%); background: var(--plum-950); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29,12,43,.22); }.submit:hover::before { transform: translateX(0); }
.submit span { position: relative; z-index: 1; }.submit__arrow { color: var(--lime); font-size: 20px; }
.login-error { display: flex; gap: 12px; margin-top: 6px; padding: 14px; border-left: 4px solid var(--danger); color: #77243d; background: #ffedf2; animation: error-in .36s ease both; }
.login-error[hidden] { display: none; }.login-error__icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--danger); font-size: 12px; font-weight: 900; }.login-error strong { font-size: 12px; }.login-error p { margin: 4px 0 0; font-size: 11px; line-height: 1.4; }
.auth-card__security { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ded6e0; color: #8c818f; }.auth-card__security p { margin: 0; font-size: 11px; line-height: 1.5; }
.mini-shield { width: 14px; height: 17px; flex: 0 0 14px; background: var(--plum-800); clip-path: polygon(50% 0,100% 18%,90% 72%,50% 100%,10% 72%,0 18%); }
.access-note { display: flex; gap: 17px; margin-top: 18px; padding: 0 4px; color: #907e99; font-size: 12px; line-height: 1.45; }.access-note span { flex: 0 0 auto; color: var(--lime); font-weight: 800; text-transform: uppercase; }.access-note p { margin: 0; }

.service-line { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-line article { min-height: 93px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); transition: background .25s; }.service-line article:hover { background: rgba(217,255,88,.055); }.service-line article>span { color: var(--lime); font-family: ui-monospace,monospace; font-size: 11px; }.service-line strong { display: block; font-size: 13px; text-transform: uppercase; }.service-line p { margin: 5px 0 0; color: #816f8a; font-size: 11px; }
.footer { position: relative; z-index: 1; min-height: 80px; display: flex; align-items: center; justify-content: space-between; color: #75647e; font-size: 11px; text-transform: uppercase; }.footer div { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(14px); }.is-ready .reveal { animation: fade-up .64s both; }.is-ready .metric:nth-child(1) { animation-delay: .3s; }.is-ready .metric:nth-child(2) { animation-delay: .4s; }.is-ready .metric:nth-child(3) { animation-delay: .5s; }.is-ready .hero__status { animation-delay: .58s; }.is-ready .access-note { animation-delay: .72s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(25px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes error-in { 0% { opacity: 0; transform: translateX(-8px); } 45% { transform: translateX(5px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes logo-scan { 0%,25% { transform: translateX(-14px); } 75%,100% { transform: translateX(45px); } }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(217,255,88,.32); } 70%,100% { box-shadow: 0 0 0 9px rgba(217,255,88,0); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes aurora-drift { to { transform: translate3d(6vw,4vw,0) scale(1.1); } }

@media (max-width:1100px) {
  .header { grid-template-columns: 1fr auto; }.header__context { display: none; }
  .main { grid-template-columns: 1fr; gap: 62px; padding-top: 76px; }.auth-zone { justify-self: start; max-width: 560px; }
  .service-line { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width:700px) {
  .site-shell { width: calc(100% - 36px); }.header { min-height: 78px; }.header__badge { font-size: 10px; }
  .main { gap: 48px; padding: 49px 0 58px; }.hero__index { margin-bottom: 34px; }.eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(57px,18vw,84px); }.hero h1 em { -webkit-text-stroke-width: 1px; }.hero__lead { font-size: 15px; }
  .metrics { grid-template-columns: 1fr; margin-top: 38px; }.metric { min-height: 112px; }.metric strong { margin-top: 14px; }
  .auth-card { padding: 31px 22px 26px; }.auth-card h2 { font-size: 31px; }.login-form__options { align-items: flex-start; flex-direction: column; }
  .access-note { flex-direction: column; gap: 6px; }.orbit { display: none; }
  .service-line { grid-template-columns: 1fr; }.service-line article { min-height: 78px; }
  .footer { min-height: 150px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 14px; padding: 25px 0; }.footer div { flex-wrap: wrap; gap: 12px 20px; }
}

@media (max-width:380px) {
  .site-shell { width: calc(100% - 28px); }.logo__word { font-size: 23px; }.header__badge { padding: 7px; }
  .hero h1 { font-size: 52px; }.auth-card { padding-inline: 18px; }.control input { padding-right: 74px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; } *,*::before,*::after { animation: none!important; transition: none!important; }.reveal { opacity: 1; transform: none; }
}
