/* ============================================================
   HELP CENTER — DEDICATED STYLESHEET
   Brand: #6c47ff (primary) / #00d4aa (accent)
   ============================================================ */

:root {
    --hc-primary: #6c47ff;
    --hc-primary-dark: #5635d6;
    --hc-primary-light: #f1edff;
    --hc-accent: #00d4aa;
    --hc-accent-dark: #00b894;

    --hc-bg-dark: #0f0e17;
    --hc-bg-dark-2: #181626;
    --hc-bg-light: #fafafa;
    --hc-bg-white: #ffffff;

    --hc-text-dark: #15131f;
    --hc-text-body: #5c5a6b;
    --hc-text-muted: #8b899a;
    --hc-text-on-dark: #ffffff;
    --hc-text-on-dark-muted: #a6a3b8;

    --hc-border: #ebe9f2;
    --hc-border-dark: rgba(255, 255, 255, 0.1);

    --hc-radius-sm: 10px;
    --hc-radius-md: 16px;
    --hc-radius-lg: 24px;
    --hc-radius-pill: 999px;

    --hc-space-xs: 8px;
    --hc-space-sm: 16px;
    --hc-space-md: 24px;
    --hc-space-lg: 40px;
    --hc-space-xl: 64px;
    --hc-space-2xl: 96px;

    --hc-shadow-sm: 0 2px 8px rgba(21, 19, 31, 0.06);
    --hc-shadow-md: 0 12px 32px rgba(21, 19, 31, 0.08);
    --hc-shadow-lg: 0 24px 60px rgba(108, 71, 255, 0.18);
    --hc-shadow-glow: 0 0 0 1px rgba(108, 71, 255, 0.12), 0 20px 40px rgba(108, 71, 255, 0.16);

    --hc-transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --hc-container: 1200px;
}


/* ============================================================
   BASE / RESET (scoped)
   ============================================================ */
.hc-page * {
    box-sizing: border-box;
}

.hc-page {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--hc-text-body);
    overflow-x: hidden;
}

.hc-container {
    width: 100%;
    max-width: var(--hc-container);
    margin: 0 auto;
    padding: 0 var(--hc-space-md);
}

.hc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hc-primary);
}

.hc-eyebrow--light {
    color: var(--hc-accent);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal--left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
   HERO + SEARCH
   ============================================================ */
.hc-hero {
    position: relative;
    background: radial-gradient(circle at 15% 20%, rgba(108, 71, 255, 0.35), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(0, 212, 170, 0.22), transparent 45%),
    linear-gradient(160deg, var(--hc-bg-dark) 0%, var(--hc-bg-dark-2) 100%);
    padding: var(--hc-space-2xl) 0 var(--hc-space-xl);
    text-align: center;
    overflow: hidden;
}

.hc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.hc-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.hc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hc-border-dark);
    color: var(--hc-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 9px 18px;
    border-radius: var(--hc-radius-pill);
    margin-bottom: var(--hc-space-md);
}

.hc-hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--hc-text-on-dark);
    margin: 0 0 var(--hc-space-sm);
    letter-spacing: -0.02em;
}

.hc-hero__title span {
    background: linear-gradient(100deg, var(--hc-primary) 10%, var(--hc-accent) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hc-hero__subtitle {
    font-size: 17px;
    color: var(--hc-text-on-dark-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--hc-space-lg);
}

.hc-search {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.hc-search__icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hc-text-on-dark-muted);
    font-size: 19px;
    z-index: 2;
}

.hc-search__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--hc-border-dark);
    color: var(--hc-text-on-dark);
    font-size: 15px;
    font-family: inherit;
    padding: 20px 150px 20px 56px;
    border-radius: var(--hc-radius-md);
    outline: none;
    transition: var(--hc-transition);
}

.hc-search__input::placeholder {
    color: var(--hc-text-on-dark-muted);
}

.hc-search__input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hc-primary);
    box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.18);
}

.hc-search__btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: linear-gradient(120deg, var(--hc-primary), var(--hc-primary-dark));
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 0 26px;
    border-radius: calc(var(--hc-radius-md) - 6px);
    cursor: pointer;
    transition: var(--hc-transition);
}

.hc-search__btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(108, 71, 255, 0.4);
}

.hc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: var(--hc-space-md);
}

.hc-tags__label {
    font-size: 12px;
    color: var(--hc-text-on-dark-muted);
    align-self: center;
}

.hc-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--hc-text-on-dark-muted);
    border: 1px solid var(--hc-border-dark);
    padding: 7px 16px;
    border-radius: var(--hc-radius-pill);
    text-decoration: none;
    transition: var(--hc-transition);
    cursor: pointer;
    background: transparent;
}

