/* ═══════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50%       { box-shadow: 0 0 20px rgba(0, 200, 255, 0.18); }
}

@keyframes scanLine {
  0%   { top: -2px;   opacity: 0.5; }
  100% { top: 100%;   opacity: 0;   }
}


/* ═══════════════════════════════════════════
   HERO ENTRANCE
═══════════════════════════════════════════ */
.hero-ascii   { animation: fadeIn  0.5s ease forwards; }
.hero-label   { animation: fadeIn  0.7s ease 0.1s both; }
.hero-title   { animation: fadeUp  0.8s ease 0.25s both; }
.hero-desc    { animation: fadeUp  0.8s ease 0.45s both; }
.hero-actions { animation: fadeUp  0.8s ease 0.6s  both; }
.hero-stats   { animation: fadeUp  0.8s ease 0.78s both; }


/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }


/* ═══════════════════════════════════════════
   ASCII ART GLOW PULSE
═══════════════════════════════════════════ */
.ascii-art { animation: glowPulse 4s ease-in-out infinite; }


/* ═══════════════════════════════════════════
   SECTION TAG UNDERLINE SLIDE
═══════════════════════════════════════════ */
.section-tag {
  position: relative;
  display: inline-block;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.section-tag.visible::after { transform: scaleX(1); }
