/* ==========================================================================
   Trength Suite Documentation - Custom Typography & Mobile Enhancements
   ========================================================================== */

/* Crisp font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Enhanced contrast for body text and descriptions */
.text-gray-600 {
    color: #4B5675 !important;
}

.text-gray-700 {
    color: #252F4A !important;
}

.text-muted {
    color: #5E6278 !important;
}

/* Ensure strong heading contrast */
h1, h2, h3, h4, h5, h6,
.text-gray-800, .text-gray-900 {
    color: #181C32 !important;
}
/* Sidebar Brand Logo sizing to fill the available space */
.docs-aside-logo {
    display: flex;
    align-items: center;
    padding: 0 1.25rem !important;
}

.docs-aside-logo a {
    display: flex;
    align-items: center;
    width: 100%;
}

.docs-aside-logo img,
.docs-aside-logo .h-25px {
    height: 52px !important;
    max-height: 56px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.docs-aside-logo a:hover img {
    transform: scale(1.02);
}

/* Mobile Aside Toggle (Hamburger Menu) High Visibility */
#kt_docs_aside_toggle {
    color: #181C32 !important;
    background-color: #F5F8FA;
    border: 1px solid #E4E6EF;
    border-radius: 0.475rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#kt_docs_aside_toggle .svg-icon {
    color: #181C32 !important;
}

#kt_docs_aside_toggle .svg-icon svg path {
    fill: #181C32 !important;
    opacity: 1 !important;
}

/* Aside menu section headings */
.menu-content.text-muted {
    color: #5E6278 !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
}

/* Menu links high contrast */
.menu-state-title-primary .menu-item .menu-link .menu-title {
    color: #252F4A;
    font-weight: 500;
}

.menu-state-title-primary .menu-item .menu-link.active .menu-title {
    color: #009EF7 !important;
    font-weight: 600;
}

/* Improved contrast for badges */
.badge.badge-light-primary {
    color: #0077B6 !important;
    background-color: #EBF8FF !important;
    font-weight: 700 !important;
}

.badge.badge-light-success {
    color: #1B8A5A !important;
    background-color: #E8F8F0 !important;
    font-weight: 700 !important;
}

.badge.badge-light-warning {
    color: #C05621 !important;
    background-color: #FEF7ED !important;
    font-weight: 700 !important;
}

.badge.badge-light-danger {
    color: #C53030 !important;
    background-color: #FFF5F5 !important;
    font-weight: 700 !important;
}

.badge.badge-light-info {
    color: #007E8A !important;
    background-color: #E6F7FA !important;
    font-weight: 700 !important;
}

.badge.badge-light-dark {
    color: #181C32 !important;
    background-color: #F1F1F4 !important;
    font-weight: 700 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .docs-aside {
        background-color: #FFFFFF !important;
        box-shadow: 0 0 50px 0 rgba(24, 28, 50, 0.15);
    }
    
    .card .card-body {
        padding: 1.25rem;
    }
}

/* Icon Fix: bi-wrench-adjustable fallback to bi-wrench */
.bi-wrench-adjustable::before {
    content: "\f621" !important;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Cinematic 2D Visuals & Low-Scroll Interactive Tab System
   ========================================================================== */

/* Cinematic Image Containers with 3D Pop-Out Perspective */
.cinematic-img-frame {
    position: relative;
    border-radius: 1rem;
    background: #FFFFFF;
    border: 1px solid rgba(0, 102, 255, 0.18);
    perspective: 1200px;
    transform-style: preserve-3d;
    box-shadow: 
        0 20px 40px -12px rgba(0, 102, 255, 0.22),
        0 12px 25px -8px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
    transform: perspective(1000px) rotateX(2.5deg) rotateY(-1.5deg) translateY(0px);
    animation: float3dEffect 6s ease-in-out infinite alternate;
}

@keyframes float3dEffect {
    0% {
        transform: perspective(1000px) rotateX(2.5deg) rotateY(-1.5deg) translateY(0px);
        box-shadow: 
            0 18px 36px -12px rgba(0, 102, 255, 0.2),
            0 10px 20px -8px rgba(15, 23, 42, 0.12);
    }
    100% {
        transform: perspective(1000px) rotateX(1deg) rotateY(1deg) translateY(-8px);
        box-shadow: 
            0 30px 52px -10px rgba(0, 102, 255, 0.3),
            0 18px 32px -10px rgba(15, 23, 42, 0.18);
    }
}

.cinematic-img-frame:hover {
    animation: none;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(30px) scale(1.035) translateY(-10px) !important;
    border-color: #0066FF !important;
    box-shadow: 
        0 35px 70px -10px rgba(0, 102, 255, 0.38),
        0 25px 45px -10px rgba(15, 23, 42, 0.22),
        0 0 0 3px rgba(0, 102, 255, 0.25) !important;
    z-index: 10;
}

.cinematic-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.9rem;
    background-color: #FFFFFF;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.cinematic-img-frame:hover img {
    transform: scale(1.02);
    filter: brightness(1.03) contrast(1.02);
}

