﻿/* ===================================================
   Template22_MT5 — 深森林绿科技风
   主色：#064e3b  辅色：#f0fdf4/#d1fae5  强调：#10b981  CTA：#f59e0b
   =================================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --forest: #064e3b;
  --forest-dark: #022c22;
  --forest-mid: #065f46;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --mint: #f0fdf4;
  --mint-soft: #d1fae5;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-green: 0 8px 32px rgba(16,185,129,.25);
  --transition: .22s cubic-bezier(.4,0,.2,1);
  --header-h: 68px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--forest-mid) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(16,185,129,.35); filter: brightness(1.08); }
.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(245,158,11,.3);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245,158,11,.4); filter: brightness(1.06); }
.btn-outline {
  background: transparent; color: var(--emerald);
  border: 1.5px solid var(--emerald);
}
.btn-outline:hover { background: var(--mint); transform: translateY(-1px); }
.btn-white {
  background: var(--white); color: var(--forest);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--mint); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.w-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
  height: var(--header-h);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-img { height: 36px; width: auto; }
.logo-text {
  display: flex; align-items: center;
  font-size: 22px; font-weight: 800; color: var(--forest);
}
.logo-5 { color: var(--emerald); }
.header-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--gray-600); font-weight: 500;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--forest); background: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-800); border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 24px; z-index: 999;
  box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.mobile-nav-link {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--gray-800); font-weight: 500;
  transition: all var(--transition);
}
.mobile-nav-link:hover { color: var(--forest); background: var(--mint); }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Hero 区 ---------- */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-mid) 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; opacity: .22;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,44,34,.92) 0%, rgba(6,78,59,.75) 40%, rgba(6,95,70,.5) 100%);
}
.hero-grid-pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(rgba(16,185,129,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,.4) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-text .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3);
  color: var(--emerald-light); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}
.hero-text h1 {
  font-size: clamp(32px, 4.5vw, 58px); font-weight: 800;
  color: var(--white); line-height: 1.18; margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-text h1 .highlight {
  color: var(--emerald-light);
}
.hero-text .hero-desc {
  font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.78);
  line-height: 1.7; margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 800;
  color: var(--white); line-height: 1;
}
.hero-stat .stat-num em { color: var(--emerald-light); font-style: normal; }
.hero-stat .stat-label {
  font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px;
}
.stat-divider {
  width: 1px; background: rgba(255,255,255,.2); align-self: stretch; margin: 4px 0;
}

/* Hero 右侧设备图 */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-device {
  width: 100%; max-width: 560px; border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(16,185,129,.2);
}
.hero-float-card {
  position: absolute; background: rgba(6,78,59,.9);
  backdrop-filter: blur(12px); border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius); padding: 12px 16px;
  animation: float 4s ease-in-out infinite;
  min-width: 140px;
}
.hero-float-card.card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 15%; right: -5%; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-label { font-size: 11px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.float-value { font-size: 18px; font-weight: 700; color: var(--white); }
.float-change { font-size: 12px; color: var(--emerald-light); }
.float-change.down { color: #f87171; }

/* ---------- 平台选择区 ---------- */
.platforms-section {
  padding: 80px 0;
  background: var(--mint);
}
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 48px;
  padding: 0 24px;
}
.section-tag {
  display: inline-block; background: var(--mint-soft); color: var(--forest);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 4px 14px; border-radius: 100px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px); font-weight: 800;
  color: var(--text-primary); line-height: 1.25; margin-bottom: 14px;
}
.section-title .em { color: var(--forest); }
.section-desc {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.platform-tabs {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.platform-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--white); color: var(--gray-600);
  border: 1.5px solid var(--gray-200); transition: all var(--transition);
}
.platform-tab:hover { border-color: var(--emerald); color: var(--forest); }
.platform-tab.active {
  background: var(--forest); color: var(--white); border-color: var(--forest);
  box-shadow: var(--shadow-green);
}
.platform-tab svg { width: 18px; height: 18px; flex-shrink: 0; }
.platform-panels { position: relative; }
.platform-panel { display: none; }
.platform-panel.active { display: block; }
.platform-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.platform-info h3 {
  font-size: 26px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px;
}
.platform-info p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px;
}
.platform-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.platform-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-800);
}
.platform-feature .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint); border: 1.5px solid var(--emerald);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.platform-feature .check svg { color: var(--emerald); }
.platform-img-wrap { text-align: center; }
.platform-img {
  max-height: 340px; object-fit: contain; width: 100%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* ---------- 核心功能区 ---------- */
.features-section {
  padding: 80px 0;
  background: var(--white);
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--amber));
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--forest);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.features-footer { text-align: center; margin-top: 40px; }

