.media-frame--hero {
    position: relative;
    overflow: hidden; /* clip anything that overflows when cropping */
}

    .media-frame--hero img#hero-preview-image {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover; /* fills the box, cropping overflow — no distortion */
        object-position: center;
    }


#hero-preview-image {
    max-width: 100%; /* Prevents image from spilling horizontally */
    height: auto; /* Maintains correct aspect ratio */
    object-fit: contain !important; /* Forces the entire image to show inside its box, adding letterboxing if necessary */
}

/* Fix image cropping inside the hero browser mock-up */
.media-frame--hero {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-preview-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* Displays the full image without clipping edges */
    display: block;
}

/* Ensure the mock-up container allows auto height for full visibility */
.hero-browser-frame {
    max-width: 100%;
    height: auto;
}


/****/

/* ==========================================================================
   EXTRA-PREMIUM SAAS OVERRIDES
   ========================================================================== */

:root {
    --capps-brand-blue: #38bdf8;
    --capps-brand-dark: #0b0f19;
    --capps-surface-glass: rgba(255, 255, 255, 0.65);
    --capps-border-glass: rgba(255, 255, 255, 0.4);
    --capps-shadow-glow: 0 20px 50px -10px rgba(56, 189, 248, 0.25);
}

.capps-root {
    position: relative;
    overflow: hidden;
}

/* Background Ambient Orbs */
.glow-backdrop {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 800px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.glow-orb--primary {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #38bdf8 0%, #0284c7 100%);
    top: -100px;
    right: 10%;
}

.glow-orb--cyan {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #22d3ee 0%, #0e7490 100%);
    top: 200px;
    left: 5%;
}

/* Glassmorphism Feature & Pricing Cards */
.feature-card,
.capps-pricing-card {
    background: var(--capps-surface-glass) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--capps-border-glass) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

    .feature-card:hover,
    .capps-pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--capps-shadow-glow);
        border-color: rgba(56, 189, 248, 0.5) !important;
    }

/* Browser Frame Fix & Styling */
.browser-frame {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    overflow: hidden;
    height: auto !important;
}

.media-frame--hero {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-preview-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Glass Pill Badges and Pulse Indicator */
.eyebrow--pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    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);
    }
}

/* Hero Trust Pills Below Buttons */
.hero-trust-pills {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

    .hero-trust-pills span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .hero-trust-pills i {
        color: #0284c7;
    }

/* Button Shining Effect */
.btn-primary.btn-shine {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    transition: all 0.3s ease;
}

    .btn-primary.btn-shine::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70% );
        transform: rotate(30deg);
        animation: shine-sweep 4s infinite;
    }

@keyframes shine-sweep {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    20%, 100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/*****/



/* ==========================================================================
   EXTRA BORDER & ELEVATED SHADOW STYLES (CUSTOM GRADIENT RANGE)
   Gradient: linear-gradient(135deg, #7ec8e3 0%, #3a9bdc 100%)
   ========================================================================== */

/* Outer Wrapper Relative Positioning & Padding */
.hero-mockup-wrapper {
    position: relative;
    padding: 8px;
}

/* --- 1. Browser Frame Extra Gradient Borders & Glow --- */
.hero-browser-frame {
    position: relative;
    border-radius: 18px !important;
    background: #ffffff !important;
    /* Double Layer Border with #7ec8e3 and #3a9bdc Gradient Accent */
    border: 1px solid rgba(126, 200, 227, 0.6) !important;
    outline: 2px solid rgba(58, 155, 220, 0.2) !important;
    outline-offset: 4px !important;
    /* Layered Shadow & Ambient Glow */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9) inset, 0 12px 24px -6px rgba(11, 37, 60, 0.1), 0 25px 50px -12px rgba(58, 155, 220, 0.28), 0 0 30px 2px rgba(126, 200, 227, 0.25) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease !important;
}

    .hero-browser-frame:hover {
        outline-color: rgba(126, 200, 227, 0.5) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 1) inset, 0 18px 36px -6px rgba(11, 37, 60, 0.15), 0 30px 60px -10px rgba(58, 155, 220, 0.38), 0 0 40px 6px rgba(126, 200, 227, 0.4) !important;
    }

    /* Browser Top Header Gradient Border */
    .hero-browser-frame .browser-top {
        border-bottom: 2px solid rgba(126, 200, 227, 0.4) !important;
        background: #f0f7fc !important;
    }

    /* Inner Media Frame Border */
    .hero-browser-frame .media-frame--hero {
        border: 1px solid rgba(126, 200, 227, 0.3) !important;
        border-radius: 0 0 16px 16px !important;
        overflow: hidden !important;
    }

