/* ==========================================================================
   eMagazine Style - Bloomberg Businessweek x VnEconomy Style
   Theme: Điện Biên Agricultural Coops & Intellectual Property
   Colors: Green (#2E7D32), Grain Gold (#D4A017), Coffee Brown (#6D4C41), White
   Font: Encode Sans (Modern, bold, high-contrast typography)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-green: #2E7D32;
  --primary-green-dark: #1B5E20;
  --primary-green-light: #4CAF50;
  --primary-green-glow: rgba(46, 125, 50, 0.25);
  
  --grain-gold: #D4A017;
  --grain-gold-light: #F3C649;
  --grain-gold-dark: #A67C0E;
  
  --coffee-brown: #6D4C41;
  --coffee-dark: #3E2723;
  --coffee-light: #8D6E63;
  
  --bg-light: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-dark: #0D1912;

  --text-dark: #1A251E;
  --text-muted: #4A5A50;
  --text-light: #F4F6F4;

  --border-color: rgba(46, 125, 50, 0.16);
  --border-gold: rgba(212, 160, 23, 0.35);

  --font-heading: 'Encode Sans', sans-serif;
  --font-editorial: 'Encode Sans', sans-serif;
  --font-body: 'Encode Sans', sans-serif;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(212, 160, 23, 0.3);

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px minimum requirement */
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(0,0,0,0.1);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-green), var(--grain-gold));
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--grain-gold);
}

/* Header & Navigation Bar */
.top-nav {
  position: fixed;
  top: 5px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.top-nav.scrolled {
  background: rgba(13, 25, 18, 0.92);
  color: #fff;
  border-bottom-color: rgba(212, 160, 23, 0.3);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green-dark);
}

.top-nav.scrolled .brand-badge {
  color: var(--grain-gold);
}

.brand-tag {
  background: var(--primary-green);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.top-nav.scrolled .brand-tag {
  background: var(--grain-gold);
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--grain-gold);
  opacity: 1;
}

/* Tây Bắc Brocade Decorative Border Component */
.brocade-divider {
  width: 100%;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='24' viewBox='0 0 40 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 12L20 24L0 12L20 0Z' fill='%232E7D32' fill-opacity='0.15'/%3E%3Cpath d='M20 4L33.3333 12L20 20L6.66667 12L20 4Z' stroke='%23D4A017' stroke-width='1.5'/%3E%3Cpath d='M20 8L26.6667 12L20 16L13.3333 12L20 8Z' fill='%236D4C41' fill-opacity='0.3'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  margin: 3rem 0;
}

.brocade-border-top {
  border-top: 4px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--primary-green) 0, var(--primary-green) 15px, var(--grain-gold) 15px, var(--grain-gold) 30px, var(--coffee-brown) 30px, var(--coffee-brown) 45px) 1;
}

/* Floating SVG Icons Header Animation */
.floating-icon-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.floating-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0.75;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.floating-icon:nth-child(1) { top: 18%; left: 8%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 25%; right: 10%; animation-delay: 1.2s; }
.floating-icon:nth-child(3) { top: 65%; left: 12%; animation-delay: 2.4s; }
.floating-icon:nth-child(4) { top: 72%; right: 14%; animation-delay: 0.8s; }
.floating-icon:nth-child(5) { top: 40%; left: 5%; animation-delay: 1.8s; }
.floating-icon:nth-child(6) { top: 45%; right: 6%; animation-delay: 3s; }
.floating-icon:nth-child(7) { top: 82%; left: 45%; animation-delay: 1.5s; }

@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-18px) rotate(6deg) scale(1.08); }
  100% { transform: translateY(-30px) rotate(-4deg) scale(0.95); }
}

/* HERO TITLE SECTION (Full Screen Parallax) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background-image: url('./images/hero_panorama.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 25, 18, 0.45) 0%, rgba(13, 25, 18, 0.88) 85%),
              linear-gradient(180deg, rgba(13, 25, 18, 0.6) 0%, rgba(13, 25, 18, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease-out forwards;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid var(--grain-gold);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--grain-gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--grain-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  color: #E2E8E4;
  max-width: 900px;
  margin: 0 auto 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #A0B2A6;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--grain-gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* MAIN CONTENT CONTAINER */
.magazine-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-body {
  max-width: 840px;
  margin: 0 auto;
}

.lead-paragraph {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--primary-green-dark);
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(212, 160, 23, 0.08));
  border-left: 5px solid var(--primary-green);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-sm);
}

.article-paragraph {
  font-size: 1.15rem; /* 18.4px */
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.article-paragraph.dropcap::first-letter {
  font-family: var(--font-editorial);
  font-size: 3.8rem;
  float: left;
  line-height: 0.85;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--primary-green);
  font-weight: 900;
}

/* SECTION STRUCTURE */
.part-section {
  position: relative;
  padding: 5rem 0;
}

.part-header {
  text-align: center;
  margin-bottom: 4rem;
}

