/* ================================
   CSS 变量和基础设置
   ================================ */

:root {
  --container: 1180px;
  --primary-blue: #0066cc;
  --dark-blue: #003d99;
  --light-blue: #e6f0ff;
  --bg-desktop: #f0f4f9;
  --border-color: #cce0ff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --status-dot-size: 8px;
  --taskbar-height: 72px;
  --window-shadow: 0 2px 8px rgba(0, 102, 204, 0.12);
  --window-border: 1px solid #d4e0f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-desktop);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

/* ================================
   通用容器
   ================================ */

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ================================
   图片基础样式
   ================================ */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-box,
.desktop-window,
.widget-media,
.preview-screen,
.drawer-image {
  overflow: visible;
  line-height: 0;
}

.image-box img,
.desktop-window img,
.widget-media img,
.preview-screen img,
.drawer-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ================================
   系统任务栏导航
   ================================ */

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--taskbar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: var(--window-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.taskbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

.taskbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
}

.taskbar-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.taskbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.taskbar-item {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.taskbar-item:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

.taskbar-item.active {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

.taskbar-item svg {
  width: 20px;
  height: 20px;
}

.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.taskbar-item:hover .tooltip {
  opacity: 1;
}

.taskbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  justify-content: flex-end;
}

.taskbar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.status-dot {
  width: var(--status-dot-size);
  height: var(--status-dot-size);
  border-radius: 50%;
  background-color: #4caf50;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* ================================
   主内容区
   ================================ */

.main-content {
  padding-bottom: calc(var(--taskbar-height) + 40px);
}

.section {
  padding: 50px 0;
}

.section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.5);
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text-primary);
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 14px;
}

/* ================================
   系统窗口
   ================================ */

.system-window {
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--window-shadow);
}

.window-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f9 100%);
  border-bottom: var(--window-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.dot.red {
  background-color: #ff5f57;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #28c940;
}

.window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.window-status {
  font-size: 12px;
  color: var(--text-light);
}

.window-body {
  padding: 20px;
}

/* ================================
   Hero 部分
   ================================ */

.hero-section {
  position: relative;
  padding: 40px 0 50px;
}

.desktop-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(135deg, #e6f0ff 0%, #f0f4f9 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: center;
}

.hero-left {
  display: flex;
  justify-content: center;
}

.welcome-window {
  max-width: 100%;
  width: 100%;
}

.welcome-window .window-body {
  padding: 20px;
}

.welcome-window h1 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.welcome-window p {
  font-size: 13px;
  margin-bottom: 18px;
}

.window-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  padding: 9px 14px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #cce0ff;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.main-window {
  width: 100%;
  max-width: 100%;
}

.main-window .window-body {
  padding: 0;
  overflow: hidden;
}

.hero-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.widget-card {
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.widget-card:hover {
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
  border-color: var(--primary-blue);
}

.widget-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.widget-dot.multi-chain {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

.widget-dot.address {
  background: linear-gradient(135deg, #0088dd 0%, #0055aa 100%);
}

.widget-dot.risk {
  background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}

.widget-card h3 {
  margin-bottom: 8px;
}

.widget-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ================================
   资产小组件面板
   ================================ */

.widgets-section {
  background: white;
}

.widgets-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--window-shadow);
}

.widgets-menu {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f9 100%);
  border-right: var(--window-border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-menu-item {
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 5px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: all 0.2s ease;
  position: relative;
}

.widget-menu-item:hover {
  background-color: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
}

.widget-menu-item.active {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 500;
}

.widget-menu-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.widgets-content {
  padding: 20px;
  position: relative;
  min-height: 300px;
}

.widget-display {
  display: none;
}

.widget-display.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.widget-display h3 {
  margin-bottom: 16px;
}

.widget-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
  padding: 16px;
  background: var(--light-blue);
  border-radius: 6px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-item .label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.highlight-item .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
}

.widget-media {
  margin-top: 24px;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f9f9;
}

/* ================================
   功能文件夹
   ================================ */

.features-section {
  background: var(--light-blue);
}

.folders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.folder-card {
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.folder-card:hover {
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.12);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.folder-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  border-radius: 6px;
  color: var(--primary-blue);
  transition: all 0.2s ease;
}

.folder-card:hover .folder-icon {
  background: var(--primary-blue);
  color: white;
}

.folder-card h3 {
  margin-bottom: 8px;
}

.folder-card p {
  font-size: 13px;
  margin-bottom: 16px;
}

.folder-toggle {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 4px;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.folder-toggle:hover {
  background: var(--light-blue);
}

/* 文件夹展开抽屉 */

.folder-drawers {
  display: none;
}

.folder-drawer {
  display: none;
  margin-top: 24px;
  animation: slideDown 0.3s ease;
}

.folder-drawer.active {
  display: block;
}

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

.drawer-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s ease;
}

.drawer-close:hover {
  color: var(--primary-blue);
}

.drawer-content {
  padding: 24px;
}

.drawer-content h3 {
  margin-bottom: 16px;
}

.drawer-content p {
  margin-bottom: 16px;
}

.tips {
  background: #fff9e6;
  border-left: 3px solid #ff9900;
  padding: 16px;
  border-radius: 4px;
  margin: 20px 0;
}

.tips h4 {
  margin-bottom: 12px;
  color: #ff6600;
}

.tips ul {
  list-style: none;
  padding-left: 0;
}

.tips li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.tips li:before {
  content: "• ";
  color: #ff9900;
  margin-right: 8px;
}

.drawer-image {
  margin-top: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
}

/* ================================
   安全中心
   ================================ */

.security-section {
  background: white;
}

.security-center {
  margin-top: 32px;
}

.security-window {
  max-width: 100%;
}

.security-body {
  padding: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 450px;
}

.security-left {
  border-right: var(--window-border);
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f9 100%);
}

