/* ==========================================================================
   INTERACTIVE DATA JOURNALISM - ECONOMIC INFOGRAPHIC
   "KINH TẾ HÀ NỘI 8 THÁNG QUA NHỮNG CON SỐ"
   Design System & Editorial Light Mode Styling (Cao Cấp, Nổi Bật, Sắc Nét)
   ========================================================================== */

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

:root {
  /* Editorial Light Palette - Báo chí dữ liệu kinh tế sang trọng, sắc nét */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  --border-focus: #0284c7;
  --border-glow: rgba(2, 132, 199, 0.25);

  /* Typography Colors - Độ tương phản cao chuẩn AAA, sắc nét vượt trội */
  --text-primary: #0f172a;       /* Slate 900 - Đen mực sắc sảo */
  --text-secondary: #334155;     /* Slate 700 - Dễ đọc rõ ràng */
  --text-muted: #64748b;         /* Slate 500 */
  --text-invert: #ffffff;

  /* Semantic Data Colors - Rực rỡ, trang trọng, nổi bật */
  --accent-blue: #1d4ed8;        /* Xanh hoàng gia uy tín */
  --accent-blue-bg: #eff6ff;
  --accent-cyan: #0284c7;        /* Xanh dương hiện đại */
  --accent-cyan-bg: #f0f9ff;
  --accent-indigo: #4338ca;
  --accent-growth: #047857;      /* Xanh ngọc lục bảo tăng trưởng */
  --accent-growth-bg: #ecfdf5;
  --accent-growth-glow: rgba(4, 120, 87, 0.2);
  --accent-warning: #b45309;     /* Vàng sẫm cảnh báo */
  --accent-warning-bg: #fffbeb;
  --accent-alert: #b91c1c;       /* Đỏ cảnh báo sắc nét */
  --accent-alert-bg: #fef2f2;
  --accent-alert-glow: rgba(185, 28, 28, 0.2);
  --accent-gold: #d97706;
  --accent-gold-bg: #fffbeb;

  /* Typography Sizes - TUÂN THỦ TỐI THIỂU 18PX */
  --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
  
  --text-sm: 18px;      /* Cỡ chữ nhỏ nhất */
  --text-body: 19px;    /* Văn bản nội dung */
  --text-md: 21px;      /* Nhãn và tiêu đề phụ */
  --text-lg: 24px;      /* Tiêu đề mục nhỏ */
  --text-xl: 30px;      /* Tiêu đề phần */
  --text-2xl: 38px;     /* Tiêu đề chương */
  --text-num-sm: 34px;  /* Số liệu vừa */
  --text-num-md: 50px;  /* Số liệu lớn */
  --text-num-lg: 64px;  /* Số liệu trọng điểm */
  --text-num-xl: 78px;  /* Big Number Hero */

  /* Spacing */
  --space-unit: 8px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 56px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 20px 35px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -3px rgba(15, 23, 42, 0.06);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* Đảm bảo tối thiểu 18px */
  line-height: 1.6;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Nền trang nhã kết hợp lưới ô ly tinh tế phong cách báo chí tài chính */
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(29, 78, 216, 0.03) 0%, transparent 45%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  background-attachment: fixed;
}

/* Top Progress Bar & Sticky Header */
.top-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  z-index: 1000;
}

.top-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7, #1d4ed8, #047857);
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.04);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  border: 1px solid rgba(29, 78, 216, 0.25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-title-small {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Quick Nav Dots */
.quick-nav {
  display: none;
}
@media (min-width: 1080px) {
  .quick-nav {
    display: flex;
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 14px;
    z-index: 900;
  }

  .nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2.5px solid #94a3b8;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
  }

  .nav-dot:hover, .nav-dot.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(29, 78, 216, 0.4);
  }

  .nav-dot .dot-label {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  }

  .nav-dot:hover .dot-label {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
  }
}

/* Layout Container */
.infographic-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Infographic Section Card */
.info-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.info-section:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-cyan);
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-growth));
}

/* Section Headers */
.section-header {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 22px;
}

