/* =======================================
   VEGHAX — Shared Design System CSS
   ======================================= */

/* Active nav link */
.nav-active {
  color: #4a40e0 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #4a40e0;
  padding-bottom: 2px;
}

/* Glass nav bar */
.glass-nav {
  background: rgba(249, 245, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(171, 169, 215, 0.15);
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(171, 169, 215, 0.15);
}

/* Custom gradient */
.custom-gradient {
  background: linear-gradient(135deg, #4a40e0 0%, #9795ff 100%);
}

/* Material symbols base */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Body defaults */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f5ff;
  color: #2b2a51;
}

h1, h2, h3, h4, .font-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Selection */
::selection {
  background-color: #9795ff;
  color: #14007e;
}

/* Page transition */
body {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile menu spacing */
#mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(171, 169, 215, 0.15);
}

#mobile-menu a:last-child { border-bottom: none; }

/* Pulse dot animation */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: currentColor;
  animation: pulse-ring 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
