/* FAQ Page - Help Center Styling */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bg);
    box-sizing: border-box;
    min-height: 100vh;
}

/* Header Styling */
.faq-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(56, 189, 248, 0.08));
    border: 2px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #38bdf8);
}

.faq-header h1 {
    font-family: "Georgia", "Cambria", "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.faq-subtitle {
    font-family: "Impact", "Oswald", sans-serif;
    font-size: clamp(14px, 2vw, 16px);
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.faq-description {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Filters */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.faq-category-btn {
    font-family: "Rajdhani", "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 30px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-category-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

/* FAQ Content */
.faq-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Styling */
.faq-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.faq-section:hover {
    border-color: rgba(220, 20, 60, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .faq-section {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .faq-section:hover {
    border-color: rgba(220, 20, 60, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.faq-section-title {
    font-family: "Georgia", "Cambria", serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section-title i {
    color: var(--accent);
    font-size: 24px;
}

/* FAQ Items */
.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item.active {
    background: rgba(220, 20, 60, 0.03);
    border-radius: 8px;
    margin: 0 -12px 16px;
    padding: 0 12px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: all 0.3s ease;
}

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

.faq-question span {
    flex: 1;
    padding-right: 16px;
    line-height: 1.4;
}

.faq-question i {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 0 0 0;
}

.faq-answer p {
    font-family: "Arial", "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

/* Contact Section */
.faq-contact {
    text-align: center;
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(56, 189, 248, 0.08));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
}

.faq-contact h3 {
    font-family: "Georgia", "Cambria", serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.faq-contact p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 24px;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Rajdhani", "Barlow", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    background: #10b981;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.faq-contact-btn:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.faq-contact-btn i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        padding: 20px 0;
    }
    
    .faq-header {
        padding: 30px 20px;
        margin: 0 16px 30px;
        border-radius: 12px;
    }
    
    .faq-categories {
        padding: 0 16px;
        gap: 8px;
    }
    
    .faq-category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .faq-section {
        padding: 20px 16px;
        margin: 0 0 20px 0;
        border-radius: 0;
        border-left: 4px solid var(--accent);
        border-right: none;
        border-top: none;
        border-bottom: none;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 14px 0;
    }
    
    .faq-question i {
        font-size: 22px;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .faq-contact {
        margin: 30px 16px 0;
        padding: 30px 20px;
    }
    
    .faq-contact h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 24px 16px;
        margin: 0 12px 24px;
    }
    
    .faq-header h1 {
        font-size: 24px;
    }
    
    .faq-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .faq-category-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .faq-section {
        padding: 16px 12px;
    }
    
    .faq-section-title {
        font-size: 18px;
    }
    
    .faq-question {
        font-size: 14px;
    }
    
    .faq-contact {
        padding: 24px 16px;
        margin: 20px 12px 0;
    }
    
    .faq-contact-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
