/* FAQ Page Specific Styles */

/* FAQ Hero */
.faq-hero {
    position: relative;
    padding: 150px 0 80px;
    background: var(--gradient-light);
    overflow: hidden;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.animated-shapes .shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 50%;
    animation: pulse 15s ease-in-out infinite;
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.search-box i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.25rem;
}

/* FAQ Categories */
.faq-categories {
    padding: 40px 0;
    background: var(--white);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-color);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.category-btn i {
    font-size: 1.125rem;
}

/* FAQ Content */
.faq-content {
    padding: 60px 0 100px;
    background: var(--white);
}

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

.faq-category {
    margin-bottom: 4rem;
}

.faq-category {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.category-title i {
    color: var(--primary-color);
}

/* FAQ Items */
.faq-item {
    background: var(--light-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
}

.faq-item.active {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer > * {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--text-color);
}

/* Still Have Questions */
.still-questions {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.questions-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.questions-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.questions-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Search Highlight */
.highlight {
    background: rgba(255, 193, 7, 0.3);
    padding: 0 4px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-categories {
        padding: 20px 0;
        top: 60px;
    }
    
    .categories-grid {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .category-btn span {
        display: none;
    }
    
    .category-btn i {
        font-size: 1.25rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .questions-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .questions-actions .btn {
        width: 250px;
    }
}