/* ==========================================================================
   Humbel Modern Knowledge Base & Landing Page Theme
   Matches: manual.smartwpthemes.com/accountant design system
   Author: Aryadi Gunawan
   ========================================================================== */

:root {
    --hb-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hb-primary: #1e3a8a;
    --hb-primary-hover: #1e40af;
    --hb-accent: #f59e0b;
    --hb-accent-hover: #d97706;
    --hb-dark: #0f172a;
    --hb-dark-surface: #1e293b;
    --hb-feature-bar: #162033;
    --hb-text-main: #0f172a;
    --hb-text-muted: #64748b;
    --hb-text-light: #94a3b8;
    --hb-bg-light: #f8fafc;
    --hb-border: #e2e8f0;
    --hb-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --hb-card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --hb-radius: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--hb-font);
    color: var(--hb-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Top Header Navigation
   ========================================================================== */
.hb-navbar {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.hb-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.hb-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hb-logo-badge {
    width: 40px;
    height: 40px;
    background: #0f172a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-weight: 800;
    font-size: 18px;
}

.hb-logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.hb-logo-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.hb-logo-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--hb-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hb-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.hb-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    padding: 6px 0;
    position: relative;
}

.hb-nav-link:hover, .hb-nav-link.active {
    color: var(--hb-primary);
}

.hb-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hb-accent);
    border-radius: 2px;
}

.hb-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hb-btn-search {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hb-btn-search:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hb-btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #0f172a;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.hb-btn-login:hover {
    background: #1e293b;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hb-hero-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.hb-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: 520px;
    padding-top: 30px;
    padding-bottom: 30px;
    gap: 40px;
}

.hb-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--hb-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hb-hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.hb-hero-subtitle {
    font-size: 16px;
    color: var(--hb-text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 540px;
}

.hb-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--hb-accent);
    color: #0f172a;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.hb-hero-cta:hover {
    background: var(--hb-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.hb-hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Ambient luminous glow aura behind transparent 3D illustration */
.hb-hero-image-wrap::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(99, 102, 241, 0.12) 35%, rgba(245, 158, 11, 0.05) 60%, transparent 75%);
    filter: blur(44px);
    z-index: 0;
    pointer-events: none;
    animation: hbGlowPulse 6s ease-in-out infinite alternate;
}

.hb-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px; /* ENLARGED */
    height: auto;
    max-height: 520px;
    object-fit: contain; /* DO NOT CLIP - TRANSPARENT ARTWORK */
    border-radius: 0 !important; /* NO RECTANGLE FRAME */
    box-shadow: none !important; /* NO RECTANGULAR CARD SHADOW */
    background: transparent !important;
    filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.16)); /* NATURAL CONTOUR SHADOW */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.hb-hero-img:hover {
    transform: translateY(-8px) scale(1.02);
}

@keyframes hbGlowPulse {
    0% { transform: scale(0.92); opacity: 0.65; }
    100% { transform: scale(1.08); opacity: 1; }
}

/* ==========================================================================
   Hero Bottom 4 Features Bar (Dark Navy Bar)
   ========================================================================== */
.hb-features-bar {
    background: var(--hb-feature-bar);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hb-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hb-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.hb-feature-item:last-child {
    border-right: none;
}

.hb-feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.hb-feature-icon {
    width: 36px;
    height: 36px;
    color: #38bdf8;
    margin-bottom: 12px;
}

.hb-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* ==========================================================================
   Section: Most Searched Knowledge Base (6 Cards Grid)
   ========================================================================== */
.hb-section {
    padding: 85px 0;
}

.hb-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 54px auto;
}

.hb-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hb-section-subtitle {
    font-size: 15px;
    color: var(--hb-text-muted);
    margin-bottom: 18px;
}

.hb-accent-line {
    width: 60px;
    height: 3px;
    background: var(--hb-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.hb-kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hb-kb-card {
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    padding: 34px 28px;
    box-shadow: var(--hb-card-shadow);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.hb-kb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hb-card-hover-shadow);
    border-color: #cbd5e1;
}

.hb-kb-card-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.hb-kb-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.hb-kb-card:hover .hb-kb-icon-wrap {
    background: #0284c7;
    color: #ffffff;
}

.hb-kb-card-heading {
    display: flex;
    flex-direction: column;
}

.hb-kb-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
}

.hb-kb-card-desc {
    font-size: 13.5px;
    color: var(--hb-text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.hb-kb-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.hb-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
}

.hb-card-meta {
    display: flex;
    flex-direction: column;
}

.hb-card-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--hb-accent);
}

.hb-card-author {
    font-size: 11px;
    color: var(--hb-text-light);
}

/* ==========================================================================
   Section: Testimonial Banner (Dark)
   ========================================================================== */
