
    :root {
      --bg-primary: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 40%, #f5f3ff 70%, #f3e8ff 100%);
      --bg-surface: rgba(255, 255, 255, 0.72);
      --bg-elevated: rgba(255, 255, 255, 0.92);
      --border-subtle: rgba(99, 102, 241, 0.12);
      --border-hover: rgba(99, 102, 241, 0.25);
      --text-primary: #1e1b4b;
      --text-secondary: #5b56a0;
      --text-muted: #8a85b8;
      --accent: #4f46e5;
      --accent-glow: rgba(79, 70, 229, 0.18);
      --accent-hover: #6366f1;
      --success: #16a34a;
      --error: #dc2626;
      --shadow-sm: 0 1px 2px rgba(30, 27, 75, 0.04);
      --shadow-md: 0 4px 20px rgba(30, 27, 75, 0.08);
      --shadow-lg: 0 12px 40px rgba(30, 27, 75, 0.12);
    }

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

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-attachment: fixed;
      color: var(--text-primary);
      background: url("/r/cms/www/default/v02/images/lingji/lingjiDownload/hero-mask.png") no-repeat center;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
      position: relative;
    }

    /* 主容器 */
    .container {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 800px;
      padding: 48px 24px;
      text-align: center;
    }

    /* Logo */
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeUp 0.6s ease forwards;
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--accent), #8b5cf6);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 18px;
      color: white;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    }

    .logo-text {
      font-size: 20px;
      font-weight: 600;
      color: var(--text-primary);
    }

    /* 标题区 */
    .hero {
      margin-bottom: 48px;
    }

    .hero h1 {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.15;
      margin-bottom: 12px;
      color: var(--text-primary);
      opacity: 0;
      animation: fadeUp 0.6s ease 0.1s forwards;
    }

    .hero p {
      font-size: 18px;
      color: var(--text-secondary);
      line-height: 1.6;
      max-width: 520px;
      margin: 0 auto 16px;
      opacity: 0;
      animation: fadeUp 0.6s ease 0.2s forwards;
    }

    /* 版本标签 */
    .version-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid var(--border-subtle);
      padding: 6px 16px;
      border-radius: 20px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      opacity: 0;
      animation: fadeUp 0.6s ease 0.25s forwards;
    }

    .version-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--success);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    }

    /* 版本卡片 */
    .versions {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 48px;
    }

    @media (max-width: 640px) {
      .versions {
        grid-template-columns: 1fr;
      }
    }

    .version-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 32px 24px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      opacity: 0;
      animation: fadeUp 0.5s ease forwards;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: var(--shadow-sm);
    }

    .version-card:nth-child(1) {
      animation-delay: 0.3s;
    }

    .version-card:nth-child(2) {
      animation-delay: 0.4s;
    }

    .version-card:nth-child(3) {
      animation-delay: 0.5s;
    }

    .version-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), transparent 60%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .version-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-lg);
    }

    .version-card:hover::before {
      opacity: 1;
    }

    .version-card:active {
      transform: translateY(-2px) scale(0.98);
    }

    .version-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(79, 70, 229, 0.08);
      border-radius: 14px;
    }

    .version-icon svg {
      width: 28px;
      height: 28px;
      color: var(--accent);
    }

    .version-name {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 6px;
    }

    .version-chip {
      display: inline-block;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
      background: rgba(99, 102, 241, 0.06);
      padding: 4px 12px;
      border-radius: 20px;
      border: 1px solid var(--border-subtle);
    }

    /* 页脚 */
    .footer {
      font-size: 13px;
      color: var(--text-muted);
      opacity: 0;
      animation: fadeUp 0.6s ease 0.6s forwards;
    }

    .footer a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }

    .footer a:hover {
      color: var(--accent-hover);
      text-decoration: underline;
    }

    /* 模态框遮罩 */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(30, 27, 75, 0.4);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-overlay.active .modal-panel {
      transform: scale(1);
      opacity: 1;
    }

    /* 模态框面板 */
    .modal-panel {
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: 20px;
      padding: 40px;
      width: 90%;
      max-width: 420px;
      text-align: center;
      transform: scale(0.95);
      opacity: 0;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border: none;
      background: rgba(99, 102, 241, 0.08);
      border-radius: 8px;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .modal-close:hover {
      background: rgba(99, 102, 241, 0.15);
      color: var(--text-primary);
    }

    .modal-close svg {
      width: 16px;
      height: 16px;
    }

    .modal-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .modal-desc {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 28px;
      line-height: 1.5;
    }

    /* 输入框 */
    .input-group {
      margin-bottom: 20px;
    }

    .input-field {
      width: 100%;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 18px;
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0.15em;
      color: var(--text-primary);
      text-align: center;
      /* text-transform: uppercase; */
      outline: none;
      transition: all 0.2s ease;
      font-family: 'Inter', monospace;
    }

    .input-field::placeholder {
      color: var(--text-muted);
      text-transform: none;
      letter-spacing: normal;
      font-weight: 400;
    }

    .input-field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
      background: rgba(255, 255, 255, 0.95);
    }

    .input-field.error {
      border-color: var(--error);
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    }

    .error-text {
      font-size: 13px;
      color: var(--error);
      margin-top: 8px;
      min-height: 20px;
    }

    /* 按钮 */
    .btn {
      width: 100%;
      padding: 14px 24px;
      border: none;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #7c3aed);
      color: white;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .btn-primary:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .btn-spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    /* 下载进度 */
    .download-info {
      margin-bottom: 24px;
    }

    .download-file {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }

    .progress-bar {
      width: 100%;
      height: 8px;
      background: rgba(99, 102, 241, 0.1);
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), #8b5cf6);
      border-radius: 4px;
      width: 0%;
      transition: width 0.3s ease;
      position: relative;
    }

    .progress-fill::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 40px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
      animation: shimmer 1.5s infinite;
    }

    .progress-text {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .progress-detail {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* 完成状态 */
    .success-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 20px;
      background: rgba(22, 163, 74, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .success-icon svg {
      width: 32px;
      height: 32px;
      color: var(--success);
    }

    /* 动画 */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes shimmer {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(40px);
      }
    }