:root {
  --brand-blue: #1a8cff;
  --brand-blue-deep: #0d6fd8;
  --brand-blue-soft: #3ba4ff;
  --hero-from: #1480f0;
  --hero-to: #3aa0ff;
  --text: #1a1a1a;
  --text-muted: #8a8f99;
  --danger: #e64545;
  --line: #e6e8eb;
  --radius: 6px;
  --header-h: 64px;
  --footer-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--brand-blue);
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.home-header {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid #f0f1f3;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.home-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}

.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  transform: translateY(3px);
}

.brand__divider {
  width: 1px;
  height: 28px;
  background: #d9dde3;
  margin: 0 4px;
  flex-shrink: 0;
}

.brand__platform {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}

.home-slogan {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #a0a6b0;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.home-slogan__plane {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: #666;
  flex-shrink: 0;
  white-space: nowrap;
}

.home-nav a {
  padding: 0 12px;
  color: #666;
}

.home-nav a:hover {
  color: var(--brand-blue);
}

.home-nav__sep {
  width: 1px;
  height: 12px;
  background: #d0d4da;
}

/* Hero */
.home-hero {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--hero-from) 0%, var(--hero-to) 55%, #5bb4ff 100%);
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  align-items: center;
}

.home-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.06) 40.5%, transparent 41%),
    linear-gradient(45deg, transparent 55%, rgba(255, 255, 255, 0.05) 55.5%, transparent 56%),
    linear-gradient(160deg, rgba(0, 60, 140, 0.18) 0%, transparent 45%);
  background-size: 420px 420px, 360px 360px, 100% 100%;
  opacity: 0.9;
}

.home-hero__mesh::before,
.home-hero__mesh::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(28deg);
}

.home-hero__mesh::before {
  width: 520px;
  height: 520px;
  left: -120px;
  bottom: -180px;
}

.home-hero__mesh::after {
  width: 380px;
  height: 380px;
  right: 18%;
  top: -120px;
  border-color: rgba(255, 255, 255, 0.08);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Feature visual */
.feature-visual {
  flex: 1;
  max-width: 660px;
  position: relative;
  min-height: 360px;
  opacity: 0;
  animation: fadeInLeft 0.8s ease 0.1s forwards;
}

.monitor {
  width: 300px;
  height: 230px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px 10px 4px 4px;
  position: relative;
  margin-top: 40px;
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(8, 60, 140, 0.25);
}

.monitor__screen {
  margin: 10px;
  height: calc(100% - 20px);
  background: #fff;
  border-radius: 2px;
  display: flex;
  overflow: hidden;
}

.monitor__side {
  width: 48px;
  background: linear-gradient(180deg, #2f8fff, #1a6fd4);
  flex-shrink: 0;
}

.monitor__side span {
  display: block;
  height: 6px;
  margin: 14px 10px 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

.monitor__side span:nth-child(2) {
  width: 60%;
}

.monitor__side span:nth-child(3) {
  width: 80%;
}

.monitor__main {
  flex: 1;
  padding: 12px 10px;
}

.monitor__bar {
  height: 8px;
  width: 42%;
  background: #dce8f8;
  border-radius: 2px;
  margin-bottom: 10px;
}

.monitor__table {
  width: 100%;
  border-collapse: collapse;
}

.monitor__table td {
  height: 10px;
  border-bottom: 1px solid #eef2f7;
  position: relative;
}

.monitor__table td::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 4px;
  height: 3px;
  background: #e8eef6;
  border-radius: 1px;
}

.monitor__stand {
  width: 70px;
  height: 14px;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  position: relative;
  left: -70px;
}

.monitor__base {
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  left: -70px;
}

.feature-list {
  position: absolute;
  left: 360px;
  top: 10px;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.feature-list li > span:last-child {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.feature-list li:nth-child(1) { animation-delay: 0.25s; }
.feature-list li:nth-child(2) { animation-delay: 0.35s; }
.feature-list li:nth-child(3) { animation-delay: 0.45s; }
.feature-list li:nth-child(4) { animation-delay: 0.55s; }
.feature-list li:nth-child(5) { animation-delay: 0.65s; }

.feature-list li::before {
  content: "";
  position: absolute;
  left: -118px;
  top: 50%;
  width: 106px;
  border-top: 1px dashed rgba(255, 255, 255, 0.65);
  transform-origin: right center;
}

.feature-list li:nth-child(1)::before { transform: rotate(-18deg); width: 130px; left: -140px; }
.feature-list li:nth-child(2)::before { transform: rotate(-8deg); width: 118px; left: -128px; }
.feature-list li:nth-child(3)::before { transform: rotate(0deg); }
.feature-list li:nth-child(4)::before { transform: rotate(8deg); width: 118px; left: -128px; }
.feature-list li:nth-child(5)::before { transform: rotate(18deg); width: 130px; left: -140px; }

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(10, 70, 150, 0.2);
  flex-shrink: 0;
  animation: floatY 3.6s ease-in-out infinite;
}

.feature-list li:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-list li:nth-child(3) .feature-icon { animation-delay: 0.6s; }
.feature-list li:nth-child(4) .feature-icon { animation-delay: 0.9s; }
.feature-list li:nth-child(5) .feature-icon { animation-delay: 1.2s; }

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Login card */
.login-panel {
  width: 360px;
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px 28px;
  box-shadow: 0 18px 48px rgba(8, 50, 120, 0.22);
  flex-shrink: 0;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.2s forwards;
}

.login-panel__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1f2329;
  letter-spacing: 0.08em;
}

.login-form .form-item {
  margin-bottom: 18px;
}

.login-form .input-wrap {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid #d9dde3;
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form .input-wrap:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.12);
}

.login-form .input-wrap.is-error {
  border-color: var(--danger);
}

.login-form .input-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: #9aa1ab;
  flex-shrink: 0;
}