.hb-testimonial-section {
    background: #0d1527;
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hb-testimonial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hb-testimonial-badge {
    font-size: 12px;
    font-weight: 800;
    color: var(--hb-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.hb-testimonial-title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.hb-testimonial-quote {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: 4px solid var(--hb-accent) !important;
    border-radius: 10px;
    padding: 24px 28px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1.8 !important;
    margin-bottom: 28px !important;
    font-style: normal !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.hb-testimonial-author-wrap {
    display: flex;
    flex-direction: column;
}

.hb-testimonial-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.hb-testimonial-role {
    font-size: 13px;
    color: #94a3b8;
}

.hb-testimonial-photo-wrap {
    display: flex;
    justify-content: center;
}

.hb-testimonial-photo {
    width: 100%;
    max-width: 440px;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Section: Frequently Asked Questions (FAQ)
   ========================================================================== */
.hb-faq-section {
    background: #f8fafc;
    padding: 85px 0;
}

.hb-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}

.hb-faq-card {
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--hb-card-shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.hb-faq-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.hb-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hb-faq-q {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.hb-faq-toggle-icon {
    font-size: 18px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.hb-faq-card.open .hb-faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--hb-accent);
}

.hb-faq-a {
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--hb-text-muted);
    line-height: 1.6;
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.hb-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 50px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.hb-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hb-footer-brand {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

/* ==========================================================================
   Seamless Unified Modern Search Bar (Spotlight / Raycast 2026 Style)
   ========================================================================== */
.hb-search-wrapper {
    position: relative;
    max-width: 580px;
    margin-bottom: 28px;
    z-index: 100;
}

.hb-search-pill-form {
    margin: 0;
    padding: 0;
}

.hb-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 5px 6px 5px 20px;
    height: 58px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-search-pill:focus-within,
.hb-search-pill.active {
    border-color: #0284c7;
    box-shadow: 0 16px 38px -6px rgba(2, 132, 199, 0.22), 0 0 0 3px rgba(2, 132, 199, 0.12);
    transform: translateY(-1px);
}

.hb-search-leading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Hard reset to completely wipe out any WordPress theme input border/box styles */
.hb-search-input,
input[type="search"].hb-search-input,
input[type="text"].hb-search-input,
input.hb-search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
}

.hb-search-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.hb-search-input::-webkit-search-decoration,
.hb-search-input::-webkit-search-cancel-button,
.hb-search-input::-webkit-search-results-button,
.hb-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    display: none !important;
}

/* Quick Clear Button */
.hb-search-clear-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.15s;
    padding: 0;
}

.hb-search-clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Sleek Shortcut Capsule */
.hb-search-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    user-select: none;
}

.hb-badge-key {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
}

/* Unified Action Button */
.hb-search-action-btn {
    height: 48px;
    border-radius: 9999px;
    padding: 0 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.hb-search-action-btn:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
    transform: translateY(-1px);
}

.hb-search-action-btn svg {
    transition: transform 0.2s ease;
}

.hb-search-action-btn:hover svg {
    transform: translateX(3px);
}

/* Trending Tags Pill Row (Below Bar) */
.hb-search-trending-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
}

.hb-trending-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.hb-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hb-tag-pill {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 3px 11px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hb-tag-pill:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
    transform: translateY(-1px);
}

/* ==========================================================================
   Floating Live Suggestion Panel (Spotlight / Raycast Dropdown)
   ========================================================================== */
.hb-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.20), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 16px;
    z-index: 9999;
    animation: hbDropdownSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hbDropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hb-dropdown-section {
    margin-bottom: 12px;
}

.hb-dropdown-section:last-child {
    margin-bottom: 0;
}

.hb-dropdown-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    padding: 0 4px;
}

.hb-dropdown-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hb-dropdown-tag-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 13px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.hb-dropdown-tag-btn:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
    transform: translateY(-1px);
}

.hb-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
}

.hb-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s ease;
    cursor: pointer;
}

.hb-suggestion-item:hover,
.hb-suggestion-item.selected {
    background: #f1f5f9;
    color: #0284c7;
}

.hb-suggestion-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    min-width: 0;
    flex: 1;
}

.hb-suggestion-icon {
    color: #0284c7;
    flex-shrink: 0;
}

.hb-suggestion-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-suggestion-highlight {
    color: #0284c7;
    font-weight: 800;
    text-decoration: underline;
}

.hb-suggestion-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hb-suggestion-cat {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.hb-suggestion-arrow {
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.hb-suggestion-item:hover .hb-suggestion-arrow,
.hb-suggestion-item.selected .hb-suggestion-arrow {
    color: #0284c7;
    transform: translateX(2px);
}

.hb-dropdown-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
}

.hb-footer-hint {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-footer-hint kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    color: #64748b;
    font-family: inherit;
}

/* ==========================================================================
   Visual Studio IDE Style Drag & Drop Builder
   ========================================================================== */
.hb-vs-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
    cursor: pointer;
    z-index: 99999;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.hb-vs-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.6);
}