.security-menu {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.security-item {
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.2s ease;
}

.security-item:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
}

.security-item.active {
  background: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 500;
}

.security-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.security-right {
  padding: 24px;
  overflow-y: auto;
}

.security-display {
  display: none;
}

.security-display.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.security-display h3 {
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.security-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.security-tips {
  background: #f0f9ff;
  border-left: 3px solid var(--primary-blue);
  padding: 16px;
  border-radius: 4px;
  margin: 20px 0;
}

.security-tips h4 {
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.security-tips ul {
  list-style: none;
  padding-left: 0;
}

.security-tips li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.security-tips li:before {
  content: "✓ ";
  color: var(--primary-blue);
  margin-right: 8px;
  font-weight: bold;
}

.security-prompt {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 4px;
  padding: 12px 16px;
  color: #cc0000;
  font-size: 13px;
  margin-top: 16px;
}

/* ================================
   网络监视器
   ================================ */

.network-section {
  background: var(--light-blue);
}

.monitors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.monitor-window {
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.monitor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.monitor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  transition: all 0.2s ease;
}

.monitor-dot.active {
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

.monitor-dot.warning {
  background: #ff9900;
  box-shadow: 0 0 8px rgba(255, 153, 0, 0.6);
}

.monitor-window:hover .monitor-dot {
  box-shadow: 0 0 12px currentColor;
}

.monitor-title {
  font-weight: 500;
  color: var(--text-primary);
}

.monitor-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.monitor-tag {
  display: inline-block;
  background: #fff9e6;
  color: #ff6600;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
}

.monitor-image {
  margin-top: 40px;
}

.monitor-image .system-window {
  max-width: 100%;
}

/* ================================
   App 截图
   ================================ */

.preview-section {
  background: white;
}

.screenshots-viewer {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 24px;
  align-items: flex-start;
}

.screenshots-main {
  display: flex;
  justify-content: center;
}

.screenshot-window {
  width: 100%;
  max-width: 360px;
}

.screenshot-body {
  padding: 0;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.preview-screen {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-screen img {
  width: 100%;
  height: auto;
  max-height: 420px;
}

.screenshots-taskbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screenshot-item {
  width: 60px;
  height: 60px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.screenshot-item:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.screenshot-item.active {
  border-color: var(--primary-blue);
  background: var(--light-blue);
  color: var(--primary-blue);
}

/* ================================
   快捷方式
   ================================ */

.shortcuts-section {
  background: var(--light-blue);
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.shortcut-icon {
  background: white;
  border: var(--window-border);
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.shortcut-icon:hover {
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.12);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.shortcut-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-blue);
  transition: all 0.2s ease;
}

.shortcut-icon:hover svg {
  color: var(--dark-blue);
}

.shortcut-icon span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

/* 快捷方式模态 */

.shortcut-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 900;
  animation: fadeIn 0.2s ease;
}

.shortcut-overlay.active {
  display: block;
}

.shortcuts-modals {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.shortcut-modal {
  display: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s ease;
}

.shortcut-modal.active {
  display: block;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal-content {
  padding: 32px;
}

.modal-content h3 {
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.modal-content p {
  margin-bottom: 20px;
}

.modal-checklist {
  background: var(--light-blue);
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
}

.modal-checklist h4 {
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.modal-checklist ul {
  list-style: none;
  padding-left: 0;
}

.modal-checklist li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.modal-image {
  margin-top: 20px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

/* ================================
   便笺清单
   ================================ */

.checklist-section {
  background: white;
}

.checklist-window {
  max-width: 600px;
  margin: 0 auto;
}

.checklist-body {
  padding: 24px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.checkbox {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checkbox:hover {
  border-color: var(--primary-blue);
}

.checkbox.checked {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.checkbox.checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checklist-item label {
  flex: 1;
  cursor: pointer;
  color: var(--text-secondary);
  margin-top: 2px;
}

.checklist-item input[type="checkbox"]:checked ~ label {
  color: var(--text-light);
  text-decoration: line-through;
}

.checklist-message {
  background: #f0f9ff;
  border: 1px solid var(--primary-blue);
  border-radius: 6px;
  padding: 16px;
  margin-top: 20px;
  text-align: center;
  color: var(--primary-blue);
  font-size: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.checklist-message.active {
  display: block;
}

.checklist-message.hidden {
  display: none;
}

/* ================================
   FAQ 帮助中心
   ================================ */

.faq-section {
  background: var(--light-blue);
}

.faq-window {
  max-width: 100%;
}

.faq-system {
  max-width: 100%;
}

.faq-body {
  padding: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 450px;
}

.faq-menu {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f9 100%);
  border-right: var(--window-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.2s ease;
}

.faq-item:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
}

.faq-item.active {
  background: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 500;
}

.faq-content {
  padding: 24px;
  overflow-y: auto;
}

.faq-answer {
  display: none;
}

.faq-answer.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-answer h3 {
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.faq-answer p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.faq-answer ul {
  margin-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}

.faq-answer ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ================================
   Footer
   ================================ */

.system-footer {
  background: linear-gradient(135deg, #1a3a4a 0%, #0d1f2d 100%);
  color: #c0c0c0;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.footer-logo h3 {
  color: #e0e0e0;
  font-size: 14px;
  margin: 0;
}

.footer-nav h4,
.footer-notice h4 {
  color: #e0e0e0;
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: #c0c0c0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #e0e0e0;
}

.footer-notice p {
  font-size: 13px;
  color: #c0c0c0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #808080;
  margin-bottom: 8px;
}

/* ================================
   返回顶部按钮
   ================================ */

.back-to-top {
  position: fixed;
  bottom: calc(var(--taskbar-height) + 20px);
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transition: all 0.2s ease;
  z-index: 800;
}

.back-to-top:hover {
  background: var(--dark-blue);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.back-to-top.show {
  display: flex;
}

/* ================================
   移动端适配
   ================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
  }

  .folders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-widgets {
    grid-template-columns: 1fr;
  }

  .security-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .security-left {
    border-right: none;
    border-bottom: var(--window-border);
  }

  .security-menu {
    flex-direction: row;
    overflow-x: auto;
  }

  .security-item {
    white-space: nowrap;
  }

  .monitors-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-viewer {
    grid-template-columns: 1fr;
  }

  .screenshots-taskbar {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .shortcuts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .widgets-panel {
    grid-template-columns: 1fr;
  }

  .widgets-menu {
    border-right: none;
    border-bottom: var(--window-border);
    flex-direction: row;
    overflow-x: auto;
  }

  .widget-menu-item {
    white-space: nowrap;
  }

  .faq-body {
    grid-template-columns: 1fr;
  }

  .faq-menu {
    border-right: none;
    border-bottom: var(--window-border);
    flex-direction: row;
    overflow-x: auto;
  }

  .faq-item {
    white-space: nowrap;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section h2 {
    font-size: 24px;
  }

  h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .taskbar {
    padding: 0 16px;
  }

  .taskbar-left {
    min-width: auto;
  }

  .taskbar-logo span {
    display: none;
  }

  .taskbar-right {
    min-width: auto;
  }

  .taskbar-status span {
    display: none;
  }

  .taskbar-center {
    gap: 4px;
  }

  .taskbar-item {
    width: 40px;
    height: 40px;
  }

  .container {
    width: min(100% - 16px, var(--container));
  }

  .section {
    padding: 35px 0;
  }

  .section h2 {
    font-size: 20px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 22px;
  }

  h3 {
    font-size: 15px;
  }

  .welcome-window {
    max-width: 100%;
  }

  .welcome-window h1 {
    font-size: 18px;
  }

  .widget-highlights {
    grid-template-columns: 1fr;
  }

  .folders-grid {
    grid-template-columns: 1fr;
  }

  .folder-card {
    padding: 16px;
  }

  .shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .shortcut-icon {
    padding: 16px 12px;
    gap: 8px;
  }

  .shortcut-icon svg {
    width: 28px;
    height: 28px;
  }

  .shortcut-icon span {
    font-size: 12px;
  }

  .security-display h3,
  .faq-answer h3,
  .modal-content h3 {
    font-size: 15px;
  }

  .hero-widgets {
    gap: 16px;
  }

  .widget-card {
    padding: 16px;
  }

  .widget-card p {
    font-size: 12px;
  }

  .screenshot-item {
    width: 50px;
    height: 50px;
    font-size: 11px;
  }

  .checklist-window {
    max-width: 100%;
  }

  .modal-content {
    padding: 24px;
  }

  .modal-checklist {
    padding: 12px;
  }

  .faq-content,
  .security-right {
    padding: 16px;
  }

  .widgets-content {
    padding: 20px;
    min-height: auto;
  }

  .main-content {
    padding-bottom: calc(var(--taskbar-height) + 24px);
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: calc(var(--taskbar-height) + 16px);
    right: 16px;
  }
}

@media (max-width: 480px) {
  .taskbar {
    height: 60px;
    padding: 0 12px;
  }

  :root {
    --taskbar-height: 60px;
  }

  .taskbar-logo {
    gap: 6px;
  }

  .taskbar-logo img {
    width: 24px;
    height: 24px;
  }

  .taskbar-center {
    gap: 2px;
  }

  .taskbar-item {
    width: 36px;
    height: 36px;
  }

  .taskbar-item svg {
    width: 18px;
    height: 18px;
  }

  .tooltip {
    font-size: 10px;
    padding: 3px 6px;
  }

  .container {
    width: min(100% - 16px, var(--container));
  }

  .section {
    padding: 32px 0;
  }

  .section h2 {
    font-size: 18px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: 18px;
  }

  p {
    font-size: 13px;
  }

  .welcome-window {
    padding: 0;
  }

  .welcome-window .window-body {
    padding: 16px;
  }

  .welcome-window h1 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .welcome-window p {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .window-buttons {
    gap: 8px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .folders-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .folder-card {
    padding: 12px;
  }

  .folder-icon {
    width: 40px;
    height: 40px;
  }

  .folder-card h3 {
    font-size: 14px;
  }

  .folder-card p {
    font-size: 12px;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shortcut-icon {
    padding: 12px 10px;
    gap: 8px;
  }

  .shortcut-icon svg {
    width: 24px;
    height: 24px;
  }

  .shortcut-icon span {
    font-size: 11px;
  }

  .security-menu,
  .widgets-menu,
  .faq-menu {
    gap: 6px;
    padding: 12px;
  }

  .security-item,
  .widget-menu-item,
  .faq-item {
    padding: 10px 12px;
    font-size: 12px;
    gap: 8px;
  }

  .security-icon {
    font-size: 14px;
  }

  .security-right,
  .faq-content,
  .widgets-content {
    padding: 16px;
  }

  .drawer-content,
  .modal-content {
    padding: 16px;
  }

  .tips,
  .security-tips,
  .modal-checklist {
    padding: 12px;
  }

  .tips h4,
  .security-tips h4,
  .modal-checklist h4 {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .tips li,
  .security-tips li,
  .security-prompt {
    font-size: 12px;
  }

  .checklist-item {
    padding: 10px;
    gap: 10px;
  }

  .checkbox {
    width: 20px;
    height: 20px;
  }

  .checklist-item label {
    font-size: 13px;
  }

  .widget-highlights {
    gap: 12px;
    padding: 12px;
    margin: 16px 0;
  }

  .highlight-item .label {
    font-size: 11px;
  }

  .highlight-item .value {
    font-size: 13px;
  }

  .screenshot-item {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .screenshot-body {
    min-height: 400px;
  }

  .preview-screen img {
    max-height: 400px;
  }

  .hero-widgets {
    gap: 12px;
  }

  .widget-card {
    padding: 12px;
  }

  .widget-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .widget-card p {
    font-size: 11px;
  }

  .widget-dot {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .monitor-window {
    padding: 16px;
  }

  .monitor-content p {
    font-size: 12px;
  }

  .monitor-tag {
    font-size: 11px;
    padding: 3px 6px;
  }

  .footer-top {
    gap: 24px;
  }

  .footer-nav h4,
  .footer-notice h4,
  .footer-logo h3 {
    font-size: 12px;
  }

  .footer-nav a,
  .footer-notice p,
  .footer-bottom p {
    font-size: 11px;
  }

  .footer-logo img {
    width: 40px;
    height: 40px;
  }

  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: calc(var(--taskbar-height) + 12px);
    right: 12px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }

  .faq-answer ul {
    margin-left: 16px;
  }

  .faq-answer ul li {
    font-size: 12px;
  }

  .main-content {
    padding-bottom: calc(var(--taskbar-height) + 16px);
  }
}

/* ================================
   打印样式
   ================================ */

@media print {
  .taskbar,
  .back-to-top,
  .shortcut-overlay,
  .shortcuts-modals {
    display: none !important;
  }

  .main-content {
    padding-bottom: 0;
  }

  .section {
    page-break-inside: avoid;
  }
}
