/* ============ Base & Scroll ============ */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #050505;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ============ Gradient helpers ============ */
.gradient-text {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-bg {
  background: linear-gradient(90deg, #007bff, #00c6ff);
}

.gradient-border {
  position: relative;
  border: 1px solid transparent;
  background-clip: padding-box;
}

/* ============ Glassmorphism ============ */
.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 198, 255, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 123, 255, 0.35);
}

/* ============ Glow / blobs background ============ */
.bg-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}

.bg-glow:nth-of-type(even) {
  animation-duration: 22s;
  animation-delay: -6s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -4%) scale(1.08); }
  100% { transform: translate(-4%, 3%) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow {
    animation: none;
  }
}
