/* ── E-Vistoria Landing Page Styles ── */

/* Animations */
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -3%) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift-reverse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 2%) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-drift {
  animation: drift 20s ease-in-out infinite;
}

.animate-drift-reverse {
  animation: drift-reverse 18s ease-in-out infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(15, 23, 84, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#navbar.scrolled #nav-logo-text {
  color: white;
}

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

/* Selection color */
::selection {
  background-color: rgba(122, 52, 235, 0.3);
  color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-drift,
  .animate-drift-reverse,
  .animate-bounce-slow,
  .animate-bounce,
  .animate-pulse {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: white;
  color: #1e293b;
}

.form-input:focus {
  outline: none;
  border-color: #7a34eb;
  box-shadow: 0 0 0 3px rgba(122, 52, 235, 0.15);
}

.form-input::placeholder {
  color: #94a3b8;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Category card selection */
.category-card {
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-card:hover {
  border-color: #7a34eb;
  box-shadow: 0 4px 20px rgba(122, 52, 235, 0.1);
}

.category-card.selected {
  border-color: #7a34eb;
  background: rgba(122, 52, 235, 0.05);
  box-shadow: 0 0 0 2px rgba(122, 52, 235, 0.3);
}

/* Toast notification */
.toast {
  animation: fade-up 0.4s ease;
}

/* Exclusion page warning */
.warning-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left: 4px solid #f59e0b;
}

/* Checkbox custom */
.custom-checkbox {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-checkbox:checked {
  background-color: #7a34eb;
  border-color: #7a34eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
