
  :root {
    --blue: #3b7bf6;
    --blue2: #4f8bff;
    --purple: #7b61ff;
    --purple2: #8a5cf6;
    --green: #2fc98e;
    --orange: #f0a03f;
    --cyan: #35bfe8;
    --text: #1e293b;
    --text2: #64748b;
    --text3: #94a3b8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text);
    min-height: 100vh;
    display: flex; flex-direction: column;
    background:
      radial-gradient(1100px 560px at 88% -12%, rgba(139, 92, 246, 0.10), transparent 60%),
      radial-gradient(1000px 520px at -12% 0%, rgba(79, 139, 255, 0.14), transparent 55%),
      linear-gradient(160deg, #eaf1fb 0%, #f2f7fe 45%, #eef3fc 100%);
  }

  button { font-family: inherit; border: none; background: none; cursor: pointer; }
  input { font-family: inherit; }
  .num { font-variant-numeric: tabular-nums; }

  /* ============ 入场编排 ============ */
  .reveal { opacity: 0; animation: rise 0.55s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: var(--d, 0s); }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  .reveal-left { opacity: 0; animation: rise-left 0.55s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: var(--d, 0s); }
  @keyframes rise-left { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
  .reveal-right { opacity: 0; animation: rise-right 0.55s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: var(--d, 0s); }
  @keyframes rise-right { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
  .reveal-fade { opacity: 0; animation: fade-in 0.6s ease forwards; animation-delay: var(--d, 0s); }
  @keyframes fade-in { to { opacity: 1; } }

  /* ============ 页头 ============ */
  .header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 48px 0;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand-logo {
    display: flex;
    align-items: center;
  }
  .brand-logo img {
    height: 40px;
    width: auto;
    display: block;
  }
  .brand-name { font-size: 17px; font-weight: 700; }
  .brand-sub { font-size: 11px; color: var(--text3); margin-top: 1px; }

  /* ============ 主体布局 ============ */
  .main {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 64px; padding: 24px 48px; max-width: 1400px; margin: 0 auto; width: 100%;
  }

  /* ============ 左侧品牌区 ============ */
  .left { flex: 1; max-width: 660px; }
  .slogan-1 {
    font-size: 40px; font-weight: 900; letter-spacing: 0.01em; line-height: 1.2;
    background: linear-gradient(120deg, #2563eb, #4f8bff 55%, #7b61ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .slogan-2 { font-size: 30px; font-weight: 700; color: #1e3a8a; margin-top: 6px; letter-spacing: 0.02em; }
  .slogan-desc { font-size: 14px; line-height: 1.9; color: var(--text2); margin-top: 18px; }

  /* AI 视效舞台 */
  .stage { position: relative; height: 300px; margin-top: 12px; }
  .ai-visual { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 220px; height: 220px; animation: float-y 5s ease-in-out infinite; }
  .ai-glow {
    position: absolute; inset: 22px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(79,139,255,0.32), rgba(138,92,246,0.32));
    filter: blur(26px); animation: glow-breathe 3s ease-in-out infinite;
  }
  .orbits { position: absolute; inset: 0; }
  .orbits .orbit-a { position: absolute; inset: 0; animation: orbit-spin 14s linear infinite; }
  .orbits .orbit-b { position: absolute; inset: 0; animation: orbit-spin-rev 20s linear infinite; }
  .glass-plate {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 128px; height: 128px; border-radius: 30px;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 44px -16px rgba(79,139,255,0.5);
  }
  .glass-plate-inner {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px; border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.3));
    border: 1px solid rgba(255,255,255,0.95);
  }
  .ai-text {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-size: 52px; font-weight: 900; letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--purple2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  /* 底座 */
  .pedestal {
    position: absolute; left: 50%; top: 82%; transform: translateX(-50%);
    width: 260px; height: 44px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(79,139,255,0.28), rgba(79,139,255,0.06) 60%, transparent 75%);
    animation: pedestal-breathe 5s ease-in-out infinite;
  }
  @keyframes pedestal-breathe { 0%,100% { transform: translateX(-50%) scaleX(1); opacity: 0.9; } 50% { transform: translateX(-50%) scaleX(0.92); opacity: 0.6; } }

  /* 漂浮小图标 */
  .float-chip {
    position: absolute; width: 44px; height: 44px; border-radius: 14px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: 0 10px 24px -8px rgba(63,101,190,0.25);
    display: flex; align-items: center; justify-content: center;
    animation:
      chip-in 0.5s cubic-bezier(0.34,1.56,0.64,1) var(--d, 0s) both,
      float-y-sm 4s ease-in-out calc(var(--d, 0s) + 0.5s) infinite;
    transition: transform 0.25s;
  }
  @keyframes chip-in { from { opacity: 0; transform: translateY(18px) scale(0.7); } to { opacity: 1; transform: translateY(0) scale(1); } }
  .float-chip:hover { transform: scale(1.12); }
  .float-chip .svg-icon { width: 22px; height: 22px; }

  /* 底部特性 */
  .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
  .feature {
    position: relative; overflow: hidden; text-align: left;
    padding: 16px 14px; border-radius: 16px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px -14px rgba(63,101,190,0.18);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  }
  .feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -12px rgba(59,111,216,0.25); }
  .feature-icon {
    width: 36px; height: 36px; border-radius: 11px; margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
  }
  .feature:hover .feature-icon { transform: rotate(-6deg) scale(1.1); }
  .feature-icon .svg-icon { width: 18px; height: 18px; color: #fff; }
  .feature-title { font-size: 13.5px; font-weight: 700; }
  .feature-desc { font-size: 10.5px; line-height: 1.7; color: var(--text2); margin-top: 5px; }



  /* ============ 右侧登录卡 ============ */
  .login-card {
    width: 420px; flex-shrink: 0;
    padding: 36px 36px 30px; border-radius: 24px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: 0 24px 60px -20px rgba(63,101,190,0.25);
  }
  .login-title { font-size: 22px; font-weight: 800; }
  .login-sub { font-size: 12.5px; color: var(--text3); margin-top: 5px; }

  /* 选项卡 */
  .tabs { position: relative; display: flex; justify-content: center; gap: 28px; margin-top: 26px; border-bottom: 1px solid #eef2f9; }
  .tab {
    position: relative; padding: 0 2px 12px;
    font-size: 14.5px; color: var(--text3);
    transition: color 0.25s, transform 0.15s;
  }
  .tab:active { transform: scale(0.96); }
  .tab.active { color: var(--blue); font-weight: 600; }
  .tab-bar {
    position: absolute; bottom: -1px; left: 0; transform: translateX(-50%);
    height: 2.5px; width: 56px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue2), var(--purple));
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), width 0.32s cubic-bezier(0.22,1,0.36,1);
  }

  /* 表单 */
  .form-body { margin-top: 22px; }
  .field {
    display: flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 15px; border-radius: 12px;
    background: #fff; border: 1px solid #e2e8f0;
    margin-bottom: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .field.focus { border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(79,139,255,0.12); }
  .field.shake { animation: shake 0.4s ease; border-color: #f0655a; }
  @keyframes shake {
    0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); }
    40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); }
  }
  .field > .svg-icon { width: 17px; height: 17px; color: var(--text3); flex-shrink: 0; transition: color 0.3s; }
  .field.focus > .svg-icon { color: var(--blue2); }
  .field input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; color: var(--text); min-width: 0; }
  .field input::placeholder { color: var(--text3); }
  .eye-btn { display: flex; align-items: center; color: var(--text3); transition: color 0.2s, transform 0.15s; flex-shrink: 0; }
  .eye-btn:hover { color: var(--blue2); }
  .eye-btn:active { transform: scale(0.85); }
  .eye-btn .svg-icon { width: 17px; height: 17px; }
  .code-btn {
    flex-shrink: 0; font-size: 12.5px; font-weight: 500; color: var(--blue);
    padding: 6px 10px; border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
  }
  .code-btn:hover { background: #eff6ff; }
  .code-btn:active { transform: scale(0.94); }
  .code-btn:disabled { color: var(--text3); cursor: not-allowed; background: none; }
  .code-img {
    flex-shrink: 0; height: 100%; border-radius: 0; cursor: pointer;
    object-fit: cover;
  }

  .form-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; }
  .remember { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text2); cursor: pointer; user-select: none; }
  .remember input { display: none; }
  .checkbox {
    width: 16px; height: 16px; border-radius: 5px;
    border: 1.5px solid #cbd5e1; background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
  }
  .remember input:checked + .checkbox { background: var(--blue2); border-color: var(--blue2); transform: scale(1.05); }
  .checkbox .svg-icon { width: 11px; height: 11px; color: #fff; opacity: 0; transition: opacity 0.25s ease-out 0.05s; }
  .remember input:checked + .checkbox .svg-icon { opacity: 1; }
  .forgot { font-size: 12.5px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
  .forgot:hover { color: var(--blue2); }

  /* 登录按钮 */
  .login-btn {
    position: relative; overflow: visible;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 46px; border-radius: 12px;
    color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: 0.05em;
    background: linear-gradient(120deg, #4f8bff, #6f6af8, #8a5cf6, #4f8bff);
    background-size: 220% 220%;
    animation: gradient-pan 6s ease infinite;
    box-shadow: 0 12px 26px -8px rgba(99,102,241,0.55);
    transition: transform 0.15s, filter 0.2s;
  }
  .login-btn:hover { filter: brightness(1.05); }
  .login-btn:active { transform: scale(0.97); }
  .login-btn .svg-icon { width: 16px; height: 16px; }
  .login-btn .spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
    animation: spin 0.7s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* 第三方登录 */
  .divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
  .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #eef2f9; }
  .divider span { font-size: 11.5px; color: var(--text3); }
  .oauth-row { display: flex; justify-content: center; gap: 44px; }
  .oauth-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; transition: transform 0.2s; }
  .oauth-btn:hover { transform: translateY(-3px); }
  .oauth-btn:active { transform: scale(0.92); }
  .oauth-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,0.18);
    transition: transform 0.25s;
  }
  .oauth-btn:hover .oauth-icon { transform: scale(1.08) rotate(-5deg); }
  .oauth-icon .svg-icon { width: 22px; height: 22px; color: #fff; }
  .oauth-label { font-size: 11.5px; color: var(--text2); }
  .register-line { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--text3); }
  .register-line a, .register-link {
    color: var(--blue2); font-weight: 500; text-decoration: none; cursor: pointer;
    transition: opacity 0.2s;
  }
  .register-link:hover { opacity: 0.75; }

  /* ============ 页脚 ============ */
  .footer {
    display: flex; justify-content: center; align-items: center; gap: 16px;
    padding: 14px 0 20px; font-size: 11.5px; color: var(--text3);
  }
  .footer .sep { color: #dbe3ef; }
  .footer a { color: var(--text3); text-decoration: none; transition: color 0.2s; }
  .footer a:hover { color: var(--blue2); }

  /* ============ 特效（与仪表盘一致） ============ */
  .ripple-anim {
    position: absolute; border-radius: 50%;
    background: currentColor; opacity: 0.32;
    transform: scale(0); pointer-events: none;
    animation: ripple-expand 0.65s ease-out forwards;
  }
  @keyframes ripple-expand { from { transform: scale(0); opacity: 0.32; } to { transform: scale(1); opacity: 0; } }

  .spark {
    position: absolute; left: 50%; top: 50%; pointer-events: none; z-index: 5;
    animation: spark-fly 0.85s ease-out forwards;
  }
  @keyframes spark-fly {
    0% { transform: translate(-50%, -50%) scale(0.2) rotate(0deg); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.4) rotate(var(--rot)); opacity: 0; }
  }

  @keyframes float-y { 0%,100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-10px); } }
  @keyframes float-y-sm { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes orbit-spin { to { transform: rotate(360deg); } }
  @keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }
  @keyframes glow-breathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
  @keyframes gradient-pan { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

  /* 登录成功遮罩 */
  .success-mask {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    background: rgba(238, 244, 252, 0.75); backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .success-mask.show { opacity: 1; pointer-events: auto; }
  .success-box {
    display: flex; flex-direction: column; align-items: center;
    padding: 36px 48px; border-radius: 24px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 30px 70px -20px rgba(63,101,190,0.35);
    transform: scale(0.85); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  }
  .success-mask.show .success-box { transform: scale(1); }
  .success-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #2fc98e, #4fdcb0);
    box-shadow: 0 12px 28px -8px rgba(47,201,142,0.55);
    display: flex; align-items: center; justify-content: center;
  }
  .success-circle .svg-icon { width: 38px; height: 38px; }
  .success-circle path { stroke-dasharray: 60; stroke-dashoffset: 60; }
  .success-mask.show .success-circle path { animation: draw-check 0.5s ease-out 0.25s forwards; }
  @keyframes draw-check { to { stroke-dashoffset: 0; } }
  .success-text { margin-top: 16px; font-size: 16px; font-weight: 700; }
  .success-sub { margin-top: 5px; font-size: 12.5px; color: var(--text3); }

  @media (max-width: 980px) {
    .main { flex-direction: column; gap: 40px; }
    .left { max-width: 560px; width: 100%; }
    .login-card { width: 100%; max-width: 420px; }
    .features { grid-template-columns: repeat(2, 1fr); }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }


/* ===== 独立图标（span.svg-icon，mask 方式：颜色跟随 currentColor） ===== */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--ic) center/contain no-repeat;
  mask: var(--ic) center/contain no-repeat;
}

.orbits img { width: 100%; height: 100%; display: block; }
