:root {
  --primary: #6366f1;
  --surface: #0f1115;
  --surface-highlight: #1a1d24;
}

body {
  font-family: "SN Pro", sans-serif;
  background-color: #050507;
  /* Deep Black */
  color: #e2e8f0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

/* Modern Gradient Background */
.aurora-bg {
  background:
    radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  height: 100vh;
  pointer-events: none;
}

/* Refined Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-pill {
  background: rgba(15, 17, 21, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Audio Bars */
.audio-bar {
  width: 4px;
  background: #818cf8;
  border-radius: 2px;
  animation: waveform 1s ease-in-out infinite;
}

@keyframes waveform {
  0%,
  100% {
    height: 10%;
    opacity: 0.5;
  }

  50% {
    height: 100%;
    opacity: 1;
  }
}

/* Range Slider Modern */
input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
  transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #334155;
  border-radius: 99px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

.text-gradient {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated Gradient Text */
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 4s ease infinite;
}

@keyframes gradient-x {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Floating Animation for Cards */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Slow Pulse for Background Glow */
.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Heading Font */
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
}

/* Glass Container for Legal Text */
.legal-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Typography Styles for Dynamic Content */
.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}

.legal-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: #94a3b8;
}

.legal-content ul {
  list-style-type: none; /* Custom bullets */
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.legal-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.legal-content li::before {
  content: "\f00c"; /* FontAwesome Check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  color: #6366f1; /* Indigo-500 */
  font-size: 0.75rem;
}

.legal-content strong {
  color: #fff;
  font-weight: 600;
}

.legal-content a {
  color: #818cf8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.legal-content a:hover {
  color: #a5b4fc;
  border-bottom-color: #a5b4fc;
}