  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(125, 211, 168, 0.25);
    color: #f4faf7;
  }

  /* Navigation */
  #site-header {
    background: transparent;
  }

  #site-header.scrolled {
    background: rgba(5, 17, 32, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(125, 211, 168, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7dd3a8;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile Menu */
  #mobile-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-link {
    position: relative;
  }

  .mobile-nav-link:hover {
    letter-spacing: 0.05em;
  }

  /* Reveal animations */
  .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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }

    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }
    .reveal.delay-4 { transition-delay: 0.4s; }
    .reveal.delay-5 { transition-delay: 0.5s; }
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #051120;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(125, 211, 168, 0.2);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(125, 211, 168, 0.35);
  }

  /* Focus styles */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #7dd3a8;
    outline-offset: 2px;
  }

  /* Form inputs */
  input, textarea {
    font-family: 'Lato', system-ui, sans-serif;
  }
