/* ===================================================================
   Insights Shared Styles
   继承主站 index.html 的设计系统（白底 + 衬线 + #005dc7 蓝）
   =================================================================== */

:root {
  --color-accent: #005dc7;
  --color-accent-light: rgba(0, 93, 199, 0.08);
  --color-accent-medium: rgba(0, 93, 199, 0.15);
  --color-ink: #1a1a1a;
  --color-bg: #ffffff;
  --color-border: #e5e5e5;
  --color-subtle: #666666;
  --color-muted: #999999;
  --color-red: #d9381e;
  --color-green: #22c55e;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
  --nav-height: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: #eef2f7;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ===== Navigation (统一使用主站蓝色导航) ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,62,135,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  height: var(--nav-height);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 30px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #ffffff; }
.nav-links a.active { color: #ffffff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: rgba(255,255,255,0.25); }
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #ffffff;
  position: absolute; left: 6px;
  transition: all 0.3s;
}
.nav-hamburger span:nth-child(1) { top: 9px; }
.nav-hamburger span:nth-child(2) { top: 15px; }
.nav-hamburger span:nth-child(3) { top: 21px; }

/* ===== Typography ===== */
h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-ink);
}
h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ink);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: 12px;
}
h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
}
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* ===== Page shell (floating paper on gray canvas) ===== */
.page-main {
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(15, 30, 60, 0.08);
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.breadcrumb {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--color-subtle); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span.separator { margin: 0 8px; color: var(--color-border); }
.breadcrumb span.current { color: var(--color-ink); }

/* ===== Insights Hero ===== */
.insights-hero {
  margin-bottom: 56px;
}
.insights-hero h1 { font-size: 42px; margin-bottom: 12px; }
.insights-hero-sub {
  font-size: 18px;
  color: var(--color-subtle);
  line-height: 1.6;
}

/* ===== Featured article (list page) ===== */
.feature-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
}
.feature-article:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.feature-article-img {
  background: linear-gradient(135deg, #003d82 0%, #005dc7 50%, #1a7ae6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.feature-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-article-text {
  padding: 40px 40px 40px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border-radius: 2px;
}
.feature-article-text h2 {
  font-size: 28px;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 14px;
  line-height: 1.35;
}
.feature-article-text h2 a { color: var(--color-ink); transition: color 0.2s; }
.feature-article-text h2 a:hover { color: var(--color-accent); }
.feature-article-summary {
  font-size: 15px;
  color: var(--color-subtle);
  line-height: 1.75;
  margin-bottom: 22px;
}
.article-meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.article-meta span + span::before {
  content: '·';
  margin: 0 8px;
  color: var(--color-border);
}
.read-more {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.read-more::after {
  content: '→';
  transition: transform 0.2s;
}
.read-more:hover::after { transform: translateX(4px); }

/* ===== Insights grid (2×2 平权布局) ===== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  color: inherit;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 30, 60, 0.1);
  border-color: var(--color-accent-medium);
}
.insight-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f7fa;
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
}
.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(15, 30, 60, 0.1);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 30, 60, 0.06);
  transition: transform 0.4s ease;
}
.insight-card:hover .insight-card-image img { transform: scale(1.03); }
.insight-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insight-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 12px;
}
.insight-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0 0 12px;
}
.insight-card-summary {
  font-size: 15px;
  color: var(--color-subtle);
  line-height: 1.75;
  margin: 0 0 18px;
  flex: 1;
}
.insight-card-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: auto;
}
.insight-card-meta span + span::before {
  content: '·';
  margin: 0 6px;
  color: var(--color-border);
}

@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Article inline figure ===== */
.article-figure {
  margin: 36px 0;
  text-align: center;
}
.article-figure img {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 30, 60, 0.08);
  margin: 0 auto;
  background: #fff;
}
.article-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== "更多陆续发布" divider ===== */
.coming-soon-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px 0 48px;
}
.coming-soon-divider::before,
.coming-soon-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.coming-soon-divider span {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* ===== CTA block (list page bottom + article bottom) ===== */
.insights-cta {
  background: var(--color-accent-light);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}
.insights-cta h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.insights-cta p {
  font-size: 15px;
  color: var(--color-subtle);
  margin-bottom: 24px;
}
.insights-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn-primary-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary-cta:hover { background: #004aaa; }
.cta-secondary-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.cta-secondary-links a {
  color: var(--color-subtle);
  transition: color 0.2s;
}
.cta-secondary-links a:hover { color: var(--color-accent); }

/* ===== Article detail page ===== */
.article-detail {
  max-width: 720px;
  margin: 0 auto;
}
.article-detail-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}
.article-detail-header h1 {
  font-size: 40px;
  line-height: 1.25;
  margin: 16px 0 20px;
}
.article-lead {
  font-size: 17px;
  color: var(--color-subtle);
  line-height: 1.8;
  margin-top: 24px;
}
.article-content h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 20px;
}
.article-content h2:first-child { margin-top: 0; }
.article-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-ink);
  margin-bottom: 20px;
}
.article-content p strong {
  font-weight: 700;
  color: var(--color-ink);
}
.article-content a { border-bottom: 1px solid var(--color-accent-medium); }
.article-content a:hover { border-bottom-color: var(--color-accent); }