.login-form .input-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="tel"] {
  flex: 1;
  border: 0;
  outline: 0;
  height: 100%;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.login-form input::placeholder {
  color: #b0b6bf;
}

.form-error {
  margin-top: 6px;
  min-height: 18px;
  font-size: 12px;
  color: var(--danger);
  line-height: 1.4;
}

.captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.captcha-row .input-wrap {
  flex: 1;
}

.captcha-img {
  width: 118px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid #d9dde3;
  cursor: pointer;
  object-fit: cover;
  background: #f5f7fa;
  flex-shrink: 0;
}

.login-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 18px;
  font-size: 13px;
}

.login-links a {
  color: #666;
}

.login-links a:hover {
  color: var(--brand-blue);
}

.btn-login {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 18px rgba(26, 140, 255, 0.28);
}

.btn-login:hover {
  background: var(--brand-blue-deep);
  box-shadow: 0 10px 22px rgba(26, 140, 255, 0.35);
}

.btn-login:active {
  transform: translateY(1px);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-tip {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--danger);
  min-height: 18px;
}

/* Footer */
.home-footer {
  flex-shrink: 0;
  background: #fff;
  min-height: var(--footer-h);
  display: flex;
  align-items: center;
  border-top: 1px solid #f0f1f3;
}

.home-footer__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px;
  text-align: center;
  color: #9aa0a8;
  font-size: 12px;
  line-height: 1.8;
}

.home-footer__links {
  margin-top: 2px;
}

.home-footer__links a {
  color: #9aa0a8;
  margin: 0 2px;
}

.home-footer__links a:hover {
  color: var(--brand-blue);
}

.home-footer__sep {
  margin: 0 6px;
  color: #c5cad1;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .home-slogan {
    display: none;
  }

  .home-hero__inner {
    flex-direction: column;
    padding: 36px 20px 48px;
  }

  .feature-visual {
    width: 100%;
    max-width: 480px;
    min-height: 300px;
  }

  .login-panel {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .home-header__inner {
    padding: 0 14px;
  }

  .brand__platform {
    display: none;
  }

  .brand__divider {
    display: none;
  }

  .brand__logo {
    height: 44px;
    transform: translateY(2px);
  }

  .home-nav {
    font-size: 12px;
  }

  .home-nav a {
    padding: 0 8px;
  }

  .feature-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .monitor {
    margin: 0 auto;
  }

  .monitor__stand,
  .monitor__base {
    left: 0;
  }

  .feature-list {
    position: static;
    margin-top: 28px;
    width: 100%;
    max-width: 280px;
  }

  .feature-list li::before {
    display: none;
  }

  .login-panel {
    padding: 28px 20px 24px;
  }
}
