/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #1a0a1e;
  color: #f0e6f6;
  overflow-x: hidden;
}

/* Scroll reveal — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(26, 10, 30, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 77, 158, 0.2);
}

/* FAQ animations */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-content.open {
  max-height: 300px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a0a1e;
}
::-webkit-scrollbar-thumb {
  background: #6e1f52;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #842562;
}

/* Selection color */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: #f5e6ff;
}
</style>
