/* ==========================================================================
   eMagazine Longform Premium - Design System & Stylesheet
   Style Inspired by: Bloomberg Businessweek, Nikkei Asia, VnExpress Spotlight
   Color Palette: #2E7D32 (Emerald Green), #26A69A (Teal), #FAF8F5 (Soft Sand),
                  #F9A825 (Gold Accent), #111827 (Deep Editorial Text)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  /* Color Tokens */
  --primary-green: #2E7D32;
  --primary-green-dark: #1B4D2E;
  --primary-green-light: #4CAF50;
  --teal-accent: #26A69A;
  --teal-dark: #00796B;
  --teal-light: #E0F2F1;
  --gold-accent: #F9A825;
  --gold-glow: rgba(249, 168, 37, 0.25);

  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-dark: #0D1F17;
  --bg-dark-surface: #14281E;

  --text-main: #1C2826;
  --text-muted: #4A5568;
  --text-light: #E2E8F0;
  --border-color: #E2E8F0;
  --border-light: rgba(46, 125, 50, 0.12);

  /* Typography */
  --font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-body: 19px;
  --line-height-body: 1.8;

  /* Layout Spacing */
  --container-max-w: 840px;
  --container-wide-w: 1200px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*,
*::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-family);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

/* Reading Progress Indicator */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-accent), var(--primary-green), var(--gold-accent));
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Header Kicker / Tag */
.magazine-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(38, 166, 154, 0.15);
  border: 1px solid rgba(38, 166, 154, 0.3);
  border-radius: 100px;
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.magazine-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-accent);
}

/* Hero Opening Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  padding: 100px 24px 80px;
  background: var(--bg-dark);
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(13, 31, 23, 0.75) 0%,
      rgba(27, 77, 46, 0.6) 40%,
      rgba(13, 31, 23, 0.95) 100%);
  z-index: 2;
}

/* Floating Digital Particles / Grid Overlay */
.digital-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(38, 166, 154, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(249, 168, 37, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-title .title-highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F2F1 50%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-title .title-gold {
  color: var(--gold-accent);
  -webkit-text-fill-color: var(--gold-accent);
  text-shadow: 0 0 20px rgba(249, 168, 37, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 860px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Scroll Arrow Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}

.scroll-indicator:hover {
  color: var(--gold-accent);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
  transform: rotate(45deg);
  animation: bounceArrow 2s infinite var(--transition-smooth);
}

@keyframes bounceArrow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(10px) rotate(45deg);
  }

  60% {
    transform: translateY(5px) rotate(45deg);
  }
}

/* Structural Layout & Sections */
.article-section {
  padding: 90px 24px;
  position: relative;
}

.section-light {
  background-color: var(--bg-page);
  color: var(--text-main);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark-surface {
  background-color: var(--bg-dark-surface);
  color: #FFFFFF;
}

.container-narrow {
  max-width: var(--container-max-w);
  margin: 0 auto;
}

.container-wide {
  max-width: var(--container-wide-w);
  margin: 0 auto;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-num {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--primary-green-dark);
  margin-bottom: 16px;
}

.section-dark .section-title,
.section-dark-surface .section-title {
  color: #FFFFFF;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.section-dark .section-desc,
.section-dark-surface .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Editorial Body Text Formatting */
.article-body p {
  margin-bottom: 28px;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-main);
}

.section-dark .article-body p,
.section-dark-surface .article-body p,
.section-dark-surface p {
  color: #FFFFFF;
}

.lead-paragraph {
  font-size: 1.25rem !important;
  font-weight: 500;
  line-height: 1.75;
  color: var(--primary-green-dark) !important;
}

.section-dark .lead-paragraph,
.section-dark-surface .lead-paragraph {
  color: #E0F2F1 !important;
}

.drop-cap::first-letter {
  font-size: 4.2rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--primary-green);
}

/* Article Subheadings */
.article-h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 48px 0 20px;
  line-height: 1.3;
}

.section-dark .article-h3,
.section-dark-surface .article-h3,
.section-dark-surface h3 {
  color: #FFFFFF;
}

/* Pull Quotes - Editorial Spotlight Style */
.pull-quote-wrapper {
  margin: 50px 0;
  position: relative;
}

