body {
  background-color: #060913;
  color: #F8FAFC;
}

/* Smooth page fade transition */
.page-view {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle dark tech dot-grid */
.bg-tech-dots {
  background-image: radial-gradient(rgba(99, 102, 241, 0.22) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Frosted Glassmorphism */
.glass-card {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  background: rgba(21, 31, 56, 0.78);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 36px -8px rgba(99, 102, 241, 0.25), 0 0 20px -4px rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
}

/* Luminous Gradient Strokes & Text */
.text-gradient-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #6366F1 50%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 55%, #0891B2 100%);
  background-size: 200% auto;
  transition: all 0.35s ease;
}

.btn-gradient-primary:hover {
  background-position: right center;
  box-shadow: 0 0 26px rgba(99, 102, 241, 0.55), 0 0 14px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

/* Active Nav Link */
.nav-link.active {
  color: #22D3EE;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #06B6D4, #8B5CF6);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #060913;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4F46E5;
}