/**
 * BrainlyAI Global Design System
 * Deep Indigo #4F46E5, Violet #8B5CF6, Teal #14B8A6
 * Glassmorphic navigation, micro-interactions, responsive typography & dark mode.
 */

:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    --secondary: #8B5CF6;
    --secondary-hover: #7C3AED;
    --accent: #14B8A6;
    --accent-hover: #0D9488;
    
    --bg-body: #FFFFFF;
    --bg-surface: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-inverse: #FFFFFF;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-body: #0F172A;
    --bg-surface: #1E293B;
    --bg-card: #1E293B;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --primary-light: rgba(79, 70, 229, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* Glassmorphic Navbar Wrapper & Container */
.glass-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: var(--transition);
}

[data-theme="dark"] .glass-nav {
    background: rgba(15, 23, 42, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 64px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo .logo-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.1vw, 14px);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    font-weight: 500;
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: var(--transition);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    padding: 9px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section with GSAP & Pure CSS Floating Mockups */
.hero-section {
    position: relative;
    padding: 90px 0 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.08), transparent 45%),
                radial-gradient(circle at top right, rgba(20, 184, 166, 0.06), transparent 40%);
}

.hero-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-headline {
    font-size: 54px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 20px;
}

.rotating-word {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 28px;
    margin: 0;
    color: var(--primary);
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    font-weight: 500;
}

/* Floating CSS Mockup */
.hero-mockup-wrapper {
    position: relative;
}

.mockup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.floating-pill {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.pill-top { top: -20px; right: -15px; animation-delay: 0s; }
.pill-bottom { bottom: -20px; left: -20px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Service Grid Cards with 3D Tilt */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.4);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.08);
}

