/* Advanced Base Styles for Awwwards-level design */

:root {
  /* Enhanced color palette */
  --primary-color: #8c1aff;
  --primary-gradient: linear-gradient(135deg, #8c1aff 0%, #b44dff 100%);
  --secondary-color: #ff1a8c;
  --secondary-gradient: linear-gradient(135deg, #ff1a8c 0%, #ff4da6 100%);
  --accent-color: #1aff8c;
  --accent-gradient: linear-gradient(135deg, #1aff8c 0%, #4dffa6 100%);
  --dark-color: #121212;
  --light-dark-color: rgba(30, 30, 30, 0.8);
  --medium-dark-color: rgba(42, 42, 42, 0.9);
  --light-color: #f0f0f0;
  --gray-color: #888;
  
  /* Glass morphism variables */
  --glass-background: rgba(18, 18, 18, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Typography enhancement */
  --heading-font: 'Permanent Marker', cursive;
  --body-font: 'Poppins', sans-serif;
  
  /* Custom cursor variables */
  --cursor-radius: 30px;
}

/* Base Styles */
body {
  cursor: none !important; /* Hide default cursor */
  overflow-x: hidden;
  font-family: var(--body-font);
  background-color: var(--dark-color);
  color: var(--light-color);
  line-height: 1.6;
}

/* Hide original cursor on all interactive elements */
a, button, input, select, textarea, .term-card, .feature-card, .view-btn, .social-icons a {
  cursor: none !important;
}

/* Custom cursor */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out, width 0.2s, height 0.2s, background-color 0.2s;
  will-change: transform;
  backface-visibility: hidden;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
}

.cursor-outline {
  width: var(--cursor-radius);
  height: var(--cursor-radius);
  border: 2px solid var(--primary-color);
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(140, 26, 255, 0.1);
  border-color: var(--accent-color);
}

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

::-webkit-scrollbar-track {
  background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.highlight {
  color: var(--primary-color);
  font-family: var(--heading-font);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 8px;
  bottom: 5px;
  left: 0;
  z-index: -1;
  background-color: rgba(140, 26, 255, 0.3);
  transform: skewX(-10deg);
}

/* Glass card */
.glass-card {
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(140, 26, 255, 0.3);
}
