/* 东方财富下载落地站 · 红色行情门户风 */
:root {
  --brand: #C8102E;
  --brand-deep: #8B0A1E;
  --brand-dark: #6B0818;
  --up: #E53935;
  --down: #1B8A4A;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --bg-mute: #EEEEEE;
  --text: #222222;
  --text-sec: #555555;
  --text-mute: #888888;
  --line: #E0E0E0;
  --max: 1100px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.topbar {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), #E53935);
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand);
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--text-sec);
  padding: 8px 14px;
  font-size: 0.95rem;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--brand);
  background: rgba(200, 16, 46, 0.06);
  text-decoration: none;
}

.nav a.active {
  color: var(--brand);
  font-weight: 700;
  background: rgba(200, 16, 46, 0.08);
  border-bottom: 2px solid var(--brand);
  border-radius: 2px 2px 0 0;
}

.ticker {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-sec);
  flex-wrap: wrap;
}

.ticker-label {
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.ticker-items span {
  white-space: nowrap;
}

.up {
  color: var(--up);
}

.down {
  color: var(--down);
}

.hero {
  position: relative;
  background: linear-gradient(165deg, #6B0818 0%, #8B0A1E 35%, #C8102E 70%, #A00E28 100%);
  color: #fff;
  overflow: hidden;
  min-height: 420px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px 72px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--brand);
}

.btn-primary:hover {
  background: #F5F5F5;
  color: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-download {
  background: var(--brand);
  color: #fff;
  min-width: 180px;
}

.btn-download:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-download:disabled {
  opacity: 0.75;
  cursor: wait;
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-outline:hover {
  background: rgba(200, 16, 46, 0.06);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sec-title {
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.sec-desc {
  margin: 0 0 32px;
  color: var(--text-sec);
  max-width: 780px;
  padding-left: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  padding: 8px 0 8px 4px;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item p {
  margin: 0;
  color: var(--text-sec);
  font-size: 0.95rem;
}

.icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand);
}

.endorse {
  background: var(--brand-dark);
  color: #fff;
  padding: 28px 0;
}

.endorse-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.endorse-item strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.endorse-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.deep-block {
  margin-bottom: 36px;
}

.deep-block:last-child {
  margin-bottom: 0;
}

.deep-block h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--text);
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}

.deep-block p {
  margin: 0 0 12px;
  color: var(--text-sec);
}

.deep-block p:last-child {
  margin-bottom: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px 22px;
}

.platform-box h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-box p {
  margin: 0 0 18px;
  color: var(--text-sec);
  font-size: 0.95rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.compare-table tr:nth-child(even) td {
  background: var(--bg-soft);
}

.compare-table .hl {
  color: var(--brand);
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 20px;
}

.review-item {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 18px;
  background: transparent;
}

.review-item blockquote {
  margin: 0 0 10px;
  color: var(--text-sec);
  font-style: normal;
}

.review-meta {
  font-size: 0.85rem;
  color: var(--text-mute);
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.faq-item p {
  margin: 0 0 10px;
  color: var(--text-sec);
  font-size: 0.95rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 1.05rem;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--text-sec);
}

.req-list {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--text-sec);
}

.req-list li {
  margin-bottom: 8px;
}

.cta-banner {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.cta-banner p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
}

.article h2 {
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: 1.35rem;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 28px 0 12px;
  font-size: 1.12rem;
  color: var(--text);
}

.article p {
  margin: 0 0 16px;
  color: var(--text-sec);
}

.article ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-sec);
}

.article li {
  margin-bottom: 8px;
}

.inline-cta {
  margin: 28px 0;
  padding: 22px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inline-cta p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  max-width: 560px;
}

.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 36px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}

.page-hero .lead {
  margin: 0;
  padding-left: 18px;
  color: var(--text-sec);
  max-width: 760px;
}

.main-dl {
  text-align: center;
  padding: 20px 0 8px;
}

.main-dl .hint {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--text-mute);
}

.ver-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ver-item:last-child {
  border-bottom: none;
}

.ver-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.ver-item p {
  margin: 0;
  color: var(--text-sec);
  font-size: 0.95rem;
}

.site-footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 40px 0 28px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-safe {
  margin: 0 0 16px;
  color: #ddd;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-safe svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #6ecf8a;
}

.footer-copy {
  margin: 0;
  color: #999;
  border-top: 1px solid #333;
  padding-top: 16px;
}

.footer-nav {
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-nav a {
  color: #ccc;
}

.footer-nav a:hover {
  color: #fff;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4,
  .endorse-inner,
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: auto;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .hero-inner {
    padding: 44px 16px 52px;
  }

  .section {
    padding: 40px 0;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .endorse-inner,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