.service-price-tag {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pricing Table & Toggle */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.badge-featured {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFF;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: #0B0F19;
    color: #94A3B8;
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h5 {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94A3B8;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-headline {
        font-size: 40px;
    }
    .hero-subtitle {
        margin: 0 auto 32px auto;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   BrainlyAI Mobile Drawer & Responsive Navigation Styles
   ============================================================ */

/* Always hide mobile drawer elements completely on desktop */
@media (min-width: 992px) {
    #mobile-nav-drawer,
    #mobile-drawer-backdrop,
    .mobile-drawer,
    .drawer-backdrop {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.btn-icon-round {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 0;
}

.btn-icon-round:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

.btn-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    box-sizing: border-box;
}

.btn-hamburger:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.btn-hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.btn-hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide-In Drawer Backdrop */
.drawer-backdrop {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 10400 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-backdrop.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Mobile Slide-In Drawer */
.mobile-drawer {
    display: none;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 320px !important;
    max-width: 86vw !important;
    background: var(--bg-card) !important;
    color: var(--text-main) !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3) !important;
    z-index: 10500 !important;
    flex-direction: column;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
    display: flex !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

body.drawer-open {
    overflow: hidden !important;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: rotate(90deg);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding-top: 10px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.drawer-link:hover, .drawer-link:focus {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 22px;
}

.drawer-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}

.drawer-link:hover .drawer-icon-box {
    transform: scale(1.1);
}

.drawer-label {
    flex-grow: 1;
    font-weight: 500;
}

.search-input-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
    transition: var(--transition);
}

.search-input-pill:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Color Accent Utilities */
.bg-indigo-subtle { background: rgba(79, 70, 229, 0.12) !important; }
.text-indigo { color: #4F46E5 !important; }
.bg-emerald-subtle { background: rgba(16, 185, 129, 0.12) !important; }
.text-emerald { color: #10B981 !important; }
.bg-cyan-subtle { background: rgba(6, 182, 212, 0.12) !important; }
.text-cyan { color: #0891B2 !important; }
.bg-amber-subtle { background: rgba(245, 158, 11, 0.12) !important; }
.text-amber { color: #D97706 !important; }
.bg-violet-subtle { background: rgba(139, 92, 246, 0.12) !important; }
.text-violet { color: #8B5CF6 !important; }
.bg-slate-subtle { background: rgba(100, 116, 139, 0.12) !important; }
.text-slate { color: #64748B !important; }
.bg-teal-subtle { background: rgba(20, 184, 166, 0.12) !important; }
.text-teal { color: #0D9488 !important; }
.bg-purple-subtle { background: rgba(168, 85, 247, 0.12) !important; }
.text-purple { color: #9333EA !important; }
.bg-danger-subtle { background: rgba(239, 68, 68, 0.12) !important; }
.text-danger { color: #EF4444 !important; }

.bg-surface-subtle {
    background: var(--bg-surface);
}

[data-theme="dark"] .bg-surface-subtle {
    background: rgba(30, 41, 59, 0.7);
}

.pulse-badge {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse-indicator-sm {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Comprehensive Responsive Adjustments */
@media (max-width: 991px) {
    .nav-container {
        padding: 0 16px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .hero-headline {
        font-size: clamp(32px, 6vw, 44px);
    }
    .hero-subtitle {
        margin: 0 auto 28px auto;
        font-size: 17px;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 12px;
    }
    .brand-logo {
        font-size: 19px;
    }
    .hero-section {
        padding: 48px 0;
    }
    .hero-headline {
        font-size: clamp(26px, 7.5vw, 36px);
    }
    .hero-stats-row {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .services-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .floating-pill {
        display: none;
    }
    .mockup-card {
        padding: 16px;
    }
}

/* ============================================================
   BrainlyAI Editorial Blog Typography & Article System
   (Solves broken blog styling on /blog/roi-of-virtual-assistance)
   ============================================================ */

.blog-article-body {
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.85;
    letter-spacing: -0.01em;
}

.blog-article-body p {
    margin-bottom: 24px;
    color: var(--text-main);
}

.blog-article-body .lead {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary);
    background: var(--primary-light);
    padding: 22px 26px;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 32px;
}

.blog-article-body h2 {
    font-size: 28px;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.blog-article-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.blog-article-body ul, .blog-article-body ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.blog-article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-article-body blockquote {
    margin: 32px 0;
    padding: 22px 30px;
    border-left: 4px solid var(--secondary);
    background: var(--bg-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 19px;
    color: var(--text-main);
}

.blog-article-body table {
    width: 100%;
    margin: 32px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-article-body th {
    background: var(--bg-surface);
    color: var(--text-main);
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.blog-article-body td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.blog-article-body tr:last-child td {
    border-bottom: none;
}

.blog-article-body tr:nth-child(even) td {
    background: var(--bg-surface);
}

.blog-article-body .callout-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
}

/* Pulse Badge Indicator for Live Specialist Counter */
.pulse-indicator {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Card 3D tilt & smooth hover lift */
.service-card, .pricing-card, .hover-tilt, .task-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card:hover, .hover-tilt:hover, .task-card:hover {
    transform: translateY(-6px) perspective(1000px);
    box-shadow: 0 16px 32px -4px rgba(79, 70, 229, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

/* Progress bar shimmer animation */
.progress-container {
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar-shimmer {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmerBar 2.5s infinite linear;
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmerBar {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Floating pills continuous animation */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-pill {
    animation: floatY 4s ease-in-out infinite;
}

.floating-pill.pill-bottom {
    animation-delay: 2s;
}

/* Button micro-ripple and hover lift */
.btn-primary-gradient, .btn-outline, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-gradient:active, .btn-outline:active {
    transform: scale(0.98);
}

/* Dropdown No Caret */
.no-caret::after {
    display: none !important;
}

/* Accessibility Modes */
body.font-lg {
    font-size: 112% !important;
}

body.high-contrast {
    --text-main: #000000 !important;
    --bg-body: #FFFFFF !important;
    --border-color: #000000 !important;
}

[data-theme="dark"] body.high-contrast {
    --text-main: #FFFFFF !important;
    --bg-body: #000000 !important;
    --border-color: #FFFFFF !important;
}

body.reduce-motion * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
}

/* Interactive Stepper Navigation */
.stepper-stage-btn {
    cursor: pointer;
    transition: var(--transition);
}

.stepper-stage-btn.active {
    border-color: var(--primary) !important;
    background: var(--primary-light) !important;
    transform: translateY(-2px);
}

/* Kanban Board Styles */
.kanban-col {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 16px;
    min-height: 480px;
}

.kanban-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.kanban-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ============================================================
   BrainlyAI Micro-Animations & Dynamic Motion System
   (AOS, GSAP Parallax, Floating CSS Blobs, 3D Tilt, Shimmer)
   ============================================================ */

/* Floating UI Mockup Animation */
@keyframes floatBobbing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-mockup-wrapper {
    animation: floatBobbing 5s ease-in-out infinite;
    transform-origin: center center;
}

/* Hero Background Animated Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 360px;
    height: 360px;
    top: -60px;
    left: -40px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.45), transparent 70%);
    animation: blobFloat1 12s infinite alternate ease-in-out;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    bottom: -80px;
    right: -40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), rgba(20, 184, 166, 0.25), transparent 70%);
    animation: blobFloat2 14s infinite alternate ease-in-out;
}

@keyframes blobFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes blobFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -30px) scale(1.15); }
    100% { transform: translate(30px, -40px) scale(0.9); }
}

/* 3D Tilt and Card Hover Effects */
.card-hover-tilt,
.service-card,
.pricing-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    transform-style: preserve-3d;
}

.card-hover-tilt:hover,
.service-card:hover,
.pricing-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 70, 229, 0.35);
}

/* Interactive Button Hover Lift with Micro-Ripple */
.btn-primary-gradient,
.btn-outline,
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-gradient:hover,
.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-primary-gradient:active,
.btn-outline:active {
    transform: translateY(0);
}

/* Shimmer Progress Bars */
@keyframes shimmerWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-container {
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    height: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.progress-bar-shimmer {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-shimmer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: shimmerWave 2s infinite ease-in-out;
}

/* Live Pulse Indicator */
@keyframes pulseIndicatorGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.2);
    }
}

.pulse-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulseIndicatorGlow 2s infinite ease-in-out;
}

/* Form Input Validation Ripple */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   VIRTUAPRESS ELEMENTOR TEMPLATE KIT CLONE DESIGN SYSTEM
   Fonts: Be Vietnam Pro, Inter
   Theme Colors: Deep Indigo #4F46E5, Violet #8B5CF6, Teal #14B8A6,
                 VirtuaPress Warm Gold #DF891C, Dark Navy #0A191F,
                 Warm Cream #F7F6F2, Navy Surface #192D33
   ============================================================ */

:root {
    --vp-font-heading: 'Be Vietnam Pro', 'Space Grotesk', -apple-system, sans-serif;
    --vp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --vp-primary: #4F46E5;
    --vp-primary-hover: #4338CA;
    --vp-secondary: #8B5CF6;
    --vp-teal: #14B8A6;
    --vp-teal-dark: #167278;
    --vp-gold: #DF891C;
    --vp-gold-hover: #c67512;
    --vp-peach: #F5D39A;
    --vp-cream: #F7F6F2;
    --vp-navy-dark: #0A191F;
    --vp-navy-card: #192D33;
    --vp-navy-border: #2A424A;
    
    --vp-radius-sm: 8px;
    --vp-radius-md: 14px;
    --vp-radius-lg: 24px;
    --vp-radius-pill: 50px;
    
    --vp-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --vp-shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --vp-shadow-float: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Typography Overrides for VirtuaPress Aesthetic */
h1, h2, h3, h4, h5, h6,
.vp-heading, .brand-name, .vp-hero-title, .vp-stat-num, .vp-card-title {
    font-family: var(--vp-font-heading) !important;
    letter-spacing: -0.025em;
    font-weight: 700;
}

body {
    font-family: var(--vp-font-body);
    -webkit-font-smoothing: antialiased;
}

/* Top Announcement & Contact Bar */
.vp-topbar {
    background: #0A191F;
    color: #E2E8F0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vp-topbar a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vp-topbar a:hover {
    color: var(--vp-gold);
}

.vp-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    font-size: 12px;
    margin-left: 6px;
    transition: all 0.2s ease;
}

.vp-topbar-social a:hover {
    background: var(--vp-gold);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* VirtuaPress Navigation & Animated Dropdown Menu */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .glass-nav {
    background: rgba(10, 25, 31, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.vp-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.vp-nav-item {
    position: relative;
}

.vp-nav-link {
    font-family: var(--vp-font-heading);
    font-weight: 600;
    font-size: 14.5px;
    color: #1E293B;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: var(--vp-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

[data-theme="dark"] .vp-nav-link {
    color: #F1F5F9;
}

.vp-nav-link i.bi-chevron-down {
    font-size: 11px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vp-nav-item:hover > .vp-nav-link,
.vp-nav-link.active {
    color: var(--vp-primary);
    background: rgba(79, 70, 229, 0.08);
}

[data-theme="dark"] .vp-nav-item:hover > .vp-nav-link,
[data-theme="dark"] .vp-nav-link.active {
    color: #A5B4FC;
    background: rgba(79, 70, 229, 0.2);
}

.vp-nav-item:hover > .vp-nav-link i.bi-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu Container */
.vp-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 8px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
    z-index: 1080;
}

[data-theme="dark"] .vp-dropdown {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Invisible bridge hover area */
.vp-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.vp-nav-item:hover > .vp-dropdown,
.vp-nav-item:focus-within > .vp-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.vp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .vp-dropdown-item {
    color: #CBD5E1;
}

.vp-dropdown-item:hover {
    background: rgba(79, 70, 229, 0.08);
    color: var(--vp-primary);
    padding-left: 18px;
}

[data-theme="dark"] .vp-dropdown-item:hover {
    background: rgba(79, 70, 229, 0.22);
    color: #A5B4FC;
}

.vp-dropdown-item i {
    font-size: 15px;
    color: var(--vp-primary);
    width: 20px;
    text-align: center;
}

[data-theme="dark"] .vp-dropdown-item i {
    color: #818CF8;
}

/* Tagline Badges */
.vp-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--vp-radius-pill);
    background: rgba(223, 137, 28, 0.12);
    color: var(--vp-gold);
    border: 1px solid rgba(223, 137, 28, 0.28);
    font-family: var(--vp-font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.vp-tagline-indigo {
    background: rgba(79, 70, 229, 0.1);
    color: var(--vp-primary);
    border-color: rgba(79, 70, 229, 0.22);
}

.vp-tagline-teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--vp-teal);
    border-color: rgba(20, 184, 166, 0.22);
}

/* VirtuaPress Buttons */
.vp-btn-primary {
    background: linear-gradient(135deg, var(--vp-primary), var(--vp-secondary));
    color: #FFFFFF !important;
    padding: 12px 28px;
    border-radius: var(--vp-radius-pill);
    font-family: var(--vp-font-heading);
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.32);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.vp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.42);
    color: #FFFFFF !important;
}

.vp-btn-primary:hover i {
    transform: translateX(4px);
}

.vp-btn-amber {
    background: var(--vp-gold);
    color: #FFFFFF !important;
    padding: 12px 28px;
    border-radius: var(--vp-radius-pill);
    font-family: var(--vp-font-heading);
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(223, 137, 28, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.vp-btn-amber:hover {
    background: var(--vp-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(223, 137, 28, 0.4);
    color: #FFFFFF !important;
}

.vp-btn-amber:hover i {
    transform: translateX(4px);
}

.vp-btn-outline {
    background: transparent;
    color: #1E293B;
    border: 1.5px solid #CBD5E1;
    padding: 11px 26px;
    border-radius: var(--vp-radius-pill);
    font-family: var(--vp-font-heading);
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

[data-theme="dark"] .vp-btn-outline {
    color: #F8FAFC;
    border-color: rgba(255, 255, 255, 0.2);
}

.vp-btn-outline:hover {
    border-color: var(--vp-primary);
    background: rgba(79, 70, 229, 0.08);
    color: var(--vp-primary);
    transform: translateY(-2px);
}

[data-theme="dark"] .vp-btn-outline:hover {
    border-color: #A5B4FC;
    color: #A5B4FC;
    background: rgba(79, 70, 229, 0.2);
}

/* VirtuaPress Hero Section */
.vp-hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.07) 0%, transparent 40%),
                radial-gradient(circle at 85% 60%, rgba(223, 137, 28, 0.06) 0%, transparent 45%),
                var(--vp-cream);
}

[data-theme="dark"] .vp-hero-section {
    background: radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 85% 60%, rgba(223, 137, 28, 0.08) 0%, transparent 45%),
                #0A191F;
}

.vp-hero-title {
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.12;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 22px;
}

[data-theme="dark"] .vp-hero-title {
    color: #F8FAFC;
}

.vp-hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 34px;
    max-width: 580px;
}

[data-theme="dark"] .vp-hero-subtitle {
    color: #94A3B8;
}

/* Hero Right Featured Visual & Badges */
.vp-hero-visual-box {
    position: relative;
    padding: 20px;
}

.vp-hero-img-wrap {
    position: relative;
    border-radius: var(--vp-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
    border: 4px solid #FFFFFF;
}

[data-theme="dark"] .vp-hero-img-wrap {
    border-color: rgba(255, 255, 255, 0.1);
}

.vp-hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vp-hero-img-wrap:hover img {
    transform: scale(1.03);
}

/* Floating Glass Badges */
.vp-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--vp-radius-md);
    padding: 12px 18px;
    box-shadow: var(--vp-shadow-float);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

[data-theme="dark"] .vp-floating-badge {
    background: rgba(25, 45, 51, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
}

.vp-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.vp-badge-top {
    top: 30px;
    left: -20px;
    animation: vpFloat 4.8s ease-in-out infinite;
}

.vp-badge-bottom {
    bottom: 30px;
    right: -15px;
    animation: vpFloatRev 5.2s ease-in-out infinite;
}

@keyframes vpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes vpFloatRev {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* VirtuaPress Brands Strip */
.vp-brand-strip {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 38px 0;
}

[data-theme="dark"] .vp-brand-strip {
    background: #0D1E24;
    border-color: rgba(255, 255, 255, 0.06);
}

.vp-brand-logo {
    max-height: 38px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.vp-brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* VirtuaPress Who We Are Section */
.vp-about-section {
    padding: 90px 0;
    position: relative;
}

.vp-about-img-box {
    position: relative;
    padding: 15px;
}

.vp-about-img {
    width: 100%;
    border-radius: var(--vp-radius-lg);
    box-shadow: var(--vp-shadow-card);
    object-fit: cover;
}

.vp-exp-card {
    position: absolute;
    bottom: -15px;
    right: 0px;
    background: var(--vp-gold);
    color: #FFFFFF;
    padding: 20px 24px;
    border-radius: var(--vp-radius-md);
    box-shadow: 0 15px 30px rgba(223, 137, 28, 0.35);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: vpFloat 4.5s ease-in-out infinite;
}

.vp-exp-num {
    font-family: var(--vp-font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.vp-exp-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 120px;
}

/* VirtuaPress Checkmarks */
.vp-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.vp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #334155;
}

[data-theme="dark"] .vp-check-item {
    color: #CBD5E1;
}

.vp-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(223, 137, 28, 0.15);
    color: var(--vp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Audience 4-Column Grid */
.vp-audience-section {
    padding: 90px 0;
    background: var(--vp-cream);
}

[data-theme="dark"] .vp-audience-section {
    background: #0A191F;
}

.vp-audience-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--vp-radius-md);
    padding: 32px 26px;
    height: 100%;
    box-shadow: var(--vp-shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .vp-audience-card {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vp-shadow-hover);
    border-color: rgba(79, 70, 229, 0.3);
}

.vp-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--vp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.vp-audience-card:hover .vp-card-icon-box {
    background: var(--vp-primary);
    color: #FFFFFF;
    transform: scale(1.08) rotate(4deg);
}

/* Callout Banner */
.vp-callout-banner {
    background: linear-gradient(135deg, #0A191F 0%, #192D33 100%);
    border-radius: var(--vp-radius-lg);
    padding: 48px 40px;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.vp-callout-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(223, 137, 28, 0.2), transparent 70%);
    pointer-events: none;
}

.vp-phone-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--vp-radius-pill);
    padding: 10px 22px;
    font-family: var(--vp-font-heading);
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vp-phone-badge:hover {
    background: var(--vp-gold);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Category Filter Pills */
.vp-cat-pill {
    padding: 8px 20px;
    border-radius: var(--vp-radius-pill);
    font-family: var(--vp-font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #334155;
    display: inline-block;
}

[data-theme="dark"] .vp-cat-pill {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
}

.vp-cat-pill:hover,
.vp-cat-pill.active {
    background: var(--vp-primary);
    border-color: var(--vp-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* VirtuaPress Service Cards */
.vp-service-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--vp-radius-md);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--vp-shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vp-service-card {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vp-shadow-hover);
    border-color: rgba(79, 70, 229, 0.3);
}

.vp-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--vp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.25s ease;
}

.vp-service-card:hover .vp-service-icon {
    background: var(--vp-primary);
    color: #FFFFFF;
    transform: scale(1.08);
}

.vp-service-price {
    font-family: var(--vp-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--vp-primary);
}

[data-theme="dark"] .vp-service-price {
    color: #818CF8;
}

/* Stat & Counter Boxes */
.vp-stat-box {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--vp-radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--vp-shadow-card);
    transition: all 0.3s ease;
}

[data-theme="dark"] .vp-stat-box {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-stat-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--vp-shadow-hover);
}

.vp-stat-num {
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 800;
    color: var(--vp-gold);
    line-height: 1.1;
    margin-bottom: 8px;
}

.vp-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .vp-stat-label {
    color: #94A3B8;
}

/* VirtuaPress Accordion */
.vp-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vp-accordion-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--vp-radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

[data-theme="dark"] .vp-accordion-item {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-accordion-header {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--vp-font-heading);
    font-weight: 700;
    font-size: 16px;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .vp-accordion-header {
    color: #F8FAFC;
}

.vp-accordion-header:hover {
    color: var(--vp-primary);
}

.vp-accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .vp-accordion-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.vp-accordion-item.active {
    border-color: var(--vp-primary);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1);
}

.vp-accordion-item.active .vp-accordion-header {
    color: var(--vp-primary);
}

.vp-accordion-item.active .vp-accordion-icon {
    background: var(--vp-primary);
    color: #FFFFFF;
    transform: rotate(180deg);
}

.vp-accordion-body {
    padding: 0 24px 20px 24px;
    color: #64748B;
    font-size: 14.5px;
    line-height: 1.65;
    display: none;
}

[data-theme="dark"] .vp-accordion-body {
    color: #94A3B8;
}

.vp-accordion-item.active .vp-accordion-body {
    display: block;
}

/* VirtuaPress Testimonials */
.vp-testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--vp-radius-md);
    padding: 32px 28px;
    box-shadow: var(--vp-shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

[data-theme="dark"] .vp-testimonial-card {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vp-shadow-hover);
}

.vp-stars {
    color: var(--vp-gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.vp-testimonial-content {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 24px;
}

[data-theme="dark"] .vp-testimonial-content {
    color: #CBD5E1;
}

.vp-author-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
}

[data-theme="dark"] .vp-author-wrap {
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--vp-gold);
}

.vp-author-name {
    font-family: var(--vp-font-heading);
    font-weight: 700;
    font-size: 15px;
    color: #0F172A;
    margin: 0;
}

[data-theme="dark"] .vp-author-name {
    color: #F8FAFC;
}

.vp-author-role {
    font-size: 12.5px;
    color: #64748B;
    margin: 0;
}

/* VirtuaPress Pricing */
.vp-pricing-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--vp-radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--vp-shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .vp-pricing-card {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-pricing-card.featured {
    border: 2px solid var(--vp-primary);
    transform: scale(1.04);
    box-shadow: 0 25px 50px -10px rgba(79, 70, 229, 0.25);
    z-index: 2;
}

.vp-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vp-shadow-hover);
}

.vp-pricing-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.vp-pricing-price {
    font-family: var(--vp-font-heading);
    font-size: 46px;
    font-weight: 800;
    color: #0F172A;
    margin: 20px 0;
}

[data-theme="dark"] .vp-pricing-price {
    color: #F8FAFC;
}

/* Case Study Cards */
.vp-case-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--vp-radius-md);
    overflow: hidden;
    box-shadow: var(--vp-shadow-card);
    transition: all 0.35s ease;
    height: 100%;
}

[data-theme="dark"] .vp-case-card {
    background: #192D33;
    border-color: rgba(255, 255, 255, 0.08);
}

.vp-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vp-shadow-hover);
}

.vp-case-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vp-case-card:hover .vp-case-img {
    transform: scale(1.05);
}

.vp-case-body {
    padding: 24px;
}

/* Social Strip */
.vp-social-strip {
    background: var(--vp-navy-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vp-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--vp-radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    font-family: var(--vp-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.vp-social-btn:hover {
    background: var(--vp-gold);
    color: #FFFFFF;
    border-color: var(--vp-gold);
    transform: translateY(-2px);
}

/* VirtuaPress Footer */
.vp-footer {
    background: #0A191F;
    color: #94A3B8;
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vp-footer h5 {
    font-family: var(--vp-font-heading);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.2px;
}

.vp-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vp-footer li {
    margin-bottom: 12px;
}

.vp-footer a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.vp-footer a:hover {
    color: var(--vp-gold);
    padding-left: 4px;
}

.vp-newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--vp-radius-md);
    padding: 24px;
}


/* Task page shell alignment */
.task-card-hover {
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.task-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, .28) !important;
    box-shadow: var(--shadow-lg) !important;
}
.task-card-hover .btn-primary-gradient,
.task-card-hover .btn-outline-primary {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.task-card-hover:hover .btn-primary-gradient {
    box-shadow: 0 6px 18px rgba(79, 70, 229, .24);
}
@media (prefers-reduced-motion: reduce) {
    .task-card-hover,
    .task-card-hover:hover {
        transform: none !important;
        transition: none !important;
    }
}


/* Service page shell alignment */
.vp-service-card,
.service-detail-panel,
.service-order-card,
.service-review-card,
.service-price-card {
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.vp-service-card:hover,
.service-review-card:hover,
.service-price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, .28) !important;
    box-shadow: var(--shadow-lg) !important;
}
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-surface)) !important;
}
.service-order-card {
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
}
.service-order-header {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-card)) !important;
}
.service-option {
    background: var(--bg-card);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-option:hover,
.service-option:has(input:checked) {
    border-color: rgba(79, 70, 229, .42) !important;
    background: var(--primary-light);
    transform: translateY(-1px);
}
.service-price-summary {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-surface)) !important;
    border-color: rgba(79, 70, 229, .18) !important;
}
.service-detail-panel {
    border-radius: var(--radius-lg);
}
@media (prefers-reduced-motion: reduce) {
    .vp-service-card, .service-detail-panel, .service-order-card, .service-review-card, .service-price-card, .service-option,
    .vp-service-card:hover, .service-review-card:hover, .service-price-card:hover, .service-option:hover {
        transform: none !important;
        transition: none !important;
    }
}


/* Cross-page shell regularization */
.site-panel-hover {
    transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.site-panel-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(79,70,229,.34) !important;
    box-shadow: var(--shadow-lg) !important;
}
.site-panel-hover a:not(.btn):hover {
    color: var(--primary-hover) !important;
}
.stepper-wrapper,
.funnel-step-content,
#estimator-outputs,
.service-detail-panel {
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    .site-panel-hover,
    .site-panel-hover:hover {
        transform: none !important;
        transition: none !important;
    }
}


/* Left drawer organization and close control */
.mobile-drawer{width:min(390px,92vw);background:#fff;border-right:1px solid rgba(79,70,229,.14);box-shadow:18px 0 50px rgba(15,23,42,.18);}
.drawer-header{min-height:76px;padding:16px 18px;border-bottom:1px solid #e9eaf2;background:linear-gradient(135deg,#fff 0%,#f5f3ff 100%);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.drawer-header .brand-logo{display:flex;align-items:center;gap:10px;min-width:0;font-weight:800;color:#172033;}
.drawer-header .brand-logo .logo-icon{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#4f46e5,#8b5cf6);color:#fff;-webkit-text-fill-color:#fff;font-size:20px;box-shadow:0 6px 16px rgba(79,70,229,.24);}
.drawer-close-btn{width:40px;height:40px;padding:0;border:1px solid #dfe2ec;border-radius:50%;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;transition:all .2s ease;}
.drawer-close-btn i{font-size:18px;line-height:1;}
.drawer-close-btn:hover,.drawer-close-btn:focus{background:#4f46e5;border-color:#4f46e5;color:#fff;transform:rotate(90deg);box-shadow:0 6px 14px rgba(79,70,229,.22);}
.drawer-search{padding:12px 14px!important;background:#fbfbfd!important;border-bottom:1px solid #eef0f5!important;}
.drawer-search .search-input-pill{min-height:42px;border:1px solid #e1e4ee;border-radius:999px;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.04);}
.drawer-search .form-control{font-size:13px;}
.drawer-body{padding:12px 12px 24px;overflow-y:auto;}
.drawer-user-card{margin:0 4px 16px!important;border:1px solid #e8eaf2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(15,23,42,.06)!important;}
.drawer-section-title{margin:16px 8px 8px;padding:0!important;font-size:10px!important;letter-spacing:.14em!important;font-weight:800!important;color:#8b93a5!important;text-transform:uppercase;}
.drawer-nav-list{display:flex;flex-direction:column;gap:5px;margin:0 0 18px!important;padding:0;list-style:none;}
.drawer-nav-list li{margin:0;padding:0;}
.drawer-link{display:flex;align-items:center;gap:11px;min-height:48px;padding:7px 10px;border:1px solid transparent;border-radius:12px;color:#3f4b61;font-size:14px;font-weight:600;line-height:1.25;text-decoration:none;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;}
.drawer-link:hover,.drawer-link:focus{background:#f3f1ff;border-color:#e4e0ff;color:#5447c9;transform:translateX(2px);}
.drawer-link.active{background:#eeecff;border-color:#d8d2ff;color:#5447c9;box-shadow:0 5px 14px rgba(79,70,229,.10);}
.drawer-icon-box{width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;font-size:16px;}
.drawer-label{display:block;white-space:normal;}
.drawer-auth-buttons{padding:4px!important;margin:0 4px 14px!important;}
@media(min-width:768px){.mobile-drawer{width:360px;}}
@media(max-width:575.98px){.mobile-drawer{width:calc(100vw - 24px);max-width:390px;}.drawer-header{padding-inline:14px;}.drawer-link{min-height:46px;}}


/* Left drawer polished layout v2 */
.mobile-drawer{position:fixed;top:0;bottom:0;left:0;z-index:1060;width:min(390px,92vw);display:flex;flex-direction:column;background:#fff;color:#334155;border:0;border-right:1px solid #e7e9f2;border-radius:0 18px 18px 0;box-shadow:20px 0 55px rgba(15,23,42,.22);overflow:hidden;}
.mobile-drawer[aria-hidden="true"]{visibility:hidden;}
.mobile-drawer[aria-hidden="false"]{visibility:visible;}
.drawer-header{flex:0 0 auto;min-height:82px;padding:16px 18px;background:linear-gradient(135deg,#f4f1ff 0%,#fff 78%);border-bottom:1px solid #ececf4;display:flex;align-items:center;justify-content:space-between;gap:14px;}
.drawer-header .brand-logo{display:flex;align-items:center;gap:11px;min-width:0;color:#172033;font-weight:800;font-size:18px;line-height:1.1;}
.drawer-header .brand-logo .logo-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff!important;-webkit-text-fill-color:#fff;font-size:21px;box-shadow:0 7px 18px rgba(99,102,241,.25);}
.drawer-close-btn{width:42px;height:42px;flex:0 0 42px;padding:0;border:1px solid #dfe2ec;border-radius:50%;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;}
.drawer-close-btn i{font-size:19px;line-height:1;pointer-events:none;}
.drawer-close-btn:hover,.drawer-close-btn:focus-visible{background:#6366f1;border-color:#6366f1;color:#fff;transform:rotate(90deg);box-shadow:0 7px 16px rgba(99,102,241,.26);outline:0;}
.drawer-search{flex:0 0 auto;padding:14px 16px!important;background:#fff!important;border-bottom:1px solid #f0f1f6!important;}
.drawer-search .search-input-pill{min-height:44px;border:1px solid #e2e5ee;border-radius:999px;background:#fafbfe;box-shadow:none;}
.drawer-body{flex:1 1 auto;min-height:0;padding:12px 14px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9cbe8 transparent;}
.drawer-body::-webkit-scrollbar{width:7px;}
.drawer-body::-webkit-scrollbar-thumb{background:#c9cbe8;border-radius:99px;}
.drawer-user-card{margin:0 2px 18px!important;padding:14px!important;border:1px solid #e8eaf2!important;border-radius:16px!important;background:#fbfbfe!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important;}
.drawer-section-title{margin:18px 8px 9px!important;padding:0!important;color:#9299aa!important;font-size:10px!important;font-weight:800!important;letter-spacing:.14em!important;line-height:1.2;text-transform:uppercase;}
.drawer-body ul{margin:0;padding:0;list-style:none;}
.drawer-body li{margin:0 0 5px;padding:0;}
.drawer-link{display:flex;align-items:center;gap:12px;min-height:49px;padding:7px 10px;border:1px solid transparent;border-radius:13px;color:#455267;font-size:14px;font-weight:600;line-height:1.25;text-decoration:none;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;}
.drawer-link:hover,.drawer-link:focus-visible{background:#f5f3ff;border-color:#e4e0ff;color:#5548c9;transform:translateX(2px);outline:0;}
.drawer-link.active,.drawer-link[aria-current="page"]{background:#eeecff;border-color:#d9d3ff;color:#5548c9;box-shadow:0 5px 14px rgba(99,102,241,.1);}
.drawer-icon-box{width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;font-size:16px;}
.drawer-label{display:block;white-space:normal;}
.drawer-footer{flex:0 0 auto;border-top:1px solid #ececf4;background:#fbfbfd;}
.drawer-backdrop{z-index:1050;background:rgba(15,23,42,.58);backdrop-filter:blur(3px);}
@media(min-width:768px){.mobile-drawer{width:360px;}}
@media(max-width:575.98px){.mobile-drawer{width:calc(100vw - 18px);max-width:390px;border-radius:0 16px 16px 0;}.drawer-header{padding-inline:14px;}.drawer-body{padding-inline:12px;}.drawer-link{min-height:47px;}}


/* Guaranteed visible drawer close glyph */
.mobile-drawer .drawer-header{position:relative;}
.mobile-drawer .drawer-close-btn{position:relative;z-index:3;visibility:visible!important;opacity:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:#334155!important;border:2px solid #6366f1!important;box-shadow:0 3px 12px rgba(15,23,42,.16)!important;font-size:0;line-height:1;}
.mobile-drawer .drawer-close-btn .drawer-close-glyph{display:block!important;color:#4f46e5!important;font-family:Arial,sans-serif!important;font-size:31px!important;font-weight:400!important;line-height:34px!important;width:100%;height:100%;text-align:center;}
.mobile-drawer .drawer-close-btn i{display:none!important;}
.mobile-drawer .drawer-close-btn:hover .drawer-close-glyph,.mobile-drawer .drawer-close-btn:focus-visible .drawer-close-glyph{color:#fff!important;}


/* Compact text-only drawer tabs */
.mobile-drawer .drawer-icon-box{display:none!important;}
.mobile-drawer .drawer-link{display:flex;align-items:center;min-height:36px;padding:6px 12px;border-left:2px solid transparent;border-radius:7px;gap:0;font-size:13px;font-weight:600;line-height:1.2;}
.mobile-drawer .drawer-link:hover,.mobile-drawer .drawer-link:focus-visible{padding-left:14px;}
.mobile-drawer .drawer-label{display:block;flex:1 1 auto;margin:0;}
.mobile-drawer .drawer-section-title{margin:12px 8px 5px!important;font-size:9px!important;letter-spacing:.12em!important;}
.mobile-drawer .drawer-body li{margin-bottom:2px;}
.mobile-drawer .drawer-nav-list{gap:2px;margin-bottom:12px!important;}
@media(max-width:575.98px){.mobile-drawer .drawer-link{min-height:34px;padding-block:5px;}.mobile-drawer .drawer-body{padding:8px 10px 18px;}}


/* Compact text-only drawer tabs for all role dashboards */
.mobile-drawer .drawer-icon-box{display:none!important;}
.mobile-drawer .drawer-link{display:flex;align-items:center;min-height:36px;padding:6px 12px;border-left:2px solid transparent;border-radius:7px;gap:0;font-size:13px;font-weight:600;line-height:1.2;}
.mobile-drawer .drawer-link:hover,.mobile-drawer .drawer-link:focus-visible{padding-left:14px;}
.mobile-drawer .drawer-label{display:block;flex:1 1 auto;margin:0;}
.mobile-drawer .drawer-section-title{margin:12px 8px 5px!important;font-size:9px!important;letter-spacing:.12em!important;}
.mobile-drawer .drawer-body li{margin-bottom:2px;}
.mobile-drawer .drawer-nav-list{gap:2px;margin-bottom:12px!important;}
@media(max-width:575.98px){.mobile-drawer .drawer-link{min-height:34px;padding-block:5px;}.mobile-drawer .drawer-body{padding:8px 10px 18px;}}


/* ==========================================================================
   HEADER SYSTEM v2 — de-cluttered topbar + utility menu + scrollable drawer
   --------------------------------------------------------------------------
   Overrides the historical stacked header rules above. Nothing was removed
   functionally: contact links, AI Matchmaker, Budget Estimator, social
   accounts, search, accessibility controls, theme toggle, Sign In, Free
   Consultation and the hamburger are all still present and reachable.
   ========================================================================== */

/* ---- Topbar ------------------------------------------------------------- */
.vp-topbar {
    background: #0A191F;
    color: #E2E8F0;
    font-size: 12.5px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    line-height: 1.4;
}

.vp-topbar .container { gap: 10px; }

.vp-topbar-link,
.vp-topbar-muted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #C7D2DE;
    text-decoration: none;
    padding: 3px 7px;
    border-radius: 7px;
    transition: color .18s ease, background-color .18s ease;
    white-space: nowrap;
}

.vp-topbar-link i,
.vp-topbar-muted i { font-size: 11.5px; opacity: .85; }

.vp-topbar-link:hover,
.vp-topbar-link:focus-visible {
    color: #F4B860;
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
}

.vp-topbar-muted { color: #8FA1B3; }

.vp-topbar-sep {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .16);
    display: inline-block;
}

/* Social/utility trigger sitting in the topbar */
.vp-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #D7DEE7;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.vp-topbar-btn:hover,
.vp-topbar-btn:focus-visible,
.vp-topbar-btn.show {
    background: rgba(244, 184, 96, .18);
    border-color: rgba(244, 184, 96, .45);
    color: #F4B860;
}

.vp-topbar-menu {
    --bs-dropdown-min-width: 195px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 16px 34px -12px rgba(15, 23, 42, .3);
    margin-top: 8px !important;
}

.vp-topbar-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 10px;
}

.vp-topbar-menu .dropdown-item i { font-size: 14px; color: #4F46E5; }

/* ---- Nav bar ------------------------------------------------------------ */
/* Constant nav height. A shrinking sticky bar is what made pinned portal
   content jump (and briefly show a gap) on scroll — the bar now keeps the same
   height and only gains a shadow to signal elevation. */
.glass-nav { padding: 5px 0; }
.glass-nav.scrolled { padding: 5px 0; }
.nav-container { min-height: 58px; gap: 12px; }

.brand-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-size: 17px;
    box-shadow: 0 5px 14px rgba(79, 70, 229, .28);
}

.brand-logo .logo-icon i { line-height: 1; }
.brand-logo .brand-name { font-size: 18px; letter-spacing: -.4px; }

/* Primary menu — tighter, calmer rhythm */
.vp-nav-menu { gap: 2px; }

.vp-nav-link {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 9px;
    color: #33415A;
    line-height: 1.2;
}

.vp-nav-link i.bi-chevron-down { font-size: 10px; opacity: .55; }

.vp-nav-item:hover > .vp-nav-link,
.vp-nav-link.active {
    color: #4338CA;
    background: rgba(79, 70, 229, .08);
}

/* Dropdowns get a soft entrance and stay perfectly aligned */
.vp-dropdown { min-width: 236px; padding: 6px; margin-top: 10px; border-radius: 13px; }
.vp-dropdown-item { padding: 9px 11px; font-size: 13.25px; border-radius: 9px; gap: 10px; }
.vp-dropdown-item:hover { padding-left: 15px; }
.vp-dropdown-item i { font-size: 14px; }

/* ---- Actions ------------------------------------------------------------ */
.nav-actions { gap: 6px; }

/* Single utility trigger replacing search / a11y / theme buttons */
.vp-tools-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 10px;
    background: var(--bg-card, #fff);
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.vp-tools-btn i { font-size: 15px; }

.vp-tools-btn:hover,
.vp-tools-btn:focus-visible,
.vp-tools-btn.show {
    color: #4338CA;
    border-color: rgba(79, 70, 229, .38);
    background: rgba(79, 70, 229, .07);
    box-shadow: 0 4px 12px rgba(79, 70, 229, .12);
    outline: 0;
}

.vp-tools-menu {
    --bs-dropdown-min-width: 292px;
    padding: 7px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .09);
    box-shadow: 0 22px 44px -16px rgba(15, 23, 42, .34);
    margin-top: 9px !important;
}

.vp-tools-header {
    padding: 6px 10px 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #94A3B8;
}

.vp-tools-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 13.25px;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
    white-space: normal;
}

.vp-tools-item i { font-size: 14.5px; color: #4F46E5; width: 17px; text-align: center; }

.vp-tools-item:hover,
.vp-tools-item:focus-visible {
    background: rgba(79, 70, 229, .08);
    color: #4338CA;
}

.vp-kbd {
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-family: inherit;
}

/* Quiet secondary CTA — reads as a link, not a competing button */
.vp-signin {
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.vp-signin:hover,
.vp-signin:focus-visible {
    color: #4338CA;
    background: rgba(79, 70, 229, .07);
    border-color: rgba(79, 70, 229, .16);
    text-decoration: none;
}

.nav-actions .vp-btn-amber {
    box-shadow: 0 5px 16px rgba(223, 137, 28, .3);
}

.nav-actions .vp-btn-amber:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(223, 137, 28, .38);
}

/* Dark theme parity for every new control */
[data-theme="dark"] .vp-tools-btn {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    color: #CBD5E1;
}

[data-theme="dark"] .vp-tools-btn:hover,
[data-theme="dark"] .vp-tools-btn.show {
    color: #A5B4FC;
    background: rgba(79, 70, 229, .22);
    border-color: rgba(129, 140, 248, .4);
}

[data-theme="dark"] .vp-tools-menu,
[data-theme="dark"] .vp-topbar-menu {
    background: #16262C;
    border-color: rgba(255, 255, 255, .1);
}

[data-theme="dark"] .vp-tools-item,
[data-theme="dark"] .vp-topbar-menu .dropdown-item { color: #CBD5E1; }

[data-theme="dark"] .vp-tools-item:hover,
[data-theme="dark"] .vp-topbar-menu .dropdown-item:hover {
    background: rgba(79, 70, 229, .24);
    color: #A5B4FC;
}

[data-theme="dark"] .vp-tools-item i { color: #818CF8; }

[data-theme="dark"] .vp-kbd {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .12);
    color: #94A3B8;
}

[data-theme="dark"] .vp-signin { color: #E2E8F0; }

[data-theme="dark"] .vp-signin:hover,
[data-theme="dark"] .vp-signin:focus-visible {
    color: #A5B4FC;
    background: rgba(79, 70, 229, .22);
}

[data-theme="dark"] .vp-nav-link { color: #DDE3EC; }

@media (max-width: 1199.98px) {
    .vp-nav-link { padding: 8px 10px; font-size: 13.5px; }
    .nav-container { gap: 8px; }
}

/* ---- Mobile drawer: the scroll contract ---------------------------------
   The drawer is a fixed, full-height flex column. Header, search and footer
   are fixed-height rows; ONLY .drawer-body scrolls. `min-height: 0` is what
   lets the flex child shrink below its content height, and `overflow: hidden`
   on the drawer stops the page behind it from scrolling instead.
   ------------------------------------------------------------------------- */
.mobile-drawer {
    position: fixed !important;
    inset: 0 auto 0 0;
    top: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    width: min(390px, 92vw) !important;
    /* NOTE: do not force `display` here. main.js toggles an inline
       display:none/flex pair, and an !important display would override it,
       leaving the drawer rendered off-canvas and creating horizontal scroll. */
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
    z-index: 10500 !important;
}

.mobile-drawer .drawer-header,
.mobile-drawer .drawer-search,
.mobile-drawer .drawer-footer {
    flex: 0 0 auto !important;
}

.mobile-drawer .drawer-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100%;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
}

/* A visible scrollbar is the affordance that tells users there is more below */
.mobile-drawer .drawer-body::-webkit-scrollbar { width: 8px; }
.mobile-drawer .drawer-body::-webkit-scrollbar-track { background: transparent; }
.mobile-drawer .drawer-body::-webkit-scrollbar-thumb {
    background: #C7C9E6;
    border-radius: 99px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.mobile-drawer .drawer-body { scrollbar-width: thin; scrollbar-color: #C7C9E6 transparent; }

/* ---- Drawer: collapsible groups -----------------------------------------
   Turns four stacked sections into accordions so the drawer opens onto the
   primary navigation instead of a 950px wall of links. Everything stays in
   the same scroll container, so <details> alone is enough — no JS needed.
   ------------------------------------------------------------------------- */
.mobile-drawer .drawer-group {
    margin: 0 0 6px;
    border: 0;
}

.mobile-drawer .drawer-group > summary.drawer-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 6px 6px !important;
    padding: 8px 10px !important;
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #8A93A6 !important;
    text-transform: uppercase;
    transition: background-color .18s ease, color .18s ease;
    user-select: none;
}

.mobile-drawer .drawer-group > summary.drawer-section-title::-webkit-details-marker { display: none; }
.mobile-drawer .drawer-group > summary.drawer-section-title::marker { content: ''; }

.mobile-drawer .drawer-group > summary.drawer-section-title:hover,
.mobile-drawer .drawer-group > summary.drawer-section-title:focus-visible {
    background: #F5F3FF;
    color: #5548C9 !important;
    outline: 0;
}

.mobile-drawer .drawer-group-chevron {
    font-size: 10px;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1);
    opacity: .7;
}

.mobile-drawer .drawer-group[open] > summary .drawer-group-chevron { transform: rotate(180deg); }

/* Open/close motion without animating layout height (keeps scrolling smooth) */
.mobile-drawer .drawer-group[open] > .drawer-nav-list { animation: drawerGroupIn .22s ease both; }
@keyframes drawerGroupIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.mobile-drawer .drawer-group > .drawer-nav-list { margin-bottom: 8px !important; }

@media (prefers-reduced-motion: reduce) {
    .mobile-drawer .drawer-group[open] > .drawer-nav-list { animation: none; }
    .mobile-drawer .drawer-group-chevron { transition: none; }
}

/* Toggled-state feedback for the Tools menu (contrast / motion / font size) */
.vp-tools-item[aria-pressed="true"],
.vp-tools-item.is-active {
    background: rgba(79, 70, 229, .1);
    color: #4338CA;
    font-weight: 700;
}

.vp-tools-item[aria-pressed="true"]::after {
    content: "\2713";
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #4F46E5;
}

.vp-tools-item[aria-pressed="true"] i { color: #4338CA; }

[data-theme="dark"] .vp-tools-item[aria-pressed="true"] {
    background: rgba(79, 70, 229, .26);
    color: #C7D2FE;
}

/* Nav disclosure button must be indistinguishable from a nav link */
.vp-nav-trigger {
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}

.vp-nav-trigger:focus-visible {
    outline: 2px solid rgba(79, 70, 229, .45);
    outline-offset: 2px;
}

/* ---- Horizontal overflow guard -----------------------------------------
   Rows with a larger gutter than the container padding (e.g. .row.g-5 inside
   a .container that pads 12px while the row pulls -24px) push the document a
   little wider than the viewport on every page, which produced a stray
   horizontal scrollbar and made the sticky header look off-centre.
   `overflow-x: clip` trims that spill WITHOUT creating a scroll container, so
   `position: sticky` on the header keeps working (overflow:hidden breaks it).
   ------------------------------------------------------------------------- */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

/* Extra safety for the widest gutter rows: keep them inside the viewport even
   where clipping is unsupported. */
.container > .row.g-5,
.container-fluid > .row.g-5,
.container > .row.gx-5,
.container-fluid > .row.gx-5 {
    margin-left: -12px;
    margin-right: -12px;
}

.container > .row.g-4,
.container-fluid > .row.g-4,
.container > .row.gx-4,
.container-fluid > .row.gx-4 {
    margin-left: -12px;
    margin-right: -12px;
}

/* Nav labels must never break onto two lines — that is what made the bar look
   crowded and misaligned at tablet widths. Secondary items also drop out
   earlier so the remaining row always fits on one line. */
.vp-nav-link,
.vp-nav-trigger {
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1120px) {
    .vp-nav-link { padding: 8px 8px; font-size: 13px; }
    .vp-nav-menu { gap: 0; }
    .brand-logo .brand-name { font-size: 16px; }
    .nav-actions .vp-signin { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 1199.98px) {
    .vp-tools-btn { padding: 0 10px; }
}

/* ---- Auth screens (guest + /admin/login) --------------------------------
   One shared presentation so the staff sign-in is visibly the same product
   as the client sign-in.
   ------------------------------------------------------------------------- */
.auth-screen {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(79, 70, 229, .10), transparent 62%),
        radial-gradient(760px 420px at 92% 8%, rgba(223, 137, 28, .10), transparent 60%);
}

.auth-card {
    background: var(--bg-card, #fff);
    border-color: rgba(15, 23, 42, .08) !important;
    box-shadow: 0 24px 60px -28px rgba(15, 23, 42, .35) !important;
}

.auth-logo {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    color: #fff;
    font-size: 23px;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .32);
}

[data-theme="dark"] .auth-card {
    background: #16262C;
    border-color: rgba(255, 255, 255, .1) !important;
}

[data-theme="dark"] .auth-screen {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(79, 70, 229, .22), transparent 62%),
        radial-gradient(760px 420px at 92% 8%, rgba(223, 137, 28, .14), transparent 60%);
}

/* Guest login keeps the same mark instead of a platform-dependent emoji */
.auth-card > .text-center > .fs-1 {
    display: none;
}

/* Footer brand mark — matches the header logo, no emoji font dependency */
.vp-footer .footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    color: #fff;
    font-size: 19px;
    box-shadow: 0 7px 18px rgba(79, 70, 229, .34);
}

/* ==========================================================================
   PORTAL CHROME UNIFICATION
   --------------------------------------------------------------------------
   The admin/client/tasker portals render the global site header AND a fixed
   portal sidebar. Before this block the sidebar started at top:0 and covered
   the header, while the portal's own sticky topbar stacked underneath the
   global sticky nav — two "headers" fighting for the same band.

   Fix: the portal sidebar and topbar are offset below the global chrome, so
   the site header stays the single top-level navigation and every portal
   (guest, admin, client, tasker) shares one visual hierarchy.
   Applied only when the global header is present, so nothing changes if a
   portal is ever rendered standalone.
   ========================================================================== */

/* Height of the global chrome, exposed for anything that needs to clear it.
   These are measured against the *scrolled* nav (68px) rather than the full
   padding state, because the nav shrinks on scroll and anything pinned below
   it must not leave a gap. */
:root {
    --site-topbar-h: 38px;
    --site-nav-h: 69px; /* measured: 5px padding ×2 + 58px min-height + border */
    --site-chrome-h: calc(var(--site-topbar-h) + var(--site-nav-h));
}

body.has-site-header {
    --site-chrome-h: calc(var(--site-topbar-h) + var(--site-nav-h));
}

/* Desktop: shift the fixed portal sidebar and sticky portal topbar down so the
   global header (topbar + nav) is never covered. */
@media (min-width: 992px) {
    body.has-site-header .admin-sidebar {
        top: var(--site-chrome-h) !important;
        height: auto !important;
        bottom: 0 !important;
    }

    body.has-site-header .admin-topbar {
        top: var(--site-chrome-h) !important;
    }

    /* The global nav must stay above the portal topbar when both are sticky.
       Raising its stacking order is enough — do NOT reorder the portal's own
       z-indexes, or its glass topbar loses its paint order against the body
       content and renders as a see-through band. */
    body.has-site-header .glass-nav-wrapper {
        z-index: 1030;
    }

    /* Portal topbar sits directly beneath the global nav.
       It must be fully opaque: with `backdrop-filter: blur()` the table rows
       scrolling underneath bled through as ghost text, which read as a broken
       header. Solid background + rule gives a clean reading surface. */
    body.has-site-header .admin-topbar {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(226, 232, 240, .95) !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    }

    [data-theme="dark"] body.has-site-header .admin-topbar,
    body.has-site-header[data-theme="dark"] .admin-topbar {
        background: #111a2e !important;
        border-bottom-color: rgba(255, 255, 255, .07) !important;
    }

    /* The portal sidebar's brand row is redundant now that the global header
       carries the brand and the admin nav — hide it to reclaim that band and
       keep one identity at the top of the page. */
    body.has-site-header .admin-sidebar .admin-brand {
        display: none;
    }
}

/* ==========================================================================
   HELP CENTRE (Block 4)
   --------------------------------------------------------------------------
   Search-first knowledge base. Uses the same tokens, radii, shadows and
   motion as the rest of the site so it never reads as a bolted-on module.
   ========================================================================== */

.hc-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(79, 70, 229, .10), transparent 62%),
        radial-gradient(760px 420px at 92% 6%, rgba(223, 137, 28, .09), transparent 60%);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.hc-hero-compact { padding: clamp(1.6rem, 3.5vw, 2.6rem) 0 clamp(1.4rem, 3vw, 2rem); }
.hc-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }

.hc-hero-title {
    font-family: var(--vp-font-heading, inherit);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0 0 .6rem;
    color: var(--text-main, #0F172A);
}

.hc-hero-title-sm { font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: .35rem; }
.hc-hero-sub { color: var(--text-muted, #64748B); font-size: clamp(.9rem, 1.6vw, 1rem); margin: 0 0 1.4rem; }

/* --- search box ---------------------------------------------------------- */
.hc-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    padding: 5px 5px 5px 16px;
    box-shadow: 0 14px 34px -18px rgba(15, 23, 42, .35);
    max-width: 660px;
    margin: 0 auto;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hc-search:focus-within {
    border-color: rgba(79, 70, 229, .55);
    box-shadow: 0 16px 40px -18px rgba(79, 70, 229, .45);
}

.hc-search-icon { color: #94A3B8; font-size: 1.05rem; flex: 0 0 auto; }

.hc-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 4px;
    font-size: 15px;
    color: #0F172A;
    outline: 0;
}

.hc-search-input::placeholder { color: #94A3B8; }

.hc-search-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hc-search-btn:hover { transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 12px 24px rgba(79, 70, 229, .36); }

/* --- popular chips ------------------------------------------------------- */
.hc-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 1rem;
}

.hc-chips-label { font-size: 12px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: .08em; }
.hc-chip {
    font-size: 12.5px;
    font-weight: 600;
    color: #4338CA;
    background: rgba(79, 70, 229, .09);
    border: 1px solid rgba(79, 70, 229, .18);
    border-radius: 999px;
    padding: 4px 12px;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.hc-chip:hover { background: #4F46E5; border-color: #4F46E5; color: #fff; text-decoration: none; }

/* --- section headings ---------------------------------------------------- */
.hc-section-head { margin-bottom: 1.3rem; }
.hc-section-title {
    font-family: var(--vp-font-heading, inherit);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 .2rem;
    color: var(--text-main, #0F172A);
}
.hc-section-title-sm { font-size: 1.1rem; margin: 1.6rem 0 .8rem; }
.hc-section-sub { color: var(--text-muted, #64748B); font-size: 14px; margin: 0; }

/* --- breadcrumb ---------------------------------------------------------- */
.hc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #94A3B8;
    margin-bottom: 1rem;
}
.hc-breadcrumb a { color: #64748B; text-decoration: none; font-weight: 600; }
.hc-breadcrumb a:hover { color: #4338CA; }
.hc-breadcrumb i { font-size: 10px; opacity: .7; }
.hc-breadcrumb span { color: #475569; font-weight: 600; }

/* --- category grid ------------------------------------------------------- */
/* 3-up on desktop: two cards per row clipped the descriptions into a narrow
   column and made the count badge wrap onto its own line. */
.hc-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

@media (min-width: 1100px) {
    .hc-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hc-cat-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 26px -20px rgba(15, 23, 42, .4);
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease, border-color .22s ease;
}

.hc-cat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 70, 229, .3);
    box-shadow: 0 20px 40px -22px rgba(15, 23, 42, .5);
    text-decoration: none;
}

.hc-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    font-size: 20px;
    color: var(--hc-accent, #4F46E5);
    background: color-mix(in srgb, var(--hc-accent, #4F46E5) 12%, transparent);
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
    .hc-cat-icon { background: rgba(79, 70, 229, .1); color: #4F46E5; }
}

.hc-cat-icon-lg { width: 58px; height: 58px; flex-basis: 58px; font-size: 25px; border-radius: 16px; }

.hc-cat-body { min-width: 0; flex: 1 1 auto; }
.hc-cat-name { display: block; font-size: 15px; font-weight: 700; color: #0F172A; margin-bottom: 3px; line-height: 1.25; }
.hc-cat-desc { display: block; font-size: 12.5px; color: #64748B; line-height: 1.5; }
.hc-cat-count {
    flex: 0 0 auto;
    padding-left: 4px;
    font-size: 16px;
    font-weight: 800;
    color: #4F46E5;
    text-align: right;
    line-height: 1.1;
}
.hc-cat-count small { display: block; font-size: 10px; font-weight: 600; color: #94A3B8; text-transform: uppercase; letter-spacing: .06em; }

.hc-cat-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 1.1rem; }

/* --- featured band ------------------------------------------------------- */
.hc-featured-band { background: rgba(79, 70, 229, .035); border-top: 1px solid rgba(79, 70, 229, .07); border-bottom: 1px solid rgba(79, 70, 229, .07); }

.hc-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.hc-featured-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease, border-color .22s ease;
}

.hc-featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 70, 229, .3);
    box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .5);
    text-decoration: none;
}

.hc-featured-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #4F46E5;
    background: rgba(79, 70, 229, .1);
    border-radius: 999px;
    padding: 3px 9px;
}

.hc-featured-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: #0F172A; }
.hc-featured-sum { font-size: 12.5px; color: #64748B; line-height: 1.5; flex: 1 1 auto; }
.hc-featured-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #94A3B8; font-weight: 600; }
.hc-dot { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; }

/* --- article list -------------------------------------------------------- */
.hc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.hc-list-item { margin: 0; }

.hc-list-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 13px;
    text-decoration: none;
    color: inherit;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.hc-list-link:hover {
    border-color: rgba(79, 70, 229, .32);
    background: #FCFCFF;
    transform: translateX(2px);
    text-decoration: none;
}

.hc-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    font-size: 16px;
    color: var(--hc-accent, #4F46E5);
    background: rgba(79, 70, 229, .08);
}

.hc-list-body { min-width: 0; flex: 1 1 auto; }
.hc-list-body strong { display: block; font-size: 14.5px; font-weight: 700; color: #0F172A; line-height: 1.3; margin-bottom: 2px; }
.hc-list-sum { display: block; font-size: 12.5px; color: #64748B; line-height: 1.45; }
.hc-list-views { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #94A3B8; white-space: nowrap; }
.hc-result-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4F46E5;
    margin-bottom: 3px;
}
.hc-star { font-size: 10px; vertical-align: middle; }
.hc-result-count { font-size: 13.5px; color: #64748B; margin-bottom: 1rem; }

/* --- article page -------------------------------------------------------- */
.hc-article-head { max-width: 760px; }

.hc-article-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--hc-accent, #4F46E5);
    background: rgba(79, 70, 229, .08);
    border-radius: 999px;
    padding: 4px 11px;
    margin-bottom: .7rem;
    text-decoration: none;
}

.hc-article-title {
    font-family: var(--vp-font-heading, inherit);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: 0 0 .5rem;
    color: var(--text-main, #0F172A);
}

.hc-article-sum { font-size: 1.02rem; color: #475569; line-height: 1.6; margin: 0 0 .8rem; max-width: 680px; }

.hc-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: #94A3B8;
    font-weight: 600;
}
.hc-article-meta i { margin-right: 3px; }

.hc-article-body {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    padding: clamp(20px, 4vw, 38px);
    box-shadow: 0 14px 34px -26px rgba(15, 23, 42, .45);
    color: #334155;
    font-size: 15.5px;
    line-height: 1.72;
}

.hc-article-body h2 {
    font-family: var(--vp-font-heading, inherit);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #0F172A;
    margin: 1.7rem 0 .55rem;
    padding-top: .2rem;
}
.hc-article-body h2:first-child { margin-top: 0; }
.hc-article-body h3 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin: 1.3rem 0 .4rem; }
.hc-article-body p { margin: 0 0 .95rem; }
.hc-article-body ul, .hc-article-body ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.hc-article-body li { margin-bottom: .35rem; }
.hc-article-body a { color: #4338CA; font-weight: 600; }
.hc-article-body strong { color: #0F172A; font-weight: 700; }
.hc-article-body code {
    background: #F1F5F9;
    border-radius: 5px;
    padding: 1px 5px;
    font-size: .87em;
    color: #4338CA;
}
.hc-article-body blockquote {
    border-left: 3px solid rgba(79, 70, 229, .4);
    background: rgba(79, 70, 229, .04);
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    margin: 1rem 0;
    color: #475569;
}
.hc-article-body img { max-width: 100%; height: auto; border-radius: 10px; }

/* --- feedback ------------------------------------------------------------ */
.hc-feedback {
    margin-top: 1.2rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 20px 22px;
    scroll-margin-top: 100px;
}

.hc-feedback-title { font-size: 1rem; font-weight: 700; color: #0F172A; margin: 0 0 .8rem; }
.hc-feedback-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.hc-vote {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .13);
    background: #fff;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hc-vote:hover { transform: translateY(-1px); }
.hc-vote-yes:hover { border-color: #10B981; background: rgba(16, 185, 129, .09); color: #047857; }
.hc-vote-no:hover { border-color: #EF4444; background: rgba(239, 68, 68, .08); color: #B91C1C; }

.hc-feedback-done { display: flex; align-items: flex-start; gap: 11px; }
.hc-feedback-done i { font-size: 22px; color: #10B981; flex: 0 0 auto; }
.hc-feedback-done strong { display: block; font-size: 14px; color: #0F172A; }
.hc-feedback-done p { margin: 2px 0 0; font-size: 13px; color: #64748B; }

.hc-feedback-bar {
    height: 7px;
    border-radius: 999px;
    background: #E2E8F0;
    overflow: hidden;
    margin-top: 1rem;
}
.hc-feedback-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10B981, #34D399);
    transition: width .6s cubic-bezier(.16, 1, .3, 1);
}
.hc-feedback-count { font-size: 12.5px; color: #94A3B8; margin: .5rem 0 0; }

.hc-related { margin-top: 1.6rem; }

/* --- aside --------------------------------------------------------------- */
.hc-aside-card {
    background: linear-gradient(160deg, #1E1B4B 0%, #312E81 100%);
    color: #E2E8F0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 22px 44px -28px rgba(30, 27, 75, .75);
    margin-bottom: 14px;
}

.hc-aside-card-sm { padding: 20px; }
.hc-aside-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}
.hc-aside-card h3 { font-size: 1.08rem; font-weight: 800; color: #fff; margin: 0 0 .4rem; }
.hc-aside-card p { font-size: 13.2px; line-height: 1.6; color: #C7D2FE; margin: 0 0 1rem; }
.hc-aside-card .btn-primary-gradient { background: #fff; color: #312E81 !important; box-shadow: 0 10px 22px rgba(15, 23, 42, .3); }
.hc-aside-card .btn-primary-gradient:hover { background: #EEF2FF; color: #312E81 !important; }
.hc-aside-card .btn-outline { border-color: rgba(255, 255, 255, .3); color: #E2E8F0; }
.hc-aside-card .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }

.hc-aside-links { list-style: none; margin: 1rem 0 0; padding: .9rem 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hc-aside-links li { margin-bottom: 3px; }
.hc-aside-links a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C7D2FE; text-decoration: none; padding: 5px 0; }
.hc-aside-links a:hover { color: #fff; }

.hc-aside-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}
.hc-aside-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #94A3B8; margin: 0 0 .7rem; }

.hc-aside-cats { list-style: none; margin: 0; padding: 0; }
.hc-aside-cats li { margin-bottom: 2px; }
.hc-aside-cats a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 13.2px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
.hc-aside-cats a:hover { background: rgba(79, 70, 229, .07); color: #4338CA; }
.hc-aside-cats li.is-current a { background: rgba(79, 70, 229, .1); color: #4338CA; font-weight: 700; }
.hc-aside-count { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #94A3B8; }

/* The list has to own its own box: as a bare <ul> inside the confirmation card
   it collapsed and the following button rode up over the links. */
.hc-aside-pop { list-style: none; margin: 0 0 1rem; padding: 0; }
.hc-aside-pop li { margin-bottom: 5px; }
.hc-aside-pop a { display: block; font-size: 13px; color: #475569; text-decoration: none; line-height: 1.45; }
.hc-sent-next { margin-bottom: 1.25rem; }
/* Keep the escape hatch as a full-width block so it lines up with the ticket
   panel above it instead of shrinking to its label. */
.hc-sent-card .hc-sent-next + .btn-outline {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 0;
}
.hc-aside-pop a:hover { color: #4338CA; }

.hc-aside-stat {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 6px 18px;
}
.hc-aside-stat-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.hc-aside-stat-row:last-child { border-bottom: 0; }
.hc-aside-stat-row strong { font-size: 18px; font-weight: 800; color: #0F172A; }
.hc-aside-stat-row span { font-size: 12px; color: #94A3B8; font-weight: 600; }

/* --- empty states -------------------------------------------------------- */
.hc-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
    border: 1px dashed rgba(15, 23, 42, .14);
    border-radius: 18px;
    color: #64748B;
}
.hc-empty i { font-size: 34px; color: #CBD5E1; display: block; margin-bottom: 12px; }
.hc-empty h3 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin: 0 0 .4rem; }
.hc-empty p { margin: 0; font-size: 13.5px; }

/* --- deflection ---------------------------------------------------------- */
.hc-deflect-send {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 20px 22px;
}
.hc-deflect-preview {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13.5px;
}
.hc-deflect-preview > div + div { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, .06); }
.hc-deflect-preview p { margin: 4px 0 0; color: #475569; }
.hc-detail-label { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #94A3B8; margin-bottom: 2px; }

.hc-faq-accordion .accordion-item { border: 1px solid rgba(15, 23, 42, .08); border-radius: 12px; overflow: hidden; margin-bottom: 7px; }
.hc-faq-accordion .accordion-button { font-size: 14px; font-weight: 600; color: #0F172A; padding: 14px 16px; }
.hc-faq-accordion .accordion-button:not(.collapsed) { background: rgba(79, 70, 229, .06); color: #4338CA; box-shadow: none; }
.hc-faq-accordion .accordion-body { font-size: 13.5px; color: #475569; line-height: 1.65; }

/* --- ticket sent --------------------------------------------------------- */
.hc-sent-screen { min-height: 70vh; display: flex; align-items: center; }
.hc-sent-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 38px);
    text-align: center;
    box-shadow: 0 26px 60px -34px rgba(15, 23, 42, .45);
}
.hc-sent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    color: #059669;
    font-size: 30px;
    margin-bottom: 14px;
}
.hc-sent-title { font-size: 1.45rem; font-weight: 800; color: #0F172A; margin: 0 0 .4rem; }
.hc-sent-sub { font-size: 13.8px; color: #64748B; line-height: 1.6; margin: 0 0 1.3rem; }

.hc-sent-ticket {
    position: relative;
    background: #F8FAFC;
    border: 1px dashed rgba(79, 70, 229, .3);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 1.3rem;
}
.hc-sent-ticket strong { font-size: 1.15rem; font-weight: 800; color: #4338CA; letter-spacing: .02em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hc-copy-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 1px solid rgba(15, 23, 42, .12);
    background: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease;
}
.hc-copy-btn:hover { border-color: #4F46E5; color: #4338CA; }

.hc-sent-next { text-align: left; }
.hc-sent-next h2 { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #94A3B8; margin: 0 0 .5rem; }

/* --- dark theme ---------------------------------------------------------- */
[data-theme="dark"] .hc-hero {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(79, 70, 229, .22), transparent 62%),
        radial-gradient(760px 420px at 92% 6%, rgba(223, 137, 28, .13), transparent 60%);
    border-bottom-color: rgba(255, 255, 255, .08);
}
[data-theme="dark"] .hc-hero-title,
[data-theme="dark"] .hc-section-title,
[data-theme="dark"] .hc-cat-name,
[data-theme="dark"] .hc-featured-title,
[data-theme="dark"] .hc-list-body strong,
[data-theme="dark"] .hc-article-title,
[data-theme="dark"] .hc-feedback-title,
[data-theme="dark"] .hc-sent-title,
[data-theme="dark"] .hc-aside-stat-row strong,
[data-theme="dark"] .hc-empty h3 { color: #F1F5F9; }

[data-theme="dark"] .hc-search,
[data-theme="dark"] .hc-cat-card,
[data-theme="dark"] .hc-featured-card,
[data-theme="dark"] .hc-list-link,
[data-theme="dark"] .hc-article-body,
[data-theme="dark"] .hc-feedback,
[data-theme="dark"] .hc-aside-panel,
[data-theme="dark"] .hc-aside-stat,
[data-theme="dark"] .hc-deflect-send,
[data-theme="dark"] .hc-sent-card,
[data-theme="dark"] .hc-empty {
    background: #16262C;
    border-color: rgba(255, 255, 255, .1);
    color: #CBD5E1;
}

[data-theme="dark"] .hc-search-input { color: #F1F5F9; }
[data-theme="dark"] .hc-cat-desc,
[data-theme="dark"] .hc-featured-sum,
[data-theme="dark"] .hc-list-sum,
[data-theme="dark"] .hc-article-sum,
[data-theme="dark"] .hc-hero-sub,
[data-theme="dark"] .hc-section-sub,
[data-theme="dark"] .hc-sent-sub { color: #94A3B8; }

[data-theme="dark"] .hc-article-body { color: #CBD5E1; }
[data-theme="dark"] .hc-article-body h2,
[data-theme="dark"] .hc-article-body h3,
[data-theme="dark"] .hc-article-body strong { color: #F1F5F9; }
[data-theme="dark"] .hc-article-body code { background: rgba(255, 255, 255, .08); color: #A5B4FC; }
[data-theme="dark"] .hc-article-body blockquote { background: rgba(79, 70, 229, .14); color: #CBD5E1; }
[data-theme="dark"] .hc-featured-band { background: rgba(79, 70, 229, .1); }
[data-theme="dark"] .hc-aside-cats a,
[data-theme="dark"] .hc-aside-pop a { color: #CBD5E1; }
[data-theme="dark"] .hc-vote { background: #16262C; border-color: rgba(255, 255, 255, .14); color: #CBD5E1; }
[data-theme="dark"] .hc-deflect-preview,
[data-theme="dark"] .hc-sent-ticket { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .hc-sent-ticket strong { color: #A5B4FC; }
[data-theme="dark"] .hc-copy-btn { background: rgba(255, 255, 255, .06); color: #CBD5E1; border-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .hc-faq-accordion .accordion-item { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .hc-faq-accordion .accordion-button { background: #16262C; color: #F1F5F9; }
[data-theme="dark"] .hc-faq-accordion .accordion-button:not(.collapsed) { background: rgba(79, 70, 229, .22); color: #A5B4FC; }
[data-theme="dark"] .hc-faq-accordion .accordion-body { background: #16262C; color: #CBD5E1; }

@media (max-width: 767.98px) {
    .hc-search { padding-left: 13px; }
    .hc-search-btn { padding: 9px 16px; }
    .hc-cat-grid { grid-template-columns: 1fr; }
    .hc-cat-card { padding: 14px; }
    .hc-article-body { border-radius: 14px; }
}

/* ============================================================================
   Inner-page hero + breadcrumbs
   ----------------------------------------------------------------------------
   Public pages used to open with `<section class="py-5 bg-light border-bottom">`
   while the homepage opened with .vp-hero-section, so following a link from the
   homepage dropped you onto a visually different site. These rules extend the
   homepage hero to inner pages rather than inventing a second look: same cream
   and radial wash, same tagline pill, same title scale, slightly less vertical
   padding because there is no visual column below the copy.
   ========================================================================= */

.vp-page-hero {
    padding: 64px 0 72px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

[data-theme="dark"] .vp-page-hero {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.vp-page-hero .vp-hero-title {
    font-size: clamp(30px, 3.4vw, 46px);
    margin-bottom: 18px;
}

.vp-page-hero .vp-hero-subtitle {
    max-width: 620px;
    margin-bottom: 0;
}

.vp-page-hero .vp-tagline {
    font-size: 13px;
    font-weight: 600;
}

/* Breadcrumb: a quieter version of the topbar's muted link colour. */
.vp-crumbs .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(100, 116, 139, 0.55);
    font-size: 13px;
}

.vp-crumbs .breadcrumb-item a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.18s ease;
}

.vp-crumbs .breadcrumb-item a:hover {
    color: var(--vp-primary);
}

.vp-crumbs .breadcrumb-item.active {
    color: #0F172A;
    font-weight: 600;
}

[data-theme="dark"] .vp-crumbs .breadcrumb-item.active {
    color: #E2E8F0;
}

/* Dark theme: the inner hero inherits .vp-hero-section's dark wash, so the
   title/subtitle need the readable-on-dark pair the homepage uses. */
[data-theme="dark"] .vp-page-hero .vp-hero-title {
    color: #F1F5F9;
}

[data-theme="dark"] .vp-page-hero .vp-hero-subtitle {
    color: #94A3B8;
}

@media (max-width: 575.98px) {
    .vp-page-hero { padding: 44px 0 48px 0; }
    .vp-page-hero .vp-hero-subtitle { font-size: 16px; }
}

/* ============================================================================
   Help centre hero — align with .vp-hero-section
   ----------------------------------------------------------------------------
   The knowledge base shipped with its own .hc-hero gradient, a close but
   visibly different wash from the homepage hero (different stops, different
   angle). Someone arriving from /help after browsing the homepage saw a colour
   shift. This pins hc-hero to the same two radial stops the rest of the site
   uses, so the third dialect collapses into the first.
   ========================================================================= */

.hc-hero,
.hc-hero-compact {
    background:
        radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(223, 137, 28, 0.06) 0%, transparent 45%),
        var(--vp-cream);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

[data-theme="dark"] .hc-hero,
[data-theme="dark"] .hc-hero-compact {
    background:
        radial-gradient(circle at 15% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(223, 137, 28, 0.08) 0%, transparent 45%),
        #0A191F;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
