/* 东方财富落地站 · 第1套 · 红色财经门户风 */
:root {
  --primary: #C8102E;
  --primary-dark: #9E0C24;
  --primary-light: #E83A52;
  --bg: #F5F2EF;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --border: #E5DED6;
  --gold: #C9A227;
  --shadow: 0 4px 20px rgba(200, 16, 46, 0.08);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

p { margin-bottom: 0.9rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; opacity: 0.95; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; }
.nav-links a.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
}

/* —— Hero —— */
.hero {
  position: relative;
  background: linear-gradient(135deg, #C8102E 0%, #9E0C24 55%, #7A0A1C 100%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: 0.75; cursor: wait; transform: none; }
.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover { background: #FFF5F5; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-red {
  background: var(--primary);
  color: #fff;
}
.btn-red:hover { background: var(--primary-dark); color: #fff; }
.btn-dark {
  background: #1A1A1A;
  color: #fff;
}
.btn-dark:hover { background: #333; color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* —— 通用区块 —— */
.section {
  padding: 64px 0;
}
.section-alt { background: #fff; }
.section-head {
  margin-bottom: 2rem;
  max-width: 720px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-family: var(--sans);
}
.section-head p { font-size: 1.02rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.feature-block .icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--primary);
}
.feature-block .icon-wrap svg { width: 48px; height: 48px; }
.feature-block h3 { color: var(--text); }
.feature-block p { font-size: 0.95rem; }

.deep-feature {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.deep-feature:last-child { border-bottom: none; }
.deep-feature .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.deep-feature h3 { margin-bottom: 0.5rem; }
.deep-feature p { margin-bottom: 0.7rem; }

/* 下载平台卡 */
.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.platform-card .plat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--primary);
}
.platform-card .plat-icon svg { width: 56px; height: 56px; margin: 0 auto; }
.platform-card h3 { margin-bottom: 0.5rem; }
.platform-card p { font-size: 0.9rem; margin-bottom: 1.1rem; text-align: left; }
.platform-card .btn { width: 100%; }

/* 数据背书 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 1.5rem;
}
.stat-item {
  background: #fff;
  border-top: 3px solid var(--primary);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}
.stat-item .num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 对比表 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.compare-table thead th {
  background: var(--primary);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
}
.compare-table tbody tr:nth-child(even) { background: #FAF7F4; }
.compare-table .hilite { color: var(--primary); font-weight: 600; }

/* 评价 */
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}
.review-card .stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: var(--sans);
}
.review-card .author {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.review-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* FAQ */
.faq-list { margin-top: 0.5rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 24px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}
.faq-item p { font-size: 0.95rem; margin-bottom: 0.6rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* 步骤 */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}
.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 24px;
}
.step-item .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.step-item h3 { margin-bottom: 0.4rem; }

/* 系统要求 */
.req-block {
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
}
.req-block ul {
  margin: 10px 0 0 1.2rem;
  color: var(--text-muted);
}
.req-block li { margin-bottom: 6px; }

/* 版本时间线 */
.timeline { border-left: 3px solid var(--primary); padding-left: 24px; margin-top: 1rem; }
.timeline-item { margin-bottom: 24px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item .ver {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.timeline-item .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* 软文 */
.article-body h2 { margin-top: 2.2rem; margin-bottom: 0.9rem; color: var(--primary-dark); }
.article-body h3 { margin-top: 1.5rem; color: var(--text); }
.article-body p { margin-bottom: 1rem; font-size: 1.02rem; color: var(--text-muted); }
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 36px 32px;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.2rem; }
.cta-banner .btn-primary { margin: 0 6px; }

/* 页脚 */
.site-footer {
  background: #1A1214;
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0 32px;
  font-size: 0.88rem;
  line-height: 1.7;
}
.site-footer .footer-verify {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.site-footer .footer-verify svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #6FCF97;
  margin-top: 2px;
}
.site-footer .footer-verify strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.site-footer .footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer .footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.site-footer .footer-nav a:hover { color: #fff; }

/* download 页主推区 */
.download-hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.download-hero-panel h2 { margin-bottom: 0.8rem; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 1rem;
}

/* 安全提示条 */
.safe-note {
  background: #FFF8E7;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 响应式 */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links a { padding: 8px 10px; font-size: 0.85rem; }
  .brand { font-size: 1.1rem; }
  .hero { padding: 48px 0 56px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .deep-feature { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 48px 0; }
  .compare-table { font-size: 0.85rem; display: block; overflow-x: auto; }
  .download-hero-panel { padding: 24px 18px; margin-top: -24px; }
}
