/* ===== SCROLL ANIMATIONS (AOS-like) ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-down"] {
  transform: translateY(-40px);
}

[data-animate="fade-down"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-60px);
}

[data-animate="fade-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(60px);
}

[data-animate="fade-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.8);
}

[data-animate="zoom-in"].animated {
  opacity: 1;
  transform: scale(1);
}

[data-animate="flip-up"] {
  transform: perspective(800px) rotateX(20deg);
}

[data-animate="flip-up"].animated {
  opacity: 1;
  transform: perspective(800px) rotateX(0);
}

/* Delay classes */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }
[data-delay="800"] { transition-delay: 0.8s; }

/* ===== HERO ANIMATIONS ===== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  animation: heroFadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-content p {
  animation: heroFadeIn 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-btns {
  animation: heroFadeIn 1s ease 0.9s forwards;
  opacity: 0;
}

/* ===== FLOATING ANIMATION ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-hover:hover {
  animation: pulse 0.6s ease;
}

/* ===== GRADIENT BORDER ANIMATION ===== */
@keyframes borderGlow {
  0%, 100% { border-color: var(--primary); }
  50% { border-color: var(--secondary); }
}

.glow-border:hover {
  animation: borderGlow 2s ease infinite;
}

/* ===== TYPING ANIMATION ===== */
@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary); }
}

.typed-cursor {
  border-right: 2px solid var(--primary);
  animation: blink 0.8s ease infinite;
  padding-right: 2px;
}

/* ===== SHIMMER EFFECT ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--secondary) 25%,
    var(--primary) 50%,
    var(--secondary) 75%,
    var(--primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ===== COUNTER ANIMATION ===== */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.counter-animated {
  animation: countUp 0.5s ease forwards;
}

/* ===== RIPPLE EFFECT ===== */
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.btn-primary:hover::after {
  animation: ripple 0.6s ease forwards;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

/* ===== PARALLAX SECTIONS ===== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ===== STAGGER CHILDREN ===== */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children > *:nth-child(9) { transition-delay: 0.9s; }

/* ===== PAGE TRANSITION ===== */
.page-transition {
  animation: pageIn 0.6s ease forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}