.part-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grain-gold-dark);
  background: rgba(212, 160, 23, 0.15);
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.part-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--primary-green-dark);
  max-width: 950px;
  margin: 0 auto;
}

/* SECTION FULL WIDTH HERO IMAGE BANNER */
.section-banner {
  position: relative;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  height: 480px;
  margin-top: 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 6s ease-out;
}

.section-banner:hover img {
  transform: scale(1.04);
}

.banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(13, 25, 18, 0.9));
  color: #fff;
  padding: 2rem 3rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   INFOGRAPHIC CONTAINERS - FULL SCREEN EXTENSION (FULL WIDTH 1300px MAX)
   ========================================================================== */
.infographic-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 6px solid var(--primary-green);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  width: min(1300px, 94vw);
  margin-top: 5rem;
  margin-bottom: 5rem;
  margin-left: calc((100% - min(1300px, 94vw)) / 2);
  margin-right: calc((100% - min(1300px, 94vw)) / 2);
}

.infographic-wrapper.gold-accent {
  border-top-color: var(--grain-gold);
}

.infographic-wrapper.coffee-accent {
  border-top-color: var(--coffee-brown);
}

.infographic-header {
  margin-bottom: 3rem;
  text-align: center;
}

.infographic-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grain-gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.infographic-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: var(--primary-green-dark);
}

.infographic-desc {
  font-size: 1.15rem; /* 18.4px bold */
  font-weight: 700;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0.75rem auto 0;
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 1 (PART 1): FLOW INFOGRAPHIC SVG
   -------------------------------------------------------------------------- */
.flow-svg-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.flow-node {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.flow-node:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 20px rgba(46, 125, 50, 0.35));
}

.flow-pulse {
  animation: pulseFlow 2.5s infinite;
}

@keyframes pulseFlow {
  0% { r: 65; opacity: 0.8; }
  50% { r: 75; opacity: 0.3; }
  100% { r: 65; opacity: 0.8; }
}

.flow-arrow-line {
  stroke-dasharray: 8 6;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -100; }
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 2 (PART 1): VERTICAL COUNTER & TIMELINE SVG
   -------------------------------------------------------------------------- */
.vertical-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .vertical-info-grid {
    grid-template-columns: 1fr;
  }
}

.counter-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.counter-card {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(212, 160, 23, 0.1));
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.counter-unit {
  font-size: 2rem;
  font-weight: 800;
  color: var(--grain-gold-dark);
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 1.15rem; /* 18.4px bold */
  font-weight: 800;
  color: var(--coffee-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vertical-timeline-container {
  position: relative;
  padding-left: 2rem;
}

.vertical-timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-green), var(--grain-gold));
  border-radius: 4px;
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2.5rem;
}

.step-bullet {
  position: absolute;
  left: -20px;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-white);
  border: 3px solid var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.12);
  transition: var(--transition-smooth);
  z-index: 2;
}

.timeline-step:hover .step-bullet {
  background: var(--grain-gold);
  border-color: var(--grain-gold-dark);
  transform: scale(1.15);
}

.step-card {
  background: var(--bg-light);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: var(--transition-smooth);
}

.timeline-step:hover .step-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-gold);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem; /* Bold title */
  font-weight: 800;
  color: var(--primary-green-dark);
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 1.125rem !important; /* 18px */
  font-weight: 700 !important;
  color: var(--text-dark) !important;
}

.mini-map-box {
  background: rgba(13, 25, 18, 0.95);
  border-radius: 14px;
  padding: 1.5rem;
  color: #fff;
  margin-top: 2rem;
  text-align: center;
  border: 1.5px solid var(--border-gold);
  font-size: 1.15rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 1 (PART 2): CARD INFOGRAPHIC (3 HTX MODELS)
   -------------------------------------------------------------------------- */
.cards-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .cards-info-grid {
    grid-template-columns: 1fr;
  }
}

.model-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-green);
}

.model-card:nth-child(2)::before {
  background: var(--grain-gold);
}

.model-card:nth-child(3)::before {
  background: var(--coffee-brown);
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon-badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  background: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.card-model-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.card-stat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem; /* 18.4px */
  font-weight: 700;
}

.card-stat-item {
  padding: 0.8rem 1rem;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-stat-value {
  font-weight: 900;
  color: var(--primary-green-dark);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 2 (PART 2): HEXAGON GEAR INFOGRAPHIC SVG
   -------------------------------------------------------------------------- */
.hexagon-svg-wrapper {
  max-width: 950px;
  margin: 0 auto;
}

.growth-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.growth-pillar {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.08), rgba(212, 160, 23, 0.14));
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
}

.growth-pillar:hover {
  transform: scale(1.04);
  background: linear-gradient(180deg, var(--primary-green), var(--primary-green-dark));
  color: #fff;
}

.growth-pillar:hover .growth-title,
.growth-pillar:hover .growth-icon {
  color: var(--grain-gold) !important;
}