.cinematic-badge-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid #E2E8F0;
    color: #181C32;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    pointer-events: none;
}

/* Interactive Product Tab Switcher */
.suite-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.35rem;
    background: #F1F4F9;
    border-radius: 0.75rem;
    border: 1px solid #E2E8F0;
}

.suite-tab-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: 0.6rem;
    border: 1px solid transparent;
    background: transparent;
    color: #4B5675;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suite-tab-btn:hover {
    color: #181C32;
    background: rgba(255, 255, 255, 0.7);
}

.suite-tab-btn.active {
    background: #FFFFFF;
    color: #009EF7;
    border-color: rgba(0, 158, 247, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.suite-tab-btn.active.tab-jewellery {
    color: #D97706;
    border-color: rgba(217, 119, 6, 0.2);
}

.suite-tab-btn.active.tab-mobile {
    color: #0284C7;
    border-color: rgba(2, 132, 199, 0.2);
}

.suite-tab-btn.active.tab-apparel {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
}

.suite-tab-btn.active.tab-electronics {
    color: #7C3AED;
    border-color: rgba(124, 58, 237, 0.2);
}

/* Tab Panels */
.suite-tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.suite-tab-panel.active {
    display: block;
    opacity: 1;
    animation: fadeInSuite 0.3s ease-out;
}

@keyframes fadeInSuite {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compact Feature Chip Grid */
.feature-chip-item {
    display: flex;
    align-items: flex-start;
    padding: 0.65rem 0.85rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.feature-chip-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

/* Advantage Card Compact */
.adv-card-compact {
    border-radius: 0.65rem;
    padding: 0.9rem 1.1rem;
    background: #FFFFFF;
    border: 1px solid #E4E6EF;
    transition: all 0.2s ease;
}

.adv-card-compact:hover {
    border-color: #009EF7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 158, 247, 0.08);
}

/* Interactive Image Zoom Trigger */
.zoom-cursor {
    cursor: zoom-in;
}

/* ==========================================================================
   Mobile & Responsive Device Optimization (Tablets, Phones & In-App WebViews)
   ========================================================================== */

/* Universal text break to prevent horizontal scrolling on mobile */
body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

code, pre {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: pre-wrap !important;
}

@media (max-width: 991px) {
    /* Aside drawer smoothly styled on mobile */
    .docs-aside {
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Header layout breathing room */
    .docs-header {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 768px) {
    /* Hide floating badge overlay on mobile so it doesn't obstruct diagram titles */
    .cinematic-badge-tag {
        display: none !important;
    }

    /* Diagram frame smooth rounded corners */
    .cinematic-img-frame {
        border-radius: 0.75rem !important;
    }

    /* Optimal heading scales for phones & small tablets */
    .fs-2hx {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    .fs-2tx {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
    }

    .fs-3 {
        font-size: 1.18rem !important;
        line-height: 1.4 !important;
    }

    .fs-4 {
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }

    .fs-5 {
        font-size: 0.98rem !important;
        line-height: 1.5 !important;
    }

    .fs-6 {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }

    .fs-7 {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* Card padding optimized for mobile viewports */
    .card-docs > .card-body,
    .card-body.py-15.px-10 {
        padding: 1.5rem 1rem !important;
    }

    /* Wizard navigation buttons on mobile */
    #wizard-step-tabs {
        gap: 6px !important;
    }

    #wizard-step-tabs .btn {
        padding: 6px 12px !important;
        font-size: 0.82rem !important;
        flex: 1 1 auto !important;
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Flow step badges on mobile */
    .flow-step-box {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    /* Quick chips on mobile */
    .quick-chip-item {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
    }

    /* Installation screenshot frame */
    .p-3.bg-light-subtle img {
        max-height: 240px !important;
    }
}

@media (max-width: 576px) {
    /* Header title */
    .docs-page-title h1 {
        font-size: 1rem !important;
    }

    /* Extra compact container padding */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .card-docs > .card-body,
    .card-body.py-15.px-10 {
        padding: 1.25rem 0.75rem !important;
    }

    /* Hardware spec cards line-height for mobile reading */
    .card-body p, 
    .card-body span, 
    .notice div {
        line-height: 1.6 !important;
    }

    /* Ensure notices and alert boxes look clean */
    .notice {
        padding: 0.85rem 1rem !important;
    }

    /* Footer adjustments */
    #kt_footer {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    #kt_footer .menu {
        justify-content: center !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   Quick Capability Chips & Business Flow Enhancements
   ========================================================================== */
.quick-chip-item {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    padding: 8px 18px;
    border-radius: 50px;
    color: #1E293B;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.quick-chip-item:hover {
    background: #EDF2F7;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.quick-chip-divider {
    color: #CBD5E1;
    font-weight: 300;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.flow-step-box {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    color: #0F172A;
    transition: all 0.2s ease;
}

.flow-step-box:hover {
    border-color: #009EF7;
    box-shadow: 0 4px 12px rgba(0,158,247,0.15);
    transform: translateY(-2px);
}

.flow-arrow {
    color: #009EF7;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   Layout Alignment & Utility Classes
   ========================================================================== */

/* Max-width helper utilities - expanded to 100% width */
.max-w-850px,
.max-w-800px,
.max-w-700px,
.max-w-600px {
    max-width: 100% !important;
    width: 100% !important;
}

/* Header vertical alignment fix */
.docs-header .docs-page-title {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Equal height card content layout */
.card-docs .card-body {
    display: flex;
    flex-direction: column;
}

/* Differentiator image card alignment */
.cinematic-img-frame-wrapper {
    display: inline-block;
    max-width: 100%;
}

/* Hide raw text chip dividers to avoid hanging characters when wrapping */
.quick-chip-divider {
    display: none !important;
}

/* ==========================================================================
   Installation Wizard Stepper Navigation
   ========================================================================== */
.install-stepper-wrap {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.install-stepper-header {
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed #E2E8F0;
}

.install-stepper-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

@media (min-width: 992px) {
    .install-stepper-nav {
        grid-template-columns: repeat(8, 1fr);
        gap: 0.65rem;
    }
}

.install-step-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.4rem;
    border-radius: 0.75rem;
    border: 1.5px solid #F1F5F9;
    background: #F8FAFC;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    user-select: none;
    width: 100%;
    outline: none;
}

.install-step-btn:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #0F172A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.install-step-btn .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    background: #E2E8F0;
    color: #475569;
    transition: all 0.25s ease;
}

.install-step-btn .step-label {
    line-height: 1.25;
    display: block;
    white-space: normal;
    word-break: break-word;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Active state */
.install-step-btn.active {
    background: linear-gradient(135deg, #009EF7 0%, #0077B6 100%) !important;
    border-color: #009EF7 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0, 158, 247, 0.35) !important;
    transform: translateY(-2px);
}

.install-step-btn.active .step-num {
    background: #FFFFFF !important;
    color: #0077B6 !important;
    font-weight: 800;
}

.install-step-btn.active .step-label {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Completed state (past steps) */
.install-step-btn.completed {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}

.install-step-btn.completed .step-num {
    background: #22C55E;
    color: #FFFFFF;
}

.install-step-btn.completed .step-label {
    color: #15803D;
}

/* Progress track bar */
.install-progress-track {
    height: 6px;
    background: #EEF2F6;
    border-radius: 999px;
    overflow: hidden;
}

.install-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #009EF7 0%, #22C55E 100%);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
}

/* ==========================================================================
   Sidebar Category Section Titles (Stand-Out Styling)
   ========================================================================== */
.docs-aside-menu .menu-content {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: #1E293B !important;
    padding: 1.35rem 0.75rem 0.5rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    text-transform: uppercase;
}

.docs-aside-menu .menu-item:first-child .menu-content {
    padding-top: 0.5rem !important;
}

.docs-aside-menu .menu-content::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, #CBD5E1 0%, rgba(203, 213, 225, 0.1) 100%);
    margin-left: 0.75rem;
}

/* ==========================================================================
   Overview Video Showcase & Multi-Language Theater
   ========================================================================== */
.overview-theater-card {
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.35);
    border: 1px solid #1e293b;
    position: relative;
}

.overview-theater-header {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem;
}

.overview-theater-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    display: block;
    outline: none;
    max-height: 720px;
}

.lang-selector-container {
    display: inline-flex;
    align-items: center;
    background: #EBF2F7;
    border: 2px solid #CBD5E1;
    border-radius: 50rem;
    padding: 5px;
    gap: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-selector-btn {
    border-radius: 50rem !important;
    padding: 0.65rem 1.4rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    line-height: 1.2;
}

.lang-selector-btn.active {
    background: #009EF7 !important;
    color: #FFFFFF !important;
    border: 2px solid #009EF7 !important;
    box-shadow: 0 4px 12px rgba(0, 158, 247, 0.4) !important;
}

.lang-selector-btn:not(.active) {
    background: #FFFFFF !important;
    color: #1E293B !important;
    border: 2px solid #CBD5E1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.lang-selector-btn:not(.active):hover {
    background: #F1FAFF !important;
    color: #009EF7 !important;
    border-color: #009EF7 !important;
    transform: translateY(-1px);
}

.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    display: inline-block;
    vertical-align: middle;
}


/* ==========================================================================
   Dynamic Visual Effects: Aurora Glow, Particle Canvas, & Shimmer Grid
   ========================================================================== */

/* 1. Aurora Ambient Glowing Orbs */
.ambient-aurora-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    transition: opacity 0.5s ease;
}

.ambient-aurora-wrapper.effect-disabled {
    opacity: 0 !important;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: multiply;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.aurora-orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 158, 247, 0.45) 0%, rgba(0, 158, 247, 0) 70%);
    top: -60px;
    left: 5%;
    animation: aurora-drift-1 16s infinite alternate;
}

.aurora-orb-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(114, 57, 234, 0.38) 0%, rgba(114, 57, 234, 0) 70%);
    top: 70px;
    right: 8%;
    animation: aurora-drift-2 18s infinite alternate;
}

.aurora-orb-3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(80, 205, 137, 0.35) 0%, rgba(80, 205, 137, 0) 70%);
    bottom: 60px;
    left: 30%;
    animation: aurora-drift-3 14s infinite alternate;
}

@keyframes aurora-drift-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, 45px) scale(1.15); }
    100% { transform: translate(-30px, 90px) scale(0.95); }
}

