/* --- Help Page Styles (V2 - Creative & Modern) --- */

:root {
    --help-bg: #f7f7f8; /* A very light grey, almost white */
    --help-card-bg: #ffffff;
    --help-border: #e9e9ed;
    --help-icon-bg: #eef5ff;
    --help-accent: #007aff;
    --help-text-primary: #1c1e21;
    --help-text-secondary: #606770;
    --help-green: #34c759;
}

.help-container {
    max-width: 950px;
    text-align: right;
    direction: rtl;
}

.help-header {
    text-align: center;
    margin-bottom: 40px;
}

.help-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--help-text-primary);
    margin-bottom: 10px;
}

.help-header h1 i {
    color: var(--help-accent);
    margin-right: 10px; /* RTL adjustment */
}

.help-header p {
    font-size: 17px;
    color: var(--help-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.help-card {
    background-color: var(--help-card-bg);
    border: 1px solid var(--help-border);
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: right; /* RTL */
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.help-card-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--help-accent);
    background-color: var(--help-icon-bg);
    margin-bottom: 15px;
}

.help-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--help-text-primary);
    margin: 0 0 10px 0;
}

.help-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--help-text-secondary);
    margin: 0;
}

/* --- FAQ Section --- */
.faq-section {
    margin-top: 30px;
}

.faq-section h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--help-text-primary);
    margin-bottom: 25px;
}

.faq-item {
    background: var(--help-card-bg);
    border: 1px solid var(--help-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden; /* For smooth animation */
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    padding: 18px 20px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--help-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: '\f078'; /* Chevron Down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: var(--help-text-secondary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--help-text-secondary);
}

.faq-answer p {
    padding-bottom: 18px;
    margin: 0;
}

.faq-answer ul {
    padding-right: 20px; /* RTL */
    margin-bottom: 18px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.help-footer {
    text-align: center;
    margin-top: 40px;
}
