/* MySkillDB Help Center */

.help-page {
    --help-surface-bg: rgba(255, 255, 255, 0.58);
    --help-surface-bg-hover: rgba(255, 255, 255, 0.76);
    --help-surface-border: rgba(255, 255, 255, 0.72);
    --help-surface-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --help-surface-blur: 12px;
}

.help-card,
.help-chooser-card,
.help-quick-card,
.help-use-case-card,
.help-search-empty-card,
.help-flow-step-card,
.help-flow-split-col,
.help-flow-option-card {
    background: var(--help-surface-bg);
    backdrop-filter: blur(var(--help-surface-blur));
    -webkit-backdrop-filter: blur(var(--help-surface-blur));
    border-color: var(--help-surface-border);
    box-shadow: var(--help-surface-shadow);
}

.help-hero {
    position: relative;
    padding: 7.5rem 0 3.5rem;
    background: linear-gradient(145deg, #0c4a6e 0%, #0e7490 45%, #155e75 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 75% 25%, rgba(34, 211, 238, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 15% 80%, rgba(45, 212, 191, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.help-hero .hp-container {
    position: relative;
    z-index: 1;
}

.help-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(103, 232, 249, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
    color: #a5f3fc;
    margin-bottom: 1.25rem;
}

.help-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.help-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.help-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    z-index: 1;
}

.help-search-wrap.is-open {
    z-index: 200;
}

.help-search-wrap i {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.help-search-input {
    width: 100%;
    padding: 0.95rem 1.15rem 0.95rem 2.75rem;
    border-radius: 14px;
    border: none;
    font-size: 0.95rem;
    outline: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.help-search-suggestions {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: min(320px, 50vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    padding: 0.35rem;
    color: #334155;
}

.help-search-suggestion {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}

.help-search-suggestion:hover,
.help-search-suggestion.is-active {
    background: #f1f5f9;
}

.help-search-suggestion-text {
    min-width: 0;
}

.help-search-suggestion-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.help-search-suggestion-sub {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-search-suggestion-type {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    white-space: nowrap;
}

.help-search-suggestions-empty {
    margin: 0;
    padding: 0.85rem 0.75rem 0.35rem;
    font-size: 0.85rem;
    color: #475569;
    text-align: center;
}

.help-hub-hero .help-search-suggestions-empty {
    color: #475569;
}

.help-search-suggestions-empty-state {
    padding: 0.25rem 0.35rem 0.5rem;
}

.help-search-empty-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.help-search-empty-scroll:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Empty search experience panel */
.help-search-empty-panel {
    margin-top: 2rem;
}

.help-search-empty-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.75rem;
    border: 1px solid var(--help-surface-border);
    border-radius: 18px;
    text-align: center;
}

.help-search-empty-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(147, 51, 234, 0.12));
    color: #9333ea;
    font-size: 1.25rem;
}

.help-search-empty-title {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
    color: #0f172a;
}

.help-search-empty-query {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    color: #64748b;
}

.help-search-empty-copy {
    margin: 0 0 1.35rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

.help-search-empty-guide-link {
    color: #9333ea;
    font-weight: 700;
    text-decoration: none;
}

.help-search-empty-guide-link:hover {
    text-decoration: underline;
}

.help-search-empty-signed-in {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: #64748b;
}

.help-search-empty-auth-copy {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    color: #475569;
}

.help-search-empty-post,
.help-search-empty-auth {
    text-align: left;
}

.help-search-post-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.help-google-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    position: relative;
}

.help-google-signin-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.help-google-signin-btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.help-btn-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.help-btn-spinner {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: #9333ea;
}

.help-google-signin-btn.is-loading .help-btn-label,
.help-search-post-btn.is-loading .help-btn-label {
    visibility: hidden;
}

.help-google-signin-btn.is-loading .help-btn-spinner,
.help-search-post-btn.is-loading .help-btn-spinner {
    display: flex;
}

.help-search-post {
    padding: 0.5rem 0.75rem 0.85rem;
    border-top: 1px solid #e2e8f0;
}

.help-search-post-intro {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #475569;
    text-align: center;
}

.help-search-post-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.help-search-post-form input,
.help-search-post-form textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.help-search-post-form textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.help-search-post-form input:focus,
.help-search-post-form textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.help-search-post-btn {
    position: relative;
    margin-top: 0.15rem;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #9333ea);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.help-search-post-btn:hover:not(:disabled) {
    opacity: 0.95;
}

.help-search-post-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.help-search-post-message {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.help-search-post-message.is-error {
    color: #b91c1c;
}

.help-search-post-message.is-success {
    color: #047857;
}

/* Quick links */
.help-quick-links {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.help-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--help-surface-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.help-quick-card:hover {
    transform: translateY(-3px);
    background: var(--help-surface-bg-hover);
    box-shadow: 0 12px 32px rgba(14, 116, 144, 0.12);
    border-color: rgba(14, 116, 144, 0.35);
    color: inherit;
}

.help-quick-card i {
    font-size: 1.5rem;
    color: #0e7490;
    margin-bottom: 0.5rem;
}

.help-quick-card span {
    font-weight: 700;
    font-size: 0.95rem;
}

.help-quick-card small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Filters */
.help-filter-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 64px;
    z-index: 40;
    padding: 1rem 0;
}

.help-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.help-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.help-filter-btn:hover {
    border-color: #0e7490;
    color: #0e7490;
}

.help-filter-btn.active {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    border-color: transparent;
    color: #fff;
}

.help-category-filters .help-filter-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
}

.help-category-filters.is-hidden {
    display: none;
}

.help-audience-filtered .help-section-block:not([style*="display: none"]) {
    margin-bottom: 0;
}

.help-audience-filtered .help-section-head {
    margin-bottom: 1.25rem;
}

/* Article grid */
.help-section-block {
    margin-bottom: 3rem;
}

.help-section-block:last-of-type {
    margin-bottom: 0;
}

.help-section-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.help-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.12), rgba(8, 145, 178, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0e7490;
    flex-shrink: 0;
}

