/* ZovCloud — Help center */

:root {
    --hp-accent:    #ffa366;
    --hp-accent-hv: #f09055;
    --hp-accent-lt: #fff8f4;
    --hp-accent-bd: #ffeade;
    --hp-dark:      #0a0f1a;
    --hp-muted:     #86868b;
    --hp-gray:      #f5f5f7;
    --hp-border:    #e8e8ed;
    --hp-radius:    1.25rem;
    --hp-shadow:    0 4px 24px rgba(0,0,0,0.06);
}

/* ============================================================
   Hero — light, search-first
   ============================================================ */
.hp-hero {
    background: linear-gradient(165deg, var(--hp-accent-lt) 0%, #fff 42%, var(--hp-gray) 100%);
    padding: calc(var(--nav-height) + 40px) 0 56px;
    border-bottom: 1px solid var(--hp-border);
}
.hp-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin-bottom: 18px;
}
.hp-hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--hp-accent);
    animation: hp-pulse 2s ease-in-out infinite;
}
@keyframes hp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.hp-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hp-dark);
    margin-bottom: 16px;
}
.hp-hero h1 em {
    font-style: normal;
    color: var(--hp-accent);
}
.hp-hero-lead {
    font-size: 1.05rem;
    color: var(--hp-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}
.hp-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 12px;
}
.hp-search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid var(--hp-border);
    border-radius: 999px;
    background: #fff;
    color: var(--hp-dark);
    box-shadow: var(--hp-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hp-search-input:focus {
    outline: none;
    border-color: var(--hp-accent);
    box-shadow: 0 0 0 4px rgba(255,163,102,0.15);
}
.hp-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--hp-muted);
    pointer-events: none;
}
.hp-search-icon svg {
    display: block;
}
.hp-search-hint {
    font-size: 13px;
    color: var(--hp-muted);
    margin-bottom: 28px;
}
.hp-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hp-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--hp-muted);
}
.hp-metric strong {
    color: var(--hp-dark);
    font-weight: 700;
}

/* ============================================================
   Quick channels
   ============================================================ */
.hp-channels {
    padding: 40px 0;
    background: #fff;
}
.hp-channels-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .hp-channels-inner { grid-template-columns: 1fr; }
}
.hp-channel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: var(--hp-gray);
    border-radius: var(--hp-radius);
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.hp-channel:hover {
    background: var(--hp-accent-lt);
    border-color: var(--hp-accent-bd);
}
.hp-channel-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    color: var(--hp-accent);
}
.hp-channel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-dark);
    margin-bottom: 4px;
}
.hp-channel-desc {
    font-size: 13px;
    color: var(--hp-muted);
    line-height: 1.5;
}

/* ============================================================
   Main — sticky TOC + content
   ============================================================ */
.hp-main {
    padding: 48px 0 80px;
    background: var(--hp-gray);
}
.hp-main-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .hp-main-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.hp-toc {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}
@media (max-width: 900px) {
    .hp-toc {
        position: static;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.hp-toc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin-bottom: 12px;
}
.hp-toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
@media (max-width: 900px) {
    .hp-toc-list {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 4px;
    }
}
.hp-toc-link {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hp-muted);
    border-radius: 8px;
    border-left: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
@media (max-width: 900px) {
    .hp-toc-link {
        border-left: none;
        border: 1px solid var(--hp-border);
        background: #fff;
        border-radius: 999px;
        padding: 8px 14px;
    }
}
.hp-toc-link:hover {
    color: var(--hp-dark);
    background: rgba(255,255,255,0.7);
}
.hp-toc-link.is-active {
    color: var(--hp-accent);
    font-weight: 600;
    border-left-color: var(--hp-accent);
    background: #fff;
}
@media (max-width: 900px) {
    .hp-toc-link.is-active {
        border-color: var(--hp-accent);
        background: var(--hp-accent-lt);
    }
}

/* ============================================================
   Content sections
   ============================================================ */
.hp-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hp-section {
    background: #fff;
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-border);
    padding: 28px 28px 8px;
    scroll-margin-top: calc(var(--nav-height) + 16px);
}
.hp-section-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hp-border);
}
.hp-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-accent);
    margin-bottom: 6px;
}
.hp-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hp-dark);
    margin-bottom: 6px;
}
.hp-section-intro {
    font-size: 14px;
    color: var(--hp-muted);
    line-height: 1.55;
}