/* --- 2. Glass Info Card Extra Gradient Borders --- */
.hero-info-card.glass-panel {
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    /* Gradient Border & Enhanced Glass Glow */
    border: 2px solid rgba(126, 200, 227, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset, 0 20px 40px -10px rgba(11, 37, 60, 0.12), 0 0 25px 0 rgba(58, 155, 220, 0.2) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: all 0.3s ease !important;
}

    .hero-info-card.glass-panel:hover {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 1) inset, 0 24px 48px -8px rgba(11, 37, 60, 0.18), 0 0 35px 4px rgba(126, 200, 227, 0.35) !important;
    }

/* Badge Gradient Fill & Accent Border */
.hero-info-card__badge {
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.15) 0%, rgba(58, 155, 220, 0.15) 100%) !important;
    color: #2b82c2 !important;
    border: 1px solid rgba(126, 200, 227, 0.6) !important;
    box-shadow: 0 2px 8px rgba(58, 155, 220, 0.15) !important;
}

/* Feature Chips Gradient Border */
.hero-info-card__features .chip {
    background: #ffffff !important;
    color: #0b253c !important;
    border: 1px solid rgba(126, 200, 227, 0.4) !important;
    box-shadow: 0 2px 6px rgba(58, 155, 220, 0.08) !important;
}


/*****/


/* ==========================================================================
   CAPPS TYPOGRAPHIC TILED WATERMARK BACKGROUND
   Uses seamless SVG tiling to eliminate display breakage across all devices.
   Keywords: CAPPS, Facturation Électronique, Gestion Commerciale, DGI Maroc, etc.
   Opacity: 0.025 (Controlled via SVG fill opacity)
   ========================================================================== */



    /****/

