/* AMPLIFY - Purple Galactic Theme */
/* Cosmic color palette */
:root {
  --cosmic-purple: #8B5CF6;
  --deep-space: #1a0b2e;
  --nebula-purple: #6366F1;
  --star-blue: #818CF8;
  --galaxy-pink: #C084FC;
  --cosmic-glow: #A78BFA;
  --void-black: #0a0118;
  --stardust: rgba(139, 92, 246, 0.1);
  --aurora: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Galactic background with animated stars */
body {
  background: var(--void-black);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent),
    radial-gradient(1px 1px at 15% 90%, white, transparent);
  background-size: 200% 200%;
  animation: stars 60s linear infinite;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

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

/* Purple nebula glow effect */
.nebula-glow {
  background: radial-gradient(ellipse at center, 
    rgba(139, 92, 246, 0.3) 0%, 
    transparent 70%);
  position: fixed;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  pointer-events: none;
  animation: nebula-pulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes nebula-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Cosmic gradient backgrounds */
.gradient-cosmic {
  background: linear-gradient(135deg, 
    #667eea 0%, 
    #764ba2 50%, 
    #f093fb 100%);
}

.gradient-deep-space {
  background: linear-gradient(135deg,
    var(--deep-space) 0%,
    var(--nebula-purple) 100%);
}

/* Glass morphism cards */
.glass-card {
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 48px 0 rgba(139, 92, 246, 0.4);
  transform: translateY(-8px);
}

/* Holographic text effect */
.holographic {
  background: linear-gradient(
    45deg,
    #667eea,
    #764ba2,
    #f093fb,
    #667eea
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hologram 3s ease infinite;
}

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

/* Glowing buttons */
.glow-button {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-purple));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-button:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
  transform: translateY(-2px);
}

.glow-button:hover::before {
  opacity: 1;
  animation: shine 1.5s ease infinite;
}

@keyframes shine {
  0% { transform: translate(-50%, -50%); }
  100% { transform: translate(50%, 50%); }
}

/* Floating animation for hero elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

/* Cosmic input fields */
.cosmic-input {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: white;
  transition: all 0.3s ease;
}

.cosmic-input:focus {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--cosmic-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  outline: none;
}

.cosmic-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Navigation glow effect */
nav {
  background: rgba(10, 1, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* Particle effect container */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Cosmic text shadows */
.cosmic-text-shadow {
  text-shadow: 
    0 0 10px rgba(139, 92, 246, 0.8),
    0 0 20px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(139, 92, 246, 0.3);
}

/* Progress bars */
.cosmic-progress {
  background: rgba(139, 92, 246, 0.2);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.cosmic-progress-bar {
  background: linear-gradient(90deg, var(--cosmic-purple), var(--galaxy-pink));
  height: 100%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

/* Badges and pills */
.cosmic-badge {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-purple));
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Loading spinner */
.cosmic-spinner {
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top: 4px solid var(--cosmic-purple);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tooltip */
.cosmic-tooltip {
  background: rgba(139, 92, 246, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Divider with glow */
.cosmic-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cosmic-purple),
    transparent
  );
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Feature cards */
.feature-card {
  background: rgba(26, 11, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--cosmic-purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

/* Icon glow */
.icon-glow {
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));
}

/* Pricing card highlight */
.pricing-popular {
  position: relative;
  border: 2px solid var(--cosmic-purple);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.pricing-popular::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--cosmic-purple), var(--galaxy-pink));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
}

/* Scroll reveal animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--void-black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cosmic-purple), var(--nebula-purple));
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--nebula-purple), var(--galaxy-pink));
}

/* Selection color */
::selection {
  background: rgba(139, 92, 246, 0.5);
  color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nebula-glow {
    width: 400px;
    height: 400px;
  }
  
  body::before {
    animation: stars 40s linear infinite;
  }
}
