/* ==========================================================================
   HTX RẠCH GẦM - EMAGAZINE BÁO KINH TẾ CAO CẤP
   Design Tokens & Modern Editorial Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
  /* Color Palette */
  --navy-950: #060e1a;
  --navy-900: #0b192c;
  --navy-850: #0f233d;
  --navy-800: #142d4c;
  --navy-700: #1e3e62;
  --river-blue: #1e4e79;
  --river-cyan: #2b7a78;
  --river-teal: #17a2b8;
  --gold-500: #d4af37;
  --gold-400: #dfb15b;
  --gold-600: #b89025;
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --bg-body: #f8fafc;
  --bg-paper: #ffffff;
  --bg-slate: #f1f5f9;
  --bg-dark-section: #081426;

  --text-dark-primary: #0f172a;
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748b;
  
  --text-light-primary: #f8fafc;
  --text-light-secondary: #cbd5e1;
  --text-light-muted: #94a3b8;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;

  /* Spacing */
  --content-max-width: 760px;
  --wide-max-width: 1180px;
  --full-max-width: 1400px;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -5px rgba(11, 25, 44, 0.08), 0 4px 6px -2px rgba(11, 25, 44, 0.04);
  --shadow-elevated: 0 20px 40px -10px rgba(11, 25, 44, 0.18);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-dark-primary);
  line-height: 1.85;
  font-size: 1.1875rem; /* 19px desktop font size */
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Reading Progress Indicator */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--river-blue), var(--gold-500));
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Container Utilities */
.article-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.wide-container {
  width: 100%;
  max-width: var(--wide-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.full-container {
  width: 100%;
  max-width: var(--full-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Base */
p {
  margin-bottom: 2rem;
  color: var(--text-dark-secondary);
  font-size: 1.1875rem; /* 19px */
  letter-spacing: -0.01em;
}

strong, b {
  font-weight: 700;
  color: var(--text-dark-primary);
}

h1, h2, h3, h4 {
  color: var(--text-dark-primary);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--navy-950);
  color: var(--text-light-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.1) brightness(0.85);
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(11, 25, 44, 0.4) 0%, rgba(6, 14, 26, 0.92) 80%),
              linear-gradient(180deg, rgba(6, 14, 26, 0.3) 0%, rgba(6, 14, 26, 0.8) 60%, var(--navy-950) 100%);
  z-index: 2;
}

/* Canvas River Particles Effect */
#river-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.magazine-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.magazine-tag .bullet-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-500);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-title span.highlight-gold {
  color: var(--gold-400);
  background: linear-gradient(135deg, #ffffff 20%, var(--gold-400) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Micro-Visual 3 Cards in Hero */
.hero-meta-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.meta-visual-card {
  background: rgba(15, 35, 61, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.meta-visual-card:hover {
  transform: translateY(-3px);
  background: rgba(20, 45, 76, 0.85);
}

.meta-visual-card.highlight-card {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(15, 35, 61, 0.8) 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.meta-visual-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.meta-visual-card.highlight-card .stat-number {
  color: var(--gold-400);
}

.meta-visual-card .stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light-secondary);
  line-height: 1.4;
}

/* 4 Điểm sáng ngược dòng Badge */
.reverse-current-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(6, 14, 26, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  width: fit-content;
  margin-top: 1rem;
}

.reverse-points-track {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.reverse-point {
  width: 9px;
  height: 9px;
  background-color: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-400);
  animation: reverseFlow 2.4s infinite ease-in-out;
}

.reverse-point:nth-child(1) { animation-delay: 0s; }
.reverse-point:nth-child(2) { animation-delay: 0.3s; }
.reverse-point:nth-child(3) { animation-delay: 0.6s; }
.reverse-point:nth-child(4) { animation-delay: 0.9s; }

@keyframes reverseFlow {
  0% { transform: translateX(12px) scale(0.6); opacity: 0.3; }
  50% { transform: translateX(0px) scale(1.2); opacity: 1; filter: brightness(1.3); }
  100% { transform: translateX(-12px) scale(0.6); opacity: 0.3; }
}

.reverse-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.02em;
}

/* Sapo Box */
.sapo-wrapper {
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem 2.25rem;
  backdrop-filter: blur(16px);
}

.sapo-text {
  font-size: 1.325rem; /* ~21px */
  font-weight: 500;
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: 0;
  font-style: normal;
}

/* ==========================================================================
   ARTICLE BODY & EDITORIAL SECTIONS
   ========================================================================== */
.editorial-section {
  padding: 5.5rem 0;
  position: relative;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
  flex: 1;
}

.section-divider-icon {
  color: var(--gold-500);
  font-size: 1.1rem;
}

.section-heading-wrapper {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-pretitle {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--river-blue);
  margin-bottom: 0.75rem;
  display: block;
}

.section-main-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.025em;
  line-height: 1.25;
  position: relative;
  display: inline-block;
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}

/* Dropcap */
.has-dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.8rem;
  line-height: 0.8;
  padding-top: 0.45rem;
  padding-right: 0.9rem;
  padding-bottom: 0.2rem;
  color: var(--navy-900);
  font-weight: 900;
}

/* Featured Pullquote / Highlight Box */
.editorial-quote-box {
  margin: 3.5rem 0;
  padding: 2.25rem 2.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--navy-800);
  box-shadow: var(--shadow-card);
  position: relative;
}