/* Fixed position on bottom left for demo_control */
.demo_control {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    top: auto !important;
    right: auto !important;
    z-index: 99999 !important;
    /* Reset layout constraints for floating behavior */
    width: min(420px, calc(100vw - 48px)) !important;
    max-width: 100% !important;
    margin: 0 !important;
    /* Ensure visibility & clear interaction */
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    /* Optional glassmorphism background to ensure legibility over page content */
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Adjustments for mobile viewports */
@media (max-width: 768px) {
    .demo_control {
        bottom: 16px !important;
        left: 16px !important;
        width: calc(100vw - 32px) !important;
        padding: 16px !important;
    }
}

/*******/


/* ==========================================================================
   ULTRA-COMPACT EXTRA-PREMIUM FLOATING DEMO CONTROL (BOTTOM RIGHT)
   ========================================================================== */

/* Main Container: Fixed Bottom Right & Ultra Compact */
.demo_control {
    position: fixed !important;
    bottom: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 999999 !important;
    width: min(340px, calc(100vw - 32px)) !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    /* Multi-Layered Cyber-Dark Glassmorphism */
    background: rgba(11, 15, 25, 0.92) !important;
    backdrop-filter: blur(16px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(200%) !important;
    /* Neon Gradient Accent Border & Layered Glow */
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 20px -2px rgba(56, 189, 248, 0.35) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    animation: demoControlSlideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

    .demo_control:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 16px 36px -5px rgba(0, 0, 0, 0.8), 0 0 30px 2px rgba(56, 189, 248, 0.5) !important;
    }

    /* Action Buttons (Compact Vertical Stack) */
    .demo_control .hero-actions2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }

        .demo_control .hero-actions2 .btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            padding: 8px 12px !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            letter-spacing: 0.02em !important;
            border-radius: 9px !important;
            text-decoration: none !important;
            line-height: 1.2 !important;
            transition: all 0.25s ease !important;
        }

        /* Primary Button with Sweep Motion */
        .demo_control .hero-actions2 .btn-primary.btn-shine {
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
            color: #ffffff !important;
            border: 1px solid rgba(56, 189, 248, 0.5) !important;
            box-shadow: 0 3px 12px rgba(2, 132, 199, 0.4) !important;
        }

            .demo_control .hero-actions2 .btn-primary.btn-shine:hover {
                filter: brightness(1.15) !important;
                box-shadow: 0 4px 16px rgba(2, 132, 199, 0.6) !important;
            }

        /* Secondary Button Glass Outline */
        .demo_control .hero-actions2 .btn-secondary {
            background: rgba(255, 255, 255, 0.05) !important;
            color: #38bdf8 !important;
            border: 1px solid rgba(56, 189, 248, 0.3) !important;
        }

            .demo_control .hero-actions2 .btn-secondary:hover {
                background: rgba(56, 189, 248, 0.15) !important;
                color: #ffffff !important;
                border-color: rgba(56, 189, 248, 0.6) !important;
            }

    /* Trust Pills Grid (Micro Inline Row) */
    .demo_control .hero-trust-pills {
        display: flex !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding: 6px 0 !important;
        margin-bottom: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

        .demo_control .hero-trust-pills span {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            font-size: 0.68rem !important;
            font-weight: 600 !important;
            color: #94a3b8 !important;
            white-space: nowrap !important;
        }

        .demo_control .hero-trust-pills i {
            color: #38bdf8 !important;
            font-size: 0.85rem !important;
        }

    /* Compact Credentials Card Box */
    .demo_control .hero-demo-account {
        background: rgba(15, 23, 42, 0.85) !important;
        border: 1px solid rgba(56, 189, 248, 0.2) !important;
        border-radius: 10px !important;
        padding: 8px 10px !important;
    }

    .demo_control .hero-demo-account__title {
        display: block !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: #38bdf8 !important;
        margin-bottom: 4px !important;
    }

    /* Compact Credentials Grid (Side-by-Side Pill Cards) */
    .demo_control .hero-demo-account__credentials {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        margin: 0 !important;
    }

        .demo_control .hero-demo-account__credentials div {
            flex: 1 !important;
            display: flex !important;
            flex-direction: column !important;
            background: rgba(0, 0, 0, 0.45) !important;
            padding: 4px 6px !important;
            border-radius: 6px !important;
            border: 1px solid rgba(255, 255, 255, 0.06) !important;
        }

        .demo_control .hero-demo-account__credentials dt {
            font-size: 0.62rem !important;
            color: #64748b !important;
            font-weight: 600 !important;
            margin: 0 !important;
            line-height: 1 !important;
        }

        .demo_control .hero-demo-account__credentials dd {
            font-family: 'Fira Code', 'Courier New', monospace !important;
            font-size: 0.68rem !important;
            font-weight: 700 !important;
            color: #f1f5f9 !important;
            margin: 2px 0 0 0 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

/* Entrance Animation (Right Slide-In) */
@keyframes demoControlSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .demo_control {
        bottom: 12px !important;
        right: 12px !important;
        left: auto !important;
        width: calc(100vw - 24px) !important;
        padding: 10px 12px !important;
    }
}


/*****/

/* ==========================================================================
   FORCE DISPLAY & HIGH CONTRAST FOR FLOATING DEMO BUTTONS
   ========================================================================== */

/* Container Button Wrapper */
.demo_control .hero-actions2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    /* Base Link Reset */
    .demo_control .hero-actions2 a.btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 38px !important;
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
        transition: all 0.25s ease !important;
    }

    /* 1. Secondary Button: "Accéder à CAPPS en simulation" */
    .demo_control .hero-actions2 a.btn-secondary {
        background: rgba(56, 189, 248, 0.12) !important;
        color: #38bdf8 !important; /* Vivid Cyan Blue Text */
        border: 1px solid rgba(56, 189, 248, 0.4) !important;
    }

        .demo_control .hero-actions2 a.btn-secondary:hover {
            background: rgba(56, 189, 248, 0.25) !important;
            color: #ffffff !important;
            border-color: #38bdf8 !important;
        }

    /* 2. Primary Button: "Accéder à CAPPS" */
    .demo_control .hero-actions2 a.btn-primary {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
        color: #ffffff !important; /* Solid White Text */
        border: 1px solid rgba(56, 189, 248, 0.6) !important;
        box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
    }

        .demo_control .hero-actions2 a.btn-primary:hover {
            background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 6px 18px rgba(2, 132, 199, 0.6) !important;
        }


