/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; }

/* ── Navbar ── */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}
.nav-scrolled .nav-logo-text { color: #1A1C21; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF7A52;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-menu-link { transition: opacity 0.3s, transform 0.3s; }
.mobile-menu.open .mobile-menu-link { opacity: 1; transform: translateY(0); }
.mobile-menu .mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu .mobile-menu-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu .mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu .mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu:not(.open) .mobile-menu-link { opacity: 0; transform: translateY(12px); }

/* ── Floating Cards ── */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.floating-card:nth-child(2) { animation-delay: -2s; animation-duration: 7s; }
.floating-card:nth-child(3) { animation-delay: -4s; animation-duration: 5.5s; }
.floating-card:nth-child(4) { animation-delay: -1s; animation-duration: 6.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Card Hover ── */
.card-hover {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ── Scroll Reveal (below fold only) ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@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);
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F6F6F7; }
::-webkit-scrollbar-thumb { background: #D1D2D6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A8AAAF; }
