:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #9333ea;
  --accent: #ec4899;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

header {
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

#mobile-menu {
  display: none;
}

#mobile-menu.active {
  display: block;
}

@media (max-width: 1023px) {
  #nav-menu {
    display: none !important;
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

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

.aspect-square {
  aspect-ratio: 1 / 1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.5);
}

form input.error,
form textarea.error,
form select.error {
  border-color: #dc2626;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.bg-pattern {
  background-image: 
    linear-gradient(45deg, rgba(79, 70, 229, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(79, 70, 229, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(79, 70, 229, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(79, 70, 229, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.shadow-custom {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

footer a:hover {
  color: white;
}

#cookie-banner {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.text-balance {
  text-wrap: balance;
}

::selection {
  background-color: var(--primary);
  color: white;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.iconify {
  display: inline-block;
  vertical-align: middle;
}