/****/



/* ==========================================================================
   2026 ULTRA-MODERN SAAS FLOATING WIDGET
   ========================================================================== */

/* Main Fixed Glassmorphic Floating Container (Bottom-Right) */
.demo_control {
    position: fixed !important;
    bottom: 24px !important;
    left: auto !important;
    top: auto !important;
    z-index: 999999 !important;
    width: min(340px, calc(100vw - 32px)) !important;
    padding: 16px !important;
    border-radius: 20px !important;
    /* Multi-Layered Cyber-Dark Glassmorphism */
    background: rgba(11, 15, 25, 0.92) !important;
    backdrop-filter: blur(20px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(210%) !important;
    /* Neon Cyan Glow & Subtle Border Highlight */
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -4px rgba(56, 189, 248, 0.35) !important;
    /* Force Display & Smooth Elevation */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: cappsWidgetSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

    .demo_control:hover {
        transform: translateY(-4px) scale(1.01) !important;
        border-color: rgba(56, 189, 248, 0.85) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 22px 50px -10px rgba(0, 0, 0, 0.9), 0 0 45px 2px rgba(56, 189, 248, 0.55) !important;
    }

/* 1. Action Buttons Container */
.capps-widget__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.capps-widget__btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Primary Button: "Accéder à CAPPS" (Gradient + Light Sweep) */
.capps-widget__btn--primary {
    overflow: hidden !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

    .capps-widget__btn--primary::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -50% !important;
        width: 200% !important;
        height: 200% !important;
        background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%) !important;
        transform: rotate(30deg) !important;
        animation: cappsShineSweep 3.5s infinite !important;
    }

    .capps-widget__btn--primary:hover {
        background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 6px 24px rgba(56, 189, 248, 0.7) !important;
        transform: translateY(-2px) !important;
    }

/* Simulation Button: "Accéder à CAPPS en simulation" (Neon Glass) */
.capps-widget__btn--sim {
    background: rgba(56, 189, 248, 0.08) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

    .capps-widget__btn--sim:hover {
        background: rgba(56, 189, 248, 0.2) !important;
        color: #ffffff !important;
        border-color: rgba(56, 189, 248, 0.7) !important;
        box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3) !important;
        transform: translateY(-2px) !important;
    }

/* 2. Trust Badges Section */
.capps-widget__trust {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 8px 0 !important;
    margin-bottom: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.capps-widget__trust-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
}

    .capps-widget__trust-tag i {
        color: #38bdf8 !important;
        font-size: 0.88rem !important;
        filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6)) !important;
    }

/* 3. Demo Account Container */
.capps-widget__card {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) inset !important;
}

.capps-widget__card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}

.capps-widget__card-title {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #38bdf8 !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4) !important;
}