.hc-tag:hover {
    border-color: var(--hc-accent);
    color: var(--hc-accent);
    background: rgba(0, 212, 170, 0.08);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.hc-stats {
    background: var(--hc-bg-dark-2);
    border-top: 1px solid var(--hc-border-dark);
    border-bottom: 1px solid var(--hc-border-dark);
    padding: var(--hc-space-lg) 0;
}

.hc-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hc-space-md);
}

.hc-stat {
    text-align: center;
    position: relative;
}

.hc-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--hc-space-md) / 2);
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: var(--hc-border-dark);
}

.hc-stat__value {
    font-size: 34px;
    font-weight: 800;
    color: var(--hc-text-on-dark);
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #fff, var(--hc-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hc-stat__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hc-text-on-dark-muted);
    margin-top: 6px;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.hc-section {
    padding: var(--hc-space-2xl) 0;
}

.hc-section--light {
    background: var(--hc-bg-light);
}

.hc-section--white {
    background: var(--hc-bg-white);
}

.hc-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--hc-space-lg);
}

.hc-section__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--hc-text-dark);
    letter-spacing: -0.01em;
    margin: 14px 0 12px;
}

.hc-section__desc {
    font-size: 15px;
    color: var(--hc-text-muted);
    line-height: 1.7;
}

.hc-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hc-space-md);
}

.hc-cat-card {
    position: relative;
    display: block;
    background: var(--hc-bg-white);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    padding: 32px 28px;
    text-decoration: none;
    transition: var(--hc-transition);
    overflow: hidden;
}

.hc-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 71, 255, 0.04), rgba(0, 212, 170, 0.04));
    opacity: 0;
    transition: var(--hc-transition);
}

.hc-cat-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--hc-shadow-glow);
}

.hc-cat-card:hover::before {
    opacity: 1;
}

.hc-cat-card__icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hc-radius-md);
    font-size: 26px;
    color: #fff;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--hc-primary), #9b7bff);
    box-shadow: 0 12px 24px rgba(108, 71, 255, 0.3);
}

.hc-cat-card--accent .hc-cat-card__icon {
    background: linear-gradient(135deg, var(--hc-accent), #3be3c6);
    box-shadow: 0 12px 24px rgba(0, 212, 170, 0.3);
}

.hc-cat-card--violet .hc-cat-card__icon {
    background: linear-gradient(135deg, #5635d6, #8c6dff);
}

.hc-cat-card--amber .hc-cat-card__icon {
    background: linear-gradient(135deg, #f5a623, #ffcc66);
    box-shadow: 0 12px 24px rgba(245, 166, 35, 0.3);
}

.hc-cat-card__title {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--hc-text-dark);
    margin: 0 0 8px;
}

.hc-cat-card__desc {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: var(--hc-text-muted);
    line-height: 1.6;
    margin: 0 0 18px;
}

.hc-cat-card__count {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hc-primary);
    transition: var(--hc-transition);
}

.hc-cat-card:hover .hc-cat-card__count {
    gap: 10px;
}

/* ============================================================
   FAQ ACCORDION (BY CATEGORY)
   ============================================================ */
.hc-faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--hc-space-xl);
    align-items: flex-start;
}

.hc-faq-nav {
    position: sticky;
    top: 100px;
    background: var(--hc-bg-light);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    padding: 26px;
}

.hc-faq-nav__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hc-text-muted);
    margin: 0 0 16px;
}

.hc-faq-nav__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hc-faq-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hc-text-body);
    text-decoration: none;
    padding: 11px 14px;
    border-radius: var(--hc-radius-sm);
    transition: var(--hc-transition);
}

.hc-faq-nav__link i {
    font-size: 16px;
    color: var(--hc-primary);
}

.hc-faq-nav__link:hover,
.hc-faq-nav__link.is-active {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
}

.hc-faq-nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(120deg, var(--hc-primary), var(--hc-primary-dark));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px;
    border-radius: var(--hc-radius-sm);
    margin-top: 22px;
    transition: var(--hc-transition);
}

.hc-faq-nav__cta:hover {
    box-shadow: 0 12px 24px rgba(108, 71, 255, 0.32);
    transform: translateY(-2px);
}

.hc-faq-group {
    margin-bottom: var(--hc-space-xl);
    scroll-margin-top: 110px;
}

.hc-faq-group__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.hc-faq-group__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hc-radius-md);
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--hc-primary), #9b7bff);
    box-shadow: 0 10px 22px rgba(108, 71, 255, 0.28);
}

.hc-faq-group__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--hc-text-dark);
    margin: 0;
}

.hc-faq-group__sub {
    font-size: 13px;
    color: var(--hc-text-muted);
    margin: 2px 0 0;
}

.hc-faq-item {
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--hc-transition);
}

.hc-faq-item:hover {
    border-color: rgba(108, 71, 255, 0.3);
}

