/**
 * AUTOMOTO.AI - Visual Effects
 * Liquid background, animations, decorative elements
 * 
 * Usage: Only for pages with liquid-bg effect (landing, about, etc.)
 */

/* ============================================
   Liquid Background
   ============================================ */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.liquid-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-tertiary, #667eea));
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--md-sys-color-secondary, #764ba2), var(--md-sys-color-primary));
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--md-sys-color-tertiary, #667eea), var(--md-sys-color-secondary, #764ba2));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

.shape-4 {
  width: 300px;
  height: 300px;
  background: var(--md-sys-color-primary);
  top: 30%;
  left: 10%;
  animation-delay: -10s;
}

.shape-5 {
  width: 350px;
  height: 350px;
  background: var(--md-sys-color-secondary, #764ba2);
  bottom: 20%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(30px, -30px) rotate(5deg) scale(1.05); }
  50% { transform: translate(-20px, 20px) rotate(-5deg) scale(0.95); }
  75% { transform: translate(-30px, -20px) rotate(3deg) scale(1.02); }
}

/* ============================================
   Hero Gradient Background
   ============================================ */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

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

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text,
.gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .liquid-shape {
    filter: blur(60px);
    opacity: 0.3;
  }
  
  .shape-1 { width: 400px; height: 400px; }
  .shape-2 { width: 350px; height: 350px; }
  .shape-3 { width: 300px; height: 300px; }
  .shape-4 { width: 200px; height: 200px; }
  .shape-5 { width: 250px; height: 250px; }
}

@media (max-width: 500px) {
  .liquid-shape {
    filter: blur(40px);
    opacity: 0.25;
  }
  
  .shape-1 { width: 300px; height: 300px; }
  .shape-2 { width: 250px; height: 250px; }
  .shape-3, .shape-4, .shape-5 { display: none; }
}
