/* ============================================
   SYHUO 帮助中心 - 统一样式 v3
   风格：轻薄留白、精致克制、无大块色块
   响应式：桌面 / 平板 / 手机
   ============================================ */

/* --- 基础变量 --- */
:root {
    --c-bg: #fafaf9;
    --c-card: #fff;
    --c-ink: #292524;
    --c-text: #44403c;
    --c-text-secondary: #78716c;
    --c-text-muted: #a8a29e;
    --c-border: #e7e5e4;
    --c-border-light: #f5f5f4;
    --c-accent: #b45309;
    --c-accent-light: #fffbeb;
    --c-accent-soft: #fef3c7;
    --c-danger: #dc2626;
    --c-danger-light: #fef2f2;
    --c-success: #15803d;
    --c-success-light: #f0fdf4;

    --radius: 14px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow-xs: 0 1px 2px rgba(41,37,36,0.04);
    --shadow-sm: 0 2px 8px rgba(41,37,36,0.05);
    --container-pad: clamp(24px, 5vw, 80px);
    --max-content: 100%;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* --- 顶部导航 --- */
.help-simple-header {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--c-border);
    padding: 0 var(--container-pad);
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.help-simple-header-inner {
    max-width: var(--max-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.help-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-ink);
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.help-logo .help-logo-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.help-simple-nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.help-simple-nav a {
    color: var(--c-text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 7px 13px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
}

.help-simple-nav a:hover {
    color: var(--c-ink);
    background: var(--c-border-light);
}

.help-simple-nav a.active {
    color: var(--c-accent);
    font-weight: 600;
    background: var(--c-accent-light);
}

/* --- 主体 --- */
.help-simple-main {
    min-height: calc(100vh - 220px);
    padding: 0;
}

.help-page {
    background: var(--c-bg);
    min-height: 60vh;
    padding: 16px 0 72px;
}

.help-container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* --- 页面标题区（无大色块） --- */
.help-page-header {
    padding: 32px 0 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--c-border);
}

.help-page-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--c-ink);
    margin: 0 0 10px;
    letter-spacing: 2px;
}

.help-page-header p {
    font-size: 17px;
    color: var(--c-text-secondary);
    margin: 0;
}

/* --- 内容卡片 --- */
.help-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 34px 40px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-xs);
}

.help-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-ink);
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border-light);
}

.help-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink);
    margin: 24px 0 10px;
}

.help-card p {
    color: var(--c-text);
    line-height: 1.9;
    margin: 0 0 14px;
    font-size: 16px;
}

.help-card ul,
.help-card ol {
    margin: 0 0 14px 18px;
    padding: 0;
}

.help-card li {
    color: var(--c-text);
    line-height: 1.9;
    margin-bottom: 6px;
    font-size: 16px;
}

/* --- 按钮 --- */
.help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    transition: all 0.15s ease;
}

.help-btn-primary {
    background: var(--c-ink);
    color: #fff;
}

.help-btn-primary:hover {
    background: #000;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.help-btn-outline {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}

.help-btn-outline:hover {
    border-color: var(--c-text-secondary);
    color: var(--c-ink);
}

.help-btn-accent {
    background: var(--c-accent-light);
    color: var(--c-accent);
    border-color: var(--c-accent-soft);
}

.help-btn-accent:hover {
    background: var(--c-accent-soft);
    color: #92400e;
}

.help-btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.help-btn-block {
    display: flex;
    width: 100%;
}

/* --- 表格 --- */
.help-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.help-table thead th {
    background: #fafaf9;
    color: var(--c-ink);
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--c-border);
}

.help-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border-light);
    color: var(--c-text);
}

.help-table tbody tr:last-child td {
    border-bottom: none;
}

.help-table tbody tr:nth-child(even) {
    background: #fafaf9;
}

/* --- 信息条 --- */
.help-info-bar {
    padding: 16px 20px;
    border-left: 3px solid var(--c-accent);
    background: var(--c-accent-light);
    margin-bottom: 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.help-info-bar p {
    margin: 0;
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.75;
}

/* --- 网格布局 --- */
.help-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.help-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.help-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 22px;
}

/* --- 关于页 价值观网格 --- */
.help-feature-item {
    text-align: center;
    padding: 20px 10px;
}

.help-feature-item .icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

.help-feature-item .title {
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 6px;
    font-size: 16px;
}

.help-feature-item .desc {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* --- 关于页 平台数据 --- */
.help-value-item {
    text-align: center;
    padding: 15px;
}

.help-value-item .number {
    font-size: 34px;
    font-weight: 700;
    color: var(--c-accent);
    margin-bottom: 6px;
}

.help-value-item .number.blue { color: #1565c0; }
.help-value-item .number.orange { color: #e65100; }
.help-value-item .number.red { color: #c62828; }

.help-value-item .label {
    font-size: 14px;
    color: var(--c-text-muted);
}

/* --- 内容+侧边栏 双栏布局 --- */
.help-layout-side {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 26px;
    align-items: start;
}

/* --- 联系页面双栏布局 --- */
.help-layout-contact {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 26px;
    align-items: start;
}

/* --- 导航卡片（首页用） --- */
.help-nav-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 38px 28px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: var(--shadow-xs);
    transition: all 0.15s ease;
}

.help-nav-card .nav-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.help-nav-card .nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 8px;
    display: block;
}

.help-nav-card .nav-desc {
    font-size: 14px;
    color: var(--c-text-secondary);
    margin: 0;
    line-height: 1.7;
}

.help-nav-card:hover {
    border-color: var(--c-accent-soft);
    background: var(--c-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.help-nav-card:hover .nav-title {
    color: var(--c-accent);
}

/* --- 侧边导航 --- */
.help-side-nav {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: 84px;
    box-shadow: var(--shadow-xs);
}

.help-side-nav h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-ink);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border-light);
}

.help-side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-side-nav li {
    margin-bottom: 2px;
}

.help-side-nav a {
    display: block;
    padding: 8px 10px;
    color: var(--c-text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--radius-xs);
}

.help-side-nav a:hover {
    background: var(--c-border-light);
    color: var(--c-ink);
}

/* 侧边栏 CTA（联系客服） */
.help-side-cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--c-border-light);
}

