*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  font-family: "Microsoft Yahei","Barlow Condensed", sans-serif;
  background:#f5f6f9;color:#0d0d14;
  -webkit-tap-highlight-color:transparent;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}
input{font-family:inherit}
::selection{background:rgba(124,107,245,.22)}

.login-wrap{
  display:flex;
  min-height:100vh;
}

.login-left{
  flex:1.15;
  position:relative;
  background:linear-gradient(160deg, #1e1b4b 0%, #2e1065 40%, #4c1d95 70%, #0f172a 100%);
  overflow:hidden;
  padding:52px 56px 40px;
  display:flex;
  flex-direction:column;
  color:#fff;
}

.login-left::before,
.login-left::after{
  content:'';
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(80px);
}
.login-left::before{
  top:-15%;right:-10%;
  width:600px;height:600px;
  background:radial-gradient(circle, rgba(139,92,246,.45), transparent 65%);
}
.login-left::after{
  bottom:-20%;left:-10%;
  width:500px;height:500px;
  background:radial-gradient(circle, rgba(61,139,253,.28), transparent 65%);
}

.grid-dots{
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size:28px 28px;
  mask-image:radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events:none;
}

.brand{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:auto;
}
.brand-mark{
  width:44px;height:44px;
  border-radius:12px;
  background:linear-gradient(135deg,#7c6bf5,#5b6cf9 55%,#3d8bfd);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:20px;
  box-shadow:0 8px 24px -6px rgba(91,108,249,.7), inset 0 1px 0 rgba(255,255,255,.2);
  position:relative;
}
.brand-mark::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(255,255,255,.25), transparent 60%);
}
.brand-info{line-height:1.2}
.brand-info b{
  display:block;
  font-size:17px;
  font-weight:800;
  letter-spacing:-.01em;
}
.brand-info span{
  display:block;
  font-size:11px;
  color:rgba(255,255,255,.5);
  letter-spacing:.12em;
  margin-top:3px;
  text-transform:uppercase;
}

.hero{
  position:relative;
  z-index:2;
  margin:48px 0 40px;
  max-width:520px;
}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:11.5px;
  font-weight:500;
  color:rgba(255,255,255,.85);
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:24px;
  backdrop-filter:blur(8px);
}
.hero-tag .dot{
  width:6px;height:6px;
  border-radius:50%;
  background:#10b981;
  box-shadow:0 0 0 3px rgba(16,185,129,.25);
  animation:pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{box-shadow:0 0 0 3px rgba(16,185,129,.25)}
  50%{box-shadow:0 0 0 6px rgba(16,185,129,.1)}
}
.hero h1{
  font-size:40px;
  font-weight:900;
  line-height:1.18;
  letter-spacing:-.025em;
  margin:0 0 20px;
  background:linear-gradient(135deg, #fff 0%, #c7c2ff 60%, #a5b4fc 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero p{
  font-size:15px;
  line-height:1.7;
  color:rgba(255,255,255,.6);
  margin:0;
}

.ecosystem{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  max-width:520px;
  margin-bottom:auto;
}
.eco-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(10px);
  transition:all .3s ease;
}
.eco-item:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.2);
  transform:translateY(-2px);
}
.eco-item .e-ico{
  width:32px;height:32px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#fff;
  background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.12);
}
.eco-item .e-ico svg{width:16px;height:16px}
.eco-item .e-name{
  font-size:12.5px;
  font-weight:500;
  color:rgba(255,255,255,.85);
  white-space:nowrap;
}

.left-footer{
  position:relative;
  z-index:2;
  font-size:11.5px;
  color:rgba(255,255,255,.35);
  font-family:'DM Mono',monospace;
  letter-spacing:.03em;
  margin-top:32px;
}
.left-footer a{color:rgba(255,255,255,.5)}
.left-footer a:hover{color:rgba(255,255,255,.85)}

.login-right{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 40px;
  background:#fff;
  position:relative;
}

.login-right::before{
  content:'';
  position:absolute;
  top:-20%;right:-20%;
  width:500px;height:500px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(199,194,255,.35), transparent 65%);
  filter:blur(60px);
  pointer-events:none;
}

.login-card{
  position:relative;
  z-index:2;
  width:100%;
  max-width:400px;
}

.login-head{
  margin-bottom:32px;
}
.login-head .welcome{
  font-size:13px;
  color:#8a8aa0;
  margin-bottom:6px;
  display:flex;
  align-items:center;
  gap:6px;
}
.login-head .welcome .w-dot{
  width:6px;height:6px;
  border-radius:50%;
  background:#10b981;
}
.login-head h2{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.025em;
  color:#0d0d14;
  margin:0 0 8px;
  line-height:1.2;
}
.login-head p{
  font-size:13.5px;
  color:#5f5f77;
  margin:0;
  line-height:1.55;
}

