/* Custom styles for Baby Wave */
/* Tailwind CSS handles most styling via CDN */

.animate-on-scroll {
  opacity: 0;
}
.animate-on-scroll.animated {
  animation-fill-mode: forwards;
}
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}
.delay-600 {
  animation-delay: 0.6s;
}

.phone-mockup {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.25),
    0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gradient-text {
  background: linear-gradient(135deg, #ff9a56 0%, #e88040 50%, #c46630 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gradient-border {
  background: linear-gradient(135deg, #ff9a56, #ff6b2c, #ff9a56);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float-3d {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: translateY(-15px) rotateY(5deg) rotateX(2deg);
  }
  50% {
    transform: translateY(-8px) rotateY(-3deg) rotateX(-1deg);
  }
  75% {
    transform: translateY(-12px) rotateY(2deg) rotateX(1deg);
  }
}

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

.shadow-glow {
  box-shadow:
    0 0 60px rgba(255, 154, 86, 0.3),
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-glow-lg {
  box-shadow:
    0 0 80px rgba(255, 154, 86, 0.4),
    0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

.text-gradient-animated {
  background: linear-gradient(135deg, #ff9a56, #ff6b2c, #ff9a56, #ff6b2c);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

.mesh-gradient {
  background:
    radial-gradient(at 40% 20%, rgba(255, 154, 86, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(255, 107, 44, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(255, 200, 150, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(255, 154, 86, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 220, 180, 0.3) 0px, transparent 50%);
}

.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(5deg);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.phone-glow::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, #ff9a56, #ff6b2c, #ff9a56);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
  filter: blur(15px);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .hero-mockups {
    transform: scale(0.65);
    transform-origin: center center;
  }
  .gallery-phones {
    gap: 0.5rem !important;
  }
  .gallery-phones .phone-mockup {
    width: 5rem !important;
  }
  .gallery-phones .featured-phone .phone-mockup {
    width: 6rem !important;
  }
  .float-3d {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-mockups {
    transform: scale(0.55);
  }
}