.help-section-block[data-section-audience="recruiters"] .help-section-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.1));
    color: #db2777;
}

.help-section-block[data-section-audience="students"] .help-section-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.1));
    color: #6366f1;
}

.help-section-block[data-section-audience="colleges"] .help-section-icon {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(5, 150, 105, 0.1));
    color: #0d9488;
}

.help-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.help-section-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.help-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--help-surface-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.help-card:hover {
    transform: translateY(-5px);
    background: var(--help-surface-bg-hover);
    box-shadow: 0 16px 40px rgba(14, 116, 144, 0.12);
    color: inherit;
}

.help-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.12), rgba(8, 145, 178, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0e7490;
    margin-bottom: 1rem;
}

.help-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0e7490;
    margin-bottom: 0.4rem;
}

.help-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.help-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}

.help-card-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.help-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

.help-empty i {
    font-size: 3rem;
    opacity: 0.4;
    margin-bottom: 1rem;
    display: block;
}

/* Support CTA */
.help-support-cta {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 50%, #0891b2 100%);
    padding: 3.5rem 0;
    color: #fff;
}

.help-support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.help-support-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.help-support-inner p {
    opacity: 0.9;
    margin: 0;
    max-width: 420px;
}

.help-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.help-support-cta .hp-btn-primary {
    background: #fff;
    color: #0e7490;
    -webkit-text-fill-color: #0e7490;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.help-support-cta .hp-btn-primary:hover {
    color: #0c4a6e;
    -webkit-text-fill-color: #0c4a6e;
    background: #f0fdfa;
}

.help-support-cta .hp-btn-primary i {
    color: #0e7490;
    -webkit-text-fill-color: #0e7490;
}

.help-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.help-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Article page */
.help-article-header {
    background: linear-gradient(145deg, #0c4a6e 0%, #0e7490 45%, #155e75 100%);
    padding: 7.5rem 0 2.5rem;
    color: #fff;
}

.help-article-header .help-hub-back {
    margin-bottom: 1.25rem;
}

.help-article-cat {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(103, 232, 249, 0.35);
    font-size: 0.72rem;
    font-weight: 600;
    color: #a5f3fc;
    margin-bottom: 0.85rem;
}

.help-article-header h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 760px;
}

.help-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.help-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.help-article-body {
    padding: 3rem 0 4rem;
    background: #f8fafc;
}

.help-article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}

.help-article-content {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 2.25rem;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.help-article-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.help-article-content h2:first-child {
    margin-top: 0;
}

.help-article-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.help-article-content ul,
.help-article-content ol {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--text-secondary);
}

.help-article-content li {
    margin-bottom: 0.45rem;
}

.help-article-content a {
    color: #0e7490;
    font-weight: 600;
}

.help-article-content a:hover {
    text-decoration: underline;
}

.help-article-content strong {
    color: var(--text-primary);
}

.help-article-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.help-article-footer p {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.help-feedback-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.help-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.help-feedback-btn:hover {
    border-color: #0e7490;
    background: rgba(14, 116, 144, 0.06);
}

/* Sidebar */
.help-sidebar-block {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.help-sidebar-block h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.help-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
}

.help-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-sidebar-list li {
    border-bottom: 1px solid var(--border-color);
}

.help-sidebar-list li:last-child {
    border-bottom: none;
}

.help-sidebar-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.4;
}

.help-sidebar-list a:hover {
    color: #0e7490;
}

.help-sidebar-list i {
    color: #0e7490;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.help-sidebar-cta p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .help-article-layout {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        order: 2;
    }

    .help-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .help-filter-bar {
        top: 56px;
    }

    .help-support-inner {
        flex-direction: column;
        text-align: center;
    }

    .help-support-actions {
        justify-content: center;
    }

    .help-article-content {
        padding: 1.5rem;
    }
}

