:root {
  --landing-bg: #07111f;
  --landing-panel: rgba(10, 18, 32, 0.78);
  --landing-panel-strong: rgba(255, 255, 255, 0.08);
  --landing-border: rgba(148, 163, 184, 0.16);
  --landing-border-strong: rgba(59, 130, 246, 0.34);
  --landing-text: #eef4ff;
  --landing-text-soft: rgba(226, 232, 240, 0.78);
  --landing-text-mute: rgba(148, 163, 184, 0.88);
  --landing-blue: #60a5fa;
  --landing-blue-strong: #3b82f6;
  --landing-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  --landing-radius-xl: 28px;
  --landing-radius-lg: 22px;
  --landing-radius-md: 16px;
  --landing-success: #22c55e;
  --landing-error: #f87171;
}

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

.landing-body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.10), transparent 24%),
    linear-gradient(135deg, #050b15 0%, #08111f 46%, #0b1526 100%);
  color: var(--landing-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.landing-bg,
.landing-grid,
.landing-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.landing-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.55), transparent);
}

.landing-glow {
  filter: blur(90px);
}

.landing-glow--one {
  top: 80px;
  left: 60px;
  width: 320px;
  height: 320px;
  background: rgba(59, 130, 246, 0.20);
  border-radius: 999px;
}

.landing-glow--two {
  right: 120px;
  bottom: 40px;
  width: 280px;
  height: 280px;
  background: rgba(14, 165, 233, 0.16);
  border-radius: 999px;
}

.landing-shell {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 42px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.landing-hero {
  padding: 36px 10px 36px 6px;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.landing-title {
  margin: 24px 0 0;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #f8fbff;
}

.landing-desc {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.9;
  color: var(--landing-text-soft);
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.metric-card {
  padding: 22px;
  border-radius: var(--landing-radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(16px);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.24);
}

.metric-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--landing-text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
}

.metric-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--landing-text-soft);
}

.landing-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(96, 165, 250, 0.08),
    rgba(96, 165, 250, 0.55),
    rgba(96, 165, 250, 0.08)
  );
}

.login-panel {
  padding: 28px;
  border-radius: var(--landing-radius-xl);
  background: rgba(9, 17, 30, 0.74);
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(18px);
}

.login-panel__head {
  margin-bottom: 26px;
}

.login-kicker {
  display: inline-block;
  font-size: 12px;
  color: var(--landing-text-mute);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-title {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

.login-desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--landing-text-soft);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-field label {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}

.login-field input {
  height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.login-field input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.login-field input:focus {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.login-status {
  min-height: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--landing-text-mute);
  transition: color 0.2s ease;
}

.login-status.success {
  color: var(--landing-success);
}

.login-status.error {
  color: var(--landing-error);
}

.login-submit-btn {
  height: 54px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}

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

.login-submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1280px) {
  .landing-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .landing-hero {
    padding: 10px 0 0;
  }
}

@media (max-width: 900px) {
  .landing-shell {
    padding: 28px 18px 32px;
  }

  .landing-title {
    font-size: 44px;
  }

  .landing-desc {
    font-size: 16px;
  }

  .landing-metrics {
    grid-template-columns: 1fr;
  }

  .landing-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-line {
    width: 1px;
    height: 18px;
    margin: 0 auto;
    flex: none;
    background: linear-gradient(
      180deg,
      rgba(96, 165, 250, 0.08),
      rgba(96, 165, 250, 0.55),
      rgba(96, 165, 250, 0.08)
    );
  }
}

@media (max-width: 640px) {
  .landing-title {
    font-size: 34px;
  }

  .login-panel {
    padding: 22px;
  }

  .login-title {
    font-size: 28px;
  }
}