.capps-widget__pulse-badge {
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Side-by-Side Credentials Grid */
.capps-widget__credentials {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    margin: 0 !important;
}

.capps-widget__credential-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

    .capps-widget__credential-item dt {
        font-size: 0.62rem !important;
        color: #64748b !important;
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .capps-widget__credential-item dd {
        font-family: 'Fira Code', 'Courier New', monospace !important;
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        color: #f1f5f9 !important;
        margin: 3px 0 0 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

/* Animations */
@keyframes cappsShineSweep {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    20%, 100% {
        transform: translateX(100%) rotate(30deg);
    }
}

@keyframes cappsWidgetSlideIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .demo_control {
        bottom: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        padding: 12px !important;
    }
}


/******************/

/* ==========================================================================
   EXTRA-PREMIUM 2026 CAPPS HERO VISUAL & MOCKUP SHOWCASE (CSS ONLY)
   ========================================================================== */

/* --- 1. Ambient Hero Backlight Glow --- */
.hero-visual {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.hero-glow {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 110% !important;
    height: 110% !important;
    background: radial-gradient( circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.12) 40%, transparent 75% ) !important;
    filter: blur(60px) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* --- 2. Floating Cyber-Glass Hero Tabs (Horizontal Pill Switcher) --- */
.hero-preview-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    margin-bottom: 24px !important;
    background: rgba(11, 15, 25, 0.75) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 100px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 25px -5px rgba(0, 0, 0, 0.4) !important;
}

.hero-tab {
    background: transparent !important;
    color: #94a3b8 !important;
    border: none !important;
    padding: 7px 16px !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .hero-tab:hover {
        color: #f1f5f9 !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    /* Active Tab Glow Pill */
    .hero-tab.is-active {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.5), 0 4px 12px rgba(2, 132, 199, 0.4) !important;
        border: 1px solid rgba(56, 189, 248, 0.6) !important;
    }

/* --- 3. Browser Frame & Glass Mockup Container --- */
.hero-mockup-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.hero-browser-frame {
    position: relative !important;
    width: 100% !important;
    background: #0f172a !important;
    border-radius: 20px !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px -5px rgba(56, 189, 248, 0.3) !important;
    overflow: hidden !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    animation: heroFloatContinuous 6s ease-in-out infinite !important;
}

    .hero-browser-frame:hover {
        transform: translateY(-6px) scale(1.005) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 35px 80px -15px rgba(0, 0, 0, 0.8), 0 0 55px 0px rgba(56, 189, 248, 0.5) !important;
    }

/* Window Dots Top Bar */
.browser-top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

    .browser-top span {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        display: inline-block !important;
    }

        .browser-top span:nth-child(1) {
            background: #ef4444 !important;
        }

        .browser-top span:nth-child(2) {
            background: #f59e0b !important;
        }

        .browser-top span:nth-child(3) {
            background: #10b981 !important;
        }

/* Image Frame & Screen Reflection */
.media-frame--hero {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
}

#hero-preview-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    border-bottom-left-radius: 19px !important;
    border-bottom-right-radius: 19px !important;
}

.screen-reflection {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient( 115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60% ) !important;
    pointer-events: none !important;
}

/* --- 4. Floating HUD Info Card (.hero-info-card) --- */
.hero-info-card.glass-panel {
    position: absolute !important;
    bottom: -24px !important;
    z-index: 10 !important;
    max-width: 320px !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    background: rgba(11, 15, 25, 0.9) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.3) !important;
    transition: all 0.35s ease !important;
}

    .hero-info-card.glass-panel:hover {
        transform: translateY(-4px) !important;
        border-color: rgba(56, 189, 248, 0.8) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.5) !important;
    }

/* Info Card Header & Badges */
.hero-info-card__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
}

.hero-info-card__badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    padding: 4px 10px !important;
    border-radius: 100px !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.hero-info-card__status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #10b981 !important;
}

.status-dot {
    width: 7px !important;
    height: 7px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #10b981 !important;
}

