/* ===== FAQ Page Styles ===== */

/* Page Header */
.page-header {
    margin-top: 70px;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ccb39a" fill-opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.separator {
    color: var(--text-muted);
}

.current {
    color: var(--dark-color);
    font-weight: 500;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.page-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section */
.faq-search {
    padding: 2rem 0;
    background: var(--white);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(204, 179, 154, 0.1);
}

.search-box i {
    color: var(--text-muted);
    margin-right: 1rem;
}

#faq-search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    color: var(--text-color);
}

#faq-search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: none;
}

.search-clear:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.suggestion-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.suggestion-tag {
    padding: 0.4rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Categories */
.faq-categories {
    padding: 2rem 0;
    background: var(--background);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before,
.category-card.active::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-card.active {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.category-card.active .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.category-count {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* FAQ Content */
.faq-content {
    padding: 3rem 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.faq-item.hidden {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    margin: 0;
    pointer-events: none;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

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

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

.question-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.question-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.question-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.question-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.6rem;
    background: var(--light-color);
    color: var(--secondary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
}

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

.answer-content {
    padding: 2rem;
}

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

.answer-content ol,
.answer-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.answer-content li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.answer-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.answer-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.answer-note {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.answer-note.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.answer-note i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.answer-note.warning i {
    color: #ffc107;
}

.answer-note span {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.answer-actions {
    margin-top: 1.5rem;
}

.answer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.answer-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Solution Steps */
.solution-steps {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Platform Info */
.platform-info {
    margin: 1.5rem 0;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.platform-details h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.platform-details p {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    background: var(--background);
    border-radius: 12px;
    margin: 2rem 0;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
}

.no-results h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

/* Help Section */
.help-section {
    padding: 3rem 0;
    background: var(--background);
}

.help-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.help-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.help-content > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.help-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.help-option:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.help-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.help-text h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Active Navigation */
.nav-link.active {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .question-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-item {
        flex-direction: column;
        text-align: center;
    }
    
    .help-option {
        flex-direction: column;
        text-align: center;
    }
    
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-suggestions {
        flex-direction: column;
        align-items: center;
    }
    
    .suggestion-tag {
        padding: 0.5rem 1rem;
    }
} 