.section-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-blue);
  background: var(--accent-blue-bg);
  border: 1px solid rgba(29, 78, 216, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.section-tag {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

.header-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

/* Number Typography */
.big-stat {
  font-family: var(--font-mono);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
}

.stat-growth {
  color: var(--accent-growth);
}

.stat-alert {
  color: var(--accent-alert);
}

.stat-accent {
  color: var(--accent-blue);
}

.stat-cyan {
  color: var(--accent-cyan);
}

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

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Data Card inside sections */
.data-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: var(--transition-smooth);
  position: relative;
}

.data-card:hover {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   1. HERO BANNER & GROWTH ENGINE HUB (KHỐI 1)
   ========================================================================== */
.hero-header {
  text-align: center;
  padding: 40px 16px 48px 16px;
  position: relative;
  background: #ffffff;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-blue-bg);
  border: 1.5px solid rgba(29, 78, 216, 0.25);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #0f172a;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(20px, 2.2vw, 25px);
  color: var(--text-secondary);
  max-width: 880px;
  margin: 0 auto 40px auto;
  font-weight: 600;
}

/* Engine Hub SVG Interactive Map */
.hub-container {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  background: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 10px rgba(15, 23, 42, 0.03);
}

.hub-svg {
  width: 100%;
  height: 100%;
}

.flow-line {
  stroke-dasharray: 8, 8;
  animation: flowDash 32s linear infinite;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* KHẮC PHỤC TRIỆT ĐỂ LỖI GIẬT LAG Ở 5 NODES */
.hub-node {
  cursor: pointer;
  /* Đặt gốc tương tác cố định trong phần tử SVG */
  transform-box: fill-box;
  transform-origin: center center;
}

.hub-node rect {
  transition: stroke-width 0.2s ease, filter 0.2s ease, fill 0.2s ease;
}

.hub-node text {
  transition: fill 0.2s ease;
  pointer-events: none; /* Tránh text cản trở mouse event của node */
}

/* Hover chỉ tạo hiệu ứng viền dày và đổ bóng, không đổi kích thước hay dịch chuyển vị trí -> KHÔNG GIẬT LAG */
.hub-node:hover rect {
  stroke-width: 4px;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

.hub-node:hover text.node-title {
  fill: #0284c7;
}

/* Center Pulse */
.center-pulse {
  animation: centerPulse 3s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes centerPulse {
  0% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(2, 132, 199, 0.15)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 8px 24px rgba(2, 132, 199, 0.3)); }
}

/* ==========================================================================
   2. SẢN XUẤT CÔNG NGHIỆP
   ========================================================================== */
.industrial-metrics-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.industry-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 768px) {
  .industry-columns {
    grid-template-columns: 1fr;
  }
}

.industry-pillar {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.industry-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--accent-growth);
  box-shadow: var(--shadow-card-hover);
}

.industry-pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-growth);
}

.pillar-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-growth-bg);
  border: 1.5px solid rgba(4, 120, 87, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-time {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pillar-rate {
  font-size: clamp(52px, 5.5vw, 70px);
  margin: 10px 0;
}

.pillar-desc {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 360px;
  font-weight: 600;
}

/* Industry Warning Area */
.warning-subzone {
  background: var(--accent-alert-bg);
  border: 1.5px dashed rgba(185, 28, 28, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.warning-subzone-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-alert);
  margin-bottom: 16px;
}

.declining-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.declining-tag {
  background: #ffffff;
  border: 1.5px solid rgba(185, 28, 28, 0.3);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.08);
}

/* ==========================================================================
   3. TIÊU DÙNG (708,2 NGHÌN TỶ ĐỒNG)
   ========================================================================== */
.consumption-hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .consumption-hero-card {
    grid-template-columns: 1fr;
  }
}

.consumption-main-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-label-badge {
  font-size: 19px;
  color: var(--accent-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.stat-number-giant {
  font-size: clamp(48px, 6vw, 76px);
  color: var(--accent-blue);
}

.stat-badge-growth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-growth-bg);
  color: var(--accent-growth);
  border: 1.5px solid rgba(4, 120, 87, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  width: fit-content;
  margin-top: 18px;
}

.consumption-monthly-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.month-label {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-cyan);
}

.month-val {
  font-size: clamp(38px, 4.2vw, 54px);
  color: var(--text-primary);
  margin: 6px 0 18px 0;
}

.month-breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 600;
}

/* Horizontal Ranking Bars */
.ranking-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 260px 1fr 120px;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

.rank-item:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .rank-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.rank-name-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rank-icon-svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.rank-label-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.rank-bar-bg {
  height: 26px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.rank-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #1d4ed8, #0284c7);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rank-rate-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-growth);
  text-align: right;
}

/* ==========================================================================
   4. DỊCH VỤ - BA DÒNG DOANH THU
   ========================================================================== */
.services-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .services-triplet {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-bg);
  border: 1px solid rgba(29, 78, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  min-height: 48px;
}

