:root {
    --help-primary: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

.help-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.help-hero {
    text-align: center;
    max-width: 700px;
    margin: 48px auto 32px;
    padding: 0 20px;
}

.help-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.help-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.help-search-wrap {
    max-width: 480px;
    margin: 28px auto 20px;
}

.help-search-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.help-search-input:focus {
    border-color: var(--help-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.help-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.help-toc a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.15s;
}

.help-toc a:hover {
    background: var(--help-primary);
    border-color: var(--help-primary);
    color: white;
}

.help-category {
    margin-bottom: 56px;
    scroll-margin-top: 20px;
}

.help-category h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--help-primary);
    padding-bottom: 12px;
    margin-bottom: 28px;
}

.help-tool-section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    scroll-margin-top: 20px;
}

.help-tool-section:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.help-tool-section h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.help-tool-section h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.help-tool-section h3 a:hover {
    color: var(--help-primary);
    text-decoration: underline;
}

.help-tool-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 14px 44px 14px 18px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--help-primary);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: #f8fafc;
}

.faq-item p {
    padding: 0 18px 16px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.faq-item p a {
    color: var(--help-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .help-hero {
        margin: 32px auto 24px;
    }
    .help-hero h1 {
        font-size: 1.9rem;
    }
    .help-toc {
        gap: 8px;
    }
}