.pull-quote {
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(38, 166, 154, 0.08) 100%);
  border-left: 5px solid var(--primary-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
}

.section-dark .pull-quote {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.2) 0%, rgba(38, 166, 154, 0.2) 100%);
  border-left-color: var(--gold-accent);
}

.pull-quote blockquote {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--primary-green-dark);
}

.section-dark .pull-quote blockquote {
  color: #FFFFFF;
}

.pull-quote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary-green);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Image & Media Styling */
.media-figure {
  margin: 50px 0;
  position: relative;
}

.media-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
}

.media-figure img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.figure-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.section-dark .figure-caption,
.section-dark-surface .figure-caption {
  color: rgba(255, 255, 255, 0.85);
}

/* Full Width Hero Image Block */
.full-width-media {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 60px;
  margin-bottom: 60px;
}

.full-width-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

/* Image Grid Showcase / Collage */
.hero-photo-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 40px 0 60px;
}

.collage-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-dark-surface);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.collage-item:hover img {
  transform: scale(1.06);
}

.collage-item-1 {
  grid-column: span 8;
  height: 360px;
}

.collage-item-2 {
  grid-column: span 4;
  height: 360px;
}

.collage-item-3 {
  grid-column: span 4;
  height: 260px;
}

.collage-item-4 {
  grid-column: span 4;
  height: 260px;
}

.collage-item-5 {
  grid-column: span 4;
  height: 260px;
}

/* Infographic Container Standard */
.infographic-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 60px 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.section-dark .infographic-box,
.section-dark-surface .infographic-box {
  background: var(--bg-dark-surface);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.infographic-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary-green-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-dark .infographic-title,
.section-dark-surface .infographic-title {
  color: #FFFFFF;
}

.infographic-subtitle {
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.section-dark .infographic-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   INFOGRAPHICS CUSTOM DESIGNS
   ========================================================================== */

/* 1. Horizontal Timeline (Phần 1 - Infographic 1) */
.timeline-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  min-width: 110px;
  flex: 1;
}

.timeline-icon-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), #FFFFFF);
  border: 2px solid var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  box-shadow: 0 6px 16px rgba(38, 166, 154, 0.2);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon-btn {
  transform: translateY(-6px) scale(1.1);
  background: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--gold-accent);
}

.timeline-icon-btn svg {
  width: 28px;
  height: 28px;
}

.timeline-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  line-height: 1.2;
}

.section-dark .timeline-label {
  color: var(--text-light);
}

.timeline-line {
  position: absolute;
  top: 52px;
  left: 5%;
  width: 90%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-accent), var(--primary-green), var(--gold-accent));
  z-index: 1;
}

/* 2. 6-Step Process Cards (Phần 1 - Infographic 2) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.process-card {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.03) 0%, rgba(38, 166, 154, 0.08) 100%);
  border: 1px solid rgba(46, 125, 50, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.process-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--primary-green);
}

.process-icon svg {
  width: 100%;
  height: 100%;
}

.process-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* Masonry Photo Gallery (Phần 1) */
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 50px 0;
}

.masonry-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.08);
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px 14px;
  background: linear-gradient(0deg, rgba(13, 31, 23, 0.9) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Network Diagram (Phần 2 - Infographic 1) */
.network-diagram-container {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-center {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  border: 4px solid var(--gold-accent);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 30px rgba(46, 125, 50, 0.5);
  z-index: 10;
  position: relative;
}

.network-node-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.network-node {
  position: absolute;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}

.network-node:hover {
  transform: scale(1.15);
}

.node-bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.section-dark .node-bubble,
.section-dark-surface .node-bubble {
  background: var(--bg-dark);
  color: var(--teal-accent);
}

.node-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.section-dark .node-label,
.section-dark-surface .node-label {
  color: #FFFFFF;
}

/* Network Node Positions (Radial layout) */
.node-1 {
  top: 10%;
  left: 18%;
}

.node-2 {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.node-3 {
  top: 10%;
  right: 18%;
}

.node-4 {
  top: 48%;
  left: 8%;
}

.node-5 {
  top: 48%;
  right: 8%;
}

.node-6 {
  bottom: 10%;
  left: 18%;
}

.node-7 {
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.node-8 {
  bottom: 10%;
  right: 18%;
}

/* Flowchart Diagram (Phần 2 - Infographic 2) */
.flowchart-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding: 10px 0;
}

.flow-step {
  flex: 1;
  min-width: 100px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  box-shadow: var(--shadow-sm);
}

.section-dark .flow-step,
.section-dark-surface .flow-step {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}

.flow-arrow {
  color: var(--teal-accent);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Big Statistic Callout Banner */
.stat-highlight-box {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--bg-dark) 100%);
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  color: #FFFFFF;
  margin-top: 24px;
}

.stat-number {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 900;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-family);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mini Data Dashboard Cards (Phần 2) */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.dash-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.dash-card:hover {
  background: rgba(38, 166, 154, 0.15);
  border-color: var(--teal-accent);
  transform: translateY(-4px);
}

.dash-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--gold-accent);
}

