/* ==========================================================================
   animations.css — Reveal, aurora glow, globe glow, counters, keyframes
   ========================================================================== */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Keyframes */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes scan {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes terminalType {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--green-glow); }
  50%       { box-shadow: 0 0 40px rgba(16,185,129,0.4); }
}

/* Cursor blink */
.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--green);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

/* Verticals section canvas bg */
.vert-section {
  position: relative;
  overflow: hidden;
}
.vert-section canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.vert-section .container {
  position: relative;
  z-index: 1;
}

/* Stats section vertical line */
.stats-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
}

/* Scan line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent);
  animation: scan 8s ease-in-out infinite;
  top: 0;
}

/* Heatmap squares (engineering feature) */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-top: 8px;
}
.heatmap-sq {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--border);
}
.heatmap-sq.l1 { background: rgba(16,185,129,0.2); }
.heatmap-sq.l2 { background: rgba(16,185,129,0.4); }
.heatmap-sq.l3 { background: rgba(16,185,129,0.7); }
.heatmap-sq.l4 { background: var(--green); }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
