/* ============================================================
   同花顺财经 · 经典门户风格（站点一 / 根域名）
   主色：品牌蓝 #1a56db ，点缀 A 股红涨绿跌配色
   ============================================================ */

:root {
  --brand-blue: #1a56db;
  --brand-blue-dark: #123f9e;
  --brand-navy: #0f2557;
  --brand-gold: #f5a623;
  --up-red: #e02020;
  --down-green: #16a34a;
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --text-main: #1c2b45;
  --text-sub: #5b6b8c;
  --border-c: #e3e8f2;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-card: 0 4px 18px rgba(26, 86, 219, 0.08);
  --shadow-hover: 0 10px 28px rgba(26, 86, 219, 0.16);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section-alt { background: #eef2fb; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(26, 86, 219, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--brand-navy); margin-bottom: 12px; }
.section-desc { font-size: 15px; color: var(--text-sub); }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-c);
  box-shadow: 0 2px 12px rgba(15, 37, 87, 0.05);
}
.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--brand-navy); }
.brand-mark { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--brand-blue); background: rgba(26, 86, 219, 0.06); }
.nav-links a.active { color: var(--brand-blue); background: rgba(26, 86, 219, 0.09); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-blue);
}
.nav-cta {
  padding: 10px 22px !important;
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-radius: 24px !important;
}
.nav-cta:hover { background: var(--brand-blue-dark) !important; }

/* ---------------- 按钮通用 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.btn:disabled { cursor: not-allowed; opacity: 0.75; transform: none; }
.btn-primary { background: var(--brand-blue); color: #fff; box-shadow: 0 8px 20px rgba(26, 86, 219, 0.28); }
.btn-primary:hover:not(:disabled) { background: var(--brand-blue-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand-blue); border: 1.5px solid var(--brand-blue); }
.btn-ghost:hover:not(:disabled) { background: rgba(26, 86, 219, 0.06); transform: translateY(-2px); }
.btn-gold { background: var(--brand-gold); color: #402400; box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35); }
.btn-gold:hover:not(:disabled) { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(150deg, var(--brand-navy) 0%, var(--brand-blue) 62%, #3b7bf0 100%);
  color: #fff;
  padding: 92px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(245, 166, 35, 0.25), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.12), transparent 40%);
}
.hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.35; margin-bottom: 20px; }
.hero h1 span { color: var(--brand-gold); }
.hero-sub { font-size: 17px; color: rgba(255, 255, 255, 0.86); margin-bottom: 36px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; }

/* 行情条点缀 */
.ticker-strip {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px 24px;
}
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.ticker-name { color: rgba(255, 255, 255, 0.75); }
.ticker-up { color: #ff6b6b; font-weight: 700; }
.ticker-down { color: #52e0a1; font-weight: 700; }

/* ---------------- 数据统计 ---------------- */
.stats-bar { background: var(--brand-navy); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: #fff; }
.stat-num small { font-size: 18px; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }

/* ---------------- 特性卡片 ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(26, 86, 219, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-blue);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--brand-navy); }
.feature-card p { font-size: 14px; color: var(--text-sub); }

/* ---------------- 平台下载 ---------------- */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.platform-icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--brand-blue); }
.platform-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--text-sub); margin-bottom: 16px; min-height: 40px; }

