    /* Custom styles for Ethereal Ink */
    
    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    }

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

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

    /* Stagger children */
    .reveal-stagger > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
    .reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
    .reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
    .reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
    .reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
    .reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }

    .reveal-stagger.revealed > * {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile menu animation */
    #mobileMenu {
        animation: slideDown 0.3s ease;
    }

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

    /* Button ripple effect */
    .bg-coral-500 {
        position: relative;
        overflow: hidden;
    }

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

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

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

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

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

    /* Focus visible styles */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #e07a5f;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .reveal,
        .reveal-stagger > * {
            opacity: 1;
            transform: none;
            transition: none;
        }
        .hover\\:scale-105:hover {
            transform: none;
        }
    }
