/* ============================================
   Hermes 报告中心 · 设计系统
   作者：腾讯云端 Hermes · 2026-09-11
   风格：现代专业 · 深色主题 · 财经报告
   ============================================ */

:root {
  /* 主色系 - 深蓝调 */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f172a;
  --bg-card: #1a2236;
  --bg-card-hover: #232d47;
  --bg-elevated: #283354;

  /* 文字 */
  --text-primary: #e6edf7;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* 强调色 */
  --accent-gold: #fbbf24;
  --accent-gold-dim: #d97706;
  --accent-blue: #60a5fa;
  --accent-cyan: #22d3ee;

  /* 状态色 */
  --color-bull: #10b981;
  --color-bear: #ef4444;
  --color-warn: #f59e0b;
  --color-info: #3b82f6;

  /* 边距 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.5);
  --glow-gold: 0 0 20px rgba(251,191,36,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at top, #1a2845 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, #1f1233 0%, transparent 50%),
    var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HERO / 首页
   ============================================ */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero-meta {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   容器
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  flex: 1;
  width: 100%;
}

/* ============================================
   报告卡片 (首页列表)
   ============================================ */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.report-card {
  display: block;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26,34,54,0.6) 100%);
  border: 1px solid rgba(96,165,250,0.15);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.report-card:hover {
  background: linear-gradient(135deg, var(--bg-card-hover) 0%, rgba(35,45,71,0.8) 100%);
  border-color: rgba(251,191,36,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.report-card:hover::before {
  transform: scaleX(1);
}

.report-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.report-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.report-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================================
   标签
   ============================================ */
.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: rgba(96,165,250,0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 0.4rem;
  margin-bottom: 0.3rem;
}

.tag-gold {
  background: rgba(251,191,36,0.1);
  color: var(--accent-gold);
  border-color: rgba(251,191,36,0.3);
}

.tag-cyan {
  background: rgba(34,211,238,0.1);
  color: var(--accent-cyan);
  border-color: rgba(34,211,238,0.3);
}

.tag-bull {
  background: rgba(16,185,129,0.1);
  color: var(--color-bull);
  border-color: rgba(16,185,129,0.3);
}

.tag-bear {
  background: rgba(239,68,68,0.1);
  color: var(--color-bear);
  border-color: rgba(239,68,68,0.3);
}

/* ============================================
   报告详情页
   ============================================ */
.report-page {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem 4rem;
  margin: 2rem 0;
  border: 1px solid rgba(96,165,250,0.1);
  box-shadow: var(--shadow-md);
}

.report-header {
  border-bottom: 1px solid rgba(96,165,250,0.15);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.report-header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.report-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.report-summary {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
  padding: 1rem 1.5rem;
  background: rgba(96,165,250,0.05);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============================================
   文章正文
   ============================================ */
.report-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.report-body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(251,191,36,0.3);
  position: relative;
}

.report-body h2::before {
  content: '◆';
  color: var(--accent-gold);
  margin-right: 0.5rem;
  font-size: 0.8em;
}

.report-body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 2.5rem 0 1rem;
}

.report-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 0.8rem;
}

.report-body p {
  margin: 1rem 0;
  color: var(--text-primary);
}

.report-body strong {
  color: var(--accent-gold);
  font-weight: 600;
}

.report-body em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 500;
}

.report-body ul, .report-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 0.5rem;
}

.report-body li {
  margin: 0.6rem 0;
  color: var(--text-primary);
}

.report-body li::marker {
  color: var(--accent-gold);
}

/* ============================================
   引用块
   ============================================ */
.report-body blockquote {
  border-left: 4px solid var(--accent-gold);
  background: rgba(251,191,36,0.05);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
}

.report-body blockquote p {
  margin: 0.3rem 0;
}

/* ============================================
   表格
   ============================================ */
.report-body table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(96,165,250,0.15);
  display: block;
  overflow-x: auto;
}

.report-body thead {
  background: linear-gradient(135deg, rgba(96,165,250,0.15) 0%, rgba(34,211,238,0.1) 100%);
}

.report-body th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(96,165,250,0.3);
  white-space: nowrap;
}

.report-body td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(96,165,250,0.08);
  color: var(--text-primary);
  vertical-align: top;
}

.report-body tbody tr:last-child td {
  border-bottom: none;
}

.report-body tbody tr:hover {
  background: rgba(96,165,250,0.05);
}

/* ============================================
   代码块
   ============================================ */
.report-body code {
  font-family: "SF Mono", "JetBrains Mono", Monaco, Consolas, monospace;
  background: rgba(96,165,250,0.1);
  color: var(--accent-cyan);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.88em;
  border: 1px solid rgba(96,165,250,0.15);
}

.report-body pre {
  background: #0a0e1a;
  color: var(--text-primary);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
  border: 1px solid rgba(96,165,250,0.2);
}

.report-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  border: none;
  font-size: inherit;
}

.report-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(251,191,36,0.4) 50%, transparent 100%);
  margin: 3rem 0;
}

/* ============================================
   来源
   ============================================ */
.report-source {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(96,165,250,0.15);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: rgba(10,14,26,0.5);
  border-top: 1px solid rgba(96,165,250,0.1);
  margin-top: auto;
}

footer p {
  margin: 0.4rem 0;
}

footer a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent-gold);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 3rem 1rem 2rem; }
  .container { padding: 0 1rem 2rem; }
  .reports-grid { grid-template-columns: 1fr; }
  .report-page { padding: 1.5rem 1.2rem; margin: 1rem 0; border-radius: var(--radius-md); }
  .report-header h1 { font-size: 1.6rem; }
  .report-body h2 { font-size: 1.3rem; margin-top: 2.5rem; }
  .report-body h3 { font-size: 1.15rem; }
  .report-body table { font-size: 0.85rem; }
  .report-body th, .report-body td { padding: 0.6rem 0.7rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .report-card { padding: 1.3rem; }
}

/* ============================================
   滚动条
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* ============================================
   选择高亮
   ============================================ */
::selection {
  background: rgba(251,191,36,0.3);
  color: var(--text-primary);
}