/* ---------- 开户流程区 ---------- */
.steps-section {
  padding: 80px 0;
  background: var(--mint);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step-item {
  text-align: center; position: relative;
}
.step-item::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 36px);
  right: calc(-50% + 36px); height: 2px;
  background: linear-gradient(90deg, var(--emerald), transparent);
}
.step-item:last-child::after { display: none; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: var(--shadow-green);
  position: relative; z-index: 1;
}
.step-item h3 {
  font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px;
}
.step-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 下载区域 ---------- */
.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 60%, var(--forest-mid) 100%);
  position: relative; overflow: hidden;
}
.download-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(16,185,129,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245,158,11,.1) 0%, transparent 50%);
}
.download-inner { position: relative; z-index: 1; }
.download-header { text-align: center; margin-bottom: 48px; }
.download-header h2 {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 800;
  color: var(--white); margin-bottom: 14px;
}
.download-header h2 .em { color: var(--emerald-light); }
.download-header p { font-size: 16px; color: rgba(255,255,255,.72); }
.download-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dl-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  cursor: pointer; transition: all var(--transition);
}
.dl-card:hover {
  background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16,185,129,.2);
}
.dl-card-icon { width: 56px; height: 56px; margin: 0 auto 16px; }
.dl-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.dl-card p { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--emerald); color: var(--white);
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; transition: all var(--transition);
  width: 100%; justify-content: center;
}
.dl-btn:hover { background: var(--emerald-light); color: var(--forest-dark); }
.download-qr { text-align: center; margin-top: 40px; }
.download-qr p {
  font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 16px;
}

