/* ══════════════════════════════════════════
   ROADMAP — Page-Specific Styles
   Requires: global.css, header.css, footer.css, hero-section.css
   ══════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --bg-primary: #141212;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1400px;
}

/* ── Body & Typography Overrides ── */
body {
  background: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
}

/* ── Hero Overrides ── */
.hero-section {
  position: relative;
  background: #141212;
  padding-bottom: 80px;
}
.hero-section h1 {
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-section .hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
}

/* ── Roadmap Glow Orb ── */
.roadmap-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  background: rgba(255,255,255,0.03);
  width: 400px;
  height: 400px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  margin: 0 auto 32px;
  max-width: var(--max-width);
}

/* ══════════════════════════════════════════
   MATRIX
   ══════════════════════════════════════════ */
.matrix-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
  position: relative;
}

/* Column headers */
.matrix-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 0;
  position: sticky;
  top: 72px;
  z-index: 44;
  background: #141212;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.col-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 10px;
  text-align: center;
}
.col-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.col-subtitle {
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-top: -1px;
}
.col-header:nth-child(1) .col-subtitle { color: #000; }
.col-header:nth-child(2) .col-subtitle { color: #000; }
.col-header:nth-child(3) .col-subtitle { color: #FFF; }

/* Engineering header */
.col-header:nth-child(1) {
  background: linear-gradient(to right, rgba(250,250,250,0.95), rgba(220,220,220,0.92));
  color: #000;
  border: 1px solid rgba(200,200,200,0.4);
}
/* Go-To-Market header */
.col-header:nth-child(2) {
  background: linear-gradient(to right, rgba(175,175,175,0.90), rgba(145,145,145,0.92));
  color: #111;
  border: 1px solid rgba(155,155,155,0.5);
}
/* Alpha Token header */
.col-header:nth-child(3) {
  background: linear-gradient(to right, rgba(90,90,90,0.92), rgba(15,15,15,0.97));
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.30);
}
.col-header svg { width: 24px; height: 24px; opacity: 0.65; flex-shrink: 0; }
.col-header:nth-child(3) svg { opacity: 1; }

/* Stroke draw-in for column header icons (skip col 3) */
.col-header:nth-child(1) svg path,
.col-header:nth-child(1) svg circle,
.col-header:nth-child(1) svg line,
.col-header:nth-child(2) svg path,
.col-header:nth-child(2) svg circle,
.col-header:nth-child(2) svg polyline,
.col-header:nth-child(2) svg line,
.col-header:nth-child(2) svg polygon,
.col-header:nth-child(2) svg ellipse {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.matrix-header.visible .col-header:nth-child(1) svg path,
.matrix-header.visible .col-header:nth-child(1) svg circle,
.matrix-header.visible .col-header:nth-child(1) svg line,
.matrix-header.visible .col-header:nth-child(2) svg path,
.matrix-header.visible .col-header:nth-child(2) svg circle,
.matrix-header.visible .col-header:nth-child(2) svg polyline,
.matrix-header.visible .col-header:nth-child(2) svg line,
.matrix-header.visible .col-header:nth-child(2) svg polygon,
.matrix-header.visible .col-header:nth-child(2) svg ellipse {
  stroke-dashoffset: 0;
}

/* ══════════════════════════════════════════
   PHASE ROWS
   ══════════════════════════════════════════ */
.phase-row {
  position: relative;
  padding: 24px 24px 36px;
  border-radius: 12px;
}
.phase-row:last-child {
  padding-bottom: 32px;
}
#phase1 {
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.04), transparent 60%),
              linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  box-shadow: 0 0 60px -10px rgba(255,255,255,0.1),
              inset 0 1px 0 rgba(255,255,255,0.08);
}
#phase2 {
  background: linear-gradient(135deg, rgba(255,255,255,0.015), transparent);
}
#phase3 {
  background: linear-gradient(135deg, rgba(255,255,255,0.01), transparent);
}
#phase4 {
  background: linear-gradient(135deg, rgba(255,255,255,0.005), transparent);
}

/* ══════════════════════════════════════════
   PHASE DIVIDERS
   ══════════════════════════════════════════ */
.phase-divider {
  position: sticky;
  top: 120px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 32px;
  background: linear-gradient(135deg, rgb(8,8,8), rgb(0,0,0) 40%, rgb(0,0,0) 60%, rgb(4,4,4));
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.4),
              inset 0 1px 0 rgba(255,255,255,0.06),
              inset 0 -1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}
