  /* Custom styles for FoamCup */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a1628;
  }
  ::-webkit-scrollbar-thumb {
    background: #1a2d4a;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #34d4a8;
  }

  /* Selection color */
  ::selection {
    background: rgba(52, 212, 168, 0.3);
    color: #fff;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 212, 168, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Menu tab transitions */
  .menu-content {
    animation: fadeIn 0.4s ease forwards;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Menu tab active state */
  .menu-tab.active {
    background: #34d4a8;
    color: #0a1628;
    border-color: #34d4a8;
  }

  /* Intersection observer animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

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

  /* Image hover overlay */
  .group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Button focus states */
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  a:focus-visible {
    outline: 2px solid #34d4a8;
    outline-offset: 2px;
  }

  /* Map grayscale transition */
  .grayscale {
    filter: grayscale(0.6);
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }

  #mobile-menu.hidden {
    animation: slideUp 0.3s ease forwards;
  }

  @keyframes slideUp {
    from {
      opacity: 1;
      max-height: 500px;
    }
    to {
      opacity: 0;
      max-height: 0;
    }
  }

  /* Form input focus glow */
  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 212, 168, 0.1);
  }

  /* Subtle pulse for the green dot */
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .font-display {
      font-size: clamp(2.5rem, 8vw, 4rem);
    }
  }
