/* Quantum Paradigm - Future-Proofing Online Presence Theme */
/* Futuristic Violet Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #8b5cf6;
  --secondary: #6366f1;
  --accent: #a78bfa;
  --dark: #0f172a;
  --darker: #020617;
  --violet-glow: rgba(139, 92, 246, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-white {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow Effects */
.glow-effect {
  box-shadow: 0 0 30px var(--violet-glow),
              0 0 60px var(--violet-glow),
              0 0 90px var(--violet-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 30px var(--violet-glow),
                0 0 60px var(--violet-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--violet-glow),
                0 0 80px var(--violet-glow),
                0 0 120px var(--violet-glow);
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
  border-color: #a78bfa;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #8b5cf6;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

/* Cards */
.card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  border-color: #8b5cf6;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

/* Form Elements */
.form-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Container */
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* Gradient Backgrounds */
.gradient-bg {
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.gradient-border {
  border-image: linear-gradient(135deg, #8b5cf6, #6366f1) 1;
}

/* AI Agent Widget */
.ai-agent-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

/* Navigation */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 16px;
}

.nav-link:hover {
  color: #8b5cf6;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Urgency Badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  border-radius: 50px;
  color: #fca5a5;
  font-size: 14px;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Stats Counter */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  padding: 24px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

/* Loading Animation */
.loading-spinner {
  border: 3px solid rgba(139, 92, 246, 0.3);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error Messages */
.message-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 16px 0;
}

.message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 16px 0;
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Blob Animations */
@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(50px, 50px) scale(1.05);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}
