/* ==========================================================================
   E-MAGAZINE DATA JOURNALISM STYLESHEET
   Thiết kế báo chí dữ liệu hiện đại, chuẩn Responsive & High Contrast
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #081b3d;
  --bg-secondary: #0d1424;
  --bg-card: rgba(18, 27, 46, 0.75);
  --bg-card-hover: rgba(24, 36, 61, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(52, 211, 153, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-highlight: #ffffff;

  /* Accent Colors */
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Fluid Spacing */
  --content-max-width: 780px;
  --feature-max-width: 1120px;
  --section-gap: clamp(70px, 9vw, 130px);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    var(--bg-primary);
  line-height: 1.85;
}

/* Selection */
::selection {
  background: var(--accent-emerald);
  color: #04100b;
}

/* Typography Scale (Strictly >= 16px) */
p {
  font-size: 1.1875rem;
  /* 19px - well above min 16px */
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

strong {
  color: var(--text-highlight);
  font-weight: 700;
}

/* Editorial Article Container */
.emagazine-article {
  width: 100%;
  position: relative;
}

/* ==========================================================================
   HERO / COVER SECTION (No header, pure immersive reading)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 12vh, 120px) 24px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(1.2);
  transform: scale(1.05);
  transition: transform 0.5s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(7, 11, 18, 0.75) 0%,
      rgba(5, 22, 51, 0.88) 50%,
      var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--accent-emerald-light);
  font-family: var(--font-mono);
  font-size: 1rem;
  /* 16px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.editorial-kicker .pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald-light);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

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

.hero-title .title-accent {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-emerald-light) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-box {
  max-width: 840px;
  padding: 24px 32px;
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.hero-lead-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.375rem);
  /* 22px */
  line-height: 1.7;
  color: #f1f5f9;
  font-style: italic;
  margin-bottom: 0;
}

.hero-preface-text {
  font-size: 1.15rem;
  /* 18.4px */
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 820px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  /* 16px */
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  margin-top: 15px;
}

.scroll-hint-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-hint-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background-color: var(--accent-emerald-light);
  border-radius: 2px;
  animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDown {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  80% {
    transform: translate(-50%, 12px);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

/* ==========================================================================
   READING LAYOUT STRUCTURE
   ========================================================================== */
.content-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.feature-wrapper {
  max-width: var(--feature-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.article-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  position: relative;
}

.article-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 30%, var(--border-subtle) 70%, transparent);
}

/* Section Header Typography */
.section-header {
  margin-bottom: 40px;
  position: relative;
}

.section-watermark {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  position: absolute;
  top: -30px;
  left: -15px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.section-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  /* > 16px */
  font-weight: 700;
  color: var(--accent-emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Drop Cap on Section first paragraph */
.has-dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 0.85;
  padding-top: 6px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--accent-emerald-light);
  font-weight: 700;
}

/* Editorial Quotes */
.editorial-quote {
  position: relative;
  margin: 40px 0;
  padding: 24px 30px;
  background: rgba(16, 185, 129, 0.05);
  border-left: 3px solid var(--accent-emerald-light);
  border-radius: 0 12px 12px 0;
}

.editorial-quote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  /* 20px */
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Parallax Editorial Media Containers */
.parallax-media-frame {
  margin: 55px auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.parallax-media-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.parallax-media-frame:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   DATA JOURNALISM INFOGRAPHICS
   - Cỡ chữ tối thiểu 18px (1.125rem)
   - Thuần dữ liệu, SVG, icon, biểu đồ, con số
   - Tối ưu Responsive, mượt mà, chuyển cảnh scroll
   ========================================================================== */
.data-infographic {
  margin: 60px 0;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.data-infographic:hover {
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px var(--accent-emerald-glow);
}

.infographic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}

.infographic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  /* 18px - strict requirement */
  font-weight: 700;
  color: var(--accent-emerald-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.infographic-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-emerald-light);
}

.infographic-context {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-muted);
  font-weight: 500;
}

/* Infographic 1: Grid & SVG Donut Chart */
.info-grid-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.chart-donut-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}

.donut-svg-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 22;
}

.donut-circle-val {
  fill: none;
  stroke: var(--accent-emerald-light);
  stroke-width: 22;
  stroke-dasharray: 628;
  /* 2 * PI * 100 */
  stroke-dashoffset: 628;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 10px var(--accent-emerald-glow));
}

