/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
#nav { background: transparent; }
#nav.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open { opacity: 1; pointer-events: all; }
.mobile-link { transition: opacity 0.3s; }

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape { position: absolute; pointer-events: none; }

.shape-circle-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  animation: float-slow 12s ease-in-out infinite;
}

.shape-circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,107,0.08) 0%, transparent 70%);
  bottom: 10%; left: 5%;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite reverse;
}

.shape-rect-1 {
  width: 120px; height: 120px;
  background: rgba(255,107,107,0.07);
  border: 2px solid rgba(255,107,107,0.15);
  top: 25%; right: 8%;
  border-radius: 24px;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.shape-triangle {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(255,107,107,0.06);
  bottom: 20%; right: 25%;
  animation: float-slow 10s ease-in-out infinite;
}

.shape-dots {
  width: 80px; height: 80px;
  background-image: radial-gradient(circle, rgba(255,107,107,0.3) 1px, transparent 1px);
  background-size: 12px 12px;
  top: 40%; left: 45%;
  opacity: 0.5;
  animation: float-slow 6s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ===== MARQUEE ===== */
.marquee-track {
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== REVEAL ANIMATIONS (below-fold only, progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible {
  outline: 2px solid #FF6B6B;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF6B6B; }

/* ===== SELECTION ===== */
::selection { background: rgba(255, 107, 107, 0.3); color: #fff; }
</script>
