  /* Base reset & global styles */
  *, *::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;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Scroll reveal - progressive enhancement, hidden by default when JS runs */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0f172a;
  }
  ::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
  }

  /* Selection color */
  ::selection {
    background: #14b8a6;
    color: #f8fafc;
  }

  /* Mobile menu transition */
  #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #mobileMenu.open {
    max-height: 400px;
  }

  /* Hero geometric accent animations */
  @media (prefers-reduced-motion: no-preference) {
    .hero-blob {
      animation: float 6s ease-in-out infinite;
    }
    .hero-blob:nth-child(2) {
      animation-delay: -2s;
      animation-duration: 8s;
    }
    .hero-blob:nth-child(3) {
      animation-delay: -4s;
      animation-duration: 7s;
    }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
  }

  /* Pulse dot animation */
  @keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
  }

  .animate-pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
  }

  /* Card hover tilt effect */
  @media (prefers-reduced-motion: no-preference) {
    .menu-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .menu-card:hover {
      transform: translateY(-4px);
    }
  }
