/* VPSRox — help center page */

.hp-hero {
    padding: 72px 0 56px;
    text-align: center;
}

.hp-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hp-crumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.hp-crumb a:hover { color: var(--bg-card); }

.hp-crumb-current { color: var(--text-main); font-weight: 600; }

.hp-hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hp-hero-lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.hp-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto 12px;
}

.hp-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.hp-search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hp-search-input:focus {
    outline: none;
    border-color: rgba(42, 211, 135, 0.6);
    box-shadow: 0 0 0 3px rgba(42, 211, 135, 0.15);
}

.hp-search-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hp-hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hp-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    flex-shrink: 0;
}

/* Quick jump strip */
.hp-jump-strip {
    padding: 0 0 48px;
    background: var(--bg-main);
}

.hp-jump-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hp-jump-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.hp-jump-card:hover {
    border-color: rgba(42, 211, 135, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 42, 29, 0.06);
}

.hp-jump-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent-green);
}

.hp-jump-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.hp-jump-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* Main docs layout */
.hp-docs-wrap {
    padding: 48px 0 100px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.hp-docs-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

.hp-sidebar {
    position: sticky;
    top: 96px;
}

.hp-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hp-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-sidebar-link {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hp-sidebar-link:hover {
    background: var(--bg-main);
    color: var(--text-main);
}

.hp-sidebar-link.is-active {
    background: rgba(42, 211, 135, 0.1);
    color: var(--bg-card);
    border-left-color: var(--accent-green);
    font-weight: 600;
}

.hp-content { min-width: 0; }

.hp-topic {
    margin-bottom: 72px;
    scroll-margin-top: 100px;
}

.hp-topic:last-child { margin-bottom: 0; }

.hp-topic-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.hp-topic h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.hp-topic-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 640px;
}

/* Timeline (quick start) */
.hp-timeline {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    position: relative;
}

.hp-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.hp-timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.hp-timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-light);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(15, 42, 29, 0.2);
}

.hp-timeline-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.hp-timeline-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Access method cards */
.hp-method-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.hp-method-card {
    padding: 24px 20px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 18px;
}

.hp-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(15, 42, 29, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-card);
    margin-bottom: 14px;
}

.hp-method-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.hp-method-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Spec pills */
.hp-spec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}

.hp-spec-cell {
    padding: 16px 18px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 14px;
}

.hp-spec-key {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hp-spec-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

/* FAQ accordion */
.hp-faq-list {
    border-top: 1px solid var(--border-light);
}

.hp-faq-item {
    border-bottom: 1px solid var(--border-light);
}

.hp-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.2s;
}

.hp-faq-q:hover { color: var(--bg-card); }

.hp-faq-q svg {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--text-muted);
}

.hp-faq-item.is-open .hp-faq-q svg {
    transform: rotate(180deg);
}

.hp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.hp-faq-a-inner {
    padding-bottom: 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.hp-faq-a-inner a {
    color: var(--bg-card);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hp-faq-a-inner ul,
.hp-faq-a-inner ol {
    margin: 12px 0;
    padding-left: 20px;
}

.hp-faq-a-inner li { margin-bottom: 6px; }

.hp-code {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(15, 42, 29, 0.06);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    color: var(--text-main);
}

.hp-price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.hp-price-table th,
.hp-price-table td {
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.hp-price-table th {
    background: var(--bg-main);
    font-weight: 600;
    color: var(--text-main);
}

.hp-price-table td.num { font-weight: 600; color: var(--bg-card); }

.hp-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(42, 211, 135, 0.2);
    color: #15803d;
    margin-left: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Bottom CTA */
.hp-cta-section {
    padding: 80px 0 120px;
    background: var(--bg-main);
}

.hp-cta-panel {
    text-align: center;
    background: var(--bg-card);
    color: var(--text-light);
    border-radius: 28px;
    padding: 56px 48px;
    box-shadow: 0 30px 60px rgba(15, 42, 29, 0.22);
}

.hp-cta-panel h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hp-cta-panel p {
    font-size: 16px;
    color: var(--text-light-secondary);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hp-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hp-cta-actions .btn-primary {
    background: var(--bg-white);
    color: var(--text-main);
    padding: 14px 28px;
    font-size: 15px;
}

.hp-cta-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    padding: 14px 28px;
    font-size: 15px;
}

.hp-cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Scroll reveal */
.hp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hp-docs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hp-sidebar {
        position: static;
    }

    .hp-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hp-sidebar-link {
        border-left: none;
        border: 1px solid var(--border-light);
        border-radius: 9999px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .hp-sidebar-link.is-active {
        border-color: var(--accent-green);
    }

    .hp-jump-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-method-row { grid-template-columns: 1fr; }
    .hp-spec-row { grid-template-columns: repeat(2, 1fr); }

    .hp-timeline {
        flex-direction: column;
        gap: 24px;
    }

    .hp-timeline::before { display: none; }
}

@media (max-width: 768px) {
    .hp-hero h1 { font-size: 34px; }
    .hp-hero-lead { font-size: 16px; }
    .hp-topic h2 { font-size: 26px; }
    .hp-jump-grid { grid-template-columns: 1fr; }
    .hp-cta-panel { padding: 40px 24px; }
    .hp-cta-panel h2 { font-size: 28px; }
    .hp-spec-row { grid-template-columns: 1fr; }
}