.hc-faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: var(--hc-bg-light);
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--hc-text-dark);
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--hc-transition);
}

.hc-faq-item__q:hover {
    background: var(--hc-primary-light);
}

.hc-faq-item__q i {
    flex-shrink: 0;
    color: var(--hc-primary);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hc-faq-item.is-open .hc-faq-item__q i {
    transform: rotate(180deg);
}

.hc-faq-item__a {
    max-height: 0;
    overflow: hidden;
    background: var(--hc-bg-white);
    transition: max-height 0.35s ease;
}

.hc-faq-item__a-inner {
    padding: 22px 24px;
    font-size: 14px;
    color: var(--hc-text-body);
    line-height: 1.75;
    border-top: 1px solid var(--hc-border);
}

/* ============================================================
   SUPPORT CHANNELS
   ============================================================ */
.hc-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hc-space-md);
}

.hc-channel-card {
    background: var(--hc-bg-white);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    padding: 38px 30px;
    text-align: center;
    transition: var(--hc-transition);
}

.hc-channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hc-shadow-md);
    border-color: transparent;
}

.hc-channel-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    color: var(--hc-primary);
    background: var(--hc-primary-light);
}

.hc-channel-card--accent .hc-channel-card__icon {
    color: var(--hc-accent-dark);
    background: rgba(0, 212, 170, 0.12);
}

.hc-channel-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hc-text-dark);
    margin: 0 0 10px;
}

.hc-channel-card__desc {
    font-size: 13px;
    color: var(--hc-text-muted);
    line-height: 1.6;
    margin: 0 0 18px;
}

.hc-channel-card__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--hc-primary);
    text-decoration: none;
}

.hc-channel-card__link:hover {
    text-decoration: underline;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.hc-cta {
    position: relative;
    background: linear-gradient(155deg, var(--hc-bg-dark) 0%, #241a47 55%, var(--hc-bg-dark) 100%);
    padding: var(--hc-space-2xl) 0;
    text-align: center;
    overflow: hidden;
}

.hc-cta::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.25), transparent 70%);
    top: -180px;
    right: -120px;
    border-radius: 50%;
}

.hc-cta::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(108, 71, 255, 0.3), transparent 70%);
    bottom: -160px;
    left: -100px;
    border-radius: 50%;
}

.hc-cta__inner {
    position: relative;
    z-index: 2;
}

.hc-cta__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--hc-text-on-dark);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.hc-cta__desc {
    font-size: 15px;
    color: var(--hc-text-on-dark-muted);
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hc-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: var(--hc-radius-sm);
    text-decoration: none;
    transition: var(--hc-transition);
}

.hc-btn--primary {
    background: linear-gradient(120deg, var(--hc-primary), var(--hc-primary-dark));
    color: #fff;
    box-shadow: 0 14px 30px rgba(108, 71, 255, 0.35);
}

.hc-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(108, 71, 255, 0.45);
}

.hc-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid var(--hc-border-dark);
}

.hc-btn--ghost:hover {
    border-color: var(--hc-accent);
    color: var(--hc-accent);
}

/* ============================================================
   RESPONSIVE — TABLET (≤992px)
   ============================================================ */
@media (max-width: 992px) {
    .hc-hero__title {
        font-size: 40px;
    }

    .hc-search__input {
        padding-right: 120px;
    }

    .hc-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hc-space-lg);
    }

    .hc-stat:nth-child(2)::after {
        display: none;
    }

    .hc-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .hc-faq-layout {
        grid-template-columns: 1fr;
    }

    .hc-faq-nav {
        position: static;
        margin-bottom: var(--hc-space-lg);
    }

    .hc-channels {
        grid-template-columns: 1fr;
    }

    .hc-section__title {
        font-size: 30px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
    .hc-hero {
        padding: var(--hc-space-xl) 0 var(--hc-space-lg);
    }

    .hc-hero__title {
        font-size: 30px;
    }

    .hc-hero__subtitle {
        font-size: 14px;
    }

    .hc-search__input {
        padding: 16px 16px 16px 50px;
        font-size: 14px;
    }

    .hc-search__btn {
        position: static;
        width: 100%;
        margin-top: 12px;
        padding: 14px;
    }

    .hc-search__icon {
        top: 28px;
    }

    .hc-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hc-space-md);
    }

    .hc-stat__value {
        font-size: 26px;
    }

    .hc-categories {
        grid-template-columns: 1fr;
    }

    .hc-section {
        padding: var(--hc-space-xl) 0;
    }

    .hc-section__title {
        font-size: 24px;
    }

    .hc-faq-group__head {
        align-items: flex-start;
    }

    .hc-faq-item__q {
        font-size: 14px;
        padding: 16px 18px;
    }

    .hc-cta__title {
        font-size: 26px;
    }

    .hc-btn {
        width: 100%;
        justify-content: center;
    }
}