/* Timeline — horizontal on desktop */
.hp-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
@media (max-width: 700px) {
    .hp-timeline { grid-template-columns: 1fr; }
}
.hp-step {
    padding: 18px;
    background: var(--hp-gray);
    border-radius: 12px;
    position: relative;
}
.hp-step-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--hp-accent);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.hp-step h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-dark);
    margin-bottom: 6px;
    line-height: 1.35;
}
.hp-step p {
    font-size: 13px;
    color: var(--hp-muted);
    line-height: 1.55;
}
.hp-step a {
    color: var(--hp-accent);
    font-weight: 500;
}
.hp-step a:hover { text-decoration: underline; }

/* Spec grid */
.hp-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .hp-spec-grid { grid-template-columns: repeat(2, 1fr); }
}
.hp-spec-cell {
    padding: 14px 16px;
    background: var(--hp-gray);
    border-radius: 10px;
}
.hp-spec-key {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hp-muted);
    margin-bottom: 4px;
}
.hp-spec-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-dark);
    line-height: 1.4;
}

/* FAQ accordion */
.hp-faq-list {
    display: flex;
    flex-direction: column;
}
.hp-faq-item {
    border-bottom: 1px solid var(--hp-border);
}
.hp-faq-item:last-child { border-bottom: none; }
.hp-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-dark);
    line-height: 1.4;
    cursor: pointer;
    font-family: inherit;
}
.hp-faq-q svg {
    flex-shrink: 0;
    color: var(--hp-muted);
    transition: transform 0.25s ease;
}
.hp-faq-item.is-open .hp-faq-q svg { transform: rotate(180deg); }
.hp-faq-item.is-open .hp-faq-q {
    padding-bottom: 8px;
}
.hp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.hp-faq-a-inner {
    padding: 12px 0 18px;
    font-size: 14px;
    color: var(--hp-muted);
    line-height: 1.65;
}
.hp-faq-a-inner a {
    color: var(--hp-accent);
    font-weight: 500;
}
.hp-faq-a-inner a:hover { text-decoration: underline; }
.hp-faq-a-inner strong { color: var(--hp-dark); font-weight: 600; }
.hp-faq-a-inner ul,
.hp-faq-a-inner ol {
    margin: 10px 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hp-code {
    display: block;
    margin: 10px 0;
    padding: 12px 14px;
    background: var(--hp-dark);
    color: #e8eaed;
    border-radius: 8px;
    font-size: 13px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    overflow-x: auto;
}
.hp-inline-code {
    font-size: 12px;
    background: var(--hp-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* Price mini table */
.hp-price-table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
    font-size: 13px;
}
.hp-price-table th,
.hp-price-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--hp-border);
}
.hp-price-table th {
    font-weight: 600;
    color: var(--hp-dark);
    background: var(--hp-gray);
}
.hp-price-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.hp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--hp-accent-lt);
    color: var(--hp-accent);
    margin-left: 6px;
    vertical-align: middle;
}

/* ============================================================
   Bottom CTA
   ============================================================ */
.hp-cta {
    background: var(--hp-dark);
    color: #fff;
    padding: 64px 24px;
    text-align: center;
}
.hp-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.hp-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.hp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}
.hp-btn-accent {
    background: var(--hp-accent);
    color: #fff;
}
.hp-btn-accent:hover {
    background: var(--hp-accent-hv);
    transform: translateY(-1px);
}
.hp-btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.hp-btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* Reveal */
.hp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.hp-reveal.is-visible {
    opacity: 1;
    transform: none;
}
