/* ==========================================================================
   GLOBAL BRAND CORE RULES & HARDWARE RE-FOCUSED RESET PARAMS (PART 1)
   ========================================================================== */
@import url('https://googleapis.com');

:root {
    --bg-global: #030712;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-card: rgba(255, 255, 255, 0.05);
    --header-blur-bg: rgba(10, 11, 18, 0.75);
    --accent-cyan: #00f2fe;
    --accent-magenta: #ff007f;
}

[data-theme="light"] {
    --bg-global: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-card: rgba(0, 0, 0, 0.03);
    --border-card: rgba(0, 0, 0, 0.08);
    --header-blur-bg: rgba(243, 244, 246, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-global) !important;
    color: var(--text-main) !important;
    transition: background-color 0.4s ease, color 0.4s ease !important;
    overflow-x: hidden;
}

/* 2. FLOATING PREMIUM CAPSULE CAPSULE HEADER INTERFACE */
header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    
    /* THE THINNER FIX: Dropped padding from 0.5rem to 0.4rem top/bottom for a sleek profile */
    padding: 0.4rem 1.2rem 0.4rem 2rem !important; 
    
    /* MODERN TECHWE THEME COLOR: Deep charcoal glass with an electric glow outline */
    background: rgba(10, 11, 18, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 140, 255, 0.2) !important; /* Premium neon indigo tint edge */
    border-radius: 50px !important; /* Continuous smooth capsule curvature */
    
    /* FLOATING COMPRESSION */
    position: fixed !important;
    width: 92% !important;
    max-width: 1000px !important;
    top: 20px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important; 
    z-index: 1000 !important; 
    
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 140, 255, 0.05) !important;
    box-sizing: border-box !important;
}

