/* ── Help Center — Redesign ─────────────────────────────────── */

@keyframes hcFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

body {
    font-family: var(--font-family);
    background: #f1f5f9;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ── Hero ── */






.hc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.hc-back-btn:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* ── Page body ── */
.hc-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 48px;
    animation: hcFadeUp 0.35s ease;
}

/* ── Search ── */
.hc-search-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hc-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.hc-search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hc-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
}

.hc-search-input::placeholder { color: var(--text-muted); }

/* ── Category grid ── */
.hc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.hc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 20px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.hc-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hc-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.hc-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 7px;
}

.hc-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.hc-card-arrow {
    position: absolute;
    top: 20px;
    right: 18px;
    color: var(--border);
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.hc-card:hover .hc-card-arrow { color: var(--primary); }

/* ── FAQ Section ── */
.hc-faq-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hc-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.hc-section-icon {
    width: 34px;
    height: 34px;
    background: #eef2ff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.hc-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* ── FAQ Items ── */
.faq-item {
    border-bottom: 1px solid #f1f5f9;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.12s;
    user-select: none;
}

.faq-question:hover { background: #fafbfc; }

.faq-q-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.faq-q-dot {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-q-inner > span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
}

.faq-toggle {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.25s;
}

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

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

.faq-answer.active {
    max-height: 600px;
    padding: 0 20px 18px 62px;
}

.faq-answer p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin: 0 0 10px;
    line-height: 1.7;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ol,
.faq-answer ul {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin: 8px 0 10px 16px;
    padding: 0;
    line-height: 1.7;
}

.faq-answer li { margin-bottom: 5px; }
.faq-answer li:last-child { margin-bottom: 0; }

.faq-answer strong { color: var(--text-primary); font-weight: 600; }

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover { text-decoration: underline; }

/* ── Contact section ── */
.hc-contact {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.hc-contact-icon {
    width: 52px;
    height: 52px;
    background: #eef2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 16px;
}

.hc-contact-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.hc-contact-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0 0 24px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.hc-contact-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hc-btn:hover:not(:disabled) { transform: translateY(-1px); }

.hc-btn-primary {
    background: var(--primary);
    color: #fff;
}

.hc-btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-primary); }

.hc-btn-secondary {
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.hc-btn-secondary:hover { background: #e2e8f0; }

/* ── Footer ── */
.hc-footer {
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
    text-align: center;
}

.hc-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hc-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.hc-footer-links a:hover { color: var(--primary); }

.hc-footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hc-grid { grid-template-columns: 1fr 1fr; }
    .hc-page { padding: 20px 16px 40px; }
    .faq-answer { padding-left: 20px; }
    .faq-answer.active { padding-left: 20px; }
}

@media (max-width: 480px) {
    .hc-grid { grid-template-columns: 1fr; }
    .hc-contact-btns { flex-direction: column; align-items: stretch; }
    .hc-btn { justify-content: center; }
}