.dash-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
}

.dash-desc {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Circular Intellectual Property Diagram (Phần 3 - Infographic 1) */
.ip-circular-container {
  position: relative;
  max-width: 680px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-center-hub {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-accent), #E65100);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(249, 168, 37, 0.4);
  z-index: 5;
}

.ip-orbit-item {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  transition: all 0.3s ease;
}

.section-dark .ip-orbit-item {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}

.ip-orbit-item:hover {
  transform: scale(1.1);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}

.ip-orbit-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal-accent);
}

/* Pyramid Value Creation Diagram (Phần 3 - Infographic 2) */
.pyramid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}

.pyramid-tier {
  width: var(--width);
  background: var(--bg-gradient);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.pyramid-tier:hover {
  transform: scale(1.03);
}

.pyramid-tier svg {
  width: 22px;
  height: 22px;
}

/* Barriers Cards Grid (Phần 3) */
.barriers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.barrier-card {
  background: #FFFFFF;
  border-top: 4px solid var(--teal-accent);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

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

.barrier-icon {
  font-size: 2rem;
  line-height: 1;
}

.barrier-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-green-dark);
}

/* Final Future Ecosystem Infographic */
.ecosystem-canvas {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #06110B 100%);
  border: 1px solid rgba(38, 166, 154, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eco-center-badge {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary-green), var(--teal-dark));
  border: 2px solid var(--gold-accent);
  border-radius: 100px;
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 0 35px rgba(249, 168, 37, 0.4);
  margin-bottom: 50px;
}

.eco-branches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.eco-branch-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(38, 166, 154, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.eco-branch-item:hover {
  background: rgba(38, 166, 154, 0.2);
  border-color: var(--gold-accent);
  transform: translateY(-6px);
}

.eco-branch-icon {
  font-size: 1.8rem;
}

/* Footer Section */
.footer-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  padding: 120px 24px 60px;
  background: var(--bg-dark);
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
  z-index: 1;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 31, 23, 0.9) 0%, rgba(13, 31, 23, 0.95) 100%);
  z-index: 2;
}

.footer-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.footer-quote {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  color: #FFFFFF;
  margin-bottom: 48px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.byline-info {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 40px;
}

.footer-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* Animations Scroll Reveal Class */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #FFFFFF;
  font-size: 2.5rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE OPTIMIZATIONS)
   ========================================================================== */

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .eco-branches-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo-collage {
    grid-template-columns: repeat(1, 1fr);
  }

  .collage-item-1,
  .collage-item-2,
  .collage-item-3,
  .collage-item-4,
  .collage-item-5 {
    grid-column: span 1;
    height: 280px;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-body: 18px;
  }

  .article-section {
    padding: 60px 16px;
  }

  .infographic-box {
    padding: 24px 16px;
  }

  .masonry-gallery {
    grid-template-columns: repeat(1, 1fr);
  }

  .barriers-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-horizontal {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .timeline-line {
    width: 3px;
    height: 80%;
    left: 32px;
    top: 10%;
  }

  .timeline-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }

  .timeline-icon-btn {
    margin-bottom: 0;
  }

  .flowchart-container {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .network-diagram-container {
    min-height: auto;
    flex-direction: column;
    gap: 16px;
  }

  .network-node-wrapper {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .network-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .ip-circular-container {
    height: auto;
    flex-direction: column;
    gap: 16px;
  }

  .ip-orbit-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    justify-content: center;
  }
}