.service-val {
  font-size: clamp(34px, 3.2vw, 44px);
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-growth {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 800;
  color: var(--accent-growth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   5. XUẤT NHẬP KHẨU - CÂN ĐỐI 2 CHIỀU
   ========================================================================== */
.trade-balance-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .trade-balance-container {
    grid-template-columns: 1fr;
  }
}

.trade-card {
  border-radius: var(--radius-md);
  padding: 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.trade-card-export {
  background: #ffffff;
  border: 2px solid rgba(4, 120, 87, 0.35);
}

.trade-card-import {
  background: #ffffff;
  border: 2px solid rgba(185, 28, 28, 0.35);
}

.trade-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.trade-type-label {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trade-badge {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.badge-export {
  background: var(--accent-growth-bg);
  color: var(--accent-growth);
  border: 1px solid rgba(4, 120, 87, 0.3);
}

.badge-import {
  background: var(--accent-alert-bg);
  color: var(--accent-alert);
  border: 1px solid rgba(185, 28, 28, 0.35);
}

.trade-primary-num {
  font-size: clamp(44px, 5vw, 64px);
  margin-bottom: 12px;
}

.trade-comparison-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.comparison-item {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  align-items: center;
  gap: 16px;
}

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

.comp-bar-bg {
  height: 22px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.comp-bar-fill-export {
  height: 100%;
  width: 19.5%; /* Tương quan 8% vs 41% */
  background: var(--accent-growth);
  border-radius: var(--radius-pill);
}

.comp-bar-fill-import {
  height: 100%;
  width: 100%;
  background: var(--accent-alert);
  border-radius: var(--radius-pill);
}

.trade-banner-message {
  margin-top: 16px;
  padding: 20px 26px;
  background: var(--accent-gold-bg);
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   6. THU NGÂN SÁCH - VƯỢT 80% DỰ TOÁN
   ========================================================================== */
.budget-grid-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 960px) {
  .budget-grid-wrap {
    grid-template-columns: 1fr;
  }
}

.gauge-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-card);
  position: relative;
}

.gauge-svg-wrap {
  width: 100%;
  max-width: 380px;
  position: relative;
}

.gauge-arc-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 24;
  stroke-linecap: round;
}

.gauge-arc-fill {
  fill: none;
  stroke: url(#gaugeGradient);
  stroke-width: 24;
  stroke-linecap: round;
  stroke-dasharray: 471;
  stroke-dashoffset: 471;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-percent {
  font-size: clamp(48px, 5vw, 68px);
  color: var(--accent-blue);
}

.budget-stats-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
}

.highlight-sub-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.highlight-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--accent-gold);
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ==========================================================================
   7. ĐẦU TƯ CÔNG - ĐỘNG LỰC TĂNG TỐC & TIMELINE HẠ TẦNG
   ========================================================================== */
.public-invest-statbox {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border: 1.5px solid rgba(4, 120, 87, 0.35);
  border-radius: var(--radius-md);
  padding: 38px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.lead-status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  background: var(--accent-blue-bg);
  border: 1.5px solid rgba(29, 78, 216, 0.35);
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.lead-status-banner svg {
  flex-shrink: 0;
}

/* Infrastructure Timeline */
.infra-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .infra-timeline {
    grid-template-columns: 1fr;
  }
}

.infra-timeline::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-growth));
  z-index: 1;
}

@media (max-width: 860px) {
  .infra-timeline::before {
    display: none;
  }
}

.infra-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.infra-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.infra-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.infra-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================================================
   8. DU LỊCH QUỐC KHÁNH (2-9)
   ========================================================================== */
.tourism-holiday-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .tourism-holiday-dashboard {
    grid-template-columns: 1fr;
  }
}

.tourism-big-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.tourism-big-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card-hover);
}

.tourism-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gold-bg);
  border: 1px solid rgba(217, 119, 6, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ==========================================================================
   9. KHỐI CẢNH BÁO - NHỮNG CON SỐ CẦN THEO DÕI
   ========================================================================== */
.alert-section-card {
  background: #ffffff;
  border: 2px solid rgba(185, 28, 28, 0.35);
}

.alert-section-card::before {
  background: linear-gradient(90deg, var(--accent-alert), #f87171, var(--accent-alert));
}

.cpi-comparison-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .cpi-comparison-wrap {
    grid-template-columns: 1fr;
  }
}

.cpi-gauge-box {
  background: var(--accent-alert-bg);
  border: 1.5px solid rgba(185, 28, 28, 0.3);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cpi-benchmark-line {
  width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(185, 28, 28, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 5px solid var(--accent-alert);
}

.price-surge-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.price-surge-tag {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

/* ==========================================================================
   10. KHỐI KẾT – BÀI TOÁN GẦN 70.000 TỶ ĐỒNG
   ========================================================================== */
.target-remaining-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border: 2px solid #3b82f6;
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  margin-bottom: 36px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.2);
  color: #ffffff;
}

.countdown-progress-bar {
  width: 100%;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  margin: 30px 0;
  overflow: hidden;
  position: relative;
}

.countdown-progress-fill {
  height: 100%;
  width: 52.6%;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  border-radius: var(--radius-pill);
}

.countdown-progress-target {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 47.4%;
  background: repeating-linear-gradient(
    45deg,
    rgba(251, 191, 36, 0.35),
    rgba(251, 191, 36, 0.35) 10px,
    rgba(251, 191, 36, 0.15) 10px,
    rgba(251, 191, 36, 0.15) 20px
  );
}

.duality-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 800px) {
  .duality-board {
    grid-template-columns: 1fr;
  }
}

.duality-column {
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.duality-growth {
  background: var(--accent-growth-bg);
  border: 2px solid rgba(4, 120, 87, 0.35);
}

.duality-pressure {
  background: var(--accent-alert-bg);
  border: 2px solid rgba(185, 28, 28, 0.35);
}

.duality-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.duality-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.duality-pill {
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-sm);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

/* Site Footer */
.site-footer {
  text-align: center;
  padding: 44px 20px;
  border-top: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 600;
}

/* Tooltip Styling */
.interactive-tooltip {
  position: fixed;
  padding: 10px 18px;
  background: #0f172a;
  color: #f8fafc;
  border: 1.5px solid var(--accent-blue);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 600;
  pointer-events: none;
  z-index: 1100;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  white-space: nowrap;
}

.interactive-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -100%);
}
