/* ===== 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; }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
select { 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='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ===== NAV ===== */
#nav.scrolled { background: rgba(10, 37, 64, 0.95); backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0,0,0,0.2); }
#nav.scrolled .font-display { color: #fffdf7; }
#nav.scrolled a:not(.inline-flex) { color: #d0dbe8; }

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

/* ===== HERO SHAPES ===== */
.hero-shape { position: absolute; pointer-events: none; }
.shape-circle-1 {
  width: 600px; height: 600px;
  border: 2px solid rgba(79, 209, 197, 0.15);
  border-radius: 50%;
  top: -200px; right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}
.shape-circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%; left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.shape-rect-1 {
  width: 120px; height: 120px;
  background: rgba(79, 209, 197, 0.08);
  border-radius: 24px;
  top: 25%; right: 8%;
  transform: rotate(45deg);
  animation: float-slow 12s ease-in-out infinite;
}
.shape-rect-2 {
  width: 80px; height: 80px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 16px;
  bottom: 20%; right: 25%;
  transform: rotate(20deg);
  animation: float-slow 18s ease-in-out infinite reverse;
}
.shape-tri {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(79, 209, 197, 0.06);
  top: 40%; left: 3%;
  animation: float-slow 16s ease-in-out infinite;
}
.shape-dot-group {
  width: 8px; height: 8px;
  background: rgba(79, 209, 197, 0.4);
  border-radius: 50%;
  top: 30%; left: 45%;
  box-shadow:
    20px 30px 0 rgba(251, 191, 36, 0.3),
    -15px 50px 0 rgba(79, 209, 197, 0.2),
    40px 70px 0 rgba(251, 191, 36, 0.25),
    -30px 80px 0 rgba(79, 209, 197, 0.15);
  animation: float-slow 14s ease-in-out infinite reverse;
}

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

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  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); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .hero-shape { animation: none; }
  img { transition: none; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a2540; }
::-webkit-scrollbar-thumb { background: #14b8a6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4fd1c5; }
</style>
