/* Custom Styles for DesignCoach Compare - Slate & Indigo Theme */

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; /* Slate 900 */
}
::-webkit-scrollbar-thumb {
    background: #4f46e5; /* Indigo 600 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4338ca; /* Indigo 700 */
}

/* Scroll Reveal Animation */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Enhancements */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* FAQ Accordion Transitions */
.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-content.open {
    max-height: 500px; /* Arbitrary large number for max-height transition */
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.faq-btn svg {
    transition: transform 0.3s ease;
}
.faq-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Mobile Comparison Hide/Show Logic */
.desktop-comparison {
    display: block;
}
.mobile-comparison {
    display: none;
}

@media screen and (max-width: 1024px) {
    .desktop-comparison {
        display: none !important;
    }
    .mobile-comparison {
        display: block !important;
    }
}

