  /* Custom styles for Cabbage Patch Accounting */

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

  /* Selection color */
  ::selection {
    background-color: #fbbf24;
    color: #3b0764;
  }

  /* Navbar glass effect */
  .navbar {
    background: rgba(250, 245, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(126, 34, 206, 0.08);
  }

  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(107, 33, 168, 0.08);
  }

  /* Floating animations */
  @keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
  }

  @keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
  }

  @keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
  }

  .float-slow {
    animation: float-slow 5s ease-in-out infinite;
  }

  .float-medium {
    animation: float-medium 4s ease-in-out infinite;
  }

  .float-fast {
    animation: float-fast 3s ease-in-out infinite;
  }

  /* Service card hover glow */
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .service-card {
    position: relative;
  }

  /* Testimonial card shimmer */
  .testimonial-card {
    position: relative;
    overflow: hidden;
  }

  .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
  }

  .testimonial-card:hover::before {
    left: 100%;
  }

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

    .reveal-hidden {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
  }

  /* Reduced motion */
  @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;
    }

    .float-slow, .float-medium, .float-fast {
      animation: none;
    }
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
  }

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

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

  ::-webkit-scrollbar-thumb {
    background: #d8b4fe;
    border-radius: 5px;
  }

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

  /* Mobile menu transitions */
  #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  #mobileMenu.open {
    max-height: 400px;
    opacity: 1;
  }

  /* Back to top button */
  #backToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #backToTop:not(.visible) {
    transform: translateY(16px);
  }
