:root{
  color-scheme:dark;
  --bg:#050b17;
  --panel:#0c1628;
  --panel2:#101d32;
  --text:#f5f7fb;
  --muted:#99a9c1;
  --line:#223553;
  --blue:#2684ff;
  --purple:#8755f6;
  --green:#4ee0a0;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  min-height:100%;
}

body{
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 25%,rgba(20,87,220,.22),transparent 28%),
    radial-gradient(circle at 82% 78%,rgba(120,60,255,.18),transparent 30%),
    linear-gradient(135deg,#050b17,#071224 50%,#050a14);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.login-shell{
  width:min(1480px,100%);
  min-height:760px;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  overflow:hidden;
  background:rgba(5,13,28,.88);
  box-shadow:0 35px 100px rgba(0,0,0,.5);
}

.hero{
  position:relative;
  padding:54px 64px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  background:
    radial-gradient(circle at 72% 48%,rgba(0,105,255,.17),transparent 30%),
    linear-gradient(145deg,rgba(13,34,69,.95),rgba(5,17,38,.98));
}

.hero:after{
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:-22%;
  height:48%;
  opacity:.55;
  background:
    repeating-linear-gradient(
      165deg,
      transparent 0 19px,
      rgba(44,125,255,.22) 20px 21px
    );
  transform:skewY(-7deg);
  pointer-events:none;
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  position:relative;
  z-index:2;
}

.brand-logo{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:16px;
  font-size:24px;
  font-weight:800;
  background:linear-gradient(135deg,#178aff,#8a4fff);
  box-shadow:0 10px 35px rgba(30,112,255,.35);
}

.brand-name{
  font-size:27px;
  font-weight:800;
  line-height:1;
}

.brand-sub{
  margin-top:6px;
  color:#a9b6ca;
  font-size:15px;
}

.hero-main{
  position:relative;
  z-index:2;
  max-width:680px;
}

.badge{
  width:max-content;
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:28px;
  padding:9px 15px;
  border:1px solid rgba(42,128,255,.55);
  border-radius:999px;
  background:rgba(8,39,88,.55);
  color:#dce9ff;
  font-size:14px;
}

.badge-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 14px rgba(78,224,160,.65);
}

.hero h1{
  margin:0 0 26px;
  max-width:650px;
  font-size:55px;
  line-height:1.08;
  letter-spacing:-2px;
}

.hero h1 span{
  background:linear-gradient(90deg,#228dff,#7768ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-description{
  max-width:630px;
  margin:0;
  color:#b3c1d5;
  font-size:17px;
  line-height:1.65;
}

.features{
  position:relative;
  z-index:2;
  display:flex;
  gap:34px;
  flex-wrap:wrap;
  margin-top:36px;
}

.feature{
  min-width:105px;
  color:#dbe5f3;
  font-size:13px;
  line-height:1.45;
}

.feature-icon{
  width:54px;
  height:54px;
  margin-bottom:12px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,#17345f,#0d2345);
  border:1px solid rgba(58,123,220,.24);
  font-size:24px;
}

.hero-footer{
  position:relative;
  z-index:2;
  display:flex;
  gap:24px;
  color:#a9b6ca;
  font-size:13px;
}

.login-area{
  padding:55px 60px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 50% 15%,rgba(44,88,180,.10),transparent 28%),
    rgba(8,17,32,.92);
}

.login-card{
  width:100%;
  max-width:500px;
}

.user-symbol{
  width:78px;
  height:78px;
  margin:0 auto 28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:34px;
  background:linear-gradient(135deg,#138bff,#9652f4);
  box-shadow:0 10px 40px rgba(59,96,255,.4);
}

.login-card h2{
  margin:0;
  text-align:center;
  font-size:36px;
  letter-spacing:-1px;
}

.login-intro{
  max-width:380px;
  margin:14px auto 38px;
  text-align:center;
  color:#a7b5ca;
  line-height:1.55;
  font-size:15px;
}

.field{
  margin-bottom:22px;
}

.field label{
  display:block;
  margin:0 0 9px;
  font-size:14px;
  font-weight:600;
  color:#eef3fb;
}

.input-wrap{
  position:relative;
}

.input-icon{
  position:absolute;
  left:17px;
  top:50%;
  transform:translateY(-50%);
  color:#7286a3;
  font-size:18px;
  pointer-events:none;
}

input{
  width:100%;
  height:58px;
  padding:0 18px 0 50px;
  border:1px solid var(--line);
  border-radius:13px;
  outline:none;
  background:#0a1426;
  color:#fff;
  font-size:15px;
  transition:.2s;
}

input::placeholder{
  color:#71839e;
}

input:focus{
  border-color:#2d83ff;
  box-shadow:0 0 0 4px rgba(45,131,255,.11);
}

.login-button{
  width:100%;
  height:60px;
  margin-top:8px;
  border:0;
  border-radius:13px;
  cursor:pointer;
  color:#fff;
  font-size:16px;
  font-weight:800;
  background:linear-gradient(90deg,#1689ff,#705efc,#9c4ff0);
  box-shadow:0 12px 30px rgba(67,88,255,.22);
  transition:.2s;
}

.login-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.error{
  padding:13px 15px;
  margin-bottom:20px;
  border-radius:12px;
  color:#ffb2b2;
  background:rgba(255,70,70,.10);
  border:1px solid rgba(255,90,90,.28);
  font-size:13px;
}

.error:empty{
  display:none;
}

.security{
  margin-top:38px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  color:#8294ad;
  font-size:12px;
  line-height:1.6;
}

.security-icon{
  display:block;
  margin-bottom:12px;
  font-size:26px;
}

@media(max-width:900px){
  body{
    padding:14px;
  }

  .login-shell{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .hero{
    display:none;
  }

  .login-area{
    min-height:650px;
    padding:35px 24px;
  }
}
