/* ========================================
   FAQ PAGE STYLES
   ======================================== */

.faq-page {
    padding: 60px 0;
    min-height: 70vh;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
}

.faq-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.faq-header p {
    font-size: 18px;
    color: var(--gray-600);
}

/* Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

/* Category Filters */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 15px 20px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(50, 205, 50, 0.3);
}

.category-btn i {
    font-size: 18px;
}

/* FAQ Accordion */
.faq-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(50, 205, 50, 0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 16px;
    transition: all 0.3s;
    user-select: none;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(50, 205, 50, 0.05) 0%, transparent 100%);
    padding-left: 30px;
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 25px 20px 25px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 15px;
    border-top: 1px solid var(--gray-100);
    margin-top: -5px;
}

.faq-answer-content strong {
    color: var(--gray-800);
    font-weight: 600;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(50, 205, 50, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.contact-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(50, 205, 50, 0.3);
}

.contact-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 16px;
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #28a745 100%);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(50, 205, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-whatsapp-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(50, 205, 50, 0.4);
}

.btn-whatsapp-cta i {
    font-size: 22px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 32px;
    }
    
    .faq-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }
    
    .faq-answer-content {
        font-size: 14px;
    }
    
    .contact-cta {
        padding: 40px 25px;
    }
    
    .contact-cta h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .faq-categories {
        grid-template-columns: 1fr;
    }
    
    .faq-header h1 {
        font-size: 28px;
    }
}
