/* ==========================================================================
   CompuInside - Custom Stylesheet & Design System
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-cyan: #06b6d4;
  --accent-teal: #0d9488;
  --accent-emerald: #10b981;
  --slate-dark: #0f172a;
  --slate-card: #1e293b;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --border-subtle: #e2e8f0;
}

/* Custom smooth scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typography styles */
.font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism utilities */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient mesh backgrounds */
.bg-mesh-hero {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 10% 10%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(16, 185, 129, 0.06) 0px, transparent 50%);
}

.bg-mesh-dark {
  background-color: #0b0f19;
  background-image: 
    radial-gradient(at 20% 20%, rgba(37, 99, 235, 0.18) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(6, 182, 212, 0.15) 0px, transparent 50%);
}

.bg-dots {
  background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
}

/* Glow effects */
.glow-primary {
  box-shadow: 0 0 50px -10px rgba(37, 99, 235, 0.35);
}

.glow-cyan {
  box-shadow: 0 0 40px -10px rgba(6, 182, 212, 0.35);
}

/* Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 6s ease-in-out 2s infinite;
}

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

/* Tab interactive states */
.studio-tab.active {
  background: #ffffff;
  color: #2563eb;
  border-color: #bfdbfe;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
}

.specialty-card.active {
  border-color: #2563eb;
  background: #eff6ff;
}

/* Interactive slider track styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Bento card hover depth */
.bento-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Live toast alert */
.social-proof-toast {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.social-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Shimmer badge effect */
.badge-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

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