.site-logo {
    /* THE ABSOLUTE OVERRIDE: Scales up asset artwork coordinates directly */
    height: 55px !important; 
    width: auto !important; 
    object-fit: contain !important;
    display: block !important;
    
    /* THE VISIBILITY ENGAGEMENT FIX: Multiplies size profiles cleanly on screen */
  
    
    /* Layout structural alignment shifts */
    margin-left: 15px !important; /* Comfortable margin padding buffer to keep the enlarged logo off the capsule curve edge */
    filter: brightness(1.3) contrast(1.1) !important; /* Gives text graphics an extra light boost */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.site-logo:hover {
    transform: scale(1.05) !important;
}
@media (max-width: 980px) {

    .site-logo {
        height: 45px !important;
        margin-left: 0 !important;
    }

}

nav ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 2.2rem !important; /* Clean corporate breathing space */
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul li {
    white-space: nowrap !important;
}

nav a {
    color: rgba(255, 255, 255, 0.8) !important; 
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    padding: 4px 0 !important;
    letter-spacing: 0.3px !important;
}

/* PREMIUM UPGRADE: Smooth sliding dual-color gradient line under options */
nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #008cff, #e100ff) !important; 
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

nav a:hover::after, nav a.active::after {
    width: 100% !important;
}

nav a:hover, nav a.active {
    color: #008cff !important; /* Vibrant neon blue focus state */
}

/* RE-ENGINEERED: Premium linear gradient Register button */
.btn-nav {
    background: linear-gradient(135deg, #008cff, #e100ff) !important; 
    color: #ffffff !important; /* Clean crisp white text */
    padding: 0.5rem 1.5rem !important; /* Compressed button padding to respect thinner header */
    border-radius: 30px !important; 
    font-weight: 600 !important; 
    font-size: 13.5px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-nav::after {
    display: none !important; /* Disables underline animation on button */
}

.btn-nav:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(225, 0, 255, 0.5) !important;
    color: #ffffff !important;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

@media (max-width: 980px) {

        header{
        width:auto !important;
        max-width:none !important;

        top:20px !important;
        right:20px !important;
        left:auto !important;

        transform:none !important;

        padding:0 !important;

        background:transparent !important;
        border:none !important;
        box-shadow:none !important;
        backdrop-filter:none !important;
    }

    .site-logo {
        display: none !important;
    }

    .mobile-menu-btn{
        display:flex !important;
        align-items:center;
        justify-content:center;

        width:58px;
        height:58px;

        border-radius:50%;

        background:rgba(10,11,18,.9);

        border:1px solid rgba(0,140,255,.3);

        color:white;

         font-size:32px;
    font-weight:300;
    line-height:1;

        box-shadow:
            0 10px 30px rgba(0,0,0,.4);

        cursor:pointer;
    }

 nav{
        display:none;
    }

    nav.active{
        display:flex !important;

        position:fixed;

        inset:0;

        background:#030712;

        z-index:9999;

        justify-content:center;
        align-items:center;
    }

    nav.active ul{
        display:flex !important;
        flex-direction:column !important;

        gap:2rem !important;

        text-align:center;
    }

    nav.active a{
        font-size:1.4rem !important;
    }

}


@media(max-width:980px){

    nav.active .close-menu-btn{
        display:block;
        position:absolute;
        top:25px;
        right:25px;
        background:none;
        border:none;
        color:white;
        font-size:40px;
        z-index:10000;
    }
}
.close-menu-btn{
    display:none !important;
}

@media(max-width:980px){

    nav.active .close-menu-btn{
        display:flex !important;

        position:absolute;
        top:25px;
        right:25px;

        background:none;
        border:none;
        color:white;

        font-size:40px;
        z-index:10000;
    }

}


:root {
    --bg-global: #030712;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-card: rgba(255, 255, 255, 0.05);
    --header-blur-bg: rgba(10, 11, 18, 0.75);
    
    /* Pre-existing brand accent links */
    --accent-cyan: #00f2fe;
    --accent-magenta: #ff007f;
}

/* 2. Light Theme Overrides (Activated smoothly via JavaScript injection root mapping) */
[data-theme="light"] {
    --bg-global: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-card: rgba(0, 0, 0, 0.03);
    --border-card: rgba(0, 0, 0, 0.08);
    --header-blur-bg: rgba(243, 244, 246, 0.85);
}

/* 3. Global Structural Mapping Binding (Ensures your page respects theme switches) */
body {
    background-color: var(--bg-global) !important;
    color: var(--text-main) !important;
    transition: background-color 0.4s ease, color 0.4s ease !important;
}

/* Adds high-end hardware visibility protection layers to video loops on light mode */
[data-theme="light"] .back-video,
[data-theme="light"] .contact-bg-media img {
    filter: brightness(0.95) contrast(0.9) grayscale(0.2) opacity(0.15) !important; /* Softens back-media into a clean light canvas print texture */
}

/* ==========================================================================
   THE CRITICAL FIX: EXPLICIT LIGHT MODE TEXT OVERRIDES
   ========================================================================== */

/* Flips ALL webpage headings, titles, and section names to high-contrast dark gray */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] .section-title,
[data-theme="light"] .query-text,
[data-theme="light"] .card h3 {
    color: var(--text-main) !important;
    text-shadow: none !important;
}

/* Smoothly shifts paragraph copy inside features, descriptions, and blocks to readable slate */
[data-theme="light"] p,
[data-theme="light"] .card p,
[data-theme="light"] .contact-subtitle {
    color: var(--text-muted) !important;
}

/* Inverts your four A, B, C, D glass cards into clean dark-bordered tiles */
[data-theme="light"] .card,
[data-theme="light"] .grid-container.small-blocks-mode .card,
[data-theme="light"] .lens-comms-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

/* Gives the background numbering elements a clean, readable light gray print shade */
[data-theme="light"] .card-num {
    color: rgba(0, 0, 0, 0.04) !important;
}

/* Inverts your Google Map map element from dark mode back to normal light mode colors */
[data-theme="light"] .map-inner-card,
[data-theme="light"] .map-inner-card iframe {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    filter: none !important; /* Strips out the dark mode color inversion layer entirely */
}

/* ==========================================================================
   HIGH-TECH SLIDER CONTROL UI ARCHITECTURE
   ========================================================================== */
.theme-switch-wrapper {
    display: inline-flex !important;
    align-items: center !important;
}

.theme-switch-container {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

/* Fully hides the primitive base checkbox input field graphic */
.theme-switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The structural pill-shaped track path */
.slider-track-pill {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 34px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

/* The small round physical moving switch knob */
.slider-knob-ball {
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, #008cff, #e100ff);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Glyph Graphic Indicators Sizing adjustments */
.slider-track-pill svg {
    width: 12px;
    height: 12px;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.icon-sun { color: #ffaa00; opacity: 0.3; }
.icon-moon { color: #a855f7; opacity: 1; }

/* --- INTERACTIVE STATE TRANSITIONS --- */

/* Switches knob alignment when user checks the element */
.theme-switch-container input:checked + .slider-track-pill .slider-knob-ball {
    transform: translateX(26px); /* Moves knob smoothly to the right edge */
    background: linear-gradient(135deg, #ffaa00, #ff5500); /* Warm solar configuration color map shift */
}

.theme-switch-container input:checked + .slider-track-pill {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Inverts opacity variables inside the glyph vector clusters based on checked status values */
.theme-switch-container input:checked + .slider-track-pill .icon-sun { opacity: 1; }
.theme-switch-container input:checked + .slider-track-pill .icon-moon { opacity: 0.3; }

/* Updates capsule header styles globally during active light theme operations */
[data-theme="light"] header {
    background: var(--header-blur-bg) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] nav a {
    color: #374151 !important; /* Dark charcoal text readability upgrade */
}
[data-theme="light"] nav a:hover, [data-theme="light"] nav a.active {
    color: #008cff !important;
}
/* RE-ENGINEERED: Premium linear gradient Register button */
.btn-nav {
    background: linear-gradient(135deg, #008cff, #e100ff) !important; 
    color: #ffffff !important; /* Clean crisp white text */
    padding: 0.5rem 1.5rem !important; /* Compressed button padding to respect thinner header */
    border-radius: 30px !important; 
    font-weight: 600 !important; 
    font-size: 13.5px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-nav::after {
    display: none !important; /* Disables underline animation on button */
}

.btn-nav:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(225, 0, 255, 0.5) !important;
    color: #ffffff !important;
}
/* ==========================================================================
   HIGH-TECH SLIDER CONTROL UI ARCHITECTURE
   ========================================================================== */
.theme-switch-wrapper { display: inline-flex !important; align-items: center !important; }
.theme-switch-container { position: relative; display: inline-block; width: 56px; height: 28px; cursor: pointer; }
.theme-switch-container input { opacity: 0; width: 0; height: 0; }

.slider-track-pill {
    position: absolute; inset: 0; background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 34px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex;
    align-items: center; justify-content: space-between; padding: 0 6px;
}

.slider-knob-ball {
    position: absolute; height: 20px; width: 20px; left: 4px; bottom: 3px;
    background: linear-gradient(135deg, #008cff, #e100ff); border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); z-index: 2;
}

.slider-track-pill svg { width: 12px; height: 12px; z-index: 1; pointer-events: none; transition: opacity 0.2s ease; }
.icon-sun { color: #ffaa00; opacity: 0.3; }
.icon-moon { color: #a855f7; opacity: 1; }

.theme-switch-container input:checked + .slider-track-pill .slider-knob-ball { transform: translateX(26px); background: linear-gradient(135deg, #ffaa00, #ff5500); }
.theme-switch-container input:checked + .slider-track-pill { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.15); }
.theme-switch-container input:checked + .slider-track-pill .icon-sun { opacity: 1; }
.theme-switch-container input:checked + .slider-track-pill .icon-moon { opacity: 0.3; }

[data-theme="light"] header { background: var(--header-blur-bg) !important; border-color: rgba(0, 0, 0, 0.08) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important; }
[data-theme="light"] nav a { color: #374151 !important; }
[data-theme="light"] nav a:hover, [data-theme="light"] nav a.active { color: #008cff !important; }
[data-theme="light"] .back-video { filter: brightness(0.95) contrast(0.9) grayscale(0.2) opacity(0.15) !important; }

/* ==========================================================================
   3D HARDWARE-ACCELERATED PLEXUS GLOBE GAP MATRIX ENGINE (PART 2)
   ========================================================================== */
.plexus-hero-section {
    width: 100% !important;
    min-height: 55vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 180px 4% 60px 4% !important;
    position: relative !important;
    z-index: 5 !important;
}

.plexus-inline-sentence {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px 30px !important;
    max-width: 1350px;
    width: 100%;
    text-align: center;
}

.plexus-txt {
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: color 0.4s ease;
}

.plexus-globe-gap-viewport {
    position: relative !important;
    width: 320px;
    height: 100px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#plexusGlobeCanvas {
    position: absolute !important;
    width: 480px !important;
    height: 480px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

[data-theme="light"] .plexus-txt { color: #111827 !important; }

/* ==========================================================================
   SCROLL-PINNED HORIZONTAL COMPARTMENT SPREAD ENGINE
   ========================================================================== */
.pin-scroll-wrapper {
    position: relative !important;
    height: 300vh !important;
    width: 100% !important;
    background: transparent;
}

.scroll-showcase-section {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    padding: 90px 0 40px 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.scroll-wave-container { width: 90%; max-width: 1300px; margin: 0 auto 3rem auto; }
.scroll-wave-container svg { width: 100%; height: auto; display: block; }
.compartment-cards-track-window { width: 100%; overflow: visible !important; }

.compartment-cards-track {
    display: flex !important;
    flex-direction: row !important;
    width: max-content !important;
    align-items: flex-start !important;
    padding-left: 10vw !important;
    transform: translateX(0px);
    will-change: transform;
}


/* ==========================================================================
   EXPANDABLE COMPARTMENT CARDS GRAPHICS MODULES (PART 3)
   ========================================================================== */
.compartment-card {
    width: 320px !important;
    height: 440px !important;
    min-height: 440px !important;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    flex-shrink: 0 !important;
    margin-right: 50px !important;
    transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                width 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                margin-right 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.3s ease, box-shadow 0.3s ease !important;
}

.compartment-card.is-expanded-state {
    height: 560px !important;
    width: 350px !important;
    margin-right: 70px !important;
    box-shadow: 0 30px 70px rgba(0, 242, 254, 0.15), 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 242, 254, 0.3);
}

.card-content-box {
    position: absolute; inset: 0; padding: 2.2rem 1.75rem !important;
    display: flex; flex-direction: column; justify-content: flex-end; z-index: 2; box-sizing: border-box;
}

.comp-num { font-size: 2.5rem; font-weight: 800; opacity: 0.05; color: #ffffff; position: absolute; top: 1.25rem; right: 1.75rem; }
.compartment-card h3 { font-size: 1.35rem !important; font-weight: 700 !important; color: #ffffff; margin-bottom: 0.6rem !important; letter-spacing: -0.3px; line-height: 1.25; }
.compartment-card p { font-size: 0.88rem !important; color: rgba(255, 255, 255, 0.7); line-height: 1.45; margin: 0 0 1rem 0 !important; }

.card-2 h3, .card-4 h3 { color: #111827 !important; }
.card-2 p, .card-4 p { color: #374151 !important; }
.compartment-card:hover { transform: translateY(-12px) scale(1.02) !important; box-shadow: 0 30px 60px rgba(0,0,0,0.55); z-index: 5; }

/* ==========================================================================
   REAL TRANSFRACTIVE LIQUID GLASS LENS MECHANICS
   ========================================================================== */
.comp-extended-drawer, .comp-extended-drawer *, .lens-tracking-viewport, .lens-tracking-viewport * {
    background: transparent !important; background-color: transparent !important;
    border: none !important; border-color: transparent !important; box-shadow: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}

.comp-extended-drawer .liquid-glass-capsule {
    width: 110px !important; height: 54px !important; border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: url(#appleLiquidGlassRefraction) contrast(1.2) saturate(140%) !important;
    -webkit-backdrop-filter: url(#appleLiquidGlassRefraction) contrast(1.2) saturate(140%) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 15px rgba(0, 242, 254, 0.1) !important;
    opacity: 1 !important; position: absolute !important; z-index: 50 !important; cursor: none !important;
}

.comp-extended-drawer p { color: rgba(255, 255, 255, 0.6) !important; font-size: 0.88rem !important; line-height: 1.7 !important; text-transform: none !important; }

.comp-expand-btn {
    width: 100%; background: rgba(255, 255, 255, 0.04) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important; padding: 10px 16px !important; color: #ffffff !important; font-size: 13px;
    font-weight: 600; cursor: pointer !important; display: flex !important; align-items: center !important;
    justify-content: space-between !important; transition: all 0.3s ease !important; outline: none; position: relative; z-index: 5;
}
.comp-expand-btn .arrow-icon { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.is-expanded-state .comp-expand-btn .arrow-icon { transform: rotate(-180deg); }
.is-expanded-state .comp-expand-btn { background: rgba(0, 242, 254, 0.1) !important; border-color: var(--accent-cyan) !important; color: var(--accent-cyan) !important; }

/* ==========================================================================
   ISOLATED OPEN-SOURCE DASHBOARD SHOWCASE PANEL (PART 4)
   ========================================================================== */
#openSourceSection.open-source-promotion-section {
    width: 100% !important; padding: 100px 6% !important; position: relative !important; z-index: 5 !important; display: block !important;
}

#openSourceSection .os-main-heading { font-size: 2.8rem !important; font-weight: 800 !important; line-height: 1.3 !important; color: #ffffff !important; text-align: center !important; max-width: 900px !important; margin: 0 auto 3.5rem auto !important; letter-spacing: -1px !important; }
#openSourceSection .brush-highlight-container { position: relative !important; display: inline-block !important; z-index: 1 !important; padding: 2px 14px !important; }

#openSourceSection .brush-highlight-container::before {
    content: '' !important; position: absolute !important; top: 10% !important; bottom: 4% !important; left: -4px !important; width: 0% !important;
    background: #ffea00 !important; opacity: 0.94 !important; mix-blend-mode: multiply !important; border-radius: 3px 5px 4px 2px !important; z-index: -1 !important;
    filter: url(#realisticMarkerInkBleed) drop-shadow(0 2px 5px rgba(255, 234, 0, 0.2)) !important;
    transition: width 0.95s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

#openSourceSection .brush-text-node { color: #ffffff !important; font-weight: 800 !important; position: relative; z-index: 2; transition: color 0.3s ease !important; }
#openSourceSection.active-highlight-now .brush-text-node { color: #000000 !important; }
#openSourceSection.active-highlight-now .brush-highlight-container::before { width: 100% !important; }

#openSourceSection .open-source-dashboard-box {
    max-width: 1200px !important; width: 100% !important; margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.02) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important; border-radius: 28px !important;
    padding: 3.5rem !important; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
    display: grid !important; grid-template-columns: 1.1fr 0.9fr !important; gap: 4.5rem !important; align-items: center !important;
}

#openSourceSection .dashboard-metrics-block { display: flex !important; flex-direction: column !important; gap: 1.25rem !important; }
#openSourceSection .os-intro-subtitle { font-size: 1.05rem !important; line-height: 1.65 !important; color: #9ca3af !important; margin-bottom: 0.5rem !important; }

#openSourceSection .forrester-stat-row {
    background: rgba(3, 7, 18, 0.4) !important; border: 1px solid rgba(255, 255, 255, 0.03) !important; border-radius: 16px !important;
    padding: 1.2rem 1.5rem !important; display: flex !important; align-items: center !important; gap: 1.5rem !important;
    opacity: 0 !important; transform: translateX(-20px) !important;
}

#openSourceSection.active-highlight-now .forrester-stat-row { opacity: 1 !important; transform: translateX(0) !important; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease !important; }
#openSourceSection.active-highlight-now .forrester-stat-row:nth-child(2) { transition-delay: 0.15s !important; }
#openSourceSection.active-highlight-now .forrester-stat-row:nth-child(3) { transition-delay: 0.3s !important; }
#openSourceSection.active-highlight-now .forrester-stat-row:nth-child(4) { transition-delay: 0.45s !important; }

#openSourceSection .stat-glow-percentage { font-size: 2.5rem !important; font-weight: 900 !important; color: #00f2fe !important; text-shadow: 0 0 15px rgba(0, 242, 254, 0.3) !important; min-width: 80px !important; line-height: 1 !important; }
#openSourceSection .stat-label-copy { font-size: 0.9rem !important; line-height: 1.5 !important; color: #f3f4f6 !important; margin: 0 !important; }

#openSourceSection .dashboard-solutions-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 1.25rem !important; }
#openSourceSection .solution-grid-item {
    background: rgba(255, 255, 255, 0.01) !important; border: 1px solid rgba(255, 255, 255, 0.03) !important; border-radius: 14px !important;
    padding: 1.1rem 1.25rem !important; display: flex !important; align-items: center !important; gap: 12px !important;
    opacity: 0 !important; transform: scale(0.95) !important;
}

#openSourceSection.active-highlight-now .solution-grid-item { opacity: 1 !important; transform: scale(1) !important; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(1) { transition-delay: 0.2s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(2) { transition-delay: 0.25s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(3) { transition-delay: 0.3s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(4) { transition-delay: 0.35s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(5) { transition-delay: 0.4s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(6) { transition-delay: 0.45s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(7) { transition-delay: 0.5s !important; }
#openSourceSection.active-highlight-now .solution-grid-item:nth-child(8) { transition-delay: 0.55s !important; }

#openSourceSection .green-verification-tick { color: #10b981 !important; font-weight: 900 !important; font-size: 1.1rem !important; text-shadow: 0 0 8px rgba(16, 185, 129, 0.3) !important; }
#openSourceSection .solution-title-label { font-size: 0.88rem !important; font-weight: 600 !important; color: #e5e7eb !important; }
#openSourceSection .solution-grid-item:hover { background: rgba(255, 255, 255, 0.03) !important; border-color: rgba(0, 242, 254, 0.2) !important; transform: translateY(-3px) scale(1.02) !important; }

[data-theme="light"] #openSourceSection .os-main-heading { color: #111827 !important; }
[data-theme="light"] #openSourceSection .open-source-dashboard-box { background: #ffffff !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05) !important; }
[data-theme="light"] #openSourceSection .forrester-stat-row { background: #f9fafb !important; border-color: rgba(0, 0, 0, 0.04) !important; }
[data-theme="light"] #openSourceSection .stat-label-copy { color: #374151 !important; }
[data-theme="light"] #openSourceSection .os-intro-subtitle { color: #4b5563 !important; }
[data-theme="light"] #openSourceSection .solution-grid-item { background: #f9fafb !important; border-color: rgba(0, 0, 0, 0.04) !important; }
[data-theme="light"] #openSourceSection .solution-title-label { color: #111827 !important; }
/* ==========================================================================
   HIGH-TECH INTEGRATED KINETIC ROADMAP DESIGN SYSTEM (PART 5)
   ========================================================================== */
.roadmap-corridor-section { width: 100% !important; padding: 100px 6% !important; position: relative !important; z-index: 2 !important; }
.roadmap-header { text-align: center; margin-bottom: 5rem; }
.roadmap-header h2 { font-size: 2.8rem !important; font-weight: 800 !important; color: #ffffff; margin-bottom: 0.5rem !important; }
.roadmap-subtitle { color: var(--accent-cyan); font-size: 1rem !important; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; }

.roadmap-timeline-runway { position: relative !important; max-width: 1100px; margin: 0 auto; width: 100%; padding: 20px 0 !important; }
.roadmap-timeline-runway::before { content: '' !important; position: absolute !important; width: 4px; background: rgba(255, 255, 255, 0.05); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); }
.kinetic-data-stream { position: absolute !important; width: 4px; background: linear-gradient(to bottom, #008cff, #00f2fe, #e100ff); top: 0; left: 50%; transform: translateX(-50%); border-radius: 10px; z-index: 2; height: 0%; box-shadow: 0 0 15px rgba(0, 242, 254, 0.6); will-change: height; }

.timeline-corridor-node { position: relative !important; width: 50%; margin-bottom: 3.5rem; display: flex; z-index: 5; opacity: 0; transform: translateY(30px) scale(0.95); transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease; }
.node-left { left: 0; justify-content: flex-end; padding-right: 45px !important; }
.node-right { left: 50%; justify-content: flex-start; padding-left: 45px !important; }

.node-marker-hub { position: absolute !important; top: 15px; z-index: 10; }
.node-left .node-marker-hub { right: -28px; } .node-right .node-marker-hub { left: -28px; }
.node-year-badge { display: inline-flex !important; align-items: center; justify-content: center; width: 56px; height: 28px; border-radius: 30px; font-size: 13px; font-weight: 800; color: #ffffff !important; border: 1px solid rgba(255,255,255,0.15); }

.yr-2018 { background: #e65100; } .yr-pink { background: #e91e63; } .yr-purple { background: #673ab7; } .yr-blue { background: #03a9f4; }
.yr-cyan { background: #009688; } .yr-green { background: #4caf50; } .yr-yellow { background: #ffaa00; } .yr-darkblue { background: #0d47a1; }

.node-glass-content-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12); border-radius: 16px; padding: 1.75rem !important; width: 280px !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
/* ==========================================================================
   FUTURISTIC AI PLATFORM - MESSAGE BUBBLES GRAPHICS (PART 2)
   ========================================================================== */
.bot-row-entry .avatar-shield {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
}

.user-row-entry .avatar-shield {
    background: rgba(225, 0, 255, 0.08);
    border: 1px solid rgba(225, 0, 255, 0.2);
    color: var(--accent-magenta);
}

/* CYBER MESH BUBBLING PROFILE HOUSING */
.cyber-bubble-mesh {
    max-width: 65%; /* Restricts extreme horizontal stretching to keep layouts crisp */
    padding: 1.5rem !important;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.bot-row-entry .cyber-bubble-mesh {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top-left-radius: 4px; /* Angular sharp terminal notch point */
}

.user-row-entry .cyber-bubble-mesh {
    background: rgba(225, 0, 255, 0.03);
    border: 1px solid rgba(225, 0, 255, 0.08);
    border-top-right-radius: 4px;
}

/* TYPOGRAPHY OVERLAY SYSTEM LINKS */
.bubble-welcome-lead {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
}

.bubble-body-copy {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
}

/* BUNDLED TELEMETRY TERMINAL INTERFACE MESH */
.embedded-telemetry-block {
    background: rgba(0, 242, 254, 0.03) !important;
    border: 1px solid rgba(0, 242, 254, 0.08);
    border-radius: 12px;
    padding: 14px 18px !important;
    margin-bottom: 1.25rem;
}

.embedded-telemetry-block span {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.embedded-telemetry-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embedded-telemetry-block li {
    font-size: 12px;
    font-family: monospace;
    color: rgba(0, 242, 254, 0.75);
    line-height: 1.6;
}

/* AUTOMATED WARNING COMPONENT LAYER */
.embedded-warning-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 0, 127, 0.03) !important;
    border: 1px solid rgba(255, 0, 127, 0.08);
    border-radius: 12px;
    padding: 14px 18px !important;
    margin-top: 1.25rem;
}

.embedded-warning-banner svg {
    width: 16px;
    height: 16px;
    color: var(--accent-magenta);
    flex-shrink: 0;
    margin-top: 2px;
}

.embedded-warning-banner p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
}

.embedded-warning-banner span {
    color: var(--accent-magenta);
    font-weight: 600;
}
.embedded-warning-banner p{
    font-size:12px !important;
    line-height:1.5 !important;
    color:rgba(255,255,255,.7) !important;
    margin:0 !important;

    overflow-wrap:anywhere;
    word-break:break-word;
}

.embedded-warning-banner span{
    color:var(--accent-magenta);
    font-weight:600;

    overflow-wrap:anywhere;
    word-break:break-word;
}
@media (max-width: 480px){

    .embedded-warning-banner{
        padding:12px !important;
        gap:10px;
    }

    .embedded-warning-banner p{
        font-size:11px !important;
    }

    .embedded-warning-banner svg{
        width:14px;
        height:14px;
    }
}
/* ==========================================================================
   THE BOUNCING LOADING THROBBER & COMMAND TYPING DOCK (PART 3)
   ========================================================================== */

/* Hidden completely on runtime start until form signal transitions execute */
.loading-throbber-row {
    display: none !important;
}

.loading-throbber-row.is-thinking-now {
    display: flex !important;
}

.throbber-mesh {
    padding: 14px 22px !important;
    border-radius: 30px !important;
    border-top-left-radius: 4px !important;
}

.kinetic-dots-bounce {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 14px;
}

.bounce-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    will-change: transform, opacity;
    animation: quantumDotWave 1.4s infinite ease-in-out !important;
}

/* Stagger calculation delays to create a fluid wave path sequence */
.dot-2 { animation-delay: 0.2s !important; }
.dot-3 { animation-delay: 0.4s !important; }

/* ==========================================================================
   THE INPUT CHAT BOX OVERRIDE DECK (WHERE THE USER TYPES)
   ========================================================================== */
.console-entry-dock {
    padding: 1.5rem 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.5);
    position: relative;
    z-index: 10;
}

.command-input-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.entry-field-wrapper {
    position: relative;
    flex: 1;
}

/* THE TYPE INPUT CONSOLE FIELD SELECTOR */
.entry-field-wrapper input {
    width: 100%;
    background: #030712 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px;
    padding: 16px 20px !important; /* Spacious internal padding text fields */
    color: #ffffff !important;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.entry-field-wrapper input:focus {
    border-color: rgba(0, 242, 254, 0.4) !important;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.06);
}

/* Cyber laser accent horizontal glowing wire link path */
.field-cyber-glow-bar {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.entry-field-wrapper input:focus + .field-cyber-glow-bar {
    opacity: 0.7;
}

/* TRANSMIT BUTTON SELECTORS INTERFACE */
.console-send-btn {
    background: linear-gradient(135deg, #008cff, #e100ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 26px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.console-send-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.console-send-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(225, 0, 255, 0.45);
}

.console-send-btn:hover svg {
    transform: translate(2px, -2px); /* Vector drifts up and out on hover touch */
}
@media (max-height: 700px) {
    .tillie-workspace-wrapper{
        margin-top: 90px !important;
        padding-bottom: 20px !important;

    }

    .cyber-console-container{
        height: calc(100vh - 140px) !important;
    }
}

/* ==========================================================================
   ANIMATION LIFE-CYCLE KEYFRAMES TRACK
   ========================================================================== */
@keyframes linearUpFadeReveal {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes quantumDotWave {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { 
        transform: translateY(-6px); /* Glides loading dots up exactly 6 pixels */
        opacity: 1; 
        background-color: var(--accent-magenta); /* Morphs dot color dynamically mid-wave */
    }
}

@keyframes beaconPulseLoop {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0); }
}

/* Responsive screen layout limits overrides */
@media (max-width: 980px) {
    .cyber-console-container { height: 85vh; border-radius: 16px; }
    .futuristic-chat-canvas { padding: 1.5rem !important; gap: 1.5rem; }
    .cyber-bubble-mesh { max-width: 85%; padding: 1.2rem !important; }
    .console-sidebar-header { padding: 1rem !important; }
    .console-send-btn span { display: none; } /* Shrinks button to icon only on tight viewports */
}
/* ==========================================================================
   PRODUCTION-READY CYBERPUNK CHAT WORKSPACE CONSOLE
   ========================================================================== */
.tillie-workspace-wrapper {
    width: 100% !important;
    min-height: calc(100vh - 140px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    
    /* THE OVERLAP FIX: Pushes the entire layout block down so your top navigation bar never cuts into it */
    margin-top: 110px !important; 
    padding: 0 4% 40px 4% !important;
}

.portal-aurora-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
    top: 0;
    right: 5%;
    z-index: 1;
    pointer-events: none;
}

/* THE BOX CONTAINER CONSOLE FRAME */
.cyber-console-container {
    width: 100%;
    max-width: 1150px;
    height: 720px; /* Strong, fixed structural layout height */
    background: rgba(10, 11, 18, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.65);
    display: flex !important;
    flex-direction: column !important; /* Locks structural stacks securely */
    position: relative;
    z-index: 5;
    overflow: hidden !important;
}

.console-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 2rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.4);
}

.brand-logotype {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.brand-logotype span { color: var(--accent-cyan); }

.system-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
}

.pulse-beacon {
    width: 6px;
    height: 6px;
    background: #00ff80;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff80;
    animation: beaconPulseLoop 2s infinite ease-in-out;
}

.system-status-indicator p {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
}

/* ==========================================================================
   THE SPACIOUS RESPONSIVE CHAT SCROLLER PANEL
   ========================================================================== */
.futuristic-chat-canvas {
    flex: 1 !important; /* Forces row box area to open up and fill intermediate dimensions */
    padding: 2.5rem !important;
    overflow-y: auto !important; /* Enables scrolling within the window boundaries */
    display: flex !important;
    flex-direction: column !important;
    gap: 2.2rem !important; /* Wide gaps between transcripts */
    box-sizing: border-box;
}

.futuristic-chat-canvas::-webkit-scrollbar { width: 4px; }
.futuristic-chat-canvas::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 10px; }

.chat-message-row {
    display: flex !important;
    width: 100% !important;
    gap: 1.25rem;
    align-items: flex-start;
    animation: linearUpFadeReveal 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.bot-row-entry { justify-content: flex-start; }
.user-row-entry { justify-content: flex-end; flex-direction: row-reverse; }

.avatar-shield {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.bot-row-entry .avatar-shield { background: rgba(0, 242, 254, 0.08); border: 1px solid rgba(0, 242, 254, 0.2); color: var(--accent-cyan); }
.user-row-entry .avatar-shield { background: rgba(225, 0, 255, 0.08); border: 1px solid rgba(225, 0, 255, 0.2); color: var(--accent-magenta); }

.cyber-bubble-mesh {
    max-width: 70%;
    padding: 1.5rem !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    box-sizing: border-box;
}
.bot-row-entry .cyber-bubble-mesh { background: rgba(255, 255, 255, 0.015); border: 1px solid rgba(255, 255, 255, 0.04); border-top-left-radius: 4px; }
.user-row-entry .cyber-bubble-mesh { background: rgba(225, 0, 255, 0.03); border: 1px solid rgba(225, 0, 255, 0.08); border-top-right-radius: 4px; }

.bubble-welcome-lead { font-size: 1.1rem !important; font-weight: 700; color: #ffffff !important; margin: 0 0 1rem 0 !important; text-align: left; }
.bubble-body-copy { font-size: 0.95rem !important; line-height: 1.6 !important; color: rgba(255, 255, 255, 0.8) !important; margin: 0 !important; text-align: left; }

.embedded-telemetry-block { background: rgba(0, 242, 254, 0.03) !important; border: 1px solid rgba(0, 242, 254, 0.08); border-radius: 12px; padding: 14px 18px !important; margin-bottom: 1.25rem; text-align: left; }
.embedded-telemetry-block span { font-size: 10px; font-weight: 800; color: var(--accent-cyan); letter-spacing: 1px; display: block; margin-bottom: 6px; }
.embedded-telemetry-block ul { list-style: none; padding: 0; margin: 0; }
.embedded-telemetry-block li { font-size: 12px; font-family: monospace; color: rgba(0, 242, 254, 0.75); line-height: 1.6; }

.embedded-warning-banner { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 0, 127, 0.03) !important; border: 1px solid rgba(255, 0, 127, 0.08); border-radius: 12px; padding: 14px 18px !important; margin-top: 1.25rem; text-align: left; }
.embedded-warning-banner svg { width: 16px; height: 16px; color: var(--accent-magenta); flex-shrink: 0; margin-top: 2px; }
.embedded-warning-banner p { font-size: 12px !important; line-height: 1.5 !important; color: rgba(255, 255, 255, 0.7) !important; margin: 0 !important; }
.embedded-warning-banner span { color: var(--accent-magenta); font-weight: 600; }

/* ==========================================================================
   BOUNCING THROBBER LOADING DOTS INDICATOR
   ========================================================================== */
.loading-throbber-row { display: none !important; }
.loading-throbber-row.is-thinking-now { display: flex !important; }
.throbber-mesh { padding: 14px 22px !important; border-radius: 30px !important; border-top-left-radius: 4px !important; }
.kinetic-dots-bounce { display: flex; align-items: center; gap: 6px; height: 14px; }
.bounce-dot { width: 6px; height: 6px; background-color: var(--accent-cyan); border-radius: 50%; opacity: 0.3; will-change: transform, opacity; animation: quantumDotWave 1.4s infinite ease-in-out !important; }
.dot-2 { animation-delay: 0.2s !important; }
.dot-3 { animation-delay: 0.4s !important; }

/* ==========================================================================
   THE TYPING COMMAND BAR INPUT BOX DECK
   ========================================================================== */
.console-entry-dock {
    padding: 1.5rem 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.5);
}

.command-input-form { display: flex !important; gap: 1rem; align-items: center; width: 100%; }
.entry-field-wrapper { position: relative; flex: 1; }

.entry-field-wrapper input {
    width: 100%;
    background: #030712 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px;
    padding: 16px 20px !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.entry-field-wrapper input:focus { border-color: rgba(0, 242, 254, 0.4) !important; box-shadow: 0 0 25px rgba(0, 242, 254, 0.06); }

.field-cyber-glow-bar { position: absolute; bottom: 0; left: 10%; width: 80%; height: 1px; background: linear-gradient(to right, transparent, var(--accent-cyan), transparent); opacity: 0; transition: opacity 0.3s ease; }
.entry-field-wrapper input:focus + .field-cyber-glow-bar { opacity: 0.7; }

.console-send-btn {
    background: linear-gradient(135deg, #008cff, #e100ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 26px !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.console-send-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; transition: transform 0.3s ease; }
.console-send-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(225, 0, 255, 0.45); }
.console-send-btn:hover svg { transform: translate(2px, -2px); }

/* KEYFRAME ANIMATIONS RUNWAYS */
@keyframes linearUpFadeReveal { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes quantumDotWave { 0%, 100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(-6px); opacity: 1; background-color: var(--accent-magenta); } }
@keyframes beaconPulseLoop { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(0, 255, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0); } }

@media (max-width: 968px) {
    .tillie-workspace-wrapper { margin-top: 90px !important; padding: 0 2% 20px 2% !important; }
    .cyber-console-container { height: 80vh; }
    .futuristic-chat-canvas { padding: 1.5rem !important; gap: 1.5rem; }
    .cyber-bubble-mesh { max-width: 85%; }
}
/* ==========================================================================
   FUTURISTIC TERMINAL BLINKING CURSOR ELEMENT
   ========================================================================== */
.terminal-blink-cursor {
    display: inline-block !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    color: var(--accent-cyan) !important; /* Matches your glowing portal palette traces */
    margin-left: 2px !important;
    vertical-align: middle;
    animation: terminalCursorFlash 0.8s infinite steps(2) !important;
    transition: opacity 0.3s ease;
}

@keyframes terminalCursorFlash {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
/* ==========================================================================
   TILLIE AI CHAT - LIGHT THEME OVERRIDES
   ========================================================================== */
   
[data-theme="light"] .cyber-console-container {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(20px) !important;
}

[data-theme="light"] #chatWorkspace,
[data-theme="light"] .futuristic-chat-canvas {
    background: transparent !important;
    color: #1f2937 !important; /* Rich Charcoal dark text */
}

/* Fixes the welcome text and telemetry telemetry panels */
[data-theme="light"] #chatWorkspace,
[data-theme="light"] .system-telemetry-box,
[data-theme="light"] p {
    color: #374151 !important;
}

/* Light theme support for the bottom prompt typing layout */
[data-theme="light"] .glowing-chatinput-box, 
[data-theme="light"] div[class*="input"] {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] input[id*="Query"],
[data-theme="light"] input[id*="input"],
[data-theme="light"] .glowing-chatinput-box input {
    color: #111827 !important;
}

[data-theme="light"] input::placeholder {
    color: #9ca3af !important;
}

/* Custom styled user and bot text bubbles for Light Mode */
[data-theme="light"] .user-message,
[data-theme="light"] div[class*="user"] {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .bot-message,
[data-theme="light"] div[class*="bot"] {
    color: #111827 !important;
}

/* Ensure the title text "TillieAI" stays vibrant and readable */
[data-theme="light"] .console-sidebar-header,
[data-theme="light"] h1, 
[data-theme="light"] h2 {
    color: #111827 !important;
}
/* Fixes user messages from stretching all the way across the screen */
/* ==========================================================================
   USER BUBBLE POSITIONING & SCROLL MANAGEMENT
   ========================================================================== */

/* 1. Moves the user bubble slightly inward away from the right edge */
[data-theme="light"] #chatWorkspace div[class*="row"]:not(:has(.avatar-shield)),
[data-theme="light"] #chatWorkspace div[class*="entry"]:not(:has(.avatar-shield)),
[data-theme="light"] #chatWorkspace .user-message {
    display: flex !important;
    justify-content: flex-end !important; /* Positions back snugly to the right */
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 12px 0 !important;
}

/* Adjusts the bubble capsule so it stays safely away from the browser framework margins */
[data-theme="light"] #chatWorkspace div[class*="row"]:not(:has(.avatar-shield)) > div,
[data-theme="light"] #chatWorkspace div[class*="entry"]:not(:has(.avatar-shield)) > p,
[data-theme="light"] #chatWorkspace .message.user-message {
    background: rgba(0, 140, 255, 0.05) !important;
    border: 1px solid rgba(0, 140, 255, 0.12) !important;
    color: #1f2937 !important;
    padding: 12px 18px !important;
    border-radius: 16px 16px 4px 16px !important; /* Traditional message bubble path */
    width: fit-content !important;
    max-width: 65% !important;
    margin-right: 30px !important; /* Pushes the bubble inwards from the right window border! */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

/* 2. Global application lock to prevent the entire window/page from scrolling */
html, body {
    overflow: hidden !important; /* Disables total window bounce/scrolling entirely */
    height: 100% !important;
    margin: 0 !important;
}

/* Ensure your inner dynamic message feed wrapper keeps its separate scrollbar */
#chatWorkspace,
.futuristic-chat-canvas {
    overflow-y: auto !important; /* Allows messages to scroll naturally inside the box container */
    max-height: 70vh !important; /* Adjust if necessary to line up perfectly with your window canvas layout */
}

