/* ========================================
   Help Page Styles
   ======================================== */

body.help-page {
    overflow-y: auto;
    background: var(--bg-secondary);
}

.help-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Navigation --- */
.help-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(28, 28, 30, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .help-nav {
    background: rgba(255, 255, 255, 0.85);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateX(-2px);
}

[data-theme="light"] .back-btn {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .back-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
}

.brand-icon svg {
    width: 20px;
    height: 20px;
}

.brand-text h1 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

/* --- Main Content --- */
.help-content {
    flex: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
}

.content-wrapper {
    padding: 40px;
    border-radius: 20px;
}

.section-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Step Cards --- */
.step-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .step-card {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .step-card:hover {
    background: rgba(0, 0, 0, 0.03);
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.15);
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

.step-details .hint {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-details .hint::before {
    content: '💡';
}

/* --- Tools Intro --- */
.tool-intro {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

[data-theme="light"] .tool-intro {
    background: rgba(0, 0, 0, 0.02);
}

.tool-intro p {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.4);
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

/* --- Action List --- */
.action-list {
    list-style: none;
    padding: 0;
}

.action-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-light);
}

.action-list li:last-child {
    border-bottom: none;
}

.action-icon {
    font-size: 1.4rem;
    margin-top: 2px;
}

.action-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.action-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-text code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--system-pink);
}

[data-theme="light"] .action-text code {
    background: rgba(0, 0, 0, 0.05);
}

/* --- Footer --- */
.help-footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 24px;
    }

    .help-nav {
        padding: 12px 16px;
    }

    .step-card {
        flex-direction: column;
        gap: 12px;
    }
}