.editorial-quote-box .quote-content {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--navy-950);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Recognition Grid (Huân chương, Cúp, Giải thưởng) */
.achievement-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0 2.5rem 0;
}

.achievement-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.achievement-tag:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
}

.achievement-tag svg {
  color: var(--gold-600);
  flex-shrink: 0;
}

/* ==========================================================================
   PHOTO EDITORIAL BLOCKS (With Rich Parallax & Captions)
   ========================================================================== */
.photo-editorial-block {
  margin: 4.5rem 0;
  position: relative;
}

.photo-editorial-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--navy-900);
  box-shadow: var(--shadow-elevated);
}

.photo-editorial-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-editorial-frame:hover img {
  transform: scale(1.02);
}

.photo-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.photo-caption::before {
  content: '■';
  color: var(--gold-500);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* ==========================================================================
   INFOGRAPHIC 1: QUY MÔ RẠCH GẦM HÔM NAY
   ========================================================================== */
.infographic-wrapper {
  margin: 5rem 0;
  background: var(--navy-950);
  color: var(--text-light-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.infographic-bg-ambient {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 78, 121, 0.25) 0%, rgba(6, 14, 26, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.infographic-header {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  text-align: center;
}

.infographic-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  padding: 0.25rem 0.9rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.infographic-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Key Metrics Grid */
.metrics-primary-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.data-metric-card {
  background: rgba(15, 35, 61, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.data-metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(20, 45, 76, 0.8);
}

.data-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--river-blue);
  transition: background 0.3s ease;
}

.data-metric-card:hover::before {
  background: var(--gold-400);
}

.metric-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.metric-prefix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-400);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.metric-unit {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-400);
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  line-height: 1.45;
  font-weight: 500;
}

/* Secondary 2025 Performance Grid */
.performance-2025-block {
  position: relative;
  z-index: 2;
  background: rgba(8, 20, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  margin-bottom: 3.5rem;
}

.performance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.performance-header-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.performance-header-tag {
  font-size: 0.85rem;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
}

.performance-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.perf-stat-item {
  display: flex;
  flex-direction: column;
}

.perf-stat-value {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.perf-stat-value span {
  color: var(--gold-400);
}

.perf-stat-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.4;
}

/* SƠ ĐỒ CHUỖI LOGISTICS ĐƯỜNG THỦY (Pipeline Flow) */
.logistics-chain-section {
  position: relative;
  z-index: 2;
  background: rgba(11, 25, 44, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
}

.logistics-chain-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pipeline-nodes-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.pipeline-node {
  flex: 1;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pipeline-node:hover {
  background: rgba(30, 78, 121, 0.4);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.pipeline-node-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--gold-400);
}

.pipeline-node-name {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-light-primary);
  line-height: 1.3;
}

.pipeline-arrow {
  color: var(--gold-400);
  opacity: 0.6;
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: arrowPulse 2s infinite ease-in-out;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

/* Ports & Hubs Connections */
.logistics-connections-grid {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.connections-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light-secondary);
}

.connections-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.port-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 78, 121, 0.3);
  border: 1px solid rgba(43, 122, 120, 0.6);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.port-chip.international {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-400);
  color: var(--gold-400);
}