.phase-divider::before,
.phase-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: scaleX(0);
  transition: transform 1s ease 0.4s;
}
.phase-divider::before { left: 0; right: 55%; transform-origin: left; }
.phase-divider::after { left: 55%; right: 0; transform-origin: right; }
.phase-divider.visible::before,
.phase-divider.visible::after { transform: scaleX(1); }
.phase-divider > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.phase-divider .phase-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-desc {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.35);
}
.phase-divider--active .phase-desc {
  color: rgba(255,255,255,0.55);
}
.phase-divider--active {
  background: linear-gradient(135deg, rgb(12,12,12), rgb(0,0,0) 40%, rgb(0,0,0) 60%, rgb(6,6,6));
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.08),
              inset 0 -1px 0 rgba(255,255,255,0.04);
}
.phase-divider--active .phase-name {
  color: #FFF;
}
.phase-divider--active .phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
  animation: phase-pulse 2s ease-in-out infinite;
}
@keyframes phase-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255,255,255,0.3); }
  50% { opacity: 0.3; box-shadow: 0 0 4px rgba(255,255,255,0.1); }
}
.phase-divider.stuck { z-index: 42; }

/* Large Roman numeral watermark */
.phase-numeral {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 104px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0 12px;
  background: #000;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}
.phase-divider.visible .phase-numeral { opacity: 1; }
.phase-divider--active .phase-numeral { color: rgba(255,255,255,0.14); }

/* Phase icon — stroke draws in on scroll reveal */
.phase-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.45;
}
.phase-divider--active .phase-icon { opacity: 0.8; }
.phase-icon path,
.phase-icon circle,
.phase-icon polyline,
.phase-icon line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}
.phase-divider.visible .phase-icon path,
.phase-divider.visible .phase-icon circle,
.phase-divider.visible .phase-icon polyline,
.phase-divider.visible .phase-icon line {
  stroke-dashoffset: 0;
}

/* ══════════════════════════════════════════
   PHASE CONTENT GRID
   ══════════════════════════════════════════ */
.phase-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px 48px;
  position: relative;
  padding: 12px 0;
  align-items: start;
  justify-items: center;
}
/* Particle constellation canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Vertical gridlines between columns */
.phase-content::before,
.phase-content::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 1;
}
.phase-content::before {
  left: calc((100% - 96px) / 3 + 24px);
}
.phase-content::after {
  left: calc(2 * (100% - 96px) / 3 + 72px);
}

/* ── GTM Infographic (libra scale) ── */
.gtm-infographic {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
}

/* ── Engineering Timeline ── */
.timeline-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

/* ══════════════════════════════════════════
   GRID ITEMS (accent-bar micro-cards)
   ══════════════════════════════════════════ */
