/* ============================================
   同花顺财经门户 - 主题：国际化行情门户风（蓝青主色）
   ============================================ */
:root {
  --brand-blue: #0d47a1;
  --brand-blue-dark: #082a63;
  --brand-cyan: #00bcd4;
  --up-red: #e53935;
  --down-green: #16a34a;
  --bg-light: #f4f7fb;
  --text-main: #1a2233;
  --text-sub: #5b6b82;
  --border-c: #e1e8f2;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-card: 0 6px 20px rgba(13, 71, 161, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(13, 71, 161, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-desc { color: var(--text-sub); font-size: 15px; max-width: 640px; }
.section-head { margin-bottom: 40px; }

/* ---------- 顶部行情跑马灯装饰条 ---------- */
.ticker-bar {
  background: var(--brand-blue-dark);
  color: #cfe0ff;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  gap: 40px;
  padding: 6px 0;
  animation: ticker-move 32s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 6px; }
.up { color: var(--up-red); font-weight: 700; }
.down { color: #4ade80; font-weight: 700; }
@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 导航栏（顶部固定实色） ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-c);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--brand-blue); }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 34px; font-size: 15px; font-weight: 600; color: var(--text-sub); }
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-blue); border-color: var(--brand-cyan); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(0,188,212,0.18), transparent 45%),
              linear-gradient(160deg, var(--brand-blue-dark), var(--brand-blue) 60%);
  color: #fff;
  text-align: center;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 18px; }
.hero p.sub { font-size: 17px; color: #cfe0ff; max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, #00bcd4, #1de9b6);
  color: #06251f; font-weight: 800; font-size: 16px; padding: 15px 34px;
  border: none; border-radius: 999px; cursor: pointer; box-shadow: 0 10px 24px rgba(0,188,212,0.35);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline {
  background: rgba(255,255,255,0.08); color: #fff; font-weight: 700; font-size: 16px;
  padding: 15px 30px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; cursor: pointer;
}

/* ---------- 特性卡片网格 ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-card);
}
.feature-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(13,71,161,0.08); color: var(--brand-blue); margin-bottom: 16px;
}
.feature-card .icon-wrap svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-sub); }

/* ---------- 多平台下载 ---------- */
.platform-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-lg);
  padding: 26px 20px; text-align: center;
}
.platform-card .icon-wrap { width: 52px; height: 52px; margin: 0 auto 14px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand-blue); }
.platform-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.platform-card p.tip { font-size: 12.5px; color: var(--text-sub); margin-bottom: 16px; }
.btn-sm {
  width: 100%; padding: 10px 0; border-radius: 999px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; background: var(--brand-blue); color: #fff;
}
.btn-sm.alt { background: var(--bg-light); color: var(--brand-blue); border: 1px solid var(--border-c); }

/* ---------- 功能详述（图文左右交替） ---------- */
.feature-detail { display: flex; align-items: center; gap: 50px; margin-bottom: 56px; }
.feature-detail.reverse { flex-direction: row-reverse; }
.feature-detail .text { flex: 1; }
.feature-detail .visual { flex: 1; }
.feature-detail h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.feature-detail p { color: var(--text-sub); margin-bottom: 10px; }
.mock-panel {
  background: linear-gradient(160deg, #0d47a1, #082a63);
  border-radius: var(--radius-lg); padding: 30px; color: #cfe0ff; min-height: 220px;
}
.mock-panel .bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); margin-bottom: 12px; overflow: hidden; }
.mock-panel .bar span { display: block; height: 100%; border-radius: 4px; }

/* ---------- 数据统计 ---------- */
.stats-band { background: var(--brand-blue-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid .num { font-size: 34px; font-weight: 800; color: var(--brand-cyan); }
.stats-grid .label { font-size: 13.5px; color: #cfe0ff; margin-top: 6px; }

/* ---------- 用户评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-card); }
.review-card .stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; }
.review-card p.content { font-size: 14px; color: var(--text-main); margin-bottom: 14px; }
.review-card .who { font-size: 13px; color: var(--text-sub); font-weight: 600; }

/* ---------- 对比表格 ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--border-c); font-size: 14px; text-align: left; }
.compare-table th { background: var(--bg-light); font-weight: 700; }
.compare-table td.brand-col { font-weight: 800; color: var(--brand-blue); }
.compare-table .yes { color: var(--down-green); font-weight: 700; }
.compare-table .no { color: var(--text-sub); }

/* ---------- FAQ 手风琴（details/summary） ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border-c); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .2s; color: var(--brand-blue); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--text-sub); font-size: 14px; }

/* ---------- 中文页专属 ---------- */
.article-page { background: #fff; }
.article-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.article-page h2 { font-size: 22px; font-weight: 800; margin: 34px 0 14px; color: var(--brand-blue); }
.article-page p { color: var(--text-main); margin-bottom: 14px; font-size: 15.5px; }
.cta-banner {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border-radius: var(--radius-lg); padding: 40px; text-align: center; color: #fff; margin-top: 40px;
}
.cta-banner h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.cta-banner a.btn-primary { color: #06251f; }

/* ---------- Footer ---------- */
footer { background: var(--brand-blue-dark); color: #b9c8e6; padding: 40px 0 28px; font-size: 13px; }
footer .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
footer .foot-links { display: flex; gap: 26px; }
footer .foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; text-align: center; line-height: 1.9; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .grid-6, .platform-row, .stats-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-detail, .feature-detail.reverse { flex-direction: column; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid-6, .platform-row, .stats-grid, .review-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
