/* ==========================================
   HELP CENTER STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0D0F10;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.help-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.help-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.help-hero-subtitle {
    font-size: 1.1rem;
    color: #A9ADB1;
    margin-bottom: 2.5rem;
}

/* Search Bar */
.help-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.help-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6B7280;
    pointer-events: none;
}

[dir="rtl"] .help-search-icon {
    left: auto;
    right: 1.25rem;
}

.help-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    background: rgba(26, 29, 31, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

[dir="rtl"] .help-search-input {
    padding: 1rem 3.5rem 1rem 1rem;
}

.help-search-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.help-search-input::placeholder {
    color: #6B7280;
}

/* Quick Links */
.help-quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.help-quick-links span {
    color: #6B7280;
}

.help-quick-links a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-quick-links a:hover {
    color: #2563EB;
    text-decoration: underline;
}

/* ==========================================
   HELP CATEGORIES
   ========================================== */

.help-categories {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.help-category-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.help-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.category-articles {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-articles li {
    margin-bottom: 0.75rem;
}

.category-articles a {
    color: #A9ADB1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.category-articles a:hover {
    color: #3B82F6;
    padding-left: 0.5rem;
}

[dir="rtl"] .category-articles a:hover {
    padding-left: 0;
    padding-right: 0.5rem;
}

.category-view-all {
    width: 100%;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #3B82F6;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.category-view-all:hover {
    background: rgba(59, 130, 246, 0.15);
}

.category-view-all svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.help-faq {
    padding: 4rem 0;
    background: rgba(13, 15, 16, 0.5);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.3s ease;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question span {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #6B7280;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #A9ADB1;
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.help-cta {
    padding: 4rem 0;
}

.help-cta-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
}

.help-cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.help-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.help-cta-text {
    font-size: 1.1rem;
    color: #A9ADB1;
    margin-bottom: 2rem;
}

.help-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.help-cta-btn svg {
    width: 20px;
    height: 20px;
}

.help-cta-btn.primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.help-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.help-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.help-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .help-container {
        padding: 0 1.5rem;
    }

    .help-hero {
        padding: 3rem 0;
    }

    .help-hero-title {
        font-size: 1.75rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .help-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .help-cta-buttons {
        flex-direction: column;
    }

    .help-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .help-hero-title {
        font-size: 1.5rem;
    }

    .help-cta-title {
        font-size: 1.5rem;
    }
}

/* ==========================================
   END HELP.CSS
   ========================================== */