@keyframes aurora-drift-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 70px) scale(1.12); }
    100% { transform: translate(40px, -40px) scale(1.2); }
}

@keyframes aurora-drift-3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -50px) scale(1.18); }
    100% { transform: translate(-60px, 35px) scale(0.9); }
}

/* 2. Interactive Tech Particle Canvas */
#tech-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
}

#tech-particles-canvas.effect-disabled {
    opacity: 0 !important;
}

/* 3. Tech Grid & Card Border Shimmer Micro-Animations */
.card-docs {
    position: relative;
    overflow: hidden;
}

.card-docs > .card-body {
    position: relative;
    z-index: 2;
}

.card-docs.has-shimmer-grid {
    background-image: 
        radial-gradient(rgba(0, 158, 247, 0.12) 1.5px, transparent 1.5px),
        linear-gradient(to right, rgba(228, 230, 239, 0.5) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(228, 230, 239, 0.5) 1px, transparent 1px) !important;
    background-size: 28px 28px, 56px 56px, 56px 56px !important;
    background-position: 0 0, 0 0, 0 0 !important;
    transition: background 0.4s ease;
}

.card-docs:not(.has-shimmer-grid) {
    background-image: none !important;
}

/* Shimmer Border for Video Theater Container & Installation Stepper Wrap */
.overview-theater-card.has-border-shimmer {
    border: 2px solid transparent !important;
    background-image: linear-gradient(#0f172a, #0f172a), linear-gradient(115deg, #009ef7, #7239ea, #50cd89, #009ef7) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    background-size: 100% 100%, 300% 300% !important;
    animation: border-gradient-shift 8s ease infinite;
    box-shadow: 0 20px 45px -10px rgba(0, 158, 247, 0.4) !important;
    transition: all 0.4s ease;
}

.install-stepper-wrap.has-border-shimmer {
    border: 2px solid transparent !important;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(115deg, #009ef7, #7239ea, #50cd89, #009ef7) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    background-size: 100% 100%, 300% 300% !important;
    animation: border-gradient-shift 8s ease infinite;
    box-shadow: 0 12px 35px -5px rgba(0, 158, 247, 0.22) !important;
    transition: all 0.4s ease;
}

@keyframes border-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle Shimmer Glass Reflection sweep across store badges */
.shimmer-badge {
    position: relative;
    overflow: hidden;
}

.shimmer-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: rotate(25deg);
    animation: badge-shine 5s infinite;
}

@keyframes badge-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}


/* ==========================================================================
   Video Duration Badges
   ========================================================================== */
.video-duration-badge {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    color: #334155;
    font-size: 0.775rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 0.475rem;
    border: 1px solid #CBD5E1;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.video-duration-badge:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.video-duration-badge i {
    color: #009EF7;
    margin-right: 0.35rem;
    font-size: 0.85rem;
}

.theater-duration-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.theater-duration-badge i {
    color: #38BDF8;
    margin-right: 0.35rem;
    font-size: 0.8rem;
}