.gi {
  padding: 14px 18px;
  font-size: 14px; line-height: 1.55;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s, background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
  z-index: 2;
}
/* Engineering column */
.gi[style*="grid-column:1"] {
  background: linear-gradient(to right, rgba(250,250,250,1), rgba(220,220,220,0.95));
  color: #000;
  border: 1px solid rgba(200,200,200,0.4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Go-To-Market column */
.gi[style*="grid-column:2"] {
  background: linear-gradient(to right, rgba(175,175,175,0.92), rgba(145,145,145,0.95));
  color: #111;
  border: 1px solid rgba(155,155,155,0.5);
}
/* Alpha Token column */
.gi[style*="grid-column:3"] {
  background: linear-gradient(to right, rgba(90,90,90,0.95), rgba(15,15,15,1));
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 0 12px rgba(255,255,255,0.04);
}
/* Hover states */
.gi:hover { z-index: 46; }
.gi[style*="grid-column:1"]:hover {
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(230,230,230,1));
  border-color: rgba(190,190,190,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.gi[style*="grid-column:2"]:hover {
  background: linear-gradient(to right, rgba(185,185,185,0.97), rgba(155,155,155,1));
  border-color: rgba(165,165,165,0.6);
  transform: translateY(-1px);
}
.gi[style*="grid-column:3"]:hover {
  background: linear-gradient(to right, rgba(100,100,100,1), rgba(20,20,20,1));
  border-color: rgba(255,255,255,0.40);
  box-shadow: 0 0 20px rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.gi--empty {
  display: none;
}

/* ── Card Tiers ── */
.gi--high {
  padding: 20px 24px;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px;
}
.gi--high[style*="grid-column:1"] {
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(225,225,225,1));
  border: 1.5px solid rgba(195,195,195,0.5);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.10),
    0 8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
.gi--high[style*="grid-column:2"] {
  background: linear-gradient(to right, rgba(180,180,180,0.97), rgba(148,148,148,1));
  border: 1.5px solid rgba(160,160,160,0.6);
  box-shadow:
    0 0 24px -4px rgba(160,160,160,0.15),
    0 0 60px -10px rgba(160,160,160,0.08),
    inset 0 1px 0 rgba(210,210,210,0.15);
}
.gi--high[style*="grid-column:3"] {
  background: linear-gradient(to right, rgba(92,92,92,1), rgba(12,12,12,1));
  border: 1.5px solid rgba(255,255,255,0.40);
  box-shadow:
    0 0 24px rgba(255,255,255,0.08),
    0 0 60px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.gi--high::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
}
.gi--high[style*="grid-column:1"]::before {
  background: linear-gradient(to right, rgba(255,255,255,0.35), transparent 70%);
}
.gi--high[style*="grid-column:2"]::before {
  background: linear-gradient(to right, rgba(200,200,200,0.2), transparent 70%);
}
.gi--high[style*="grid-column:3"]::before {
  background: linear-gradient(to right, rgba(120,120,120,0.15), transparent 70%);
}
/* High card hover states */
.gi--high[style*="grid-column:1"]:hover {
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(235,235,235,1));
  border-color: rgba(185,185,185,0.6);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.12),
    0 12px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-2px);
}
.gi--high[style*="grid-column:2"]:hover {
  background: linear-gradient(to right, rgba(190,190,190,1), rgba(158,158,158,1));
  border-color: rgba(170,170,170,0.7);
  box-shadow:
    0 0 30px -2px rgba(170,170,170,0.2),
    0 0 70px -8px rgba(170,170,170,0.12),
    inset 0 1px 0 rgba(220,220,220,0.2);
  transform: translateY(-2px);
}
.gi--high[style*="grid-column:3"]:hover {
  background: linear-gradient(to right, rgba(100,100,100,1), rgba(18,18,18,1));
  border-color: rgba(255,255,255,0.50);
  box-shadow:
    0 0 30px rgba(255,255,255,0.12),
    0 0 70px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.gi--minor {
  padding: 9px 14px;
  font-size: 12.5px;
}
.gi--minor[style*="grid-column:1"] {
  background: linear-gradient(to right, rgba(245,245,245,0.92), rgba(215,215,215,0.88));
  border-color: rgba(195,195,195,0.35);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.gi--minor[style*="grid-column:2"] {
  background: linear-gradient(to right, rgba(170,170,170,0.88), rgba(138,138,138,0.92));
  border-color: rgba(150,150,150,0.4);
}
.gi--minor[style*="grid-column:3"] {
  background: linear-gradient(to right, rgba(82,82,82,0.92), rgba(12,12,12,0.97));
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 8px rgba(255,255,255,0.02);
}

/* ══════════════════════════════════════════
   CHAIN HIGHLIGHTING & DEPENDENCY RAILS
   ══════════════════════════════════════════ */
.matrix-wrapper.chain-active .gi { opacity: 0.15; }

.matrix-wrapper.chain-active .gi.hl-source {
  opacity: 1 !important;
  transform: scale(1.02);
  filter: brightness(1.15) saturate(1.1);
  box-shadow: 0 0 32px rgba(255,255,255,0.25), 0 0 64px rgba(255,255,255,0.15);
  border-width: 2px;
}
.matrix-wrapper.chain-active .gi.hl-source[style*="grid-column:1"] {
  box-shadow: 0 0 32px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.2);
}
.matrix-wrapper.chain-active .gi.hl-source[style*="grid-column:2"] {
  box-shadow: 0 0 32px rgba(165,165,165,0.35), 0 0 64px rgba(165,165,165,0.18);
}
.matrix-wrapper.chain-active .gi.hl-source[style*="grid-column:3"] {
  box-shadow: 0 0 40px rgba(255,255,255,0.4), 0 0 80px rgba(255,255,255,0.2);
}

@keyframes breathe-engineering {
  0%, 100% { box-shadow: 0 0 16px rgba(0,0,0,0.15); border-width: 1.5px; }
  50% { box-shadow: 0 0 28px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.15); border-width: 2px; }
}
@keyframes breathe-gtm {
  0%, 100% { box-shadow: 0 0 16px rgba(165,165,165,0.2); border-width: 1.5px; }
  50% { box-shadow: 0 0 28px rgba(165,165,165,0.30), 0 0 48px rgba(165,165,165,0.18); border-width: 2px; }
}
@keyframes breathe-alpha {
  0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.2); border-width: 1.5px; }
  50% { box-shadow: 0 0 36px rgba(255,255,255,0.35), 0 0 60px rgba(255,255,255,0.2); border-width: 2px; }
}

