/* 套1：经典财经红金门户风 */
:root {
  --red: #B71C1C;
  --red-dark: #8E1515;
  --gold: #C9A227;
  --gold-soft: #E8D48B;
  --bg: #F3F4F6;
  --bg-card: #FFFFFF;
  --text: #1F2937;
  --text-muted: #4B5563;
  --border: #E5E7EB;
  --footer-bg: #1A1A1A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(183, 28, 28, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

/* Ticker */
.ticker-bar {
  background: linear-gradient(90deg, #7A1010, var(--red), #9A1717);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--gold);
}

.ticker-track {
  display: inline-block;
  padding: 8px 0;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track span {
  margin-right: 48px;
}

.ticker-track .up {
  color: #FFCDD2;
}

.ticker-track .down {
  color: var(--gold-soft);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #7A1010 0%, var(--red) 42%, #8E1515 70%, #5C0E0E 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.22), transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-deco {
  opacity: 0.92;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-primary {
  background: var(--gold);
  color: #1A1200;
}

.btn-primary:hover:not(:disabled) {
  background: #D4B03A;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
}

.btn-outline:hover:not(:disabled) {
  background: #FBEAEA;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--red);
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}

.section-head p {
  color: var(--text-muted);
  max-width: 48em;
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 52em;
}

.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.split-title h2 {
  font-size: 1.55rem;
  color: var(--red);
  margin-bottom: 12px;
}

.split-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose p {
  margin-bottom: 1em;
  color: var(--text);
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.4em 0 0.6em;
  color: #111827;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.4em;
}

.prose li {
  margin-bottom: 0.45em;
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 22px 20px;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin: 12px 0 8px;
  color: #111827;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-wrap {
  width: 40px;
  height: 40px;
  color: var(--red);
}

/* Platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 18px;
  text-align: center;
}

.platform-card h3 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
}

.platform-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  min-height: 3.2em;
}

.platform-card .icon-wrap {
  margin: 0 auto;
  color: var(--red);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat-box {
  background: linear-gradient(180deg, #fff, #FAFAFA);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
}

.stat-box .num {
  display: block;
  font-size: 1.75rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-box .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px;
}

.review-item .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.review-item p {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.review-item .who {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

.compare-table th {
  background: var(--red);
  color: #fff;
  font-weight: 600;
}

.compare-table tr:nth-child(even) td {
  background: #FAFAFA;
}

.compare-table .yes {
  color: var(--red);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cta-band p {
  margin-bottom: 20px;
  opacity: 0.95;
}

/* Download page specifics */
.dl-hero {
  padding-bottom: 56px;
}

.dl-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
}

.dl-panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
}

.dl-panel h2 {
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.dl-panel h3 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 56px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.req-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
}

.req-box h3 {
  color: var(--red);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.version-list {
  list-style: none;
}

.version-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.version-list li:last-child {
  border-bottom: none;
}

.version-list strong {
  color: var(--red);
}

/* Soft article */
.article-body h2 {
  font-size: 1.45rem;
  color: var(--red);
  margin: 1.6em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 1.2em 0 0.55em;
  color: #111827;
}

.article-body p {
  margin-bottom: 1em;
}

.article-body ul {
  margin: 0 0 1em 1.3em;
}

.soft-cta {
  background: #fff;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--red);
  padding: 22px 24px;
  margin: 28px 0;
}

.soft-cta p {
  margin-bottom: 14px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #D1D5DB;
  padding: 40px 0 28px;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #333;
}

.footer-nav a {
  color: #E5E7EB;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--gold);
}

.footer-safe {
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-safe strong {
  color: var(--gold);
}

.footer-copy {
  color: #9CA3AF;
  line-height: 1.7;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.gold { color: var(--gold); }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .dl-main-grid,
  .feature-grid,
  .platform-grid,
  .stats-row,
  .review-grid,
  .req-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .platform-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .section {
    padding: 44px 0;
  }
}
