/* Custom styles that extend beyond Tailwind */

/* Smooth focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #6ee7b7;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #bbf7d0;
    color: #0f172a;
}

/* Subtle pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(110, 231, 183, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(110, 231, 183, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#hero > div {
    position: relative;
    z-index: 1;
}

/* Ensure mobile menu backdrop */
#mobile-menu::before {
    content: '';
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

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

/* Custom underline animation for links */
a:not([class]) {
    position: relative;
}
