/* Custom styles and animations for PixVerse High-Converting Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;
  --primary-cyan: #06b6d4;
  --bg-dark: #07090e;
  --card-bg: rgba(18, 22, 34, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
  selection-background-color: #8b5cf6;
  selection-color: #ffffff;
}

/* Background Gradients & Glow */
.bg-radial-gradient {
  background: 
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.28) 0%, rgba(236, 72, 153, 0.14) 30%, rgba(7, 9, 14, 0) 70%),
    radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

.bg-ambient-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.14) 35%, rgba(6, 182, 212, 0.08) 60%, transparent 80%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Glow effects */
.glow-purple {
  box-shadow: 0 0 50px -10px rgba(139, 92, 246, 0.5);
}

.glow-btn {
  box-shadow: 0 0 30px -2px rgba(168, 85, 247, 0.65), 0 0 10px rgba(236, 72, 153, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-btn:hover {
  box-shadow: 0 0 35px 2px rgba(168, 85, 247, 0.85);
  transform: translateY(-2px);
}

/* Animated gradient text */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #e2e8f0 40%, #c084fc 70%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass card styling */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(139, 92, 246, 0.25);
}

/* Pulse animation for active badges */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #090b10;
}

::-webkit-scrollbar-thumb {
  background: #272c3d;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b4259;
}

/* Video Frame Reflections */
.video-frame-glow {
  position: relative;
}

.video-frame-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.4) 0%, rgba(236, 72, 153, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 1.25rem;
  z-index: -1;
  filter: blur(1px);
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.btn-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}
