/* ==========================================================================
   SKYLET CONSULTANCY - ANIMATIONS, 3D DEPTH & WATER RIPPLE ENGINE (LIGHT THEME)
   ========================================================================== */

/* Keyframes */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float-fast {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(14px) rotate(2deg); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.12); opacity: 0.16; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* Illustration & 3D Interactive Media Containers */
.illustration-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  width: 100%;
}

.animated-illustration {
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.06));
  transition: transform 0.4s var(--ease-spring), filter 0.4s ease;
  transform-style: preserve-3d;
}

.animated-illustration:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 30px 45px rgba(79, 70, 229, 0.12));
}

.animated-illustration .float-slow {
  animation: float-slow 7s ease-in-out infinite;
}

.animated-illustration .float-fast {
  animation: float-fast 5s ease-in-out infinite;
}

.animated-illustration .float-reverse {
  animation: float-reverse 6.5s ease-in-out infinite;
}

.animated-illustration .pulse-slow {
  animation: pulse-slow 6s ease-in-out infinite;
  transform-origin: center;
}

.animated-illustration .rotate-slow {
  animation: rotate-slow 20s linear infinite;
  transform-origin: center;
}

.animated-illustration .dash-scroll {
  animation: dash-scroll 10s linear infinite;
}

.parallax-card {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-element {
  animation: float-subtle 6s ease-in-out infinite;
}

.floating-reverse {
  animation: float-reverse 7s ease-in-out infinite;
}

.spin-slow {
  animation: spin-slow 25s linear infinite;
}

/* Background Animated Gradient Blobs (White/Light Theme) */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: gradient-blob 18s ease-in-out infinite;
}

.ambient-blob-1 {
  width: 450px;
  height: 450px;
  background: rgba(79, 70, 229, 0.07);
  top: 10%;
  right: 5%;
}

.ambient-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(8, 145, 178, 0.06);
  bottom: 15%;
  left: 5%;
  animation-delay: -6s;
}

.ambient-blob-3 {
  width: 350px;
  height: 350px;
  background: rgba(245, 158, 11, 0.05);
  top: 45%;
  left: 40%;
  animation-delay: -12s;
}

/* Custom Interactive Cursor (Light Theme) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(79, 70, 229, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  z-index: 99999;
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
}

.custom-cursor.cursor-hover {
  width: 52px;
  height: 52px;
  background-color: rgba(79, 70, 229, 0.08);
  border-color: var(--accent-primary);
}

/* Magnetic Button Ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transform: scale(0);
  animation: ripple-wave 0.65s linear;
}

/* Water Ripple Interactive Canvas Container */
.water-ripple-layer {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  z-index: 1;
}

/* Pitch Deck Interactive Slide Viewer (Light Theme Edition) */
.pitch-deck-viewer {
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 35px rgba(79, 70, 229, 0.08);
  position: relative;
}

.pitch-deck-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--bg-border);
}

.pitch-deck-screen {
  aspect-ratio: 16 / 9;
  position: relative;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F8FAFC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
}

.pitch-deck-slide {
  position: absolute;
  inset: 0;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: scale(0.97) translateX(20px);
  transition: all 0.5s var(--ease-spring);
  pointer-events: none;
  color: var(--text-primary);
}

.pitch-deck-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
}

.pitch-deck-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pitch-deck-nav-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}

.pitch-deck-nav-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

/* Mobile Fullscreen Navigation Drawer (Light Frosted Theme) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px);
  transition: all 0.35s var(--ease-spring);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer-link {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
  transition: color 0.2s;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  color: var(--accent-primary);
}

.mobile-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #F1F5F9;
  border: 1px solid var(--bg-border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Toast Notifications */
.skylet-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  color: var(--text-primary);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float-subtle 3s ease-in-out infinite;
}

/* 3D Tilt Card Container */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

/* Menu Warp Shockwave & Charging Particles */
.nav-warp-shockwave {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, rgba(8, 145, 178, 0.2) 40%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: warp-expand 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
  z-index: 999999;
}

@keyframes warp-expand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(25);
    opacity: 0;
  }
}

.menu-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 99999;
  animation: particle-burst 0.55s ease-out forwards;
}

@keyframes particle-burst {
  0% {
    transform: translate(-50%, -50%) translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .custom-cursor, .custom-cursor-dot, .nav-warp-shockwave, .menu-particle {
    display: none !important;
  }
}
