/* Variables CSS */
:root {
  /* Colores principales */
  --color-primary-50: #f8f6fd;
  --color-primary-100: #f0e8f5;
  --color-primary-200: #e6ddf0;
  --color-primary-300: #d8c7e6;
  --color-primary-400: #c5b0d8;
  --color-primary-500: #b094c5;
  --color-primary-600: #9072b0;
  --color-primary-700: #7a69a0;
  --color-primary-800: #635890;
  --color-primary-900: #2b2543;

  /* Tipografía */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Espaciado */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-24: 6rem;

  /* Border radius */
  --radius-full: 9999px;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Transiciones */
  --transition-standard: all 0.3s ease;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-primary-900);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* Utilidades */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

/* Animaciones */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

/* Efectos */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Media queries */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-4);
  }
}