.matrix-wrapper.chain-active .gi.hl {
  opacity: 1 !important;
  filter: brightness(1.08);
}
.matrix-wrapper.chain-active .gi.hl[style*="grid-column:1"] {
  animation: breathe-engineering 2.4s ease-in-out infinite;
}
.matrix-wrapper.chain-active .gi.hl[style*="grid-column:2"] {
  animation: breathe-gtm 2.4s ease-in-out infinite;
}
.matrix-wrapper.chain-active .gi.hl[style*="grid-column:3"] {
  animation: breathe-alpha 2.4s ease-in-out infinite;
}
.matrix-wrapper.chain-active .gi.hl:nth-child(odd) {
  animation-delay: 0.3s;
}
.matrix-wrapper.chain-active .gi--empty { opacity: 0; }
.matrix-wrapper.chain-active .gi.below-active { opacity: 0.05; }

.dep-rail { transition: stroke 0.3s, stroke-width 0.3s; }
.dep-rail.dep-active {
  stroke: rgba(150,150,150,0.5) !important;
  stroke-width: 2.5 !important;
}

/* ══════════════════════════════════════════
   TOOLTIPS
   ══════════════════════════════════════════ */
.tooltip {
  position: absolute;
  z-index: 60;
  max-width: 320px;
  min-width: 200px;
  padding: 16px 20px;
  border-radius: 10px;
  backdrop-filter: blur(14px);
  font-family: var(--font-body);
  pointer-events: auto;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  visibility: hidden;
}
.tooltip.tooltip--visible {
  opacity: 1;
  transform: translate(0, 0);
  visibility: visible;
}
.tooltip-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tooltip-body {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.85;
}
.tooltip-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tooltip-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.tooltip-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Column 1 — Engineering tooltip (light) */
.tooltip--col1 {
  background: rgba(245,245,245,0.97);
  color: #000;
  border: 1px solid rgba(200,200,200,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.1);
}
.tooltip--col1 .tooltip-body { color: #333; }
.tooltip--col1 .tooltip-btn {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  color: #111;
}
.tooltip--col1 .tooltip-btn:hover {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.2);
}

/* Column 2 — GTM tooltip (mid-gray) */
.tooltip--col2 {
  background: rgba(155,155,155,0.97);
  color: #111;
  border: 1px solid rgba(180,180,180,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 1px rgba(0,0,0,0.15);
}
.tooltip--col2 .tooltip-body { color: #222; }
.tooltip--col2 .tooltip-btn {
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.15);
  color: #111;
}
.tooltip--col2 .tooltip-btn:hover {
  background: rgba(0,0,0,0.14);
  border-color: rgba(0,0,0,0.25);
}

/* Column 3 — Alpha Token tooltip (dark) */
.tooltip--col3 {
  background: rgba(18,18,18,0.97);
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 12px rgba(255,255,255,0.03);
}
.tooltip--col3 .tooltip-body { color: rgba(255,255,255,0.75); }
.tooltip--col3 .tooltip-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #FFF;
}
.tooltip--col3 .tooltip-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE — Small (≤540px)
   Horizontal-scroll: keep the 3-column grid,
   let the matrix area scroll sideways.
   ══════════════════════════════════════════ */
@media (max-width: 540px) {
  .hero-section h1 { font-size: 32px; }

  .matrix-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .matrix-header {
    min-width: 880px;
    position: relative;
    top: auto;
    margin-bottom: 0;
  }

  .phase-section {
    min-width: 880px;
  }

  .phase-divider {
    position: relative;
    top: auto !important;
  }

  .phase-numeral { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Medium (541px–900px)
   ══════════════════════════════════════════ */
@media (min-width: 541px) and (max-width: 900px) {
  .hero-section h1 { font-size: 40px; }
  .matrix-header { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 12px 16px; margin-bottom: 0; top: 48px; }
  .phase-row { padding: 20px 16px 24px; }
  .phase-row:last-child { padding-bottom: 20px; }
  .phase-divider { padding: 12px 16px; top: 118px; }
  .phase-numeral { font-size: 52px; right: 6%; }
  .phase-desc { display: none; }
  .col-subtitle { display: none; }
  .phase-content { gap: 10px 20px; }
  .phase-content::before { left: calc((100% - 40px) / 3 + 10px); }
  .phase-content::after { left: calc(2 * (100% - 40px) / 3 + 30px); }
  .col-header { font-size: 12px; padding: 10px 10px; gap: 4px; }
  .col-header svg { width: 18px; height: 18px; }
  .gi { font-size: 12px; padding: 11px 13px; border-radius: 8px; }
}
