/* Base Body Reset */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar for neatest look, maintain scrolling capability */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #020617;
  /* Slate 950 */
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  /* Slate 800 */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
  /* Slate 700 */
}

/* GSAP utility classes to prevent FOUC */

.gs-reveal {
  visibility: hidden;
}

/* Form autocomplete styling fix for Dark mode */

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
  -webkit-box-shadow: 0 0 0 30px #020617 inset !important;
  -webkit-text-fill-color: white !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

/* Standard cursor for interactive elements to mimic pro designs */

a, button, input[type="submit"], .cursor-pointer {
  cursor: none;
}

body {
  cursor: none;
}

/* Custom Cursor Base */

.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: #512bd4;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background-color 0.2s ease;
}

/* Custom Cursor Follower */

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(81, 43, 212, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* Cursor Hover States */

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(0);
}

.custom-cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: transparent;
  background-color: rgba(81, 43, 212, 0.2);
}