/* Financial Independence Callout */
.financial-independence-badge {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(20, 45, 76, 0.7) 0%, rgba(30, 78, 121, 0.4) 100%);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.financial-stat-text {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

.financial-stat-text strong {
  color: var(--gold-400);
}

/* ==========================================================================
   CHUYỂN CẢNH: DÒNG SÔNG THỜI GIAN (1979 - 2029)
   ========================================================================== */
.transition-timeline-section {
  position: relative;
  background-color: var(--bg-dark-section);
  color: var(--text-light-primary);
  padding: 7rem 0 6rem 0;
  overflow: hidden;
}

.timeline-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30, 78, 121, 0.2) 0%, rgba(8, 20, 38, 0) 70%);
  pointer-events: none;
}

.timeline-section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.timeline-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.timeline-subtitle {
  font-size: 1.1rem;
  color: var(--gold-400);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

/* Vertical / Meandering River Timeline */
.river-timeline-container {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 0;
  z-index: 2;
}

/* Timeline central line */
.river-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.river-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--river-teal) 50%, var(--gold-400) 100%);
  box-shadow: 0 0 12px var(--gold-500);
  transition: height 0.2s ease-out;
}

.timeline-milestone {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding: 0 2.5rem;
}

.timeline-milestone:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-milestone:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 3rem;
}

.milestone-node-dot {
  position: absolute;
  top: 0.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 3px solid var(--gold-400);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  z-index: 3;
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-milestone:nth-child(odd) .milestone-node-dot {
  right: -9px;
}

.timeline-milestone:nth-child(even) .milestone-node-dot {
  left: -9px;
}

.timeline-milestone:hover .milestone-node-dot {
  transform: scale(1.3);
  background: var(--gold-400);
}

.milestone-card {
  background: rgba(15, 35, 61, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.milestone-year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.milestone-content {
  font-size: 1.025rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   INFOGRAPHIC 2: BA THẾ HỆ TRÊN MỘT DÒNG SÔNG
   ========================================================================== */
.infographic-generations {
  margin: 5rem 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.gen-visual-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  position: relative;
}

.gen-step-card {
  background: var(--bg-slate);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.gen-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
}

.gen-step-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.gen-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.gen-step-desc {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.45;
}

/* TÂM ĐIỂM THỊ GIÁC: 4 NGƯỜI QUAY LẠI */
.visual-centerpiece-4 {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
  text-align: center;
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.centerpiece-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.centerpiece-big-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.centerpiece-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: #ffffff;
  max-width: 650px;
  margin: 0 auto 0.75rem auto;
  line-height: 1.6;
}

.centerpiece-sub {
  font-size: 1rem;
  color: var(--text-light-secondary);
  font-weight: 500;
}

/* Social & Family Stats Grid */
.family-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.family-stat-item {
  background: var(--bg-slate);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 3px solid var(--river-blue);
}

.family-stat-val {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.family-stat-label {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   CLOSING SECTION: HƯỚNG TỚI TUỔI 50
   ========================================================================== */
.closing-section {
  position: relative;
  background-color: var(--navy-950);
  color: var(--text-light-primary);
  padding: 7rem 0 6rem 0;
  overflow: hidden;
}

.closing-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.closing-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7) contrast(1.1);
}

.closing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(6, 14, 26, 0.85) 50%, var(--navy-950) 100%);
  z-index: 2;
}

.closing-content {
  position: relative;
  z-index: 10;
}

.closing-numbers-hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.closing-stat-block {
  text-align: center;
}

.closing-stat-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.closing-stat-desc {
  font-size: 1.05rem;
  color: var(--text-light-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.closing-final-text {
  font-size: 1.25rem;
  line-height: 1.85;
  color: #ffffff;
  margin-bottom: 3.5rem;
  text-align: justify;
}

.closing-footer-sig {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.closing-sig-tag {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pipeline-nodes-container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .pipeline-arrow {
    display: none;
  }
  .gen-visual-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15.5px;
  }
  body {
    font-size: 1.125rem; /* ~17.5px on mobile */
    line-height: 1.8;
  }
  p {
    font-size: 1.125rem;
    margin-bottom: 1.6rem;
  }
  .hero-meta-visual {
    grid-template-columns: 1fr;
  }
  .sapo-wrapper {
    padding: 1.5rem;
  }
  .sapo-text {
    font-size: 1.15rem;
  }
  .infographic-wrapper,
  .infographic-generations {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .river-timeline-line {
    left: 20px;
  }
  .timeline-milestone {
    width: 100% !important;
    left: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-milestone .milestone-node-dot {
    left: 11px !important;
    right: auto !important;
  }
  .financial-independence-badge {
    flex-direction: column;
    align-items: flex-start;
  }
  .closing-numbers-hero {
    flex-direction: column;
    gap: 2rem;
  }
}