/* ---------------- 功能详述 ---------------- */
.deep-dive { display: flex; flex-direction: column; gap: 64px; }
.deep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deep-row.reverse .deep-media { order: 2; }
.deep-media {
  background: linear-gradient(135deg, #eaf0fd, #f6f9ff);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.deep-media svg { width: 100%; height: 180px; }
.deep-index { font-size: 13px; font-weight: 700; color: var(--brand-blue); margin-bottom: 10px; letter-spacing: 1px; }
.deep-row h3 { font-size: 24px; font-weight: 800; color: var(--brand-navy); margin-bottom: 14px; }
.deep-row p { font-size: 14.5px; color: var(--text-sub); margin-bottom: 10px; }

/* ---------------- 用户评价 ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.review-stars { display: flex; gap: 3px; color: var(--brand-gold); margin-bottom: 12px; }
.review-stars svg { width: 16px; height: 16px; }
.review-card p { font-size: 14px; color: var(--text-main); margin-bottom: 16px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.review-name { font-size: 13.5px; font-weight: 700; }
.review-role { font-size: 12px; color: var(--text-sub); }

/* ---------------- 对比表格 ---------------- */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; font-size: 14px; border-bottom: 1px solid var(--border-c); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text-sub); }
.compare-table thead th { background: var(--brand-navy); color: #fff; font-size: 14px; }
.compare-table thead th.highlight { background: var(--brand-blue); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.yes { color: var(--down-green); font-weight: 700; }
.compare-table td.no { color: var(--text-sub); }
.compare-table td.col-highlight { background: rgba(26, 86, 219, 0.05); font-weight: 700; color: var(--brand-blue); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-blue); transition: transform 0.2s ease; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item p { font-size: 14px; color: var(--text-sub); padding: 0 0 18px; }

/* ---------------- 下载页专用 ---------------- */
.download-hero {
  background: linear-gradient(150deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  padding: 64px 0 56px;
}
.download-main-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.download-main-info { display: flex; align-items: center; gap: 20px; }
.download-main-icon { width: 64px; height: 64px; color: var(--brand-gold); flex-shrink: 0; }
.download-meta { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.75); flex-wrap: wrap; }

.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px dashed var(--border-c); }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-item h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; color: var(--brand-navy); }
.step-item p { font-size: 14px; color: var(--text-sub); }

.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req-card { background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); }
.req-card h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 12px; color: var(--brand-navy); display: flex; align-items: center; gap: 8px; }
.req-card h4 svg { width: 20px; height: 20px; color: var(--brand-blue); }
.req-card ul li { font-size: 13.5px; color: var(--text-sub); padding: 5px 0; display: flex; justify-content: space-between; border-bottom: 1px dotted var(--border-c); }
.req-card ul li:last-child { border-bottom: none; }
.req-card ul li span:first-child { color: var(--text-main); font-weight: 600; }

.changelog-list { display: flex; flex-direction: column; gap: 18px; }
.changelog-item { background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-card); }
.changelog-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.changelog-version { font-size: 15px; font-weight: 800; color: var(--brand-blue); }
.changelog-date { font-size: 12.5px; color: var(--text-sub); background: #eef2fb; padding: 3px 10px; border-radius: 12px; }
.changelog-item ul { padding-left: 4px; }
.changelog-item ul li { font-size: 13.5px; color: var(--text-sub); padding: 3px 0; position: relative; padding-left: 16px; }
.changelog-item ul li::before { content: "•"; color: var(--brand-blue); position: absolute; left: 0; }

.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-card { text-align: center; padding: 26px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-c); }
.safety-card svg { width: 40px; height: 40px; color: var(--down-green); margin: 0 auto 12px; }
.safety-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.safety-card p { font-size: 13px; color: var(--text-sub); }

/* ---------------- 中文页专用 ---------------- */
.article-page { max-width: 860px; margin: 0 auto; }
.article-page h2 { font-size: 24px; font-weight: 800; color: var(--brand-navy); margin: 40px 0 16px; }
.article-page h2:first-child { margin-top: 0; }
.article-page p { font-size: 15px; color: var(--text-main); margin-bottom: 14px; }
.article-page ul { padding-left: 20px; margin-bottom: 14px; }
.article-page ul li { font-size: 14.5px; color: var(--text-sub); list-style: disc; margin-bottom: 6px; }
.cta-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  color: #fff;
}
.cta-banner h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--brand-navy); color: rgba(255, 255, 255, 0.75); padding: 40px 0 26px; margin-top: 0; }
.footer-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 13.5px;
  color: #cfe0ff;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.footer-notice svg { width: 18px; height: 18px; color: var(--down-green); flex-shrink: 0; }
.footer-copy { text-align: center; font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.55); }

/* ---------------- Loading Spinner 动画 ---------------- */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .feature-grid, .platform-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-row, .deep-row.reverse { grid-template-columns: 1fr; }
  .deep-row.reverse .deep-media { order: 0; }
  .stats-grid, .safety-grid, .req-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .feature-grid, .platform-grid, .review-grid, .stats-grid, .safety-grid, .req-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 24px; }
}
