  /* ========== CUSTOM STYLES ========== */

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

  /* Selection color */
  ::selection {
    background-color: rgba(147, 51, 234, 0.15);
    color: #581c87;
  }

  /* ========== NAVBAR ========== */
  #navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(88, 28, 135, 0.06);
  }

  /* ========== FLOATING CARDS ========== */
  .floating-card-1 {
    animation: float-1 6s ease-in-out infinite;
  }

  .floating-card-2 {
    animation: float-2 7s ease-in-out infinite;
  }

  .floating-card-3 {
    animation: float-3 5s ease-in-out infinite;
  }

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

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

  @keyframes float-3 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-8px) translateX(5px); }
  }

  /* ========== SCROLL REVEAL ========== */
  .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);
  }

  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal[data-reveal="delay-1"] { transition-delay: 0.1s; }
  .reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
  .reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }
  .reveal[data-reveal="delay-4"] { transition-delay: 0.4s; }

  /* ========== MOBILE MENU ========== */
  #mobile-menu {
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ========== REDUCED MOTION ========== */
  @media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
      animation: none;
    }

    .reveal[data-reveal] {
      opacity: 1;
      transform: none;
    }

    html {
      scroll-behavior: auto;
    }

    img {
      transition: none;
    }
  }

  /* ========== FOCUS STYLES ========== */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
    border-radius: 0.5rem;
  }

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

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

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

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