.tabs{
  display:flex;
  gap:4px;
  background:#f4f5fa;
  padding:4px;
  border-radius:10px;
  margin-bottom:24px;
}
.tab{
  flex:1;
  padding:9px 12px;
  border-radius:7px;
  border:none;
  background:transparent;
  font-size:13px;
  font-weight:600;
  color:#5f5f77;
  transition:all .2s ease;
}
.tab:hover{color:#0d0d14}
.tab.active{
  background:#fff;
  color:#0d0d14;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.form-group{
  margin-bottom:16px;
}
.form-group label{
  display:block;
  font-size:12.5px;
  font-weight:600;
  color:#3f3f52;
  margin-bottom:8px;
}
.input-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  height:46px;
  border-radius:11px;
  background:#fff;
  border:1.5px solid #e5e7ec;
  transition:all .2s ease;
  position:relative;
}
.input-wrap:focus-within{
  border-color:#7c6bf5;
  box-shadow:0 0 0 4px rgba(124,107,245,.1);
}
.input-wrap .prefix{
  color:#a0a0b0;
  display:flex;
  align-items:center;
  flex-shrink:0;
  transition:color .2s ease;
}
.input-wrap:focus-within .prefix{color:#7c6bf5}
.input-wrap input{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  font-size:14px;
  color:#0d0d14;
  min-width:0;
  padding:0;
}
.input-wrap input::placeholder{color:#b0b0c0}
.input-wrap .suffix{
  display:flex;
  align-items:center;
  flex-shrink:0;
  color:#a0a0b0;
  cursor:pointer;
  transition:color .2s ease;
  padding:4px;
  margin-right:-4px;
}
.input-wrap .suffix:hover{color:#7c6bf5}

.code-btn{
  border:none;
  background:transparent;
  font-size:12.5px;
  font-weight:600;
  color:#7c6bf5;
  padding:4px 0;
  border-left:1px solid #e5e7ec;
  padding-left:12px;
  transition:color .2s ease;
}
.code-btn:hover{color:#5b6cf9}
.code-btn:disabled{color:#b0b0c0;cursor:not-allowed}

.form-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:20px 0 24px;
}
.checkbox{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#5f5f77;
  cursor:pointer;
  user-select:none;
}
.checkbox input{
  appearance:none;
  -webkit-appearance:none;
  width:16px;
  height:16px;
  border-radius:5px;
  border:1.5px solid #d1d5db;
  background:#fff;
  cursor:pointer;
  position:relative;
  transition:all .15s ease;
  flex-shrink:0;
}
.checkbox input:checked{
  background:#7c6bf5;
  border-color:#7c6bf5;
}
.checkbox input:checked::after{
  content:'';
  position:absolute;
  left:4.5px;
  top:1px;
  width:4px;
  height:8px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.forgot{
  font-size:13px;
  color:#7c6bf5;
  font-weight:500;
  transition:color .2s ease;
}
.forgot:hover{color:#5b6cf9;text-decoration:underline}

.btn-login{
  width:100%;
  height:46px;
  border:none;
  border-radius:11px;
  font-size:14.5px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg, #7c6bf5 0%, #5b6cf9 55%, #3d8bfd 100%);
  box-shadow:0 8px 20px -6px rgba(91,108,249,.55), inset 0 1px 0 rgba(255,255,255,.15);
  transition:all .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  letter-spacing:.02em;
}
.btn-login:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px -8px rgba(91,108,249,.7), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-login:active{transform:translateY(0)}

.divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0;
  font-size:12px;
  color:#b0b0c0;
}
.divider::before,
.divider::after{
  content:'';
  flex:1;
  height:1px;
  background:#eef0f5;
}

.foot-links{
  text-align:center;
  font-size:13px;
  color:#8a8aa0;
  line-height:1.9;
}
.foot-links a{
  color:#7c6bf5;
  font-weight:600;
  transition:color .2s ease;
}
.foot-links a:hover{color:#5b6cf9;text-decoration:underline}

.support{
  margin-top:32px;
  padding:14px 16px;
  border-radius:12px;
  background:#fafbfd;
  border:1px solid #eef0f5;
  display:flex;
  align-items:center;
  gap:12px;
}
.support .s-ico{
  width:34px;
  height:34px;
  border-radius:10px;
  background:linear-gradient(135deg, #f0eeff, #e0e7ff);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#7c6bf5;
}
.support .s-text{
  flex:1;
  font-size:12px;
  color:#8a8aa0;
  line-height:1.5;
}
.support .s-text b{
  display:block;
  font-size:13px;
  color:#3f3f52;
  font-weight:600;
  margin-bottom:1px;
}
.support .s-phone{
  font-size:12.5px;
  font-weight:700;
  color:#7c6bf5;
  font-family:'DM Mono',monospace;
  white-space:nowrap;
}

.hidden{display:none !important}

@media (max-width:1023px){
  .login-left{
    flex:0 0 auto;
    padding:32px 32px 28px;
    min-height:auto;
  }
  .hero{
    margin:24px 0 24px;
  }
  .hero h1{font-size:30px}
  .hero p{font-size:14px}
  .ecosystem{
    grid-template-columns:repeat(3, 1fr);
    gap:8px;
  }
  .eco-item{padding:10px 12px}
  .eco-item .e-name{font-size:11.5px}
  .left-footer{display:none}
  .login-right{padding:32px 24px}
}

@media (max-width:767px){
  .login-wrap{flex-direction:column}
  .login-left{
    padding:28px 24px 24px;
    text-align:left;
  }
  .brand-mark{width:38px;height:38px;font-size:17px;border-radius:11px}
  .brand-info b{font-size:15px}
  .hero{margin:20px 0}
  .hero h1{font-size:26px;line-height:1.25}
  .hero p{font-size:13px;line-height:1.65}
  .hero-tag{font-size:10px;padding:5px 11px;margin-bottom:16px}
  .ecosystem{display:none}
  .login-right{padding:32px 22px 48px;flex:1;align-items:flex-start}
  .login-card{max-width:100%}
  .login-head h2{font-size:24px}
  .login-head p{font-size:13px}
  .support{margin-top:24px}
}

@media (max-width:380px){
  .login-head h2{font-size:22px}
  .btn-login{height:44px;font-size:14px}
  .input-wrap{height:44px}
  .support{padding:12px 14px}
  .support .s-phone{font-size:11.5px}
}