/* ============================================================
   EXPERT END — Minimalist White-Spaced Theme with Blue Accent
   ============================================================ */

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spinSlow 32s linear infinite;
}

/* Subtle smooth transitions */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Refined typography adjustments */
h1, h2, h3, h4 {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* 3D tilt container smoothness */
#hero-interactive-stage {
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

#hero-3d-svg {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Topic Pills Active Styling */
.topic-pill.active {
  background-color: #EFF6FF !important;
  color: #0066FF !important;
  border-color: #0066FF !important;
  box-shadow: 0 1px 3px rgba(0, 102, 255, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Subtle card hover glow */
.discipline-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 20px 40px -15px rgba(0, 102, 255, 0.07);
}

/* Subtle focus ring */
input:focus, textarea:focus, button:focus-visible {
  outline: none;
}
