/* === HELP CENTER === */

.help-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 60px;
    position: relative;
    z-index: 1;
}

/* Hero */
.help-hero {
    text-align: center;
    padding: 40px 0 36px;
}

.help-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.help-search-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.help-search-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.help-search-wrap input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.help-search-wrap input:focus {
    border-color: rgba(0, 180, 255, 0.4);
}

/* Category cards */
.help-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.help-cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.help-cat-card:hover {
    border-color: rgba(0, 180, 255, 0.3);
    transform: translateY(-3px);
}

.help-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    background: rgba(0, 180, 255, 0.1);
    color: var(--primary);
}

.help-cat-card:nth-child(2) .help-cat-icon {
    background: rgba(255, 61, 127, 0.1);
    color: var(--accent);
}

.help-cat-card:nth-child(3) .help-cat-icon {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
}

.help-cat-card:nth-child(4) .help-cat-icon {
    background: rgba(255, 193, 7, 0.1);
    color: var(--gold);
}

.help-cat-card h3 {
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.help-cat-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Sections */
.help-section {
    margin-bottom: 40px;
}

.help-section h2 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 18px;
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

/* Contact */
.contact-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.contact-submit {
    width: 100%;
    padding: 13px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-top: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 255, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-info-val {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .help-page {
        padding: 80px 16px 40px;
    }

    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .help-hero h1 {
        font-size: 1.5rem;
    }
}
