  /* ========== BASE ========== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; }

  /* ========== ANIMATIONS ========== */
  @keyframes pulse-slow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
  }
  .animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }

  /* Hero fade-in */
  .hero-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s ease forwards;
  }
  .hero-fade:nth-child(1) { animation-delay: 0.2s; }
  .hero-fade:nth-child(2) { animation-delay: 0.4s; }
  .hero-fade:nth-child(3) { animation-delay: 0.6s; }
  .hero-fade:nth-child(4) { animation-delay: 0.8s; }
  .hero-fade:nth-child(5) { animation-delay: 1.0s; }

  @keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ========== REVEAL ON SCROLL ========== */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* ========== NAV SCROLL STATE ========== */
  #navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* ========== MOBILE MENU ========== */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ========== CUSTOM SCROLLBAR ========== */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0a1628; }
  ::-webkit-scrollbar-thumb { background: #10b981; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #4ade80; }

  /* ========== SELECTION ========== */
  ::selection { background: rgba(16, 185, 129, 0.3); color: #fff; }

  /* ========== FOCUS VISIBLE ========== */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
  }

  /* ========== IMAGE HOVER SMOOTHNESS ========== */
  img { will-change: transform; }
  .aspect-square img, .aspect-\[4\/3\] img, .aspect-\[4\/5\] img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* ========== FORM INPUTS ========== */
  input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }
  input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(15, 31, 61, 1) inset !important;
    -webkit-text-fill-color: #fff !important;
  }

  /* ========== MAP FILTER ========== */
  .grayscale { filter: grayscale(0.6) brightness(0.85) contrast(1.1); }
  .grayscale:hover { filter: grayscale(0) brightness(1) contrast(1); }
