  /* ===== CUSTOM STYLES ===== */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Nav scroll state */
  #nav.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(123, 45, 142, 0.08), 0 4px 24px rgba(123, 45, 142, 0.06);
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8A838;
    border-radius: 1px;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile menu */
  #mobileMenu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }

  .mobile-link {
    display: block;
  }

  /* Hamburger animation */
  #menuBtn.active .menu-line:nth-child(1) {
    top: 6.5px;
    transform: rotate(45deg);
  }

  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
  }

  #menuBtn.active .menu-line:nth-child(3) {
    top: 6.5px;
    transform: rotate(-45deg);
  }

  /* Scroll reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.visible {
    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; }

  /* Selection color */
  ::selection {
    background: rgba(123, 45, 142, 0.15);
    color: #3D2B1F;
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #7B2D8E;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FDF8F0;
  }
  ::-webkit-scrollbar-thumb {
    background: #d97dd8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c14dbf;
  }

  /* Subtle pulse on CTA buttons */
  @keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 168, 56, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(232, 168, 56, 0); }
  }

  .cta-pulse {
    animation: softPulse 3s ease-in-out infinite;
  }

  /* Image placeholder fallback */
  img {
    background: linear-gradient(135deg, #f5d9f5 0%, #ffefcc 100%);
  }

  /* Print styles */
  @media print {
    #nav, #mobileMenu, .reveal { display: none; }
    body { background: white; }
  }