/* Typography Inside Info Card */
.hero-info-card__title {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.hero-info-card__desc {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    line-height: 1.45 !important;
    margin: 0 0 12px 0 !important;
}

/* Feature Chips Inside Info Card */
.hero-info-card__features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

    .hero-info-card__features .chip {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        padding: 3px 8px !important;
        border-radius: 6px !important;
    }

        .hero-info-card__features .chip i {
            color: #38bdf8 !important;
        }

/* Continuous Subtle Floating Motion */
@keyframes heroFloatContinuous {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive Handling */
@media (max-width: 991px) {
    .hero-info-card.glass-panel {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-preview-tabs {
        border-radius: 16px !important;
    }
}

/********/



/* ==========================================================================
   DARK-ONLY BORDERS & CLEAN DARK UI (NO GLOW / NO GRADIENTS)
   ========================================================================== */

/* Main Container Wrapper */
.hero-mockup-wrapper {
    position: relative !important;
    width: 100% !important;
}

/* --- 1. Browser Frame: Solid Dark Border --- */
.hero-browser-frame {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    outline: none !important;
}

    /* Top Header Bar */
    .hero-browser-frame .browser-top {
        background: #1e293b !important;
        border-bottom: 1px solid #334155 !important;
        padding: 10px 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

        .hero-browser-frame .browser-top span {
            width: 8px !important;
            height: 8px !important;
            border-radius: 50% !important;
            display: inline-block !important;
        }

            .hero-browser-frame .browser-top span:nth-child(1) {
                background: #475569 !important;
            }

            .hero-browser-frame .browser-top span:nth-child(2) {
                background: #475569 !important;
            }

            .hero-browser-frame .browser-top span:nth-child(3) {
                background: #475569 !important;
            }

    /* Image Area - Hide Reflection Effect */
    .hero-browser-frame .screen-reflection {
        display: none !important;
    }

.media-frame--hero img#hero-preview-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border: none !important;
}

/* --- 2. Floating Info Card: Solid Dark Glass --- */
.hero-info-card.glass-panel {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    outline: none !important;
}

.hero-info-card:hover {
    border-color: #475569 !important;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.6) !important;
}

/* Badge Styling */
.hero-info-card__badge {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
    box-shadow: none !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
}

/* Status Indicator */
.hero-info-card__status {
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
}

.status-dot {
    background-color: #10b981 !important;
    box-shadow: none !important;
}

/* Typography */
.hero-info-card__title {
    color: #f8fafc !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
}

.hero-info-card__desc {
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
}

/* Feature Chips */
.hero-info-card__features .chip {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border: 1px solid #334155 !important;
    box-shadow: none !important;
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

    .hero-info-card__features .chip i {
        color: #38bdf8 !important;
    }


/****/

/* ==========================================================================
   EXTRA DARK-ACCENT BORDERS (NO REGRESSIONS)
   ========================================================================== */

/* 1. Main Hero Mock-Up Frame */
.hero-browser-frame {
    background: #070a12 !important;
    border: 2px solid #3a9bdc !important;
    outline: 1px solid #3a9bdc !important;
    outline-offset: -1px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.85) !important;
}

    .hero-browser-frame .browser-top {
        background: #0c111d !important;
        border-bottom: 1px solid #1b2436 !important;
    }

/* 2. Hero Preview Tabs Switcher */
.hero-preview-tabs {
    background: #070a12 !important;
    border: 1px solid #1b2436 !important;
    border-radius: 100px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6) !important;
}

.hero-tab {
    color: #64748b !important;
    border: 1px solid transparent !important;
}

    .hero-tab.is-active {
        background: #0284c7 !important;
        color: #ffffff !important;
        border: 1px solid #0369a1 !important;
    }

/* 3. Hero Info Card HUD */
.hero-info-card.glass-panel {
    background: #070a12 !important;
    border: 2px solid #090d16 !important;
    outline: 1px solid #1b2436 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8) !important;
}

.hero-info-card__badge {
    background: #0c111d !important;
    color: #38bdf8 !important;
    border: 1px solid #1b2436 !important;
}

.hero-info-card__features .chip {
    background: #0c111d !important;
    color: #cbd5e1 !important;
    border: 1px solid #1b2436 !important;
}

/* 4. Floating Demo Control Widget */
.demo_control {
    background: #070a12 !important;
    border: 2px solid #090d16 !important;
    outline: 1px solid #1b2436 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9) !important;
}

.capps-widget__trust {
    border-top: 1px solid #1b2436 !important;
    border-bottom: 1px solid #1b2436 !important;
}

.capps-widget__card {
    background: #0c111d !important;
    border: 1px solid #1b2436 !important;
}

.capps-widget__credential-item {
    background: #04060a !important;
    border: 1px solid #1b2436 !important;
}

.capps-widget__btn--sim {
    background: #0c111d !important;
    color: #38bdf8 !important;
    border: 1px solid #1b2436 !important;
}

    .capps-widget__btn--sim:hover {
        background: #1b2436 !important;
        color: #ffffff !important;
        border-color: #0284c7 !important;
    }


/***/

/* ==========================================================================
   EXTRA DARK-ACCENT SIDEBAR NAVIGATION (NO REGRESSIONS)
   ========================================================================== */

/* Fixed Floating Sidebar Container (Left Positioned) */
.capps-sidebar {
    position: fixed !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
    padding: 10px 8px !important;
    border-radius: 20px !important;
    /* Deep Cyber-Dark Base */
    background: #070a12 !important;
    /* Double Dark-Accent Borders */
    border: 2px solid #090d16 !important;
    outline: 1px solid #1b2436 !important;
    outline-offset: -1px !important;
    /* Solid Shadow Elevation */
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.9) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

    .capps-sidebar:hover {
        border-color: #0d1527 !important;
        outline-color: #26334d !important;
        box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.95) !important;
    }

/* Sidebar Navigation List */
.capps-sidebar-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.capps-sidebar-item {
    margin: 0 !important;
    padding: 0 !important;
}

/* Individual Links Reset & Base Style */
.capps-sidebar-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 14px !important;
    border-radius: 12px !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

    /* Hover State */
    .capps-sidebar-link:hover {
        color: #f1f5f9 !important;
        background: #0c111d !important;
        border-color: #1b2436 !important;
        transform: translateX(3px) !important;
    }

    /* Active Section Indicator */
    .capps-sidebar-link.active {
        color: #ffffff !important;
        font-weight: 700 !important;
        background: #0c111d !important;
        border: 1px solid #1b2436 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) inset !important;
    }

        /* Active Neon Left Dot Accent */
        .capps-sidebar-link.active::before {
            content: '' !important;
            display: inline-block !important;
            width: 6px !important;
            height: 6px !important;
            border-radius: 50% !important;
            background-color: #38bdf8 !important;
            margin-right: 8px !important;
            box-shadow: 0 0 6px rgba(56, 189, 248, 0.8) !important;
        }

/* Hide or Adjust for Smaller Screens */
@media (max-width: 1024px) {
    .capps-sidebar {
        display: none !important;
    }
}


/*****/

/* ==========================================================================
   HERO 3-PDF SHOWCASE GRID (DARK-ACCENTED)
   ========================================================================== */

.hero-pdf-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding: 24px !important;
    background: #070a12 !important;
    min-height: 380px !important;
    align-items: center !important;
}

    .hero-pdf-grid.d-none {
        display: none !important;
    }

