/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50%       { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(0, 229, 255, 0.15); }
}

@keyframes heroBgDrift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes scanLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes drawLine {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}

@keyframes weightPulse {
  0%, 100% { font-weight: 700; }
  50%       { font-weight: 900; }
}

/* ── Hero Animations ── */
.hero-bg { animation: heroBgDrift 16s ease infinite; }

.hero-grid-overlay { animation: gridPulse 6s ease-in-out infinite; }

.hero-eyebrow  { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; }
.hero-title    { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.hero-desc     { animation: fadeUp 0.7s ease both; animation-delay: 0.35s; }
.hero-actions  { animation: fadeUp 0.7s ease both; animation-delay: 0.5s; }
.hero-stats    { animation: fadeUp 0.7s ease both; animation-delay: 0.65s; }

.btn-primary { animation: pulseGlow 3s ease-in-out infinite; }

/* ── Scan line (decorative) ── */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.15;
  animation: scanLine 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* ── 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.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Float ── */
.float { animation: floatY 5s ease-in-out infinite; }
.float-delay { animation: floatY 5s ease-in-out 1.5s infinite; }

/* ── Sketch line draw ── */
.sketch-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s ease;
}

.sketch-path.drawn { stroke-dashoffset: 0; }

/* ── Neon line ── */
.neon-line { animation: pulseGlow 3s ease-in-out infinite; }
