.nav-link.active-link {
    color: var(--color-text-strong);
}

.nav-link.active-link::after {
    width: 100%;
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.faq-item {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body.light-mode .faq-item {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px -10px var(--color-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1.125rem;
    line-height: 1.75rem;
    -webkit-tap-highlight-color: transparent;
}

.faq-icon {
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--color-text);
}

.faq-question:hover .faq-icon {
    color: var(--color-text-strong);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.faq-answer p {
    line-height: 1.75;
}

.faq-item.active {
    border-color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    transition: max-height 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-section:nth-child(1) { transition-delay: 100ms; }
.animate-section:nth-child(2) { transition-delay: 200ms; }
.animate-section:nth-child(3) { transition-delay: 300ms; }
.animate-section:nth-child(4) { transition-delay: 400ms; }
.animate-section:nth-child(5) { transition-delay: 500ms; }
.animate-section:nth-child(6) { transition-delay: 600ms; }
