/* ═══════════════════════════════════════════════════════
   SOUCHE IPO TRACKER — Light Editorial Theme
   ═══════════════════════════════════════════════════════ */

/* ---------- VARIABLES ---------- */
:root {
  --bg-page: #faf9f7;
  --bg-warm: #f5f3ef;
  --bg-card: #ffffff;
  --bg-card-alt: #fdfcfa;
  --bg-accent: #1a1a2e;

  --ink: #1a1a2e;
  --ink-secondary: #4a4a5a;
  --ink-muted: #8a8a9a;
  --ink-faint: #b5b5c2;

  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-bg: rgba(184, 134, 11, 0.06);
  --gold-border: rgba(184, 134, 11, 0.18);

  --green: #16a34a;
  --green-bg: rgba(22, 163, 74, 0.07);
  --green-border: rgba(22, 163, 74, 0.18);

  --blue: #2563eb;
  --blue-bg: rgba(37, 99, 235, 0.06);

  --red: #dc2626;

  --border: rgba(26, 26, 46, 0.08);
  --border-strong: rgba(26, 26, 46, 0.14);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'system-ui', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Menlo', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-faint) transparent;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: #fff;
}

a { color: inherit; text-decoration: none; }

/* ---------- SUBTLE TEXTURE ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.018'/%3E%3C/svg%3E");
}

/* ═══════════ NAVIGATION ═══════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .logo-mark {
  width: 30px; height: 30px;
  background: var(--bg-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.nav-brand .brand-text {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: var(--gold-bg);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 500;
}

.nav-status .pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22,163,74,0.35); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 4rem;
  position: relative;
  text-align: center;
}

/* Warm radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,134,11,0.05) 0%, transparent 70%);
  top: -100px; right: -150px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 2rem;
  animation: fadeInDown 0.7s ease;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: var(--ink);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  max-width: 560px;
  font-weight: 400;
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-subtitle strong {
  color: var(--ink);
  font-weight: 600;
}

/* Countdown */
.countdown-wrap {
  animation: fadeInUp 0.7s ease 0.3s both;
  margin-bottom: 3rem;
}

.countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px 10px;
  min-width: 80px;
  box-shadow: var(--shadow-sm);
}

.countdown-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.countdown-unit {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-faint);
  margin-top: 6px;
  font-weight: 500;
}

/* Key metrics */
.hero-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.hero-metric {
  text-align: center;
}

.hero-metric .value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
}

.hero-metric .label {
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 3px;
  font-weight: 500;
}

