/* FAQ Section */
.faq {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: white;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-question i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-question h3 {
    flex-grow: 1;
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.toogle-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 20px;
    padding-top: 0;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.faq-answer ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

.fake-link-toogle {
    color: var(--primary-color);
    text-decoration-line: underline;
    cursor: pointer;
}

.container-toogle {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    text-align: center;
}

.text-toogle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-toogle {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.25rem;
	border-radius: 9999px;
	background-color: rgba(219, 234, 254, 1);
    width: 4rem;
    height: 2rem;
    cursor: pointer;
}

.pricing-toogle-pill {
	position: absolute;
	border-radius: 9999px;
	height: 1.5rem;
	transition: transform 0.3s ease;
	background-color: white;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    width: 1.5rem;
}
.pricing-toogle-pill.free {
	transform: translateX(0);
}
.pricing-toogle-pill.lifetime {
	transform: translateX(100%);
}

.text-special-toogle-actif {
    margin-right: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    color: #1f2937;
}

.text-special-toogle-cache {
    margin-left: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    color: #6b7280;
}

.legend-toogle-actif {
    font-size: 1rem;
    color: #1f2937;
    padding: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-toogle-cache {
    font-size: 1rem;
    color: #6b7280;
    padding: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Media Queries */
@media (min-width: 768px) {
    .container-toogle {
        margin-bottom: 1rem;
    }

    .pricing-toogle {
        width: 5rem;
        height: 2.5rem;
    }

    .pricing-toogle-pill {
        width: 2rem;
        height: 2rem;
    }

    .text-special-toogle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        flex-wrap: wrap;
    }
    
    .faq-question h3 {
        width: 100%;
        margin: 10px 0;
    }
}
