/* 统一安装流程样式 */
:root {
  --primary-color: #0ea5e9;
  --primary-light: #38bdf8;
  --primary-dark: #0284c7;
  --secondary-color: #667eea;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #475569;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

/* 通用布局：嵌套在安装卡片内，桌面端勿撑满整屏视口 */
.install-content > .step-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section,
.install-section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 28px;
  animation: fadeInUp 0.6s ease;
  box-sizing: border-box;
}

/* 头部样式 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 50%, var(--success-color) 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  font-family: 'SourceHanSerifSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body div.section-content div.section div.section-header h1.section-title,
body div.section-content div.section div.section-header h2.section-title {
  color: #ffffff !important;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 10px 0;
  position: relative;
  font-family: 'SourceHanSerifSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: -0.5px;
  display: inline-block;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: text !important;
}

.section-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.section-header-icon,
.section-icon {
  font-size: 64px;
  margin-bottom: 20px;
  position: relative;
  animation: bounce 2.5s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.section-title {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 10px 0;
  position: relative;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-family: 'SourceHanSerifSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: -0.5px;
}

.section-subtitle,
.section-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 600;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 卡片样式 */
.card {
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 28px 36px;
  border-bottom: 2px solid var(--primary-color);
}

.card-header h3 {
  margin: 0;
  color: #0c4a6e;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'SourceHanSerifSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  text-align: center;
}

.card-body {
  padding: 44px 52px;
}

/* 表单样式 */
.form-group {
  margin-bottom: 24px;
  position: relative;
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  text-align: left;
}

.label-text {
  margin-right: 4px;
}

.label-required {
  color: var(--error-color);
  font-weight: 700;
}

.form-control {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  background: var(--bg-white);
  color: var(--text-primary);
  transition: var(--transition);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control.is-invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-text {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.form-hint {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  font-size: 24px;
  z-index: 2;
  color: var(--text-muted);
  transition: color 0.25s ease;
  pointer-events: none;
}

.form-control:focus ~ .input-icon {
  color: var(--secondary-color);
}

.form-control.has-icon {
  padding-left: 58px;
}

/* 按钮样式 */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  min-width: 120px;
  transition: var(--transition);
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  will-change: transform;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover:not(:disabled)::before {
  left: 100%;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px -6px rgba(102, 126, 234, 0.5);
}

.btn:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #764ba2 100%);
  color: white;
}

.btn-secondary {
  background: var(--text-muted);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--error-color) 0%, #dc2626 100%);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
  color: white;
}

.btn-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 100%);
  color: white;
}

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

/* 进度条 */
.progress {
  height: 40px;
  background: var(--border-color);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, #06b6d4 50%, var(--success-color) 100%);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

.progress-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 22px;
  font-weight: 600;
  margin-top: 16px;
}

/* 环境检测进度容器 */
#env-progress {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 28px;
  box-sizing: border-box;
  min-width: 0;
}

#env-progress > div {
  background: var(--bg-white);
  border-radius: 32px;
  padding: 80px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.5s ease;
  border: 1px solid var(--border-color);
}

#env-progress h3 {
  text-align: center;
  margin: 0 auto 56px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0c4a6e;
  font-size: clamp(17px, 3vw, 36px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 50%, var(--success-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 环境检测日志容器 */
#env-log {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px 56px;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
}

#env-log .log-content {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 44px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex: none;
  align-self: stretch;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  word-break: break-word;
  overflow-wrap: anywhere;
}

#env-log .log-content::-webkit-scrollbar {
  width: 14px;
}

#env-log .log-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

#env-log .log-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 100%);
  border-radius: 8px;
}

.log-entry {
  padding: 20px 24px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  font-size: 18px;
  color: #e2e8f0;
  border-left: 5px solid var(--primary-color);
  transition: all 0.2s ease;
  animation: slideInLeft 0.3s ease;
}

.log-entry:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #06b6d4;
}

.log-entry span:first-child {
  color: #94a3b8;
  font-size: 16px;
  margin-right: 20px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* 日志样式 */
.log-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 24px;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 28px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  box-shadow: var(--shadow-md);
}

.log-container::-webkit-scrollbar {
  width: 10px;
}

.log-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.log-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 100%);
  border-radius: 6px;
}

.log-entry {
  color: #e2e8f0;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInLeft 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.log-entry:last-child {
  border-bottom: none;
}

/* 消息提示 */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 1px solid var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid var(--error-color);
}

.alert-info {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid var(--primary-color);
}

.alert-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid var(--warning-color);
}

/* 密码强度 */
.password-strength {
  margin-top: 16px;
}

.strength-bar {
  height: 10px;
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.strength-fill {
  height: 100%;
  background: var(--error-color);
  width: 0%;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 6px;
}

.strength-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.strength-text::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--error-color);
  transition: background 0.3s ease;
}

