/* Custom styles for Nevro HF10 */

/* Scroll reveal - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content:not(.hidden) {
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.2s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4a7c35;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #98c08a;
}

/* Subtle card hover animation */
.hover\:shadow-md:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Selection color */
::selection {
    background-color: #c5dbba;
    color: #1f3117;
}
