/* ===================================
   FAQ Page Styles
   =================================== */

.faq-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.faq-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.faq-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Search Bar */
.faq-search-wrapper {
    max-width: 800px;
    margin: -30px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.faq-search-container {
    background: white;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-search-container i {
    font-size: 1.3rem;
    color: #6366f1;
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: inherit;
    background: transparent;
}

.faq-search-input::placeholder {
    color: #94a3b8;
}

/* Category Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px 50px;
}

.faq-tab {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-tab:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
}

.faq-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.faq-tab i {
    font-size: 1.1rem;
}

/* FAQ Content */
.faq-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e2e8f0;
}

.faq-section-title i {
    color: #6366f1;
    font-size: 2.2rem;
}

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    border: 2px solid #e0e7ff;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
    color: #6366f1;
}

.faq-question i {
    color: #6366f1;
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 25px 55px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    background: #f8fafc;
}

/* CTA Section */
.faq-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    border-radius: 20px;
    margin: 0 20px 80px;
}

.faq-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #6366f1;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }

    .faq-subtitle {
        font-size: 1.1rem;
    }

    .faq-search-wrapper {
        margin-top: -20px;
    }

    .faq-tabs {
        padding-bottom: 30px;
    }

    .faq-tab {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .faq-section-title {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 20px 50px;
        font-size: 1rem;
    }

    .faq-cta-content h2 {
        font-size: 2rem;
    }

    .faq-cta-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 60px 15px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-search-container {
        padding: 12px 20px;
    }

    .faq-search-input {
        font-size: 1rem;
    }

    .faq-tabs {
        gap: 10px;
    }

    .faq-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 12px 15px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .faq-answer {
        padding: 0 15px 15px 40px;
        font-size: 0.95rem;
    }

    .faq-cta {
        padding: 60px 15px;
        margin: 0 15px 60px;
    }
}