body {
    margin: 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 28%);
    color: #0f172a;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

.help-page {
    min-height: 100vh;
}

.help-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #e2e8f0;
}

.help-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    text-decoration: none;
    color: #08b274;
    font-size: 30px;
    font-weight: 900;
}

.help-nav {
    display: flex;
    gap: 18px;
}

.help-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background 160ms ease, color 160ms ease;
}

.help-nav a.is-active,
.help-nav a:hover {
    color: #047857;
    background: #ecfdf5;
}

.help-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 26px 16px 64px;
}

/* ===== HERO ===== */
.help-hero {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #ffffff 100%);
    border: 1px solid #d1fae5;
    border-radius: 24px;
    padding: 30px 24px 26px;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
    text-align: center;
}

.help-hero__eyebrow {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.help-hero h1 {
    margin: 6px 0 0;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: #0f172a;
}

.help-hero p {
    margin: 10px auto 0;
    color: #475569;
    line-height: 1.9;
    max-width: 640px;
}

.help-search {
    margin: 22px auto 0;
    max-width: 560px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.help-search:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.help-search__icon {
    color: #94a3b8;
    display: inline-flex;
}

.help-search input {
    flex: 1;
    border: 0;
    outline: 0;
    font: inherit;
    padding: 10px 4px;
    background: transparent;
    color: #0f172a;
}

.help-quick-cta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.help-quick-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.help-quick-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.help-quick-cta__btn--primary {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

/* ===== SECTIONS ===== */
.help-section {
    margin-top: 30px;
}

.help-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.section-title {
    margin: 0;
    font-size: 21px;
    font-weight: 900;
    color: #0f172a;
}

.help-section__sub {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

/* ===== STEPS ===== */
.help-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.help-step {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    position: relative;
    overflow: hidden;
}

.help-step::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    opacity: 0;
    transition: opacity 200ms ease;
}

.help-step:hover {
    transform: translateY(-2px);
    border-color: #a7f3d0;
    box-shadow: 0 12px 22px rgba(16, 185, 129, 0.10);
}

.help-step:hover::before {
    opacity: 1;
}

.help-step-index {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #047857;
    font-weight: 900;
    margin-bottom: 10px;
}

.help-step h3 {
    margin: 0;
    font-size: 16px;
    color: #0f172a;
}

.help-step p {
    margin: 8px 0 0;
    color: #475569;
    line-height: 1.9;
    font-size: 14px;
}

/* ===== CATEGORIES ===== */
.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.help-category {
    appearance: none;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font: inherit;
    color: #0f172a;
}

.help-category:hover {
    transform: translateY(-1px);
    border-color: #a7f3d0;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.08);
}

.help-category.is-active {
    background: #ecfdf5;
    border-color: #10b981;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.12);
}

.help-category__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.help-category__label {
    font-weight: 800;
    font-size: 14px;
}

.help-category__count {
    margin-inline-start: auto;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

/* ===== FAQ ===== */
.help-faq {
    display: grid;
    gap: 10px;
}

.help-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.help-faq-item:hover {
    border-color: #cbd5e1;
}

.help-faq-item.is-open {
    border-color: #10b981;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.10);
}

.help-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 16px;
    text-align: right;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-faq-question__chevron {
    margin-inline-start: auto;
    color: #94a3b8;
    transition: transform 200ms ease, color 200ms ease;
}

.help-faq-item.is-open .help-faq-question__chevron {
    transform: rotate(180deg);
    color: #10b981;
}

.help-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    color: #475569;
    line-height: 1.95;
}

.help-faq-answer p {
    margin: 0;
    padding: 0 16px 16px;
}

.help-faq-item.is-open .help-faq-answer {
    max-height: 320px;
}

.help-empty {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    background: #fff;
    text-align: center;
}

.help-empty.is-hidden {
    display: none;
}

/* ===== CONTACT BANNER ===== */
.help-contact {
    margin-top: 32px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 60%);
    border-radius: 20px;
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.help-contact__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #ecfdf5;
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-contact__copy h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.help-contact__copy p {
    margin: 6px 0 0;
    color: #475569;
    line-height: 1.9;
}

.help-contact__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.help-contact__btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.help-contact__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.help-contact__btn--primary {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

@media (max-width: 768px) {
    .help-header-inner {
        gap: 10px;
        align-items: flex-start;
        flex-direction: column;
    }

    .help-nav {
        width: 100%;
        justify-content: space-between;
    }

    .help-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .help-contact__icon {
        margin: 0 auto;
    }

    .help-contact__actions {
        justify-content: center;
    }
}