.help-side-cta p {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0 0 10px;
    line-height: 1.6;
}

.help-side-cta .help-btn {
    font-weight: 500;
}

/* --- 表单 --- */
.help-form-group {
    margin-bottom: 18px;
}

.help-form-group label {
    display: block;
    font-weight: 600;
    color: var(--c-ink);
    margin-bottom: 6px;
    font-size: 13px;
}

.help-form-group .required {
    color: var(--c-danger);
}

.help-form-control {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--c-ink);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.help-form-control:focus {
    outline: none;
    border-color: var(--c-text-secondary);
    box-shadow: 0 0 0 3px rgba(41,37,36,0.05);
}

textarea.help-form-control {
    resize: vertical;
    min-height: 120px;
}

select.help-form-control {
    appearance: auto;
}

/* --- 提示消息 --- */
.help-alert {
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid transparent;
}

.help-alert-success {
    background: var(--c-success-light);
    color: var(--c-success);
    border-color: #bbf7d0;
}

.help-alert-error {
    background: var(--c-danger-light);
    color: var(--c-danger);
    border-color: #fecaca;
}

/* --- FAQ 折叠项 --- */
.help-faq-item {
    border-bottom: 1px solid var(--c-border-light);
    padding: 18px 0;
}

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

.help-faq-item .faq-q {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 8px;
}

.help-faq-item .faq-a {
    font-size: 15px;
    color: var(--c-text);
    line-height: 1.9;
}

/* --- 联系信息项 --- */
.help-contact-item {
    margin-bottom: 18px;
}

.help-contact-item:last-child {
    margin-bottom: 0;
}

.help-contact-item .label {
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 3px;
    font-size: 14px;
}

.help-contact-item .value {
    color: var(--c-text);
    font-size: 15px;
    margin-bottom: 2px;
}

.help-contact-item .note {
    font-size: 12px;
    color: var(--c-text-muted);
}

/* --- 首页 热门问题链接 --- */
.help-hot-links p {
    margin: 0 0 10px;
}

.help-hot-links a {
    color: var(--c-accent);
    text-decoration: none;
    font-size: 15px;
}

.help-hot-links a:hover {
    text-decoration: underline;
}

/* --- 页面小间距 --- */
.help-mt {
    margin-top: 24px;
}

/* --- 页面操作按钮组（底部居中） --- */
.help-actions {
    text-align: center;
    margin-top: 25px;
}

.help-actions .help-btn + .help-btn {
    margin-left: 10px;
}

/* --- 表单底部提示 --- */
.help-form-hint {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-top: 16px;
}

/* --- 网格小间距 --- */
.help-grid-2.gap-sm,
.help-grid-3.gap-sm {
    gap: 14px;
}

/* --- 页脚 --- */
.help-simple-footer {
    background: var(--c-card);
    border-top: 1px solid var(--c-border);
    padding: 36px var(--container-pad) 0;
}

.help-simple-footer-inner {
    max-width: var(--max-content);
    margin: 0 auto;
}

.help-footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.help-footer-col h5 {
    color: var(--c-ink);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: 1px;
}

.help-footer-col p {
    color: var(--c-text-secondary);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 8px;
}

.help-footer-col a {
    display: block;
    color: var(--c-text-secondary);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 9px;
}

.help-footer-col a:hover {
    color: var(--c-accent);
}

.help-footer-brand {
    color: var(--c-ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 8px;
}

.help-footer-bottom {
    border-top: 1px solid var(--c-border);
    padding: 16px 0;
    text-align: center;
}

.help-footer-bottom p {
    color: var(--c-text-muted);
    font-size: 12px;
    margin: 0;
}

.help-footer-bottom a {
    color: var(--c-text-secondary);
    text-decoration: none;
}

.help-footer-bottom a:hover {
    color: var(--c-accent);
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
    .help-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .help-page-header h1 {
        font-size: 28px;
    }

    .help-card {
        padding: 26px 28px;
    }

    .help-footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .help-page {
        padding: 12px 0 48px;
    }

    .help-page-header {
        padding: 24px 0 18px;
        margin-bottom: 20px;
    }

    .help-page-header h1 {
        font-size: 22px;
    }

    .help-page-header p {
        font-size: 14px;
    }

    .help-grid-2,
    .help-grid-3,
    .help-grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .help-layout-side,
    .help-layout-contact {
        grid-template-columns: 1fr;
    }

    .help-side-nav {
        position: static;
        margin-top: 12px;
    }

    .help-card {
        padding: 20px 18px;
    }

    .help-nav-card {
        padding: 22px 18px 20px;
    }

    .help-simple-header {
        height: 56px;
    }

    .help-logo .help-logo-sub {
        display: none;
    }

    .help-simple-nav a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .help-footer-cols {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 22px;
    }

    .help-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .help-page-header h1 {
        font-size: 20px;
    }

    .help-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}
