/* FAQ Page Styles */

/* FAQ Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 10rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(12, 224, 107, 0.1) 0%, transparent 50%);
}

.faq-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #0ce06b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* FAQ Search */
.faq-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(12, 224, 107, 0.3);
}

.search-box i {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    placeholder-color: rgba(255, 255, 255, 0.6);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* FAQ Content */
.faq-content {
    padding: 4rem 0;
    background: #f8fafc;
    min-height: 70vh;
}

.faq-content .container {
    position: relative;
    z-index: 1;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.faq-category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #6b7280;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.faq-category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.15);
}

.faq-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.3);
}

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

/* FAQ Items */
.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(12, 224, 107, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: #6b7280;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    margin-left: 1rem;
}

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

.faq-answer {
    display: none;
    padding: 0 2rem 2rem;
    color: #4b5563;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin-bottom: 1rem;
}

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

.faq-answer strong {
    color: #1f2937;
    font-weight: 600;
}

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

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

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Comparison Table */
.comparison-table {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.comparison-row {
    margin-bottom: 1rem;
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.comparison-row strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.comparison-row ul {
    margin: 0.5rem 0 0;
}

.comparison-row li {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.no-results p {
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* FAQ Support Section */
.faq-support {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.faq-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(12, 224, 107, 0.1) 0%, transparent 50%);
}

.support-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.support-content {
    flex: 1;
}

.support-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.support-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.support-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.support-actions .btn-primary:hover {
    background: #0ab361;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(12, 224, 107, 0.4);
}

.support-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.support-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.support-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ab361 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.support-illustration i {
    font-size: 4rem;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 8rem 0 3rem;
    }
    
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .faq-hero p {
        font-size: 1.1rem;
    }
    
    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 1rem 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .faq-categories::-webkit-scrollbar {
        display: none;
    }
    
    .faq-category-btn {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .support-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }
    
    .support-content h2 {
        font-size: 2rem;
    }
    
    .support-actions {
        justify-content: center;
    }
    
    .support-illustration {
        width: 120px;
        height: 120px;
    }
    
    .support-illustration i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 7rem 0 2rem;
    }
    
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .faq-hero p {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 3rem 0;
    }
    
    .search-box {
        padding: 0.875rem 1.25rem;
    }
    
    .faq-hero-content {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .support-card {
        padding: 1.5rem;
    }
    
    .support-content h2 {
        font-size: 1.75rem;
    }
    
    .support-actions .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Search Highlight */
.highlight {
    background: linear-gradient(135deg, #fef3cd 0%, #fde68a 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Filter Animations */
.faq-item.filtered-out {
    display: none;
}

.faq-item.filtered-in {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
