/* ========================================
   清爽青绿色工具站主题
   ======================================== */

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

:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #14B8A6;
  --primary-bg: #F0FDFA;
  --secondary: #0891B2;
  --accent: #F59E0B;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --text-1: #134E4A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --text-4: #CBD5E1;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-teal: #F0FDFA;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(13, 148, 136, 0.1), 0 10px 10px -5px rgba(13, 148, 136, 0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-xl { padding: 14px 28px; font-size: 15px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: var(--radius-xs); }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-bg); color: var(--primary-dark); }

.btn-light { background: var(--bg-soft); color: var(--primary); }
.btn-light:hover { background: var(--primary-bg); }

.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-bg); }

.btn-text { color: var(--text-2); padding: 8px 12px; }
.btn-text:hover { color: var(--primary); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-soft); color: var(--primary-dark); transform: translateY(-1px); }

.btn-white-outline { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }

/* ========== 安全提示条 ========== */
.warning-bar {
  background: linear-gradient(90deg, #FEF3C7, #FDE68A);
  border-bottom: 1px solid #FCD34D;
  font-size: 13px;
}

.warning-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  position: relative;
  color: #92400E;
}

.warn-icon { font-size: 14px; flex-shrink: 0; }

.warn-close {
  position: absolute;
  right: 20px;
  font-size: 18px;
  color: #92400E;
  opacity: 0.6;
  padding: 4px;
}

.warn-close:hover { opacity: 1; }

/* ========== 顶部工具栏 ========== */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-weight: 500;
}

.topbar-phone:hover { color: var(--primary); }

.topbar-divider { color: var(--text-4); }
.topbar-text { color: var(--text-3); }

.topbar-right a {
  color: var(--text-3);
}

.topbar-right a:hover { color: var(--primary); }

/* ========== 导航栏 ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
}

.site-logo:hover { color: var(--primary); }

.logo-icon-wrap {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-menu {
  display: flex;
  align-items: center;
}

.menu-list {
  display: flex;
  gap: 2px;
}

.menu-link {
  display: block;
  padding: 8px 14px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.menu-link:hover,
.menu-link.active {
  color: var(--primary);
  background: var(--primary-bg);
}

.menu-item-has-children { position: relative; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.menu-item-has-children:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mega-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mega-col a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

.mega-col a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.menu-close,
.mobile-auth { display: none; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.search-btn:hover { background: var(--bg-soft); color: var(--primary); }

.user-actions { display: flex; gap: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ========== Hero ========== */
.hero-section {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--bg-teal) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  border: 1px solid rgba(13,148,136,0.15);
  margin-bottom: 24px;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.hero-heading {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-1);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-search {
  margin-bottom: 28px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-bg);
}

.search-input-wrap .search-icon {
  color: var(--text-3);
  margin-right: 10px;
  flex-shrink: 0;
}

.demo-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: transparent;
  padding: 10px 0;
}

.demo-search-input::placeholder { color: var(--text-4); }

.search-submit {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
}

.search-submit:hover { background: var(--primary-dark); }

.search-hint {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 10px;
  padding-left: 4px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.hero-img-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-badge-1,
.hero-badge-2 {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}

.hero-badge-1 {
  bottom: 24px;
  left: -20px;
}

.hero-badge-2 {
  top: 24px;
  right: -20px;
}

.badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ========== 快速入口 ========== */
.quick-actions {
  padding: 0 0 80px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.quick-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s ease;
  color: inherit;
  position: relative;
}

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

.quick-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.quick-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}

.quick-card p {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.quick-arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

/* ========== 通用标题 ========== */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  align-items: center;
  margin-bottom: 48px;
}

.section-head-center {
  grid-template-columns: 1fr;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}

.section-description {
  max-width: 600px;
  color: var(--text-2);
  font-size: 15px;
  margin: 12px auto 0;
}

.head-right p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== 平台列表 ========== */
.platform-section {
  padding: 80px 0;
}

.platform-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.platform-row:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.platform-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.okx-color { background: linear-gradient(135deg, #0D9488, #14B8A6); }
.binance-color { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #78350F; }
.bitget-color { background: linear-gradient(135deg, #10B981, #34D399); }
.bybit-color { background: linear-gradient(135deg, #F97316, #FB923C); }
.kraken-color { background: linear-gradient(135deg, #6366F1, #818CF8); }

.platform-logo-text {
  font-size: 16px;
}

.platform-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}

.platform-info p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.6;
}

.platform-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--bg-soft);
  color: var(--text-2);
  border-radius: 4px;
  font-weight: 500;
}

.platform-buttons {
  display: flex;
  gap: 8px;
}

.platform-note {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: #134E4A;
  line-height: 1.7;
}

.platform-note strong { color: var(--primary-dark); }

/* ========== 下载中心 ========== */
.download-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

.device-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.device-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
}

.device-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.device-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
}

.device-icon {
  font-size: 28px;
}

.device-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
}

.device-card-header p {
  font-size: 12px;
  color: var(--text-3);
}

.device-list {
  padding: 8px 0;
}

.device-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-light);
}

