  /* Custom styles beyond Tailwind */

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

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

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

  .animate-float {
    animation: float 6s ease-in-out infinite;
  }

  .animate-float-delay {
    animation: float-delay 8s ease-in-out infinite;
  }

  /* Scroll reveal animations - progressive enhancement */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .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; }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(21, 25, 33, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  /* Menu card hover */
  .menu-card {
    transform: translateY(0);
  }

  .menu-card:hover {
    transform: translateY(-4px);
  }

  /* Feature card hover */
  .feature-card {
    transform: translateY(0);
  }

  .feature-card:hover {
    transform: translateY(-4px);
  }

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

  /* Selection color */
  ::selection {
    background-color: #ff6b3f;
    color: white;
  }

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

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

  ::-webkit-scrollbar-thumb {
    background: #ff6b3f;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #f04a1e;
  }

  /* Body scrollbar for light sections */
  body:not(.dark-scroll) ::-webkit-scrollbar-track {
    background: #f6f6f7;
  }

  body:not(.dark-scroll) ::-webkit-scrollbar-thumb {
    background: #6b7280;
  }

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

  /* Reduce motion preference */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }
  }
