@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --blue:#5C73F2;
  --blue-soft:#7997F2;
  --navy:#1C2840;
  --dark:#101926;
  --deep:#253054;
  --light:#F2F2F2;
  --white:#ffffff;
}

*{box-sizing:border-box}

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

body.login-page{
  min-height:100vh;
  overflow:hidden;
  font-family:'Montserrat',Arial,sans-serif;
  color:#fff;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(92,115,242,.22), transparent 32%),
    radial-gradient(circle at 86% 34%, rgba(121,151,242,.16), transparent 34%),
    linear-gradient(135deg,#101926 0%,#1C2840 52%,#101926 100%);
  background-size:64px 64px,64px 64px,auto,auto,auto;
}

.login-shell{
  width:min(1480px,calc(100% - 96px));
  min-height:100vh;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(460px,.75fr);
  gap:92px;
  align-items:center;
}

.login-spacer{
  display:flex;
  align-items:center;
}

.hero-copy{
  max-width:790px;
}

.hero-badge{
  display:inline-flex;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.065);
  color:#d8e1ff;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
  backdrop-filter:blur(16px);
}

.hero-copy h1{
  max-width:790px;
  margin:20px 0 22px;
  font-size:clamp(50px,4.2vw,76px);
  line-height:.96;
  letter-spacing:-2.8px;
  font-weight:900;
}

.top-info{
  display:grid;
  grid-template-columns:repeat(3,minmax(150px,1fr));
  gap:12px;
  max-width:790px;
  margin:20px 0 8px;
}

.info-item{
  min-height:76px;
  padding:16px 18px;
  border-radius:17px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(14px);
}

.info-item strong{
  display:block;
  margin-bottom:6px;
  color:var(--blue-soft);
  font-size:22px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.5px;
}

.info-item span{
  color:rgba(255,255,255,.70);
  font-size:12px;
  line-height:1.35;
  font-weight:700;
}

.hero-copy p{
  max-width:720px;
  margin:0 0 28px;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1.7;
}

.hero-copy ul{
  display:grid;
  grid-template-columns:repeat(3,minmax(170px,1fr));
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
  max-width:790px;
}

.hero-copy li{
  min-height:50px;
  display:flex;
  align-items:center;
  padding:13px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.86);
  font-size:13px;
  font-weight:700;
  backdrop-filter:blur(14px);
}

.hero-copy li:before{
  content:"✓";
  color:var(--blue-soft);
  margin-right:9px;
  font-weight:900;
}

.login-side{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.login-card{
  position:relative;
  width:100%;
  max-width:500px;
  border-radius:36px;
  padding:34px;
  background:
    radial-gradient(circle at 20% 8%, rgba(121,151,242,.20), transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.125),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 34px 100px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(28px);
  overflow:hidden;
}

.login-card:after{
  content:"";
  position:absolute;
  right:-110px;
  bottom:-120px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(92,115,242,.20);
  filter:blur(68px);
  pointer-events:none;
}

.status-badge,
.security-logo,
.login-title,
.login-alert,
.login-form,
.login-card-footer,
.trust-row{
  position:relative;
  z-index:1;
}

.status-badge{
  width:max-content;
  margin:0 auto 16px;
  padding:8px 16px;
  border-radius:999px;
  color:#a8b8ff;
  background:rgba(92,115,242,.14);
  border:1px solid rgba(121,151,242,.30);
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
}

.security-logo{
  width:150px;
  height:150px;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.security-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 0 30px rgba(121,151,242,.34));
}

.login-title{
  text-align:center;
  margin-bottom:24px;
}

.login-title strong{
  display:block;
  font-size:34px;
  line-height:1;
  font-weight:900;
  letter-spacing:.6px;
}

.login-title small{
  display:block;
  margin-top:9px;
  color:rgba(255,255,255,.68);
  font-size:13px;
  font-weight:700;
}

.login-alert{
  border-radius:16px;
  padding:13px 14px;
  margin-bottom:15px;
  font-size:13px;
  font-weight:700;
}

.login-alert-error{
  color:#ffe4e4;
  background:rgba(255,75,75,.12);
  border:1px solid rgba(255,110,110,.30);
}

.login-alert-info{
  color:#d8e1ff;
  background:rgba(121,151,242,.12);
  border:1px solid rgba(121,151,242,.24);
}

.login-form label{
  display:block;
  margin:0 0 8px;
  color:rgba(255,255,255,.82);
  font-size:12px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
}

.input-box{
  height:56px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:0 16px;
  margin-bottom:15px;
  border-radius:17px;
  background:rgba(16,25,38,.44);
  border:1px solid rgba(255,255,255,.14);
  transition:.22s ease;
}

.input-box:hover{border-color:rgba(121,151,242,.42)}
.input-box:focus-within{
  border-color:rgba(121,151,242,.82);
  box-shadow:0 0 0 4px rgba(121,151,242,.12);
}

.field-icon{
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#a8b8ff;
  flex:0 0 24px;
}

.field-icon svg{
  width:22px;
  height:22px;
  display:block;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.input-box input{
  width:100%;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-family:inherit;
  font-size:15px;
  font-weight:600;
}

.input-box input::placeholder{color:rgba(255,255,255,.45)}

.login-button{
  width:100%;
  height:56px;
  border:0;
  border-radius:999px;
  color:#fff;
  cursor:pointer;
  font-family:inherit;
  font-size:14px;
  font-weight:900;
  letter-spacing:.8px;
  background:linear-gradient(135deg,var(--blue-soft),var(--blue));
  box-shadow:0 18px 44px rgba(92,115,242,.32);
  transition:.22s ease;
}

.login-button:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 60px rgba(92,115,242,.44);
}

.login-card-footer{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:14px;
  align-items:center;
  margin:22px 0 12px;
  color:rgba(255,255,255,.72);
}

.login-card-footer span{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24));
}

.login-card-footer span:last-child{
  background:linear-gradient(90deg,rgba(255,255,255,.24),transparent);
}

.login-card-footer strong{
  font-size:13px;
  font-weight:900;
  letter-spacing:2.4px;
}

.trust-row{
  display:flex;
  justify-content:center;
  gap:10px;
  color:rgba(255,255,255,.56);
  font-size:12px;
  font-weight:700;
  flex-wrap:wrap;
}

@media(max-width:1180px){
  body.login-page{overflow:auto}

  .login-shell{
    grid-template-columns:1fr;
    gap:54px;
    padding:42px 0;
  }

  .login-side{
    justify-content:center;
  }

  .login-card{
    max-width:620px;
  }

  .hero-copy ul,
  .top-info{
    grid-template-columns:repeat(2,minmax(220px,1fr));
  }
}

@media(max-width:640px){
  .login-shell{
    width:min(100% - 26px,1180px);
  }

  .hero-copy h1{
    font-size:clamp(42px,13vw,60px);
    letter-spacing:-2px;
  }

  .hero-copy p{
    font-size:17px;
  }

  .hero-copy ul,
  .top-info{
    grid-template-columns:1fr;
  }

  .login-card{
    padding:28px;
    border-radius:30px;
  }

  .security-logo{
    width:130px;
    height:130px;
  }
}
