/* -------------------------------------------------------------
 * Verbsoft Apple Theme - Animations & Effects
 * ------------------------------------------------------------- */

/* Scroll Reveal States */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  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;
}

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

/* Animated Striped Progress Bar */
.animated-stripes {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px rgba(41, 151, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(41, 151, 255, 0.45); }
  100% { box-shadow: 0 0 20px rgba(41, 151, 255, 0.2); }
}

.pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Floating Mockup */
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.macos-window:hover {
  animation: floatUp 4s ease-in-out infinite;
}