/* ─── Help chooser (help.php) ─── */
.help-chooser-hero h1 {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.help-chooser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.help-chooser-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: 20px;
    border: 1px solid var(--help-surface-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.help-chooser-card:hover {
    transform: translateY(-6px);
    background: var(--help-surface-bg-hover);
    box-shadow: 0 20px 50px rgba(14, 116, 144, 0.12);
    color: inherit;
}

.help-chooser-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.help-chooser-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.help-chooser-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.25rem;
}

.help-chooser-cta {
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.help-hub-students .help-chooser-icon,
.help-hub-students .help-chooser-cta { color: #6366f1; }
.help-hub-students .help-chooser-icon { background: rgba(99, 102, 241, 0.12); }

.help-hub-colleges .help-chooser-icon,
.help-hub-colleges .help-chooser-cta { color: #0d9488; }
.help-hub-colleges .help-chooser-icon { background: rgba(13, 148, 136, 0.12); }

.help-hub-recruiters .help-chooser-icon,
.help-hub-recruiters .help-chooser-cta { color: #db2777; }
.help-hub-recruiters .help-chooser-icon { background: rgba(219, 39, 119, 0.12); }

/* ─── Audience hub pages ─── */
.help-hub-hero {
    position: relative;
    z-index: 50;
    padding: 7.5rem 0 3rem;
    color: #fff;
    overflow: visible;
}

.help-hub-hero .hp-container {
    position: relative;
    z-index: 1;
}

.help-hub-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.help-hub-back:hover {
    color: #fff;
}

.help-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.help-hub-hero h1 {
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 800;
    margin-bottom: 0.85rem;
    max-width: 640px;
}

.help-hub-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.help-hub-hero .help-search-wrap {
    max-width: 420px;
    margin: 0;
}

.help-hub-students .help-hub-hero {
    background: linear-gradient(145deg, #1e1b4b 0%, #4338ca 45%, #6366f1 100%);
}
.help-hub-students .help-hub-badge {
    background: rgba(165, 180, 252, 0.2);
    border: 1px solid rgba(165, 180, 252, 0.35);
    color: #c7d2fe;
}

.help-hub-colleges .help-hub-hero {
    background: linear-gradient(145deg, #042f2e 0%, #0f766e 45%, #134e4a 100%);
}
.help-hub-colleges .help-hub-badge {
    background: rgba(45, 212, 191, 0.18);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: #99f6e4;
}

.help-hub-recruiters .help-hub-hero {
    background: linear-gradient(145deg, #1a0a2e 0%, #831843 45%, #be185d 100%);
}
.help-hub-recruiters .help-hub-badge {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: #fbcfe8;
}

.help-hub-body {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

.help-featured-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #042f2e, #0f766e);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(94, 234, 212, 0.25);
    transition: transform 0.25s, box-shadow 0.25s;
}

.help-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.25);
    color: #fff;
}

.help-featured-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.help-featured-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #99f6e4;
    margin-bottom: 0.35rem;
    display: block;
}

.help-featured-text h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.help-featured-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.help-featured-cta {
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.help-hub-page .help-card-cat {
    display: none;
}

.help-hub-more {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.help-hub-more-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* ─── College use case cards ─── */
.help-use-cases {
    margin-top: 2.5rem;
}

.help-use-cases-intro {
    margin-bottom: 2rem;
}

.help-use-cases-intro h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.help-use-cases-intro p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}

.help-use-case-group {
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.help-use-case-group-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.help-use-case-group-num {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-use-case-group-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-use-case-group-head h3 i {
    font-size: 0.95rem;
}

.help-use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.help-use-case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1.1rem;
    border: 1px solid var(--help-surface-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s, background 0.22s;
    min-height: 100%;
}

.help-use-case-card:hover {
    transform: translateY(-3px);
    background: var(--help-surface-bg-hover);
    color: inherit;
}

.help-use-case-card-article {
    text-decoration: none;
}

.help-use-case-card-article:hover {
    transform: translateY(-3px);
    background: var(--help-surface-bg-hover);
}

.help-use-case-card-title-link {
    color: inherit;
    text-decoration: none;
}

.help-use-case-card-title-link:hover {
    color: inherit;
}

.help-use-case-card p a,
.help-flow-step-desc a,
.help-flow-summary a,
.help-flow-step-head h2 a,
.help-flow-step-head h3 a,
.help-flow-note-text a,
.cah-feature-text a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-use-case-card p a:hover,
.help-flow-step-desc a:hover,
.help-flow-summary a:hover,
.help-flow-step-head h2 a:hover,
.help-flow-step-head h3 a:hover,
.help-flow-note-text a:hover,
.cah-feature-text a:hover {
    opacity: 0.85;
}

.help-use-case-num {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.help-use-case-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.help-use-case-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    padding-right: 2rem;
}

.help-use-case-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.85rem;
}

.help-use-case-link {
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

a.help-use-case-link {
    text-decoration: none;
    color: inherit;
}

.help-use-case-card-has-call {
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.help-use-case-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1rem;
    text-decoration: none;
    color: inherit;
    min-height: 0;
}

.help-use-case-card-has-call:hover {
    transform: translateY(-3px);
    background: var(--help-surface-bg-hover);
}

.help-use-case-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 1rem 1rem;
    padding: 0.65rem 1rem;
    border-radius: 0.55rem;
    background: #475569;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}

.help-use-case-call-btn:hover {
    background: #334155;
    color: #fff;
}

.help-uc-billing .help-use-case-call-btn {
    background: #64748b;
}

.help-uc-billing .help-use-case-call-btn:hover {
    background: #475569;
}

/* Group themes — subtle light backgrounds */
.help-uc-billing {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.help-uc-billing .help-use-case-group-num { background: #64748b; }
.help-uc-billing .help-use-case-group-head h3 i { color: #64748b; }
.help-uc-billing .help-use-case-num { color: #475569; background: rgba(100, 116, 139, 0.12); }
.help-uc-billing .help-use-case-icon { background: rgba(100, 116, 139, 0.12); color: #64748b; }
.help-uc-billing .help-use-case-link { color: #475569; }
.help-uc-billing .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(100, 116, 139, 0.12); border-color: rgba(100, 116, 139, 0.25); }

.help-uc-job-management {
    background: #ecfdf5;
    border-color: #d1fae5;
}
.help-uc-job-management .help-use-case-group-num { background: #0d9488; }
.help-uc-job-management .help-use-case-group-head h3 i { color: #0d9488; }
.help-uc-job-management .help-use-case-num { color: #0f766e; background: rgba(13, 148, 136, 0.12); }
.help-uc-job-management .help-use-case-icon { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.help-uc-job-management .help-use-case-link { color: #0f766e; }
.help-uc-job-management .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(13, 148, 136, 0.12); border-color: rgba(13, 148, 136, 0.28); }

.help-uc-student-management {
    background: #eef2ff;
    border-color: #e0e7ff;
}
.help-uc-student-management .help-use-case-group-num { background: #6366f1; }
.help-uc-student-management .help-use-case-group-head h3 i { color: #6366f1; }
.help-uc-student-management .help-use-case-num { color: #4f46e5; background: rgba(99, 102, 241, 0.12); }
.help-uc-student-management .help-use-case-icon { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.help-uc-student-management .help-use-case-link { color: #4f46e5; }
.help-uc-student-management .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(99, 102, 241, 0.12); border-color: rgba(99, 102, 241, 0.28); }

.help-uc-syllabus-topics {
    background: #f0fdf4;
    border-color: #dcfce7;
}
.help-uc-syllabus-topics .help-use-case-group-num { background: #16a34a; }
.help-uc-syllabus-topics .help-use-case-group-head h3 i { color: #16a34a; }
.help-uc-syllabus-topics .help-use-case-num { color: #15803d; background: rgba(22, 163, 74, 0.12); }
.help-uc-syllabus-topics .help-use-case-icon { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.help-uc-syllabus-topics .help-use-case-link { color: #15803d; }
.help-uc-syllabus-topics .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(22, 163, 74, 0.12); border-color: rgba(22, 163, 74, 0.28); }

.help-uc-onboarding {
    background: #fffbeb;
    border-color: #fef3c7;
}
.help-uc-onboarding .help-use-case-group-num { background: #d97706; }
.help-uc-onboarding .help-use-case-group-head h3 i { color: #d97706; }
.help-uc-onboarding .help-use-case-num { color: #b45309; background: rgba(217, 119, 6, 0.12); }
.help-uc-onboarding .help-use-case-icon { background: rgba(217, 119, 6, 0.12); color: #d97706; }
.help-uc-onboarding .help-use-case-link { color: #b45309; }
.help-uc-onboarding .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.28); }

.help-uc-college-setup {
    background: #f0f9ff;
    border-color: #e0f2fe;
}
.help-uc-college-setup .help-use-case-group-num { background: #0284c7; }
.help-uc-college-setup .help-use-case-group-head h3 i { color: #0284c7; }
.help-uc-college-setup .help-use-case-num { color: #0369a1; background: rgba(2, 132, 199, 0.12); }
.help-uc-college-setup .help-use-case-icon { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.help-uc-college-setup .help-use-case-link { color: #0369a1; }
.help-uc-college-setup .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.28); }

.help-uc-communications {
    background: #fff1f2;
    border-color: #ffe4e6;
}
.help-uc-communications .help-use-case-group-num { background: #e11d48; }
.help-uc-communications .help-use-case-group-head h3 i { color: #e11d48; }
.help-uc-communications .help-use-case-num { color: #be123c; background: rgba(225, 29, 72, 0.1); }
.help-uc-communications .help-use-case-icon { background: rgba(225, 29, 72, 0.1); color: #e11d48; }
.help-uc-communications .help-use-case-link { color: #be123c; }
.help-uc-communications .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(225, 29, 72, 0.1); border-color: rgba(225, 29, 72, 0.25); }

.help-uc-profile-management {
    background: #f5f3ff;
    border-color: #ede9fe;
}
.help-uc-profile-management .help-use-case-group-num { background: #7c3aed; }
.help-uc-profile-management .help-use-case-group-head h3 i { color: #7c3aed; }
.help-uc-profile-management .help-use-case-num { color: #6d28d9; background: rgba(124, 58, 237, 0.1); }
.help-uc-profile-management .help-use-case-icon { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.help-uc-profile-management .help-use-case-link { color: #6d28d9; }
.help-uc-profile-management .help-use-case-card:hover { box-shadow: 0 12px 28px rgba(124, 58, 237, 0.1); border-color: rgba(124, 58, 237, 0.25); }

/* Student use case group themes */
.help-hub-students .help-featured-card {
    background: linear-gradient(135deg, #1e1b4b, #4338ca);
    border-color: rgba(165, 180, 252, 0.35);
}
.help-hub-students .help-featured-label { color: #c7d2fe; }
.help-hub-students .help-featured-card:hover {
    box-shadow: 0 16px 40px rgba(67, 56, 202, 0.25);
}

.help-hub-recruiters .help-featured-card {
    background: linear-gradient(135deg, #1a0a2e, #831843);
    border-color: rgba(236, 72, 153, 0.35);
}
.help-hub-recruiters .help-featured-label { color: #fbcfe8; }
.help-hub-recruiters .help-featured-card:hover {
    box-shadow: 0 16px 40px rgba(190, 24, 93, 0.25);
}

.help-uc-account-support { background: #f1f5f9; border-color: #e2e8f0; }
.help-uc-account-support .help-use-case-group-num { background: #64748b; }
.help-uc-account-support .help-use-case-group-head h3 i { color: #64748b; }
.help-uc-account-support .help-use-case-num { color: #475569; background: rgba(100, 116, 139, 0.12); }
.help-uc-account-support .help-use-case-icon { background: rgba(100, 116, 139, 0.12); color: #64748b; }
.help-uc-account-support .help-use-case-link { color: #475569; }

.help-uc-home-dashboard { background: #eef2ff; border-color: #e0e7ff; }
.help-uc-home-dashboard .help-use-case-group-num { background: #6366f1; }
.help-uc-home-dashboard .help-use-case-group-head h3 i { color: #6366f1; }
.help-uc-home-dashboard .help-use-case-num { color: #4f46e5; background: rgba(99, 102, 241, 0.12); }
.help-uc-home-dashboard .help-use-case-icon { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.help-uc-home-dashboard .help-use-case-link { color: #4f46e5; }

.help-uc-job-board { background: #f5f3ff; border-color: #ede9fe; }
.help-uc-job-board .help-use-case-group-num { background: #7c3aed; }
.help-uc-job-board .help-use-case-group-head h3 i { color: #7c3aed; }
.help-uc-job-board .help-use-case-num { color: #6d28d9; background: rgba(124, 58, 237, 0.1); }
.help-uc-job-board .help-use-case-icon { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.help-uc-job-board .help-use-case-link { color: #6d28d9; }

.help-uc-interview-planner { background: #faf5ff; border-color: #f3e8ff; }
.help-uc-interview-planner .help-use-case-group-num { background: #9333ea; }
.help-uc-interview-planner .help-use-case-group-head h3 i { color: #9333ea; }
.help-uc-interview-planner .help-use-case-num { color: #7e22ce; background: rgba(147, 51, 234, 0.1); }
.help-uc-interview-planner .help-use-case-icon { background: rgba(147, 51, 234, 0.1); color: #9333ea; }
.help-uc-interview-planner .help-use-case-link { color: #7e22ce; }

.help-uc-sprint-learning { background: #eff6ff; border-color: #dbeafe; }
.help-uc-sprint-learning .help-use-case-group-num { background: #2563eb; }
.help-uc-sprint-learning .help-use-case-group-head h3 i { color: #2563eb; }
.help-uc-sprint-learning .help-use-case-num { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); }
.help-uc-sprint-learning .help-use-case-icon { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.help-uc-sprint-learning .help-use-case-link { color: #1d4ed8; }

.help-uc-profile-designer { background: #fdf2f8; border-color: #fce7f3; }
.help-uc-profile-designer .help-use-case-group-num { background: #db2777; }
.help-uc-profile-designer .help-use-case-group-head h3 i { color: #db2777; }
.help-uc-profile-designer .help-use-case-num { color: #be185d; background: rgba(219, 39, 119, 0.1); }
.help-uc-profile-designer .help-use-case-icon { background: rgba(219, 39, 119, 0.1); color: #db2777; }
.help-uc-profile-designer .help-use-case-link { color: #be185d; }

.help-uc-communications { background: #ecfdf5; border-color: #d1fae5; }
.help-hub-students .help-uc-communications { background: #ecfdf5; border-color: #d1fae5; }
.help-hub-students .help-uc-communications .help-use-case-group-num { background: #059669; }
.help-hub-students .help-uc-communications .help-use-case-group-head h3 i { color: #059669; }
.help-hub-students .help-uc-communications .help-use-case-num { color: #047857; background: rgba(5, 150, 105, 0.1); }
.help-hub-students .help-uc-communications .help-use-case-icon { background: rgba(5, 150, 105, 0.1); color: #059669; }
.help-hub-students .help-uc-communications .help-use-case-link { color: #047857; }

.help-uc-workspace { background: #ecfeff; border-color: #cffafe; }
.help-uc-workspace .help-use-case-group-num { background: #0891b2; }
.help-uc-workspace .help-use-case-group-head h3 i { color: #0891b2; }
.help-uc-workspace .help-use-case-num { color: #0e7490; background: rgba(8, 145, 178, 0.1); }
.help-uc-workspace .help-use-case-icon { background: rgba(8, 145, 178, 0.1); color: #0891b2; }
.help-uc-workspace .help-use-case-link { color: #0e7490; }

.help-uc-profile-settings { background: #fff7ed; border-color: #ffedd5; }
.help-uc-profile-settings .help-use-case-group-num { background: #ea580c; }
.help-uc-profile-settings .help-use-case-group-head h3 i { color: #ea580c; }
.help-uc-profile-settings .help-use-case-num { color: #c2410c; background: rgba(234, 88, 12, 0.1); }
.help-uc-profile-settings .help-use-case-icon { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.help-uc-profile-settings .help-use-case-link { color: #c2410c; }

.help-student-flow { --flow-accent: #4338ca; }

.help-recruiter-flow { --flow-accent: #be185d; }

.help-uc-account-access { background: #f1f5f9; border-color: #e2e8f0; }
.help-uc-account-access .help-use-case-group-num { background: #64748b; }
.help-uc-account-access .help-use-case-group-head h3 i { color: #64748b; }
.help-uc-account-access .help-use-case-num { color: #475569; background: rgba(100, 116, 139, 0.12); }
.help-uc-account-access .help-use-case-icon { background: rgba(100, 116, 139, 0.12); color: #64748b; }
.help-uc-account-access .help-use-case-link { color: #475569; }

.help-uc-recruiter-dashboard { background: #fdf2f8; border-color: #fce7f3; }
.help-uc-recruiter-dashboard .help-use-case-group-num { background: #db2777; }
.help-uc-recruiter-dashboard .help-use-case-group-head h3 i { color: #db2777; }
.help-uc-recruiter-dashboard .help-use-case-num { color: #be185d; background: rgba(219, 39, 119, 0.12); }
.help-uc-recruiter-dashboard .help-use-case-icon { background: rgba(219, 39, 119, 0.12); color: #db2777; }
.help-uc-recruiter-dashboard .help-use-case-link { color: #be185d; }

.help-uc-candidates-crm { background: #fff1f2; border-color: #ffe4e6; }
.help-uc-candidates-crm .help-use-case-group-num { background: #e11d48; }
.help-uc-candidates-crm .help-use-case-group-head h3 i { color: #e11d48; }
.help-uc-candidates-crm .help-use-case-num { color: #be123c; background: rgba(225, 29, 72, 0.1); }
.help-uc-candidates-crm .help-use-case-icon { background: rgba(225, 29, 72, 0.1); color: #e11d48; }
.help-uc-candidates-crm .help-use-case-link { color: #be123c; }

.help-uc-interview-management { background: #faf5ff; border-color: #f3e8ff; }
.help-uc-interview-management .help-use-case-group-num { background: #9333ea; }
.help-uc-interview-management .help-use-case-group-head h3 i { color: #9333ea; }
.help-uc-interview-management .help-use-case-num { color: #7e22ce; background: rgba(147, 51, 234, 0.1); }
.help-uc-interview-management .help-use-case-icon { background: rgba(147, 51, 234, 0.1); color: #9333ea; }
.help-uc-interview-management .help-use-case-link { color: #7e22ce; }

.help-uc-placements-ledger { background: #ecfdf5; border-color: #d1fae5; }
.help-uc-placements-ledger .help-use-case-group-num { background: #059669; }
.help-uc-placements-ledger .help-use-case-group-head h3 i { color: #059669; }
.help-uc-placements-ledger .help-use-case-num { color: #047857; background: rgba(5, 150, 105, 0.1); }
.help-uc-placements-ledger .help-use-case-icon { background: rgba(5, 150, 105, 0.1); color: #059669; }
.help-uc-placements-ledger .help-use-case-link { color: #047857; }

.help-uc-colleges-network { background: #eff6ff; border-color: #dbeafe; }
.help-uc-colleges-network .help-use-case-group-num { background: #2563eb; }
.help-uc-colleges-network .help-use-case-group-head h3 i { color: #2563eb; }
.help-uc-colleges-network .help-use-case-num { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); }
.help-uc-colleges-network .help-use-case-icon { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.help-uc-colleges-network .help-use-case-link { color: #1d4ed8; }

.help-uc-auxiliary-tools { background: #f8fafc; border-color: #e2e8f0; }
.help-uc-auxiliary-tools .help-use-case-group-num { background: #475569; }
.help-uc-auxiliary-tools .help-use-case-group-head h3 i { color: #475569; }
.help-uc-auxiliary-tools .help-use-case-num { color: #334155; background: rgba(71, 85, 105, 0.1); }
.help-uc-auxiliary-tools .help-use-case-icon { background: rgba(71, 85, 105, 0.1); color: #475569; }
.help-uc-auxiliary-tools .help-use-case-link { color: #334155; }

.help-uc-account-access { --flow-accent: #64748b; }
.help-uc-recruiter-dashboard { --flow-accent: #db2777; }
.help-uc-candidates-crm { --flow-accent: #e11d48; }
.help-uc-interview-management { --flow-accent: #9333ea; }
.help-uc-placements-ledger { --flow-accent: #059669; }
.help-uc-colleges-network { --flow-accent: #2563eb; }
.help-uc-auxiliary-tools { --flow-accent: #475569; }

/* Use case workflow pages */
.help-flow-page {
    --flow-accent: var(--primary, #6366f1);
}

.help-flow-topnav {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.help-flow-topnav-inner {
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.85rem 0;
    min-height: 3.25rem;
}

.help-flow-topnav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    color: var(--text-primary, #0f172a);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.help-flow-topnav-back:hover {
    border-color: var(--flow-accent);
    background: rgba(99, 102, 241, 0.06);
    color: var(--flow-accent);
}

.help-uc-billing { --flow-accent: #64748b; }
.help-uc-job-management { --flow-accent: #0d9488; }
.help-uc-student-management { --flow-accent: #6366f1; }
.help-uc-syllabus-topics { --flow-accent: #16a34a; }
.help-uc-onboarding { --flow-accent: #d97706; }
.help-uc-college-setup { --flow-accent: #0284c7; }
.help-uc-communications { --flow-accent: #e11d48; }
.help-uc-profile-management { --flow-accent: #7c3aed; }

.help-flow-hero {
    padding: 2rem 0 2rem;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.help-flow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--flow-accent);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.help-flow-hero-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.help-flow-num {
    flex-shrink: 0;
    min-width: 3rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(99, 102, 241, 0.12);
    color: var(--flow-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.help-flow-hero h1 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.help-flow-summary {
    margin: 0;
    color: var(--text-secondary, #64748b);
    font-size: 1.05rem;
    max-width: 52rem;
    line-height: 1.6;
}

.help-flow-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.92rem;
    color: var(--text-secondary, #64748b);
}

.help-flow-meta-link {
    color: var(--flow-accent);
    font-weight: 600;
    text-decoration: none;
}

.help-flow-meta-link:hover {
    text-decoration: underline;
}

.help-flow-main {
    padding: 2.5rem 1rem 4rem;
}

.help-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 52rem;
}

.help-flow-layout-branch .help-flow-steps {
    max-width: 56rem;
}

.help-flow-step-branching .help-flow-step-card {
    overflow: visible;
}

.help-flow-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.15rem;
}

.help-flow-split-col {
    --path-accent: var(--flow-accent);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--help-surface-border);
    border-top: 3px solid var(--path-accent);
    border-radius: 0.85rem;
}

.help-flow-split-a {
    --path-accent: #0d9488;
}

.help-flow-split-b {
    --path-accent: #0369a1;
}

.help-flow-split-head {
    padding: 1.15rem 1.2rem 1.1rem;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.help-flow-split-head .help-flow-option-label {
    background: rgba(15, 23, 42, 0.06);
    color: var(--path-accent);
}

.help-flow-split-head .help-flow-option-icon {
    background: color-mix(in srgb, var(--path-accent) 12%, transparent);
    color: var(--path-accent);
}

.help-flow-split-head .help-flow-option-link {
    color: var(--path-accent);
}

.help-flow-split-steps {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0.5rem;
    flex: 1;
}

.help-flow-split-step {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0 0.65rem;
    padding: 0.9rem 1rem 0.9rem 0.75rem;
    position: relative;
}

.help-flow-split-step:not(:last-child) .help-flow-split-step-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 1.85rem;
    bottom: -0.9rem;
    width: 1px;
    transform: translateX(-50%);
    background: color-mix(in srgb, var(--path-accent) 35%, #cbd5e1);
}

.help-flow-split-step-marker {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0.15rem;
}

.help-flow-split-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.65rem;
    padding: 0 0.35rem;
    border-radius: 3px;
    border: 1px solid color-mix(in srgb, var(--path-accent) 30%, transparent);
    background: #fff;
    color: var(--path-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.help-flow-split-step-body {
    min-width: 0;
    padding-bottom: 0.15rem;
}

.help-flow-path-tag {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 2px;
    background: #f8fafc;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #64748b;
}

.help-flow-branch-step-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
}

.help-flow-step-head-compact {
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-bottom: 0.4rem;
}

.help-flow-step-head-compact .help-flow-step-guide-link {
    font-size: 0.78rem;
}

.help-flow-branch-step-desc {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.help-flow-branch-step-demo {
    margin-top: 0.75rem;
}

.help-flow-branch-step-demo .cah-demo {
    min-height: 140px;
}

.help-flow-branch-step-demo .cah-demo-media,
.help-flow-branch-step-demo .cah-demo-placeholder {
    min-height: 140px;
}

.help-flow-step-images {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.help-flow-step-figure {
    margin: 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 3px;
    overflow: hidden;
    background: #f8fafc;
}

.help-flow-step-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

.help-flow-step-figure figcaption {
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.help-flow-branch-step-images {
    margin-top: 0.75rem;
}

.help-flow-merge-join {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0 1.25rem;
    padding: 0.25rem 0 0.75rem;
    list-style: none;
}

.help-flow-merge-join-body {
    padding: 0.65rem 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.16);
    border-bottom: 1px dashed rgba(15, 23, 42, 0.16);
    text-align: center;
}

.help-flow-merge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.help-flow-step-merged .help-flow-step-card-merged {
    border-color: color-mix(in srgb, var(--flow-accent) 35%, rgba(15, 23, 42, 0.1));
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.help-flow-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0 1.25rem;
    position: relative;
    padding-bottom: 2rem;
}

.help-flow-step:not(.help-flow-step-last)::before {
    content: "";
    position: absolute;
    left: 1.45rem;
    top: 3rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--flow-accent) 0%, rgba(148, 163, 184, 0.35) 100%);
}

.help-flow-step-marker {
    display: flex;
    justify-content: center;
    padding-top: 0.15rem;
}

.help-flow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    background: var(--flow-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.help-flow-step-card {
    border: 1px solid var(--help-surface-border);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
}

.help-flow-step-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

.help-flow-step-head h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
}

.help-flow-step-guide-link {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--flow-accent);
    text-decoration: none;
    white-space: nowrap;
}

.help-flow-step-guide-link:hover {
    text-decoration: underline;
}

.help-flow-step-desc {
    margin: 0;
    color: var(--text-secondary, #64748b);
    line-height: 1.65;
}

.help-flow-step-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.help-flow-option-card {
    position: relative;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 0.85rem;
    border: 1px solid var(--help-surface-border);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(255, 255, 255, 0.58) 100%);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.help-flow-option-card:hover {
    border-color: var(--flow-accent);
    background: var(--help-surface-bg-hover);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.help-flow-option-label {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--flow-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.help-flow-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--flow-accent);
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.help-flow-option-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.help-flow-option-sub {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-flow-option-desc {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.55;
}

.help-flow-option-demo {
    margin-top: 1rem;
}

.help-flow-option-demo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-flow-option-demo .cah-demo {
    min-height: 170px;
    border-radius: 0.65rem;
}

.help-flow-option-demo .cah-demo-media,
.help-flow-option-demo .cah-demo-placeholder {
    min-height: 170px;
}

.help-flow-option-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--flow-accent);
    text-decoration: none;
}

.help-flow-option-link:hover {
    text-decoration: underline;
}

.help-flow-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem 0.85rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.11);
    border-left: 2px solid var(--flow-accent);
    border-radius: 3px;
    background: #f9fafb;
    box-sizing: border-box;
}

.help-flow-note-mark {
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.help-flow-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 2px;
    background: #fff;
    color: var(--flow-accent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.help-flow-note-icon svg {
    display: block;
}

.help-flow-note-body {
    flex: 1;
    min-width: 0;
}

.help-flow-note-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #64748b;
}

.help-flow-note-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #334155;
}

.help-flow-step-demo {
    margin-top: 1rem;
}

.help-flow-step-demo .cah-demo {
    max-width: 100%;
}

.help-flow-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    max-width: 52rem;
}

.help-flow-back {
    color: var(--text-secondary, #64748b);
    text-decoration: none;
    font-weight: 600;
}

.help-flow-back:hover {
    color: var(--flow-accent);
}

.help-flow-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.help-flow-secondary-btn,
.help-flow-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    border-radius: 0.65rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.help-flow-secondary-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--text-primary, #0f172a);
    background: #fff;
}

.help-flow-secondary-btn:hover {
    border-color: var(--flow-accent);
    color: var(--flow-accent);
}

.help-flow-primary-btn {
    background: var(--flow-accent);
    color: #fff;
}

.help-flow-primary-btn:hover {
    filter: brightness(0.95);
}

.help-use-case-group[id] {
    scroll-margin-top: 8.5rem;
}

@media (max-width: 768px) {
    .help-flow-topnav-inner {
        padding: 0.75rem 0;
    }

    .help-flow-step-options {
        grid-template-columns: 1fr;
    }

    .help-flow-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .help-chooser-grid {
        grid-template-columns: 1fr;
    }

    .help-featured-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .help-featured-icon {
        margin: 0 auto;
    }
}
