/* ============================================================
   TechAccessories — Premium Glassmorphism Design System
   ============================================================ */

/* Base */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

body {
  background: #030712;
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated background scene */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: blobFloat 10s ease-in-out infinite;
}
.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.35), transparent 70%);
  top: -250px;
  left: -200px;
  animation-delay: 0s;
}
.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%);
  top: 30%;
  right: -200px;
  animation-delay: -4s;
}
.blob-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
  bottom: -100px;
  left: 25%;
  animation-delay: -7s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.97); }
}

/* Navigation */
.nav-glass {
  background: rgba(3,7,18,0.75);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link:hover { color: #e0e7ff; }
.nav-link.active { color: #e0e7ff; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

/* Glass cards */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.07);
}
.glass-hover { transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.glass-hover:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 20px 60px rgba(99,102,241,0.15), 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-6px);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 40%, #a5b4fc 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-bright {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-glow {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5), 0 0 50px rgba(99,102,241,0.2);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  color: #e0e7ff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Product cards */
.product-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 30px 80px rgba(99,102,241,0.2), 0 0 0 1px rgba(99,102,241,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}
.product-card .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(3,7,18,0.9) 100%);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-indigo {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.3);
}
.badge-cyan {
  background: rgba(6,182,212,0.12);
  color: #67e8f9;
  border: 1px solid rgba(6,182,212,0.25);
}
.badge-violet {
  background: rgba(139,92,246,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.3);
}
.badge-amber {
  background: rgba(245,158,11,0.12);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,0.25);
}

/* Inputs */
.input-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f8fafc;
  border-radius: 14px;
  padding: 14px 18px;
  width: 100%;
  font-size: 0.9rem;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.input-glass::placeholder { color: #475569; }
.input-glass:focus {
  outline: none;
  border-color: rgba(99,102,241,0.6);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
textarea.input-glass { resize: none; min-height: 140px; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Divider shimmer */
.shimmer {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5) 50%, transparent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #030712; }
::-webkit-scrollbar-thumb { background: #1e1b4b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4338ca; }