/* ═══════════ SECTIONS ═══════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.6rem;
  padding: 3px 10px;
  background: var(--gold-bg);
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  max-width: 550px;
}

/* ═══════════ NEWS ═══════════ */
.news-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-last-update {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.refresh-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.news-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.news-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-date-badge {
  min-width: 56px;
  text-align: center;
  flex-shrink: 0;
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 8px 6px 6px;
}

.news-date-badge .day {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.news-date-badge .month {
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.news-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.4;
  color: var(--ink);
}

.news-body p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body .news-source {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

.news-empty {
  text-align: center;
  padding: 3rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* ═══════════ TIMELINE ═══════════ */
.timeline {
  position: relative;
  padding-left: 2.8rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border) 65%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.8rem;
  top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.timeline-item.completed .timeline-dot {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 4px var(--green-bg);
}

.timeline-item.current .timeline-dot {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 4px var(--gold-bg);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184,134,11,0.1); }
  50% { box-shadow: 0 0 0 10px rgba(184,134,11,0); }
}

.timeline-item.pending .timeline-dot {
  background: var(--bg-warm);
  border: 2px solid var(--ink-faint);
  color: var(--ink-faint);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.timeline-item.current .timeline-card {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, #fff, rgba(184,134,11,0.03));
  box-shadow: var(--shadow-md);
}

.timeline-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.timeline-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-badge {
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.timeline-item.completed .stage-badge {
  background: var(--green-bg);
  color: var(--green);
}

.timeline-item.current .stage-badge {
  background: var(--gold-bg);
  color: var(--gold);
}

.timeline-item.pending .stage-badge {
  background: rgba(138,138,154,0.08);
  color: var(--ink-muted);
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.timeline-card .timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* ═══════════ KNOWLEDGE CARDS ═══════════ */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.knowledge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.knowledge-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.knowledge-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.knowledge-card:hover::after { transform: scaleX(1); }

.knowledge-card .card-icon {
  width: 40px; height: 40px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 1rem;
}

.knowledge-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.knowledge-card p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.knowledge-card .card-detail {
  display: none;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.knowledge-card.expanded .card-detail { display: block; }

.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gold);
  margin-top: 0.8rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}

.expand-btn:hover { color: var(--gold-light); }

/* ═══════════ GLOSSARY ═══════════ */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}

.glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.glossary-item:hover { border-color: var(--gold-border); }

.glossary-item .term {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.glossary-item .definition {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ═══════════ FAQ ═══════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover { border-color: var(--gold-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-question .arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
  color: var(--ink-faint);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.3rem 1.3rem;
}

.faq-answer p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.8;
}

/* ═══════════ TICKER ═══════════ */
.ticker-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: scroll 45s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 1.5rem;
  white-space: nowrap;
  font-size: 12px;
  font-family: var(--font-mono);
}

.ticker-label { color: var(--ink-muted); }
.ticker-value { color: var(--ink); font-weight: 500; }
.ticker-value.up { color: var(--green); }
.ticker-divider { color: var(--ink-faint); opacity: 0.3; padding: 0 0.3rem; }

/* ═══════════ FOOTER ═══════════ */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-muted);
}

footer a { color: var(--gold); }
footer a:hover { text-decoration: underline; }

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ PAGE HEADER (sub-pages) ═══════════ */
.page-header {
  padding: 120px 0 3rem;
  text-align: center;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.page-header .container { max-width: 800px; margin: 0 auto; padding: 0 2rem; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.page-header .page-desc {
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ═══════════ ARTICLE LAYOUT ═══════════ */
.article-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.article-layout h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  color: var(--ink);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold-bg);
}

.article-layout h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}

.article-layout p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.article-layout ul, .article-layout ol {
  margin: 0.5rem 0 1.2rem 1.5rem;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.85;
}

.article-layout li { margin-bottom: 0.4rem; }

.article-layout strong { color: var(--ink); font-weight: 600; }

.article-layout code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  background: var(--bg-warm);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold);
}

.article-layout blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1.2rem;
  margin: 1.2rem 0;
  background: var(--gold-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-secondary);
}

.article-layout blockquote p { margin-bottom: 0; }

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.info-box.green { border-left-color: var(--green); }
.info-box.blue { border-left-color: var(--blue); }

.info-box h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.info-box p { margin-bottom: 0.3rem; }

/* Article navigation (prev/next) */
.article-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-nav a {
  flex: 1;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-nav a:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-nav .nav-label {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.article-nav .nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.article-nav .next { text-align: right; }

/* ═══════════ HOME SECTION CARDS (for index.html hub) ═══════════ */
.home-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.home-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.home-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.home-card .card-icon { font-size: 1.5rem; margin-bottom: 1rem; }

.home-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-card p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  flex: 1;
}

.home-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 1.2rem;
}

/* Knowledge card as link */
.knowledge-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ═══════════ GLOSSARY SEARCH ═══════════ */
.glossary-search {
  margin-bottom: 2rem;
}

.glossary-search input {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-card);
  color: var(--ink);
  outline: none;
  transition: var(--transition);
}

.glossary-search input:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-bg);
}

.glossary-search input::placeholder { color: var(--ink-faint); }

/* Category labels for glossary */
.glossary-category {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold-bg);
  color: var(--ink);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1rem; }
  section { padding: 3rem 0; }
  .countdown { gap: 0.6rem; }
  .countdown-item { min-width: 64px; padding: 10px 14px 8px; }
  .hero-metrics { gap: 1.5rem; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 0.6rem; }
  .news-date-badge { display: flex; gap: 6px; align-items: baseline; }
  .timeline { padding-left: 2.2rem; }
  .timeline-dot { left: -2.2rem; width: 18px; height: 18px; font-size: 8px; }
  .news-header-row { flex-direction: column; align-items: flex-start; }
}

/* ═══════════ PAGINATION ═══════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.pagination-btn {
  padding: 0.7rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
  background: var(--gold-bg);
  border-color: var(--gold-border);
  color: var(--gold);
}

.pagination-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-info {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: 0.015em;
}

/* 可信度徽章 */
.credibility-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.75em;
  opacity: 0.8;
}