.strength-text.weak::before {
  background: var(--error-color);
}

.strength-text.medium::before {
  background: var(--warning-color);
}

.strength-text.strong::before {
  background: var(--success-color);
}

.strength-text.very-strong::before {
  background: var(--secondary-color);
}

/* 表格样式 */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.table th,
.table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-primary);
}

.table tr:hover {
  background: #f8fafc;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .section {
    padding: 28px 20px;
  }

  .section-header {
    padding: 32px 24px;
  }

  .section-header-icon {
    font-size: 56px;
  }

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

  .section-subtitle {
    font-size: 16px;
  }

  .card-body {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .action-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .action-buttons .btn {
    width: 100%;
  }
}

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

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

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 工具类 */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-8 {
  margin-bottom: 32px;
}

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.w-100 {
  width: 100%;
}

/* 操作按钮容器 */
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 32px;
  padding: 0 24px;
}

.action-buttons .btn {
  min-width: 140px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 表单操作按钮容器 */
.form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 32px;
  padding: 0 24px;
}

.form-actions .btn {
  min-width: 160px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 步骤操作按钮容器 */
.step-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 32px;
  padding: 0 24px;
}

.step-actions .btn {
  min-width: 140px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 表单行 */
.form-row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 28px !important;
  margin-bottom: 28px !important;
  width: 100% !important;
}

/* 加载动画 */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* 密码输入容器 */
.password-input-wrapper {
  position: relative;
  width: 100%;
  height: 52px;
}

.password-input-wrapper .form-control {
  width: 100%;
  height: 100%;
  padding-right: 58px;
}

/* 密码切换按钮 */
.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
  z-index: 10;
}

.toggle-password:hover {
  color: var(--text-primary);
  background: #f3f4f6;
}

.toggle-password .icon-eye {
  width: 24px;
  height: 24px;
}

/* 安装结果 */
.install-result {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 52px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.result-icon-container {
  margin-bottom: 28px;
}

.result-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.result-icon.success-icon {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
  box-shadow: 0 10px 20px -4px rgba(16, 185, 129, 0.5);
}

.result-icon.error-icon {
  background: linear-gradient(135deg, var(--error-color) 0%, #dc2626 100%);
  box-shadow: 0 10px 20px -4px rgba(239, 68, 68, 0.5);
}

.result-title {
  color: #0c4a6e;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
  font-family: 'SourceHanSerifSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.result-message {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.result-details {
  background: #f0f9ff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 36px;
  text-align: left;
  border: 2px solid var(--primary-color);
}

.result-details p {
  color: #0f766e;
  font-size: 15px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
}

.result-details p::before {
  content: '✓';
  color: var(--success-color);
  font-weight: 900;
}

/* 第 5 步：安装进度（独立类名，避免与 common/install 的 .progress-bar 冲突） */
.install-progress-container {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.step5-install .jx-install-progress-track {
  height: 30px;
  background: #e2e8f0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.step5-install .jx-install-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color) 0%, #06b6d4 50%, var(--success-color) 100%);
  transition: width 0.55s ease;
  border-radius: 15px;
}

.step5-install .install-progress-text {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.install-options {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.install-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* 安全提示 */
.help-section {
  background: #f0f9ff;
  border-radius: 16px;
  padding: 28px;
  border: 2px solid var(--primary-color);
  margin-top: 32px;
}

.help-section ul {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.help-section li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.help-section h3 {
  color: #0c4a6e;
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  text-align: center;
  position: relative;
  padding-bottom: 14px;
}

.help-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #764ba2);
  border-radius: 2px;
}

.security-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: 14px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.tip-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), #764ba2);
}

.tip-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.tip-icon {
  font-size: 32px;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tip-item:hover .tip-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.tip-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 环境检测状态 */
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 20px;
}

.status-icon.success {
  color: var(--success-color);
  background: rgba(16, 185, 129, 0.12);
}

.status-icon.error {
  color: var(--error-color);
  background: rgba(239, 68, 68, 0.12);
}

.status-icon.warning {
  color: var(--warning-color);
  background: rgba(245, 158, 11, 0.12);
}

/* 字段错误 */
.field-error {
  display: block;
  font-size: 14px;
  color: var(--error-color);
  margin-top: 10px;
  line-height: 1.5;
  padding-left: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ef4444' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 16px 16px;
  clear: both;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 选项组 */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #f0f9ff;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.radio-label:hover {
  border-color: var(--primary-color);
  background: #e0f2fe;
  transform: translateY(-2px);
}

.radio-label input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--primary-color);
  width: 20px;
  height: 20px;
}

.radio-content strong {
  display: block;
  color: #0c4a6e;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.radio-content p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 导航 */
.navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

/* 底部版权 */
.copyright {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 24px;
  font-weight: 500;
}