/* ---------- 信任区 ---------- */
.trust-section { padding: 80px 0; background: var(--white); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-card {
  text-align: center; padding: 32px 20px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.trust-card:hover { border-color: var(--emerald); box-shadow: var(--shadow); transform: translateY(-3px); }
.trust-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--mint); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- FAQ 区 ---------- */
.faq-section { padding: 80px 0; background: var(--gray-50); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.faq-item.open { border-color: var(--emerald); box-shadow: var(--shadow); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  user-select: none;
}
.faq-question:hover { color: var(--forest); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--transition);
  color: var(--emerald);
}
.faq-item.open .faq-icon { background: var(--forest); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}

/* ---------- 资讯区 ---------- */
.news-section { padding: 80px 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  background: var(--white);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--emerald); }
.news-img { width: 100%; height: 180px; object-fit: cover; }
.news-img-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-light); font-size: 32px; font-weight: 800;
}
.news-body { padding: 20px; }
.news-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-light); margin-bottom: 10px;
}
.news-tag {
  background: var(--mint); color: var(--forest);
  padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.news-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.news-card:hover .news-title { color: var(--forest); }
.news-excerpt {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-900); color: rgba(255,255,255,.85);
  padding-top: 60px;
}
.footer-main {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px;
}
.footer-logo-img { height: 32px; margin-bottom: 16px; }
.footer-logo-text {
  font-size: 20px; font-weight: 800; margin-bottom: 16px;
  display: flex; align-items: center; gap: 2px; color: var(--white);
}
.footer-logo-text .accent { color: var(--emerald); }
.footer-desc {
  font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 280px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--transition);
}
.social-link:hover { background: var(--forest); border-color: var(--emerald); color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-title {
  font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .04em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,.55); transition: all var(--transition);
}
.footer-col ul a:hover { color: var(--emerald); padding-left: 4px; }
.footer-seo {
  max-width: 1280px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7;
}
.footer-seo a { color: rgba(255,255,255,.5); }
.footer-seo a:hover { color: var(--emerald); }
.footer-risk {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-copyright {
  background: rgba(0,0,0,.3); text-align: center;
  padding: 16px 24px; font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-copyright a { color: rgba(255,255,255,.5); }
.footer-copyright a:hover { color: var(--emerald); }

/* ---------- 弹窗 ---------- */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.overlay.show { display: flex; }
.popup {
  background: var(--white); border-radius: var(--radius-xl);
  width: 900px; max-width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  display: none; flex-direction: row;
}
.popup.show { display: flex; }
.popup-left {
  flex: 1; background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  padding: 48px 36px; border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  display: flex; flex-direction: column; justify-content: space-between;
}
.popup-left-title {
  font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 24px; line-height: 1.3;
}
.popup-version-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.3);
  color: var(--emerald-light); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.popup-features { display: flex; flex-direction: column; gap: 14px; }
.popup-feature {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5;
}
.popup-feature-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: rgba(16,185,129,.2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--emerald);
}
.popup-feature-icon svg { width: 14px; height: 14px; }
.popup-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.popup-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.15);
}
.popup-right { width: 380px; padding: 40px 36px; flex-shrink: 0; }
.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); transition: all var(--transition); z-index: 10;
}
.popup-close:hover { background: var(--gray-100); color: var(--gray-900); }
.popup { position: relative; }
.popup-form-title { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.popup-form-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; color: var(--text-primary);
  transition: all var(--transition); outline: none; background: var(--white);
}
.form-input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.12); }
.form-input.error { border-color: #ef4444; }
.code-row { display: flex; gap: 10px; }
.code-row .form-input { flex: 1; }
.send-code-btn {
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--mint); color: var(--forest);
  border: 1.5px solid var(--emerald); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all var(--transition);
  min-width: 100px; text-align: center;
}
.send-code-btn:hover { background: var(--mint-soft); }
.send-code-btn:disabled { opacity: .5; cursor: not-allowed; }
.form-submit {
  width: 100%; margin-top: 8px;
  padding: 14px; font-size: 16px; font-weight: 700;
}
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* 成功弹窗 */
#successPopup {
  display: none; flex-direction: column; align-items: center;
  width: 460px; max-width: 92%; padding: 40px 36px;
  border-radius: var(--radius-xl); background: var(--white);
  text-align: center;
}
#successPopup.show { display: flex; }
.success-icon {
  width: clamp(60px, 10vh, 80px); height: clamp(60px, 10vh, 80px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--amber) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: clamp(12px, 1.5vh, 18px);
  animation: bounceIn .6s ease-out;
  box-shadow: 0 0 24px rgba(16,185,129,.35), 0 0 60px rgba(16,185,129,.12);
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(.95); }
  100% { transform: scale(1); }
}
#successPopup h2 {
  font-size: clamp(22px, 4.5vw, 30px); font-weight: 800;
  background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
.success-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.download-options {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vh, 14px); margin-bottom: clamp(14px, 2vh, 24px); width: 100%;
}
.download-btn {
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: clamp(12px, 2vh, 16px) clamp(10px, 1.5vh, 12px);
  cursor: pointer; text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; transition: all var(--transition);
  text-decoration: none; gap: 6px;
}
.download-btn img { width: 32px; height: 32px; object-fit: contain; }
.download-btn span { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.download-btn:hover { border-color: var(--emerald); background: var(--mint); transform: translateY(-3px); }
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vh, 14px); width: 100%; }
.start-trading, .contact-customer {
  padding: clamp(12px, 2vh, 16px) clamp(10px, 1.5vh, 12px);
  border-radius: var(--radius); text-align: center; text-decoration: none;
  font-size: clamp(13px, 2.8vw, 15px); font-weight: 700; transition: all var(--transition);
}
.start-trading {
  background: linear-gradient(135deg, var(--emerald), var(--forest-mid));
  color: var(--white);
}
.start-trading:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.contact-customer {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--white);
}
.contact-customer:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }

