/* Homepage Custom Styles for Pixel Perfect Design */

/* Header */
.header-glass {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Logo gradient */
.logo-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Hero section */
.hero-gradient-bg {
  background: linear-gradient(180deg, #030712 0%, #0a0f1e 50%, #030712 100%);
}

/* Dashboard preview card */
.dashboard-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #0f141f 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  pointer-events: none;
}

/* Stats cards in dashboard */
.dashboard-stat {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button gradients */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

/* Feature cards */
.feature-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #0f141f 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.3);
}

/* Icon backgrounds */
.icon-bg-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.icon-bg-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.icon-bg-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.icon-bg-yellow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(234, 179, 8, 0.05) 100%);
}

/* Progress bars */
.progress-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-fill-green {
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.progress-fill-blue {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-fill-purple {
  background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Pricing cards */
.pricing-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #0f141f 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.pricing-card-featured {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  pointer-events: none;
}

/* Testimonial cards */
.testimonial-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #0f141f 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer-gradient {
  background: linear-gradient(180deg, #030712 0%, #0a0f1e 100%);
}

/* Decorative glow effects */
.glow-blue {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  background: rgba(59, 130, 246, 0.15);
  pointer-events: none;
}

.glow-purple {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  background: rgba(139, 92, 246, 0.15);
  pointer-events: none;
}

/* Chart bars */
.chart-bar {
  transition: height 0.5s ease;
  border-radius: 4px 4px 0 0;
}

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

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

/* Section dividers */
.section-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
  height: 1px;
}

/* Base styles for home page */
body { background-color: #0a0a0a; color: #fafafa; }

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

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

.grid-bg {
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.progress-bar { transition: width 1s ease-out; }
