/* Qoov - Common styles extracted from inline blocks */

/* Animations */
@keyframes slideUpBlur {
  0% { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.animate-enter { animation: slideUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Card hover */
.card-lift { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.card-lift:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(27, 16, 51, 0.15); }

/* Navbar scroll effect */
.nav-scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.gradient-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; pointer-events: none; }

/* Navigation dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 240px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; transform: translateX(-50%) translateY(12px); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown-menu:hover { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(8px); }
.nav-dropdown-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }

/* Mobile menu accordion */
.mob-open .mob-panel { max-height: 300px; padding-top: 8px; padding-bottom: 4px; }
.mob-open .mob-chevron { transform: rotate(180deg); }

/* Marquee */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.marquee-track { display: flex; width: max-content; animation: marquee 25s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track-reverse { display: flex; width: max-content; animation: marquee-reverse 30s linear infinite; will-change: transform; }
.marquee-track-reverse:hover { animation-play-state: paused; }
.marquee-container { overflow: hidden; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }

/* Service tabs */
.svc-tab-content { display: none; }
.svc-tab-content.active { display: block; }

/* Service cards */
.service-card { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card:hover { background: #F0EBE5; border-color: rgba(229,221,213,0.5); transform: translateY(-4px); }
.service-card .card-arrow { transition: all 0.3s ease; }
.service-card:hover .card-arrow { transform: translate(2px, -2px); }
.service-card .card-number { position: absolute; top: -10px; right: 12px; font-size: 7rem; font-weight: 800; line-height: 1; color: rgba(0,0,0,0.03); pointer-events: none; }

/* Hero animations */
@keyframes sonarWave {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes cardEnter {
  0% { opacity: 0; transform: scale(0.95) translateX(20px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatYSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.sonar-ring { animation: sonarWave 2s infinite cubic-bezier(0.16, 1, 0.3, 1); }
.card-active { display: block; animation: cardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; z-index: 10; }
.card-hidden { display: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.float-badge { animation: floatY 4s ease-in-out infinite; }
.float-badge-slow { animation: floatYSlow 5s ease-in-out infinite; }
.float-badge-delay { animation: floatY 4.5s ease-in-out 1s infinite; }
.float-badge-delay2 { animation: floatYSlow 5.5s ease-in-out 0.5s infinite; }
.blob-animate { animation: blobFloat 8s ease-in-out infinite; }

/* Hero shimmer & effects */
@keyframes pulsePlay {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}
.animate-pulse-play { animation: pulsePlay 2s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes gentlePulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes particleFloat { 0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-120px) translateX(30px) scale(0.5); opacity: 0; } }
@keyframes gridPulse { 0%, 100% { opacity: 0.03; } 50% { opacity: 0.08; } }
@keyframes textGlow { 0%, 100% { text-shadow: 0 0 20px rgba(168,212,245,0); } 50% { text-shadow: 0 0 40px rgba(168,212,245,0.3); } }
.hero-shimmer { background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%); background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; }
.hero-glow { animation: textGlow 4s ease-in-out infinite; }
.hero-particle { position: absolute; width: 4px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 50%; animation: particleFloat 6s ease-in-out infinite; pointer-events: none; }
.hero-grid { background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 60px 60px; animation: gridPulse 6s ease-in-out infinite; }

/* Reduced motion */
@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;
  }
}