.donut-center-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-number {
  font-family: var(--font-mono);
  font-size: 3.25rem;
  /* 52px */
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.donut-label {
  font-size: 1.125rem;
  /* 18px */
  color: var(--accent-emerald-light);
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.donut-sublabel {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-muted);
  font-weight: 500;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
  max-width: 320px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-secondary);
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 8px;
}

.legend-color.linked {
  background: var(--accent-emerald-light);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.legend-color.unlinked {
  background: rgba(255, 255, 255, 0.2);
}

.legend-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.125rem;
  /* 18px */
}

/* Stat Cards for Infographics */
.stats-cards-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(52, 211, 153, 0.25);
}

.stat-card-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-emerald-light);
  margin-bottom: 12px;
}

.stat-card-number {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  /* 34px */
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-card-unit {
  font-size: 1.125rem;
  /* 18px */
  color: var(--accent-emerald-light);
  font-weight: 600;
}

.stat-card-label {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.4;
}

.stat-card-sub {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-muted);
  margin-top: 4px;
}

/* Infographic 2: Tech & Cost Efficiency */
.info-2-top-highlight {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 16px;
  padding: 26px;
  align-items: center;
}

.saving-display {
  display: flex;
  flex-direction: column;
}

.saving-tag {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: var(--accent-cyan-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.saving-number-wrap {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.saving-unit {
  font-size: 1.25rem;
  /* 20px */
  color: var(--accent-cyan-light);
  font-weight: 600;
}

.saving-desc {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-secondary);
  margin-top: 10px;
}

.saving-visual-meter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meter-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.meter-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald-light));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-muted);
}

/* Tech Nodes Grid */
.tech-nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tech-node-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.tech-node-card:hover {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-4px);
}

.tech-node-badge {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: var(--accent-cyan-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-node-badge svg {
  width: 22px;
  height: 22px;
}

.tech-node-title {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.tech-node-features {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.tech-node-features li {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-node-features li::before {
  content: "•";
  color: var(--accent-cyan-light);
  font-size: 1.3rem;
  line-height: 1;
}

/* Infographic 3: 5-Stage Value Chain & 4 Tools */
.info-3-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tools-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.tool-item:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
}

.tool-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber-light);
}

.tool-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.tool-name {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* 5-Step Pipeline */
.pipeline-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: var(--accent-amber-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pipeline-steps-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}

.pipeline-step {
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 14px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pipeline-step:hover {
  border-color: var(--accent-amber-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.15);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  /* 18px */
  font-weight: 800;
  color: var(--accent-amber-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-label {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-muted);
}

/* ==========================================================================
   ARTICLE FOOTER & BYLINE
   ========================================================================== */
.article-footer {
  padding: 60px 24px 100px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 11, 18, 0.95);
  position: relative;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.author-byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.author-avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  color: #070b12;
  font-weight: 800;
  font-size: 1.125rem;
  /* 18px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SCROLL-TRIGGER & COUNTER ANIMATION CLASSES
   ========================================================================== */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .info-grid-1 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-nodes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .pipeline-steps-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pipeline-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }

  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .parallax-media-frame img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 60px;
  }

  body {
    line-height: 1.8;
  }

  p {
    font-size: 1.125rem;
    /* 18px on mobile */
    margin-bottom: 1.4rem;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 18px 50px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-lead-box {
    padding: 18px 20px;
  }

  .hero-lead-text {
    font-size: 1.15rem;
  }

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

  .content-wrapper,
  .feature-wrapper {
    padding: 0 18px;
  }

  .data-infographic {
    padding: 22px 16px;
    margin: 40px 0;
  }

  .stat-card-row {
    grid-template-columns: 1fr;
  }

  .info-2-top-highlight {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  .saving-number-wrap {
    font-size: 2.6rem;
  }

  .tools-4-grid {
    grid-template-columns: 1fr;
  }

  .parallax-media-frame {
    margin: 35px 0;
  }

  .parallax-media-frame img {
    height: 260px;
  }

  .donut-svg-wrapper {
    width: 220px;
    height: 220px;
  }

  .donut-number {
    font-size: 2.6rem;
  }
}