:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: #092b78;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { background: #8bc6fb; }
button, input { font: inherit; }
button { cursor: pointer; }

.login-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 4vh 3.2vw;
  overflow: hidden;
  isolation: isolate;
}
.scene-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.intro-content { position: absolute; inset: 0 auto 0 0; width: 60%; pointer-events: none; }
.brand { position: absolute; top: 7.5%; left: 4.1vw; display: flex; align-items: center; }
.brand-logo { display: block; width: clamp(92px, 7.3vw, 122px); height: clamp(92px, 7.3vw, 122px); object-fit: contain; flex: none; }
@media (min-width: 1201px) {
  .brand-logo { width: 155px; height: 155px; margin: -16px -5px -16px -16px; transform: translateY(-5px); }
}
.brand-copy { display: flex; flex-direction: column; margin-left: -6px; padding-top: 2px; color: #082c80; white-space: nowrap; }
.brand-copy strong { font-size: clamp(34px, 2.85vw, 48px); font-weight: 750; line-height: 1.14; letter-spacing: .02em; }
.brand-copy span { font-size: clamp(17px, 1.42vw, 24px); font-weight: 500; line-height: 1.45; letter-spacing: .025em; }
.hero-copy { position: absolute; top: 23.5%; left: 4.75vw; white-space: nowrap; }
.hero-copy h2 { margin: 0; font-size: clamp(38px, 3.14vw, 54px); font-weight: 760; line-height: 1.26; letter-spacing: .012em; }
.hero-copy h2 span { color: #2677f7; }
.hero-rule { width: 56px; height: 5px; margin-top: 22px; background: #2878f8; }
.hero-copy p { margin: 22px 0 0; font-size: clamp(15px, 1.12vw, 19px); font-weight: 600; line-height: 1.5; }

.feature-cards {
  position: absolute;
  left: 4.55vw;
  bottom: 11.4%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, .9vw, 16px);
  width: min(55vw, 860px);
}
.feature-card {
  min-width: 0;
  min-height: clamp(244px, 29vh, 292px);
  padding: 10px 6px 24px;
  border: 1.5px solid rgba(255, 255, 255, .91);
  border-radius: 19px;
  background: linear-gradient(155deg, rgba(242, 250, 255, .84), rgba(217, 238, 255, .84));
  box-shadow: 0 15px 30px rgba(26, 96, 190, .12), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  text-align: center;
}
.feature-card img { display: block; width: clamp(90px, 8.5vw, 138px); height: clamp(90px, 8.5vw, 138px); margin: 0 auto -5px; object-fit: contain; }
.feature-card h3 { margin: 0 0 8px; font-size: clamp(18px, 1.58vw, 26px); font-weight: 740; line-height: 1.3; white-space: nowrap; }
.feature-card p { margin: 0; font-size: clamp(13px, 1.04vw, 17px); font-weight: 500; line-height: 1.6; white-space: nowrap; }

.login-panel {
  position: relative;
  width: clamp(420px, 30vw, 500px);
  min-height: min(78vh, 780px);
  padding: 62px 34px 40px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 36px;
  background: rgba(223, 240, 255, .78);
  box-shadow: 0 20px 54px rgba(0, 48, 125, .14), inset 0 1px 0 rgba(255, 255, 255, .75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateY(12px);
}
.panel-header { margin-bottom: 60px; text-align: center; }
.panel-header h1 { margin: 0; font-size: 42px; font-weight: 750; line-height: 1.3; letter-spacing: .025em; }
.panel-header p { margin: 8px 0 0; font-size: 22px; font-weight: 500; line-height: 1.45; }
.login-form { width: 100%; }
.fields { display: grid; gap: 23px; }
.field { display: flex; align-items: center; width: 100%; height: 68px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .95); border-radius: 12px; background: rgba(255, 255, 255, .96); transition: box-shadow .2s, border-color .2s; }
.field:focus-within { border-color: #4487ff; box-shadow: 0 0 0 3px rgba(54, 119, 246, .16); }
.field-icon { width: 28px; height: 28px; flex: none; margin-right: 17px; filter: invert(18%) sepia(85%) saturate(3015%) hue-rotate(219deg) brightness(90%); }
.field input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: #0c317d; background: transparent; font-size: 18px; }
.field input::placeholder { color: #61749f; opacity: 1; }
.icon-button { display: grid; place-items: center; flex: none; padding: 6px; border: 0; background: transparent; }
.icon-button img { width: 25px; height: 25px; filter: invert(18%) sepia(85%) saturate(3015%) hue-rotate(219deg) brightness(90%); }
.icon-button:focus-visible, .text-button:focus-visible, .sms-button:focus-visible, .submit-button:focus-visible, .code-button:focus-visible { outline: 3px solid #083cb5; outline-offset: 3px; }
.sms-form .field-icon { width: 26px; height: 26px; margin-right: 15px; }
.code-field { padding-right: 15px; }
.code-button { flex: none; height: 32px; margin-left: 10px; padding: 0 0 0 16px; border: 0; border-left: 1px solid #c9d8ef; color: #1262e7; background: transparent; font-size: 17px; white-space: nowrap; }
.code-button:hover, .text-button:hover, .sms-button:hover { color: #0045c2; }
.form-options { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; color: #083895; font-size: 17px; }
.remember-option { display: inline-flex; align-items: center; gap: 13px; cursor: pointer; white-space: nowrap; }
.remember-option input { width: 19px; height: 19px; margin: 0; accent-color: #2875fa; cursor: pointer; }
.text-button { padding: 0; border: 0; color: #1262e7; background: transparent; font-size: 17px; white-space: nowrap; }
.form-message { min-height: 19px; margin: 8px 0 0; color: #b5223d; font-size: 13px; line-height: 19px; }
.form-message:empty { visibility: hidden; }
.submit-button { display: block; width: 100%; height: 65px; margin-top: 5px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(100deg, #3294ff, #1e62f2); box-shadow: 0 6px 15px rgba(40, 106, 235, .11); font-size: 25px; font-weight: 700; letter-spacing: .08em; transition: filter .2s, transform .2s; }
.submit-button:hover { filter: brightness(1.05); }
.submit-button:active { transform: translateY(1px); }
.alternate-login { margin-top: 50px; text-align: center; }
.separator { display: flex; align-items: center; justify-content: center; gap: 26px; color: #0b3b9c; font-size: 18px; white-space: nowrap; }
.separator::before, .separator::after { content: ""; display: block; width: 74px; height: 1px; background: #82a7df; }
.sms-button { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; padding: 0; border: 0; color: #0343ba; background: transparent; font-size: 17px; }
.phone-icon-wrap { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: 0 3px 15px rgba(55, 110, 190, .09); }
.phone-icon-wrap img { width: 35px; height: 35px; filter: invert(18%) sepia(85%) saturate(3015%) hue-rotate(219deg) brightness(90%); }
.info-dialog { max-width: min(88vw, 420px); padding: 28px 32px; border: 1px solid #d5e6ff; border-radius: 18px; color: #143776; box-shadow: 0 20px 60px rgba(5, 37, 100, .2); }
.info-dialog::backdrop { background: rgba(11, 35, 83, .35); }
.info-dialog h2 { margin: 0 0 12px; font-size: 23px; }
.info-dialog p { margin: 0 0 25px; font-size: 16px; line-height: 1.7; }
.info-dialog button { float: right; min-width: 90px; padding: 9px 18px; border: 0; border-radius: 8px; color: #fff; background: #2874f6; }

@media (max-height: 850px) and (min-width: 1001px) {
  .login-page { padding-block: 14px; }
  .brand { top: 4%; }
  .hero-copy { top: 21%; }
  .feature-cards { bottom: 4%; }
  .feature-card { min-height: 220px; padding-bottom: 12px; }
  .feature-card img { width: min(7vw, 105px); height: min(7vw, 105px); margin-bottom: -3px; }
  .login-panel { min-height: 0; padding-top: 38px; padding-bottom: 26px; border-radius: 28px; transform: none; }
  .panel-header { margin-bottom: 34px; }
  .fields { gap: 18px; }
  .field { height: 62px; }
  .form-options { margin-top: 20px; }
  .submit-button { height: 60px; }
  .alternate-login { margin-top: 26px; }
  .sms-button { margin-top: 12px; }
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .intro-content { width: 59%; }
  .brand-logo { width: 90px; height: 90px; }
  .brand-copy strong { font-size: 34px; }
  .brand-copy span { font-size: 17px; }
  .hero-copy { top: 20%; }
  .hero-copy h2 { font-size: clamp(31px, 3.1vw, 38px); }
  .hero-copy p { max-width: 52vw; font-size: 14px; white-space: normal; }
  .feature-cards { width: 53vw; gap: 7px; }
  .feature-card { min-height: 215px; padding-inline: 2px; }
  .feature-card img { width: 82px; height: 82px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 12px; }
  .login-panel { width: 390px; padding-inline: 25px; }
}
@media (max-width: 1000px) {
  .login-page { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: flex-start; min-height: 100dvh; padding: 28px 22px 40px; overflow: visible; }
  .scene-image { position: fixed; object-position: 60% center; }
  .login-page::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(240,249,255,.7), rgba(219,239,255,.48)); }
  .intro-content { display: contents; }
  .brand, .hero-copy, .feature-cards { position: relative; inset: auto; width: min(100%, 600px); }
  .brand { order: 1; justify-content: flex-start; }
  .brand-logo { width: 90px; height: 90px; }
  .brand-copy strong { font-size: 35px; }
  .brand-copy span { font-size: 17px; }
  .hero-copy { order: 2; white-space: normal; }
  .hero-copy h2 { font-size: clamp(32px, 5.4vw, 46px); }
  .hero-copy p { font-size: 15px; }
  .login-panel { order: 3; width: min(100%, 500px); min-height: 0; margin: 4px 0; transform: none; }
  .feature-cards { order: 4; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-card { min-height: 200px; }
  .feature-card img { width: 85px; height: 85px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 12px; }
}
@media (max-width: 600px) {
  .login-page { gap: 20px; padding: 14px 16px 32px; }
  .brand { width: 100%; }
  .brand-logo { width: 75px; height: 75px; }
  .brand-copy { margin-left: -3px; }
  .brand-copy strong { font-size: 30px; }
  .brand-copy span { font-size: 14px; }
  .hero-copy { width: 100%; }
  .hero-copy h2 { font-size: clamp(27px, 7.2vw, 37px); line-height: 1.23; }
  .hero-rule { width: 44px; height: 4px; margin-top: 13px; }
  .hero-copy p { margin-top: 13px; font-size: 12px; }
  .login-panel { width: 100%; padding: 32px 22px; border-radius: 26px; background: rgba(229,242,255,.91); }
  .panel-header { margin-bottom: 30px; }
  .panel-header h1 { font-size: 31px; }
  .panel-header p { font-size: 16px; }
  .fields { gap: 16px; }
  .field { height: 58px; padding-inline: 15px; }
  .field input, .form-options, .text-button { font-size: 15px; }
  .field-icon { width: 23px; height: 23px; margin-right: 12px; }
  .code-button { padding-left: 9px; font-size: 14px; }
  .form-options { margin-top: 20px; }
  .submit-button { height: 58px; font-size: 21px; }
  .alternate-login { margin-top: 30px; }
  .feature-cards { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-card { min-height: 188px; padding-bottom: 16px; }
  .feature-card img { width: 92px; height: 92px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card p { font-size: 13px; }
}
@media (max-width: 380px) {
  .login-page { padding-inline: 12px; }
  .login-panel { padding-inline: 18px; }
  .remember-option { gap: 7px; }
  .sms-form .code-field { padding-left: 10px; padding-right: 7px; }
  .sms-form .code-field .field-icon { width: 21px; height: 21px; margin-right: 7px; }
  .sms-form .code-field input { font-size: 14px; }
  .sms-form .code-button { margin-left: 4px; padding-left: 7px; font-size: 13px; }
}
