  /* ===== BASE & UTILITIES ===== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Poppins', sans-serif; -webkit-font-smoothing: antialiased; }

  ::selection { background: #99f6e4; color: #0f766e; }

  /* ===== SCROLL REVEAL ===== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== HEADER SCROLL STATE ===== */
  #site-header.scrolled {
    background: rgba(13, 148, 136, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  /* ===== MOBILE MENU ===== */
  #mobile-menu.open {
    max-height: 400px;
  }

  /* ===== NAV LINK HOVER ===== */
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #5eead4;
    border-radius: 1px;
    transition: width 0.2s ease;
    margin-top: 2px;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* ===== SMOOTH IMAGE LOADING ===== */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  /* ===== FOCUS STYLES ===== */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== CUSTOM SCROLLBAR ===== */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #64748b; }
</style>
