/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* ========== MARQUEE ANIMATION ========== */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* ========== SCROLL REVEAL ========== */
/* Base state: always visible (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animated state only when JS is active — applied via JS */
.reveal-animated.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
  .reveal-animated.reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* ========== NAVBAR SCROLL ========== */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
  color: #060D18 !important;
}

.nav-scrolled .nav-link {
  color: #060D18 !important;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #060D18;
}

::-webkit-scrollbar-thumb {
  background: #5EEAD4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #34D399;
}

/* ========== SELECTION ========== */
::selection {
  background: #5EEAD4;
  color: #060D18;
}

/* ========== FOCUS STYLES ========== */
:focus-visible {
  outline: 2px solid #5EEAD4;
  outline-offset: 2px;
}

/* ========== UTILITY ========== */
@media (max-width: 768px) {
  .font-serif {
    font-size: 2.5rem !important;
  }
}