/* ---------- 列表页 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  padding: calc(var(--header-h) + 48px) 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.7); }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 16px; justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--emerald-light); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.page-content { padding: 60px 0; }
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  transition: all var(--transition);
}
.article-item:hover { border-color: var(--emerald); box-shadow: var(--shadow); transform: translateX(4px); }
.article-thumb {
  width: 200px; height: 130px; object-fit: cover; border-radius: var(--radius);
}
.article-thumb-placeholder {
  width: 200px; height: 130px; background: var(--mint);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--forest); font-size: 24px; font-weight: 800;
}
.article-info {}
.article-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-light); margin-bottom: 8px;
}
.article-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.article-title a:hover { color: var(--forest); }
.article-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.article-read-more {
  font-size: 13px; font-weight: 600; color: var(--forest);
  display: inline-flex; align-items: center; gap: 4px;
  transition: all var(--transition);
}
.article-read-more:hover { gap: 8px; color: var(--emerald); }
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--gray-200); color: var(--gray-600);
  transition: all var(--transition);
}
.page-btn.active, .page-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* ---------- 详情页 ---------- */
.show-layout {
  max-width: 1280px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
}
.article-main { min-width: 0; }
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--text-primary); line-height: 1.3; margin-bottom: 14px; }
.article-date { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; box-shadow: var(--shadow); }
.article-body { font-size: 16px; color: var(--gray-700); line-height: 1.85; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 28px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 20px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body ul, .article-body ol { margin: 12px 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-cta {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  border-radius: var(--radius-lg); padding: 28px; text-align: center; margin: 32px 0;
}
.article-cta h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.article-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article-tags { margin: 24px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.article-tag {
  font-size: 13px; padding: 5px 12px; border-radius: var(--radius-sm);
  background: var(--mint); color: var(--forest); font-weight: 500;
  transition: all var(--transition);
}
.article-tag:hover { background: var(--forest); color: var(--white); }
.article-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.action-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer;
  background: var(--gray-50); border: 1.5px solid var(--gray-200); color: var(--gray-600);
  transition: all var(--transition);
}
.action-btn:hover { border-color: var(--emerald); color: var(--forest); background: var(--mint); }
.sidebar { min-width: 0; }
.sidebar-widget {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px;
}
.widget-header {
  background: linear-gradient(135deg, var(--forest), var(--forest-mid));
  padding: 14px 20px;
  font-size: 15px; font-weight: 700; color: var(--white);
}
.widget-body { padding: 20px; }
.sidebar-cta-img { width: 100%; border-radius: var(--radius); margin-bottom: 14px; }
.sidebar-cta p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.related-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.related-item:last-child { border-bottom: none; }
.related-thumb {
  width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0;
}
.related-thumb-placeholder {
  width: 60px; height: 60px; background: var(--mint); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--forest); font-size: 14px; font-weight: 700;
}
.related-info {}
.related-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.related-title a:hover { color: var(--forest); }
.related-date { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.dl-sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.dl-sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition);
}
.dl-sidebar-item:hover { border-color: var(--emerald); background: var(--mint); }
.dl-sidebar-item span { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.dl-sidebar-item .dl-arrow { color: var(--emerald); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .platform-card { grid-template-columns: 1fr; }
  .platform-img-wrap { text-align: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .download-cards { grid-template-columns: repeat(2, 1fr); }
  .show-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: none; max-height: 0; overflow: hidden; }
  .mobile-menu.open { display: block; max-height: 400px; }
  .hero-stats { gap: 16px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .popup { flex-direction: column; width: 92%; }
  .popup-left { border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 32px 24px; }
  .popup-right { width: 100%; padding: 28px 24px; }
  .article-item { grid-template-columns: 1fr; }
  .article-thumb, .article-thumb-placeholder { width: 100%; height: 200px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid, .trust-grid, .download-cards, .steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-content { padding: 48px 16px; }
  .footer-links { grid-template-columns: 1fr; }
}
