/* =========================================
   HELP CENTER SPECIFIC STYLES
   ========================================= */

:root {
    --hc-brand: #0c4a4c;
    --hc-brand-soft: #edf7f7;
    --hc-brand-ink: #0A4A24;
    --hc-amber: #F59E0B;
    --hc-amber-soft: #FEF3C7;
    --hc-paper: #FAFAF7;
    --hc-ink: #0A0A0A;
    --hc-ink-2: #1F2937;
    --hc-muted: #6B7280;
    --hc-line: #E5E7EB;
    --hc-line-soft: #F3F4F6;
}

body.hc-body {
    background: #fff;
    color: var(--hc-ink-2);
    font-family: 'Mulish', system-ui, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hc-hero {
    background: linear-gradient(180deg, #021a1f 0%, #0c4a4c 100%);
    color: #fff;
    padding: 140px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hc-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06), transparent 50%);
    pointer-events: none;
}
.hc-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hc-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    font-weight: 700; color: #A3E635;
}
.hc-eyebrow::before { content:''; width: 28px; height: 1px; background: #A3E635; }
.hc-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 18px 0 22px;
    font-weight: 700;
    max-width: 900px;
}
.hc-hero h1 em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: #A3E635;
}
.hc-hero p { font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 680px; }

/* Search Box in Hero */
.hc-search-container {
    max-width: 600px;
    position: relative;
    margin-top: 32px;
}
.hc-search-input {
    width: 100%;
    padding: 18px 24px 18px 54px;
    border-radius: 8px;
    border: none;
    font-size: 1.05rem;
    color: #333;
    outline: none;
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.2);
}
.hc-search-input::placeholder { color: #9ca3af; }
.hc-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1.2rem;
}

/* Modules/Topics Grid */
.hc-modules-wrap { background: #FAFAF7; padding: 80px 24px; }
.hc-modules-inner { max-width: 1200px; margin: 0 auto; }
.hc-modules-head {
    display: flex; justify-content: space-between; align-items: end;
    flex-wrap: wrap; gap: 20px; margin-bottom: 40px;
}
.hc-modules-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.01em;
    color: #0A0A0A;
    font-weight: 600;
    margin: 0;
}
.hc-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .hc-modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hc-modules-grid { grid-template-columns: 1fr; }
}
.hc-module-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 200ms ease;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
}
.hc-module-card:hover {
    border-color: var(--hc-brand);
    box-shadow: 0 12px 28px -16px rgba(12, 74, 76, 0.25);
    transform: translateY(-2px);
}
.hc-module-thumb {
    height: 120px;
    background: linear-gradient(135deg, var(--hc-brand-soft) 0%, #fff 100%);
    position: relative;
    border-bottom: 1px solid #E5E7EB;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    color: var(--hc-brand);
    font-size: 2.5rem;
}
.hc-module-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.hc-module-tag {
    display: inline-block;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--hc-brand); font-weight: 700;
    margin-bottom: 10px;
}
.hc-module-card h3 { font-size: 1.35rem; font-weight: 600; color: #0A0A0A; margin: 0 0 10px; letter-spacing: -0.01em; }
.hc-module-card p { font-size: 0.95rem; color: #4B5563; line-height: 1.55; margin: 0 0 16px; }

/* Documentation Layout (Sidebar + Main) */
.hc-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 900px) {
    .hc-shell { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 60px; }
}

.hc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    font-size: 0.9rem;
}
.hc-sidebar h3 {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    font-weight: 700; color: var(--hc-muted);
    margin: 0 0 14px 12px;
}
.hc-sidebar-menu { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.hc-sidebar-item {
    display: block;
    padding: 8px 12px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 150ms;
}
.hc-sidebar-item:hover {
    background-color: var(--hc-brand-soft);
    color: var(--hc-ink);
}
.hc-sidebar-item.is-active {
    background-color: var(--hc-brand-soft);
    color: var(--hc-brand);
    font-weight: 700;
}

.hc-main h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hc-ink);
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hc-line);
}
.hc-main h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--hc-ink); margin: 36px 0 16px;
    letter-spacing: -0.005em;
}
.hc-main p {
    font-size: 1.15rem;
    color: var(--hc-ink-2);
    line-height: 1.8;
    margin: 0 0 20px;
}
.hc-main a { color: var(--hc-brand); text-decoration: underline; text-underline-offset: 2px; }
.hc-main ul {
    padding-left: 22px;
    margin: 0 0 22px;
}
.hc-main ul li {
    margin-bottom: 10px;
    line-height: 1.65;
    color: var(--hc-ink-2);
}

.hc-faq details {
    border: 1px solid var(--hc-line);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.hc-faq summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--hc-ink);
    font-size: 1rem;
    list-style: none;
    position: relative;
}
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq details > p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--hc-ink-2);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Feedback section */
.hc-feedback {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--hc-line);
    display: flex; justify-content: space-between; align-items: center;
}
.hc-feedback-btn {
    padding: 8px 16px;
    border: 1px solid var(--hc-line);
    border-radius: 20px;
    background: #fff;
    color: var(--hc-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 150ms;
}
.hc-feedback-btn:hover { background: #f9fafb; border-color: #d1d5db; color: var(--hc-ink); }