.hb-vs-trigger kbd {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

/* VS Dark Drawer Overlay */
.hb-vs-drawer {
    position: fixed;
    top: 0;
    right: -560px;
    width: 520px;
    max-width: 95vw;
    height: 100vh;
    background: #18181b; /* VS Dark */
    color: #e4e4e7;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hb-vs-drawer.open {
    right: 0;
}

/* VS Header */
.hb-vs-header {
    background: #09090b;
    border-bottom: 1px solid #27272a;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hb-vs-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-vs-icon {
    width: 28px;
    height: 28px;
    background: #0284c7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

.hb-vs-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.hb-vs-breadcrumb {
    font-size: 11px;
    color: #71717a;
}

.hb-vs-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hb-vs-btn-mode {
    background: #27272a;
    color: #38bdf8;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    padding: 6px 11px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.hb-vs-btn-mode:hover, .hb-vs-btn-mode.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.hb-vs-btn-close {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.hb-vs-btn-close:hover {
    background: #ef4444;
    color: #ffffff;
}

/* VS Tab Bar */
.hb-vs-tabs {
    display: flex;
    background: #141416;
    border-bottom: 1px solid #27272a;
}

.hb-vs-tab-btn {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 2px solid transparent;
    transition: all 0.2s;
}

.hb-vs-tab-btn:hover {
    color: #f4f4f5;
    background: #1c1c1f;
}

.hb-vs-tab-btn.active {
    color: #38bdf8;
    background: #18181b;
    border-top-color: #0284c7;
}

/* VS Drawer Body */
.hb-vs-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Tree Section (Solution Explorer) */
.hb-vs-explorer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #71717a;
    letter-spacing: 0.05em;
}

.hb-vs-section-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.hb-vs-section-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: grab;
    transition: all 0.2s ease;
    user-select: none;
}

.hb-vs-section-item:hover {
    border-color: #0284c7;
    background: #2d2d32;
}

.hb-vs-section-item.dragging {
    opacity: 0.4;
    cursor: grabbing;
    border: 2px dashed #0284c7;
}

.hb-vs-section-item.drag-over {
    border-top: 3px solid #38bdf8;
    background: rgba(2, 132, 199, 0.15);
}

.hb-vs-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-vs-drag-handle {
    color: #71717a;
    cursor: grab;
    font-size: 16px;
    line-height: 1;
}

.hb-vs-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #f4f4f5;
}

.hb-vs-item-tag {
    font-size: 10.5px;
    background: #3f3f46;
    color: #a1a1aa;
    padding: 2px 7px;
    border-radius: 4px;
}

.hb-vs-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hb-vs-icon-btn {
    background: #18181b;
    border: 1px solid #3f3f46;
    color: #a1a1aa;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.hb-vs-icon-btn:hover {
    color: #ffffff;
    border-color: #0284c7;
    background: #0284c7;
}

.hb-vs-icon-btn.hidden-state {
    color: #ef4444;
    border-color: #ef4444;
}

/* VS Property Grid Form */
.hb-vs-prop-group {
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.hb-vs-prop-header {
    background: #202024;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #3f3f46;
}

.hb-vs-prop-content {
    padding: 14px;
}

.hb-vs-field {
    margin-bottom: 14px;
}

.hb-vs-field:last-child {
    margin-bottom: 0;
}

.hb-vs-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hb-vs-input, .hb-vs-textarea {
    width: 100%;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.hb-vs-input:focus, .hb-vs-textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.3);
}

.hb-vs-quick-btn {
    margin-top: 6px;
    background: #3f3f46;
    color: #e4e4e7;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.hb-vs-quick-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

/* VS Footer & Status Bar */
.hb-vs-footer {
    background: #09090b;
    border-top: 1px solid #27272a;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hb-vs-status-left {
    font-size: 11.5px;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hb-vs-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.hb-vs-btn-save {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.hb-vs-btn-save:hover {
    background: #0369a1;
}

/* On-Page Visual Click-to-Edit Mode */
body.hb-visual-edit-active [data-editable] {
    outline: 2px dashed rgba(2, 132, 199, 0.45);
    outline-offset: 4px;
    border-radius: 4px;
    cursor: text;
    transition: all 0.2s;
    position: relative;
}

body.hb-visual-edit-active [data-editable]:hover {
    outline-color: #0284c7;
    background: rgba(2, 132, 199, 0.06);
}

body.hb-visual-edit-active [data-editable]:focus {
    outline: 2px solid #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.hb-hero-cta-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hb-feature-count {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

.hb-feature-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    margin-bottom: 10px;
}

/* Recent Articles Grid */
.hb-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hb-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.hb-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.hb-article-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hb-article-cat-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hb-article-date {
    font-size: 11px;
    color: #94a3b8;
}

.hb-article-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.hb-article-title a {
    color: #0f172a;
}

.hb-article-title a:hover {
    color: #0284c7;
}

.hb-article-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.hb-article-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.hb-article-read-more {
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hb-article-read-more:hover {
    color: #0369a1;
    gap: 8px;
}

.hb-footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.hb-footer-links a:hover {
    color: #0f172a;
}

/* Responsive */
@media (max-width: 992px) {
    .hb-hero-grid, .hb-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .hb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hb-kb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hb-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hb-hero-title {
        font-size: 32px;
    }
    .hb-features-grid, .hb-kb-grid {
        grid-template-columns: 1fr;
    }
    .hb-nav-links {
        display: none;
    }
}