.growth-title {
  font-size: 1.25rem; /* Bold pillar title */
  font-weight: 900;
  color: var(--primary-green-dark);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 1 (PART 3): NETWORK ECOSYSTEM DIAGRAM
   -------------------------------------------------------------------------- */
.network-svg-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 2 (PART 3): DIGITAL TRANSFORMATION TIMELINE (GLOW ON SCROLL)
   -------------------------------------------------------------------------- */
.digital-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .digital-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.digital-node {
  background: var(--bg-dark);
  color: #fff;
  border: 1.5px solid rgba(212, 160, 23, 0.35);
  border-radius: 14px;
  padding: 2rem 1.25rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.digital-node.active-glow {
  border-color: var(--grain-gold);
  box-shadow: 0 0 25px rgba(212, 160, 23, 0.4), inset 0 0 15px rgba(46, 125, 50, 0.3);
  transform: translateY(-5px);
}

.digital-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.digital-step-label {
  font-family: var(--font-heading);
  font-size: 1.2rem; /* 19.2px bold */
  font-weight: 800;
  line-height: 1.35;
}

/* VISUAL CLOSING SECTION */
.visual-closing-section {
  position: relative;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  margin-top: 6rem;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/closing_panorama.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1);
}

.closing-overlay-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

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

.quote-box {
  background: rgba(13, 25, 18, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.quote-mark {
  font-family: var(--font-editorial);
  font-size: 5rem;
  color: var(--grain-gold);
  line-height: 0;
  display: block;
  margin-bottom: 1.5rem;
}

.closing-quote-text {
  font-family: var(--font-editorial);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.author-signature {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grain-gold);
}

/* Footer Style */
footer {
  background: #09120D;
  color: #90A095;
  padding: 3rem 2rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OPTIMIZATIONS (< 768px & < 576px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Base Body & Container */
  body {
    font-size: 1.05rem; /* 16.8px on mobile for clean text rendering */
  }

  .magazine-container {
    padding: 0 1rem;
  }

  .article-body {
    max-width: 100%;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 5rem 1rem 3rem;
    min-height: 85vh;
  }

  .hero-kicker {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.2vw, 2.6rem);
    line-height: 1.25;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .floating-icon {
    width: 32px;
    height: 32px;
    opacity: 0.35;
  }

  /* Paragraphs & Lead Blocks */
  .lead-paragraph {
    font-size: 1.15rem;
    padding: 1.25rem 1rem;
    margin: 2rem 0;
  }

  .article-paragraph {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .article-paragraph.dropcap::first-letter {
    font-size: 2.8rem;
    padding-right: 8px;
  }

  .part-section {
    padding: 3rem 0;
  }

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

  .part-title {
    font-size: 1.75rem;
  }

  /* Section Banner */
  .section-banner {
    height: 260px;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

  .banner-caption {
    padding: 1.25rem 1rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Infographic Wrapper Mobile Reset */
  .infographic-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.75rem 1rem !important;
    border-radius: 14px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
  }

  .infographic-header {
    margin-bottom: 1.75rem;
  }

  .infographic-title {
    font-size: 1.4rem;
  }

  .infographic-desc {
    font-size: 1.05rem;
  }

  /* SVG Infographics Horizontal Touch Scroll Wrapper */
  .flow-svg-container,
  .hexagon-svg-wrapper,
  .network-svg-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .flow-svg-container svg,
  .hexagon-svg-wrapper svg,
  .network-svg-wrapper svg {
    min-width: 620px; /* Guarantees SVG diagrams retain full size & readability on mobile */
  }

  /* Infographic 2 Mobile Layout */
  .vertical-info-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .counter-card {
    padding: 1.25rem;
  }

  .counter-number {
    font-size: 2.8rem;
  }

  .vertical-timeline-container {
    padding-left: 0.75rem;
  }

  .timeline-step {
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .step-bullet {
    width: 36px;
    height: 36px;
    left: -14px;
    font-size: 1rem;
  }

  .step-card {
    padding: 1rem 1.15rem;
  }

  .step-title {
    font-size: 1.15rem;
  }

  /* Infographic 3 Cards Mobile */
  .cards-info-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .model-card {
    padding: 1.75rem 1.15rem;
  }

  .card-model-name {
    font-size: 1.25rem;
  }

  .card-stat-list {
    font-size: 1rem;
  }

  /* Growth Pillars Mobile */
  .growth-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .growth-pillar {
    padding: 1.25rem;
  }

  .growth-title {
    font-size: 1.15rem;
  }

  /* Infographic 6 Digital Timeline Grid Mobile */
  .digital-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .digital-node {
    padding: 1.15rem 0.6rem;
  }

  .digital-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }

  .digital-step-label {
    font-size: 0.95rem;
  }

  /* Visual Closing Mobile */
  .visual-closing-section {
    padding: 4rem 1rem;
    margin-top: 4rem;
    min-height: auto;
  }

  .quote-box {
    padding: 2rem 1.15rem;
    border-radius: 14px;
  }

  .quote-mark {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
  }

  .closing-quote-text {
    font-size: 1.15rem;
    line-height: 1.55;
  }
}

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