.device-list li:last-child { border-bottom: none; }
.device-list li span:first-child { flex: 1; font-weight: 500; }

.status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.status.pending {
  background: #FEF3C7;
  color: #92400E;
}

.device-tip {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-bg);
  border-top: 1px solid var(--border-light);
}

.checklist-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

.checklist-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 20px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.check-box {
  width: 28px;
  height: 28px;
  background: var(--success);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.check-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}

.check-item p {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ========== 功能介绍 ========== */
.features-section {
  padding: 80px 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}

.feature-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-icon-wrap.teal { background: #F0FDFA; }
.feature-icon-wrap.blue { background: #EFF6FF; }
.feature-icon-wrap.green { background: #ECFDF5; }
.feature-icon-wrap.orange { background: #FFF7ED; }
.feature-icon-wrap.red { background: #FEF2F2; }
.feature-icon-wrap.purple { background: #F5F3FF; }

.feature-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.feature-item > p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.risk-tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  background: #FEF3C7;
  color: #92400E;
  border-radius: 4px;
  font-weight: 500;
}

/* ========== 流程步骤 ========== */
.guide-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

.steps-container {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.step-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
}

.step-card-highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.step-card > p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.step-points {
  display: grid;
  gap: 6px;
}

.step-points li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

.step-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--primary-light);
  font-size: 24px;
  font-weight: 700;
}

/* ========== 安全专区 ========== */
.security-section {
  padding: 80px 0;
}

.security-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  margin-bottom: 32px;
}

.security-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.security-banner h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.security-banner p {
  font-size: 15px;
  opacity: 0.9;
  max-width: 600px;
}

.security-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rule-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.rule-safe {
  background: linear-gradient(135deg, #ECFDF5 0%, #fff 100%);
  border-color: #A7F3D0;
}

.rule-danger {
  background: linear-gradient(135deg, #FEF2F2 0%, #fff 100%);
  border-color: #FECACA;
}

.rule-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.rule-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rule-safe h4 { color: #065F46; }
.rule-danger h4 { color: #991B1B; }

.rule-card ul {
  display: grid;
  gap: 10px;
}

.rule-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
}

.rule-safe li { color: #047857; }
.rule-safe li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.rule-danger li { color: #B91C1C; }
.rule-danger li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ========== 资讯（严格遵守规则） ========== */
.news-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

ul.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

ul.article-cards > li.article-card {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}

ul.article-cards > li.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

ul.article-cards > li.article-card > a {
  display: block;
  color: inherit;
}

ul.article-cards > li.article-card > a:hover {
  color: inherit;
}

.article-card .card-thumb {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-card .card-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .card-thumb img {
  transform: scale(1.05);
}

.article-card .card-body { padding: 20px; }

.article-card .card-title {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-1);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-date {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.article-card .card-summary {
  overflow-wrap: anywhere;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== FAQ ========== */
.faq-section { padding: 80px 0; }

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-block:hover { border-color: var(--primary-light); }

.faq-block.active { border-color: var(--primary); }

.faq-q {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  text-align: left;
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-block.active .faq-plus {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ========== 关于我们 ========== */
.about-section { padding: 80px 0; background: var(--bg-soft); }

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.about-main .section-eyebrow { margin-bottom: 12px; }
.about-main h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
}

.about-intro {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.about-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.service-check {
  width: 22px;
  height: 22px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.disclaimer-box {
  background: #FEF3C7;
  border-left: 4px solid var(--warning);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: #78350F;
  line-height: 1.8;
}

.disclaimer-box strong { color: #92400E; }

.aside-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}

.aside-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
}

.principle-list { display: grid; gap: 10px; }

.principle-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
}

.principle-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ========== 联系方式 ========== */
.contact-section { padding: 80px 0; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-side h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-method-list { display: grid; gap: 12px; margin-bottom: 24px; }

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: inherit;
  transition: all 0.2s;
}

.contact-method-item:hover {
  border-color: var(--primary);
  color: inherit;
}

.method-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cm-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.cm-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}

.contact-warning {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13px;
  color: #991B1B;
  line-height: 1.7;
}

.contact-warning strong { display: block; margin-bottom: 4px; }

.contact-form-side {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form-side h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.form-notice {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-soft);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-notice strong { color: var(--warning); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-item { margin-bottom: 14px; }

.form-item label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  background: #fff;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

textarea.form-control { resize: vertical; min-height: 90px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ========== 文章详情页 ========== */
.article-page { padding: 50px 0 70px; }

.article-wrapper { max-width: 780px; margin: 0 auto; }

.article-crumbs {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.article-crumbs a { color: var(--text-3); }
.article-crumbs a:hover { color: var(--primary); }

.article-header-area { margin-bottom: 28px; }

.article-main-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-1);
  margin-bottom: 16px;
}

.article-meta-row {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-summary-box {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  padding: 18px 20px;
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-cover-wrap {
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-cover-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-1);
  margin-bottom: 32px;
}

.article-body p { margin-bottom: 18px; }

.article-body h2,
.article-body h3,
.article-body h4 {
  font-weight: 700;
  color: var(--text-1);
  margin: 28px 0 14px;
}

.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 19px; }
.article-body h4 { font-size: 17px; }

.article-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 18px 0;
}

.article-body ul, .article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; line-height: 1.8; }

.article-body blockquote {
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 18px 0;
  color: var(--text-2);
}

.article-warning-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
}

.warn-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #991B1B;
}

.warn-title .warn-icon { font-size: 18px; }

.article-warning-box p {
  font-size: 13px;
  color: #7F1D1D;
  line-height: 1.8;
  margin-bottom: 0;
}

.related-section { margin-bottom: 36px; }

.related-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  transition: all 0.2s;
}

.related-link-card:hover {
  border-color: var(--primary);
  color: inherit;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.rl-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.related-link-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}

.related-link-card p {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 0;
}

.article-nav-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.bottom-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 56px 0;
  color: #fff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-text p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 0;
}

.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

/* ========== 页脚 ========== */
.site-footer {
  background: #0F172A;
  color: rgba(255,255,255,0.65);
  padding-top: 56px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo:hover { color: var(--primary-light); }

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.footer-phone-btn:hover { background: var(--primary); color: #fff; }

.footer-links-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-link-col h5 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-link-col ul { display: grid; gap: 8px; }

.footer-link-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.footer-link-col a:hover { color: #fff; }

.footer-link-col {grouplink} a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.footer-link-col {grouplink} a:hover { color: #fff; }

.footer-bottom-area {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright-text p {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-risk-text {
  font-size: 12px !important;
  color: rgba(239,68,68,0.6) !important;
}

.footer-beian-links {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-beian-links a {
  color: rgba(255,255,255,0.5);
}

.footer-beian-links a:hover { color: #fff; }

/* ========== 弹窗 ========== */
.modal-overlay-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay-wrap.active { display: flex; }

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  z-index: 1;
  animation: modalIn 0.25s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-3);
}

.modal-close-btn:hover { background: var(--bg-soft); color: var(--text-1); }

.modal-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.modal-dialog h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.modal-dialog p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 10px;
}

.modal-warn {
  background: #FEF2F2;
  color: #991B1B !important;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px !important;
  margin-bottom: 16px !important;
}

/* ========== 返回顶部 ========== */
.to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.2s;
  z-index: 999;
}

.to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top-btn:hover { background: var(--primary-dark); }

/* ========== Toast ========== */
.site-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,23,42,0.9);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 10000;
  box-shadow: var(--shadow-md);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .device-cards { grid-template-columns: repeat(2, 1fr); }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .steps-container { flex-wrap: wrap; }
  .step-card { flex: 1 1 calc(50% - 30px); }
  .step-arrow { display: none; }
  .security-rules { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .warning-bar .warn-close { display: none; }
  .topbar { display: none; }
  .main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 60px 20px 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1001;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .main-menu.open { right: 0; }
  .menu-list { flex-direction: column; gap: 2px; }
  .menu-link { padding: 12px; font-size: 15px; }
  .mega-menu { display: none; }
  .menu-close {
    display: flex;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-2);
    border-radius: 50%;
  }
  .menu-close:hover { background: var(--bg-soft); }
  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
  }
  .search-btn, .user-actions { display: none; }
  .hamburger { display: flex; }
  .hero-section { padding: 40px 0 60px; }
  .hero-heading { font-size: 30px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-badge-1, .hero-badge-2 { display: none; }
  .quick-actions { padding-bottom: 60px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
  .section-heading { font-size: 24px; }
  .platform-section, .download-section, .features-section, .guide-section,
  .security-section, .news-section, .faq-section, .about-section, .contact-section {
    padding: 60px 0;
  }
  .platform-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .platform-buttons { width: 100%; }
  .platform-buttons .btn { flex: 1; }
  .device-cards { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .step-card { flex: 1 1 100%; }
  .security-banner { padding: 32px 24px; }
  .security-banner h2 { font-size: 24px; }
  .faq-container { grid-template-columns: 1fr; }
  .about-services { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-side { padding: 24px 20px; }
  .article-main-title { font-size: 24px; }
  .related-cards { grid-template-columns: 1fr; }
  .article-nav-buttons { flex-direction: column; }
  .article-nav-buttons .btn { width: 100%; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
  .footer-links-area { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom-area { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .footer-links-area { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
