/* FAQ Section Styles */
.faq-section {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: var(--dark-bg, #0a0a0b);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(2, 113, 252, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--primary-gradient, linear-gradient(135deg, #0271FC 0%, #00f2fe 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}

.faq-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary, #b0b0b0);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Bar */
.faq-search-container {
    position: relative;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary, #f9f9f9);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color, #0271FC);
    box-shadow: 0 0 0 3px rgba(2, 113, 252, 0.2);
}

.faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-secondary, #b0b0b0);
    pointer-events: none;
}

/* Category Tabs */
.faq-categories {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary, #b0b0b0);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-category-btn:hover {
    background: rgba(2, 113, 252, 0.1);
    border-color: rgba(2, 113, 252, 0.3);
    color: var(--primary-color, #0271FC);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: var(--primary-gradient, linear-gradient(135deg, #0271FC 0%, #00f2fe 100%));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(2, 113, 252, 0.3);
}

/* FAQ Container */
.faq-container {
    margin-bottom: 3rem;
}

.faq-category-group {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary, #f9f9f9);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(2, 113, 252, 0.2);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(2, 113, 252, 0.3);
    box-shadow: 0 4px 16px rgba(2, 113, 252, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color, #0271FC);
    box-shadow: 0 8px 24px rgba(2, 113, 252, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-primary, #f9f9f9);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.faq-question:hover {
    color: var(--primary-color, #0271FC);
}

.faq-question-text {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-color, #0271FC);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer-content {
    color: var(--text-secondary, #b0b0b0);
    line-height: 1.8;
    font-size: 1rem;
    padding-top: 1rem;
}

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

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

/* Empty State */
.faq-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary, #b0b0b0);
}

.faq-empty p {
    font-size: 1.2rem;
}

/* Help Section */
.faq-help {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.faq-help p {
    font-size: 1.1rem;
    color: var(--text-secondary, #b0b0b0);
    margin-bottom: 1.5rem;
}

.faq-contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-gradient, linear-gradient(135deg, #0271FC 0%, #00f2fe 100%));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 113, 252, 0.4);
}

/* Klingon Theme */
.klingon-theme .faq-title {
    background: linear-gradient(135deg, #CC0000 0%, #FF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.klingon-theme .faq-search-input:focus {
    border-color: #CC0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2);
}

.klingon-theme .faq-category-btn:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.3);
    color: #CC0000;
}

.klingon-theme .faq-category-btn.active {
    background: linear-gradient(135deg, #CC0000 0%, #FF4444 100%);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.klingon-theme .faq-category-title {
    border-bottom-color: rgba(204, 0, 0, 0.2);
}

.klingon-theme .faq-item:hover {
    border-color: rgba(204, 0, 0, 0.3);
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.1);
}

.klingon-theme .faq-item.active {
    border-color: #CC0000;
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.2);
}

.klingon-theme .faq-question:hover {
    color: #CC0000;
}

.klingon-theme .faq-icon {
    color: #CC0000;
}

.klingon-theme .faq-contact-btn {
    background: linear-gradient(135deg, #CC0000 0%, #FF4444 100%);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.4);
}

.klingon-theme .faq-contact-btn:hover {
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 1rem 3rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-categories {
        gap: 0.5rem;
    }
    
    .faq-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        font-size: 0.95rem;
    }
}

