/* ============================================
   CRECIMIENTO MENTAL — Neural Stillness Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base */
body {
  background-color: #faf9f6;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: rgba(110, 130, 96, 0.15);
}

/* Grid subtle background */
.bg-grid-subtle {
  background-image: radial-gradient(circle, rgba(110,130,95,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes growWidth {
  from { width: 0; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

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

.animate-grow-width {
  animation: growWidth 0.8s ease-out forwards;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Stagger animations */
.animate-fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.3s; }

/* Quiz transitions */
.quiz-option {
  transition: all 0.2s ease;
}
.quiz-option:hover {
  transform: translateY(-1px);
}
.quiz-option.selected {
  border-color: #5a6b4f;
  background-color: rgba(246, 247, 244, 0.8);
  box-shadow: 0 0 0 2px rgba(90, 107, 79, 0.15);
}

/* FAQ accordion */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Score bars */
.score-bar {
  transition: width 0.8s ease-out;
}

/* CTA Button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background-color: #5a6b4f;
  border-radius: 0.75rem;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(90, 107, 79, 0.2);
  text-decoration: none;
}
.btn-primary:hover {
  background-color: #4a5540;
  box-shadow: 0 4px 12px rgba(90, 107, 79, 0.25);
  transform: translateY(-1px);
}

.btn-primary-lg {
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c5a53;
  background-color: transparent;
  border: 1px solid rgba(229, 228, 222, 0.8);
  border-radius: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.6);
  border-color: #d0cec6;
  color: #2d2d28;
}

.btn-outline-lg {
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
}