/* Key-stat callout (76% → 3.9%) */
.stat-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 20px;
  background: var(--color-accent-light);
  border-radius: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.stat-callout-item {
  text-align: center;
}
.stat-callout-value {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-callout-value.red { color: var(--color-red); }
.stat-callout-value.green { color: var(--color-green); }
.stat-callout-label {
  font-size: 13px;
  color: var(--color-subtle);
}
.stat-callout-arrow {
  font-size: 28px;
  color: var(--color-muted);
}

/* FAQ */
.faq-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.faq-section h2 {
  font-size: 24px;
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 12px;
}
.faq-answer {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-subtle);
}

/* Article bottom CTA (blue banner) */
.article-bottom-cta {
  margin-top: 64px;
  background: linear-gradient(135deg, #003d82 0%, #005dc7 50%, #1a7ae6 100%);
  color: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}
.article-bottom-cta h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.article-bottom-cta p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 24px; }
.article-bottom-cta .btn-white {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: var(--color-accent);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 6px;
  transition: background 0.2s;
}
.article-bottom-cta .btn-white:hover { background: #f0f4ff; }
.article-bottom-cta .btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 6px;
  transition: background 0.2s;
}
.article-bottom-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ===== Footer (继承主站深色 footer) ===== */
.footer-wrapper { background: #0a1628; }
.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  text-align: center;
}
.footer-company {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 24px 0;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}
.footer-copy a { color: inherit; }

/* ===== Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  body { background: #ffffff; }
  .page-main {
    max-width: none;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  .feature-article { grid-template-columns: 1fr; }
  .feature-article-img { min-height: 240px; }
  .feature-article-text { padding: 32px 24px; }
  .insights-hero h1 { font-size: 32px; }
  .article-detail-header h1 { font-size: 30px; }
  .stat-callout { gap: 16px; padding: 24px 16px; }
  .stat-callout-value { font-size: 36px; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-top: 1px solid var(--color-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--color-subtle); }
  .nav-links a:hover, .nav-links a.active { color: var(--color-accent); }
  .nav-hamburger { display: block; }
  .insights-cta { padding: 32px 24px; }
  .article-bottom-cta { padding: 32px 20px; }
  .article-bottom-cta .btn-white,
  .article-bottom-cta .btn-ghost {
    display: block;
    margin: 8px 0;
  }
}

/* ===== Comparison Table ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table thead th {
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  background: #f8fafc;
}
.comparison-table tbody tr:hover { background: var(--color-accent-light); }
.comparison-table td:last-child {
  color: var(--color-accent);
  font-weight: 500;
}
@media (max-width: 768px) {
  .comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 480px; }
}