/* Individual PDF Card */
.pdf-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #0c111d !important;
    border: 1px solid #1b2436 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    height: 100% !important;
    transition: all 0.25s ease !important;
}

    .pdf-card:hover {
        transform: translateY(-4px) !important;
        border-color: #0284c7 !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7) !important;
    }

.pdf-card__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
}

    .pdf-card__header .pdf-icon {
        font-size: 1.8rem !important;
        color: #ef4444 !important; /* PDF Red Accent */
    }

    .pdf-card__header .pdf-tag {
        font-size: 0.65rem !important;
        font-weight: 700 !important;
        color: #38bdf8 !important;
        background: #070a12 !important;
        padding: 3px 8px !important;
        border-radius: 6px !important;
        border: 1px solid #1b2436 !important;
    }

.pdf-card__body h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    margin: 0 0 6px 0 !important;
}

.pdf-card__body p {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
    margin: 0 0 16px 0 !important;
}

.pdf-card__footer .pdf-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #0284c7 !important;
    border: 1px solid #0369a1 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

    .pdf-card__footer .pdf-btn:hover {
        background: #38bdf8 !important;
        color: #070a12 !important;
    }

/* Responsive adjustments for mobile/tablet */
@media (max-width: 991px) {
    .hero-pdf-grid {
        grid-template-columns: 1fr !important;
    }
}


/****/

/* ============================================================
   FIX: PDF Viewer Display & Layout Container
   ============================================================ */

/* 1. Ensure the parent media frame forces real height for the iframe */
.media-frame.media-frame--hero {
    position: relative !important;
    min-height: 520px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* 2. Fix the PDF container display when d-none is removed */
.pdf-viewer-container {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    flex: 1 1 auto !important;
    background: #0f172a !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 5 !important; /* Raises PDF iframe above decorative glass overlays */
}

    /* 3. Handle Bootstrap d-none utility correctly */
    .pdf-viewer-container.d-none {
        display: none !important;
    }

    .pdf-viewer-container:not(.d-none) {
        display: block !important;
    }

/* 4. Ensure iframe fills container and renders active layer */
.pdf-viewer-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    border: none !important;
    display: block !important;
    background: #ffffff !important;
}

