:root {
  --bg-color: #f8fafc;
  --bg-gradient: radial-gradient(circle at 15% 50%, rgba(238, 242, 255, 1), transparent 50%), radial-gradient(circle at 85% 30%, rgba(243, 232, 255, 1), transparent 50%), radial-gradient(circle at 50% 80%, rgba(224, 242, 254, 1), transparent 50%), #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --accent-color: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.4);
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-color: rgba(226, 232, 240, 0.8);

  --font-inter: 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-glow: 0 0 20px var(--primary-glow);
}

[data-theme='dark'] {
  --bg-color: #020617;
  --bg-gradient: radial-gradient(circle at 50% 0%, #0f172a 0%, #020617 100%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border-color: rgba(51, 65, 85, 0.6);
  --primary-color: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 8px 16px -4px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 15px 30px -5px rgb(0 0 0 / 0.7);
  --shadow-xl: 0 25px 40px -10px rgb(0 0 0 / 0.8);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-inter);
  background: var(--bg-gradient);
  background-color: var(--bg-color);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
}


/* Base Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 15px var(--primary-glow);
  }

  50% {
    box-shadow: 0 0 30px var(--primary-glow), 0 0 10px rgba(139, 92, 246, 0.5);
  }
}

@keyframes floatElement {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

html * {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}