/**
 * help.css — Phase X8c
 * Help center page: quick-link cards + contact form.
 */

.help-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}
.help-header {
    text-align: center;
    margin-bottom: 2rem;
}
.help-header h1 {
    font-size: 2rem;
    color: var(--text, #f7fafc);
    margin: 0 0 0.5rem;
}
.help-header p {
    color: var(--text-muted, #cbd5e0);
    margin: 0;
}

.help-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.help-link-card {
    background: var(--surface, rgba(255,255,255,0.03));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
    font: inherit;
    width: 100%;
}
.help-link-card:hover {
    border-color: var(--accent, #3B82F6);
    transform: translateY(-2px);
}
.help-link-icon {
    font-size: 2rem;
    line-height: 1;
}
.help-link-card h3 {
    color: var(--text, #f7fafc);
    margin: 0.6rem 0 0.25rem;
    font-size: 1rem;
}
.help-link-card p {
    font-size: 0.75rem;
    color: var(--text-muted, #a0aec0);
    margin: 0;
}

.help-contact-section {
    background: var(--surface, rgba(255,255,255,0.03));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 14px;
    padding: 1.75rem;
}
.help-contact-section h2 {
    color: var(--text, #f7fafc);
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}
.help-contact-section > p {
    color: var(--text-muted, #cbd5e0);
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
}
.help-contact-section a {
    color: var(--accent, #3B82F6);
    text-decoration: none;
}

.help-contact-section form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.help-contact-section label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #a0aec0);
    font-weight: 600;
    margin-bottom: -0.3rem;
}
.help-contact-section input,
.help-contact-section select,
.help-contact-section textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    border-radius: 8px;
    color: var(--text, #f7fafc);
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
}
.help-contact-section input:focus,
.help-contact-section select:focus,
.help-contact-section textarea:focus {
    outline: none;
    border-color: var(--accent, #3B82F6);
}
.help-contact-section button[type="submit"] {
    margin-top: 0.5rem;
    align-self: flex-end;
}

.help-status {
    margin-top: 1rem;
}
.help-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    border-left: 3px solid #10b981;
}
.help-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    border-left: 3px solid #ef4444;
}

body.theme-light .help-link-card,
body.theme-light .help-contact-section {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}
body.theme-light .help-contact-section input,
body.theme-light .help-contact-section select,
body.theme-light .help-contact-section textarea {
    background: var(--bg-input, #ffffff);
    border-color: rgba(0,0,0,0.1);
    color: #1a1a25;
}

@media (max-width: 640px) {
    .help-page { padding: 1.25rem 0.75rem 3rem; }
    .help-header h1 { font-size: 1.5rem; }
    .help-contact-section { padding: 1.25rem; }
    .help-contact-section button[type="submit"] {
        align-self: stretch;
        width: 100%;
    }
}