/* 5. Prevent glass screen reflections from blocking iframe interactions */
.media-frame--hero .screen-reflection {
    pointer-events: none !important;
    z-index: 1 !important;
}



/*******/





/****/


/* ============================================================
   CAPPS SAAS MODERN ELEGANT SHOWCASE (BALANCED LIGHT THEME)
   ============================================================ */

/* --- Container & Global Spacing --- */
.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

/* --- Showcase Item Card (Soft Light Surface) --- */
.showcase-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

    /* Alternate Direction for Reverse Items */
    .showcase-item.reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }

        .showcase-item.reverse .browser-frame {
            grid-column: 2;
        }

        .showcase-item.reverse .showcase-text {
            grid-column: 1;
            grid-row: 1;
        }

    .showcase-item:hover {
        transform: translateY(-4px);
        border-color: #cbd5e1;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    }

/* --- Clean Browser Mockup Frame --- */
.browser-frame {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-item:hover .browser-frame {
    transform: scale(1.015);
}

/* Browser Top Navigation Bar & Dots */
.browser-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

    .browser-top span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        display: inline-block;
    }

        .browser-top span:nth-child(1) {
            background-color: #cbd5e1;
        }

        .browser-top span:nth-child(2) {
            background-color: #cbd5e1;
        }

        .browser-top span:nth-child(3) {
            background-color: #cbd5e1;
        }

/* Media Container & Image Zoom */
.media-frame--showcase {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8fafc;
}

    .media-frame--showcase img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
        transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
    }

.showcase-item:hover .media-frame--showcase img {
    transform: scale(1.02);
}

/* --- Natural Typography & Content --- */
.showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

    /* Slate Solid Title */
    .showcase-text h3 {
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -0.015em;
        color: #1e293b;
        margin: 0;
    }

    /* Muted Slate Body Text */
    .showcase-text p {
        font-size: 0.975rem;
        line-height: 1.65;
        color: #64748b;
        margin: 0;
        font-weight: 400;
    }

    /* Subtle Soft Badge Identifier */
    .showcase-text::before {
        content: "MODULE CAPPS";
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #0284c7;
        background: #f0f9ff;
        border: 1px solid #bae6fd;
        padding: 4px 10px;
        border-radius: 6px;
    }

/* --- Responsive Layout (Tablets & Mobile) --- */
@media (max-width: 992px) {
    .showcase-list {
        gap: 40px;
        padding: 20px 16px;
    }

    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
        border-radius: 16px;
    }

        .showcase-item.reverse .browser-frame,
        .showcase-item.reverse .showcase-text {
            grid-column: auto;
            grid-row: auto;
        }

    .showcase-text h3 {
        font-size: 1.4rem;
    }

    .showcase-text p {
        font-size: 0.925rem;
    }
}

/* Accessibility: Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
    .showcase-item,
    .browser-frame,
    .media-frame--showcase img {
        transition: none !important;
        transform: none !important;
    }
}

/**11*/

/* Custom "Extra" Styled Scrollbar for the PDF Container */
.pdf-viewer-container::-webkit-scrollbar,
.pdf-viewer-frame::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

.pdf-viewer-container::-webkit-scrollbar-track,
.pdf-viewer-frame::-webkit-scrollbar-track {
    background: #0f172a !important; /* Dark slate background */
    border-radius: 8px !important;
}

.pdf-viewer-container::-webkit-scrollbar-thumb,
.pdf-viewer-frame::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #38bdf8 0%, #6366f1 100%) !important; /* Neon gradient */
    border-radius: 8px !important;
    border: 2px solid #0f172a !important; /* Inset gap effect */
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important; /* Subtle glow */
}

    .pdf-viewer-container::-webkit-scrollbar-thumb:hover,
    .pdf-viewer-frame::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #818cf8 0%, #a855f7 100%) !important; /* Hover highlight */
    }

/* Firefox Support */
.pdf-viewer-container,
.pdf-viewer-frame {
    scrollbar-width: thin !important;
    scrollbar-color: #38bdf8 #0f172a !important;
}