/* ==========================================================================
   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;
}

* {
    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: hidden !important;
    height: 100vh !important;
}

/* 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 COMPUZEE 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;
}

/* 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;
}
/* 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;
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   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; }
/* ==========================================================================
   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)
   ========================================================================== */
.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;
}

.brand-logotype {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px !important;
}
.brand-logotype span {
    color: var(--accent-cyan) !important;
}

.system-status-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(0, 242, 254, 0.04) !important;
    border: 1px solid rgba(0, 242, 254, 0.12) !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
}

.pulse-beacon {
    width: 6px !important;
    height: 6px !important;
    background: #00ff80 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #00ff80 !important;
    animation: beaconPulseLoop 2s infinite ease-in-out !important;
    flex-shrink: 0 !important;
}

.system-status-indicator p {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--accent-cyan) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.chat-message-row {
    display: flex !important;
    width: 100% !important;
    gap: 1.25rem !important;
    align-items: flex-start !important;
    animation: linearUpFadeReveal 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.bot-row-entry {
    display: flex !important;
    justify-content: flex-start !important;
}

.user-row-entry {
    display: flex !important;
    justify-content: flex-end !important;
    flex-direction: row-reverse !important;
}

.avatar-shield {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.pulsing-avatar {
    animation: pulseAvatar 1.5s ease-in-out infinite !important;
}

@keyframes pulseAvatar {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.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: 0.9rem 1.75rem 1.15rem 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.6);
    flex-shrink: 0 !important;
}

.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, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper { 
        margin-top: 72px !important; 
        padding: 0 2% 8px 2% !important; 
        height: calc(100vh - 78px) !important;
    }
    .cyber-console-container { 
        height: 100% !important;
        max-height: calc(100vh - 86px) !important; 
    }
    .futuristic-chat-canvas { padding: 1.2rem !important; gap: 1.2rem; }
    .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; }
}

/* 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;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Compuzee Logo Polish */
.site-logo, .brand-logo img, .loader-logo, .hero-logo {
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* ==========================================================================
   GOOGLE AI & ADVANCED CONSOLE HEADER CONTROLS
   ========================================================================== */
.console-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.engine-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 5px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.engine-status-badge:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.engine-status-badge.offline-mode {
    background: rgba(255, 153, 51, 0.06);
    border-color: rgba(255, 153, 51, 0.25);
}

.engine-pulse-beacon {
    width: 7px;
    height: 7px;
    background: #00ff80;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff80;
    animation: beaconPulseLoop 2s infinite ease-in-out;
}

.engine-status-badge.offline-mode .engine-pulse-beacon {
    background: #ff9933;
    box-shadow: 0 0 10px #ff9933;
}

.engine-status-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #00f2fe;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.engine-status-badge.offline-mode .engine-status-label {
    color: #ff9933;
}

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

.console-control-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.console-control-btn:hover {
    background: rgba(0, 140, 255, 0.15);
    border-color: rgba(0, 140, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 140, 255, 0.2);
}

/* ==========================================================================
   QUICK ACTION QUERY CHIPS
   ========================================================================== */
.quick-chips-wrapper {
    width: 100%;
    margin-bottom: 9px;
    overflow: hidden;
    flex-shrink: 0 !important;
}

.quick-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.quick-chips-scroll::-webkit-scrollbar {
    display: none;
}

.quick-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.quick-chip:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

/* ==========================================================================
   GOOGLE AI CONFIGURATION MODAL
   ========================================================================== */
.cyber-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s ease forwards;
}

.cyber-modal-card {
    background: #090d16;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.1);
    overflow: hidden;
    animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

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

.modal-gemini-icon {
    font-size: 18px;
    color: #00f2fe;
    text-shadow: 0 0 10px #00f2fe;
}

.modal-title-wrap h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-body {
    padding: 24px;
}

.modal-lead {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.modal-lead strong {
    color: #00f2fe;
}

.api-key-input-box {
    margin-bottom: 16px;
}

.api-key-input-box label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.key-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.key-field-wrap input {
    width: 100%;
    background: #030712;
    border: 1px solid rgba(0, 140, 255, 0.3);
    border-radius: 10px;
    padding: 12px 42px 12px 14px;
    color: #ffffff;
    font-size: 13.5px;
    font-family: monospace;
    outline: none;
    transition: all 0.25s ease;
}

.key-field-wrap input:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.key-visibility-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.key-visibility-btn:hover {
    opacity: 1;
}

.api-status-banner {
    display: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 16px;
    font-weight: 500;
}

.api-status-banner.success {
    display: block;
    background: rgba(0, 255, 128, 0.08);
    border: 1px solid rgba(0, 255, 128, 0.3);
    color: #00ff80;
}

.api-status-banner.error {
    display: block;
    background: rgba(255, 0, 127, 0.08);
    border: 1px solid rgba(255, 0, 127, 0.3);
    color: #ff007f;
}

.modal-helper-text {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-helper-text p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.modal-helper-text a {
    color: #00f2fe;
    text-decoration: underline;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.btn-modal-clear {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-clear:hover {
    background: rgba(255, 0, 127, 0.15);
    border-color: rgba(255, 0, 127, 0.35);
    color: #ff007f;
}

.btn-modal-save {
    background: linear-gradient(135deg, #008cff, #e100ff);
    border: none;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.3);
    transition: all 0.25s ease;
}

.btn-modal-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(225, 0, 255, 0.45);
}

@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

/* Chat Markdown Formatting */
.bot-content code {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.9em;
    color: #00f2fe;
}

.bot-content pre {
    background: #050b18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    overflow-x: auto;
    margin: 10px 0;
}

.bot-content pre code {
    background: none;
    border: none;
    padding: 0;
}

/* ==========================================================================
   AYRA AI FULL-WINDOW DESKTOP & RESPONSIVE VIEWPORT CONSOLE
   ========================================================================== */
html, body {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: #030712 !important;
}

.ayra-portal-workspace {
    width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper {
    width: 100% !important;
    height: calc(100vh - 85px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin-top: 75px !important;
    padding: 0 4% 15px 4% !important;
}

.cyber-console-container {
    width: 100% !important;
    max-width: 1150px !important;
    height: 100% !important;
    max-height: calc(100vh - 95px) !important;
    background: rgba(10, 11, 18, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 24px !important;
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.65) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 5 !important;
    overflow: hidden !important;
}

.console-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(3, 7, 18, 0.4) !important;
    flex-shrink: 0 !important;
}

#chatWorkspace,
.futuristic-chat-canvas {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 1.5rem 2rem !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
}

.console-entry-dock {
    padding: 0.85rem 1.75rem 1.1rem 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(3, 7, 18, 0.65) !important;
    position: relative !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.quick-chips-wrapper {
    width: 100% !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.entry-field-wrapper input {
    width: 100% !important;
    background: #030712 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 13px 18px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.console-send-btn {
    background: linear-gradient(135deg, #008cff, #e100ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 13px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

@media (max-width: 968px) {
    .tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper { 
        margin-top: 70px !important; 
        padding: 0 2% 8px 2% !important; 
        height: calc(100vh - 76px) !important;
    }
    .cyber-console-container { 
        height: 100% !important;
        max-height: calc(100vh - 80px) !important;
        border-radius: 16px !important;
    }
    .console-sidebar-header {
        padding: 0.8rem 1.2rem !important;
    }
    .futuristic-chat-canvas { 
        padding: 1rem 1.2rem !important; 
        gap: 1.2rem !important; 
    }
    .cyber-bubble-mesh { max-width: 85% !important; }
    .console-entry-dock {
        padding: 0.75rem 1rem 0.9rem 1rem !important;
    }
}

@media (max-height: 700px) {
    .tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper {
        margin-top: 68px !important;
        padding-bottom: 6px !important;
        height: calc(100vh - 72px) !important;
    }
    .cyber-console-container {
        height: 100% !important;
        max-height: calc(100vh - 76px) !important;
    }
    .console-entry-dock {
        padding: 0.6rem 1rem 0.8rem 1rem !important;
    }
    .quick-chips-wrapper {
        margin-bottom: 5px !important;
    }
    .entry-field-wrapper input {
        padding: 10px 14px !important;
    }
    .console-send-btn {
        padding: 10px 18px !important;
    }
}


/* ==========================================================================
   PERFECTED AYRA AI ALIGNMENT & PREMIUM UI SYSTEM
   ========================================================================== */

/* 1. Viewport & Workspace Wrapper: Perfectly clears fixed navbar with clean 18-20px breathing room */
.tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper {
    width: 100% !important;
    height: calc(100vh - 104px) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin-top: 104px !important;
    padding: 0 4% 16px 4% !important;
}

/* 2. Main Cyber Console Housing Container */
.cyber-console-container {
    width: 100% !important;
    max-width: 1160px !important;
    height: calc(100vh - 120px) !important;
    max-height: calc(100vh - 120px) !important;
    background: rgba(10, 11, 18, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 140, 255, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 5 !important;
    overflow: hidden !important;
}

/* 3. Console Header Bar: Horizontal layout & status badge */
.console-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.85rem 1.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(3, 7, 18, 0.5) !important;
    flex-shrink: 0 !important;
}

.console-brand-group {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.brand-logotype {
    display: flex !important;
    align-items: center !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.4px !important;
    line-height: 1 !important;
}

.brand-logotype span {
    color: var(--accent-cyan, #00f2fe) !important;
    margin-left: 2px !important;
}

.system-status-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(0, 242, 254, 0.05) !important;
    border: 1px solid rgba(0, 242, 254, 0.2) !important;
    padding: 5px 12px !important;
    border-radius: 30px !important;
    line-height: 1 !important;
}

.pulse-beacon {
    width: 7px !important;
    height: 7px !important;
    background: #00ff88 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #00ff88 !important;
    animation: beaconPulseLoop 2s infinite ease-in-out !important;
    flex-shrink: 0 !important;
}

@keyframes beaconPulseLoop {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.system-status-indicator p {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--accent-cyan, #00f2fe) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.console-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.console-control-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.console-control-btn:hover {
    background: rgba(0, 140, 255, 0.15) !important;
    border-color: rgba(0, 140, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(0, 140, 255, 0.2) !important;
}

/* 4. Chat Workspace & Scrolling Messages */
#chatWorkspace,
.futuristic-chat-canvas {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 1.4rem 2rem !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.4rem !important;
    box-sizing: border-box !important;
}

.futuristic-chat-canvas::-webkit-scrollbar {
    width: 5px;
}
.futuristic-chat-canvas::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* 5. Message Rows & Circular Avatar Alignment */
.chat-message-row {
    display: flex !important;
    width: 100% !important;
    gap: 14px !important;
    align-items: flex-start !important;
    animation: linearUpFadeReveal 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

@keyframes linearUpFadeReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-row-entry {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.user-row-entry {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
}

.avatar-shield {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    margin-top: 3px !important;
    box-sizing: border-box !important;
}

.bot-row-entry .avatar-shield {
    background: rgba(0, 242, 254, 0.1) !important;
    border: 1.5px solid rgba(0, 242, 254, 0.35) !important;
    color: #00f2fe !important;
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.18) !important;
}

.user-row-entry .avatar-shield {
    display: none !important;
}

.pulsing-avatar {
    animation: pulseAvatar 1.5s ease-in-out infinite !important;
}

@keyframes pulseAvatar {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* 6. Speech Bubble Aesthetics & Typography */
.cyber-bubble-mesh {
    max-width: 76% !important;
    padding: 1.25rem 1.6rem !important;
    border-radius: 18px !important;
    position: relative !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

.bot-row-entry .cyber-bubble-mesh {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-top-left-radius: 4px !important;
    color: #f3f4f6 !important;
}

.user-row-entry .cyber-bubble-mesh {
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.15), rgba(225, 0, 255, 0.15)) !important;
    border: 1px solid rgba(225, 0, 255, 0.25) !important;
    border-top-right-radius: 4px !important;
    color: #ffffff !important;
}

.user-bubble p {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.bot-content {
    color: #e5e7eb !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

.bot-content strong {
    color: #ffffff !important;
}

.bubble-welcome-lead {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 0.85rem 0 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.4 !important;
}

/* 7. Embedded Telemetry Box */
.embedded-telemetry-block {
    background: rgba(0, 242, 254, 0.035) !important;
    border: 1px solid rgba(0, 242, 254, 0.14) !important;
    border-radius: 12px !important;
    padding: 13px 18px !important;
    margin-top: 0.85rem !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

.embedded-telemetry-block span {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #00f2fe !important;
    letter-spacing: 0.8px !important;
    display: block !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}

.embedded-telemetry-block ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.embedded-telemetry-block li {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.55 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.embedded-telemetry-block li::before {
    content: '•' !important;
    color: #00f2fe !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* 8. Quick Action Query Chips */
.quick-chips-wrapper {
    width: 100% !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.quick-chips-scroll {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 2px 2px 6px 2px !important;
    scrollbar-width: none !important;
}

.quick-chips-scroll::-webkit-scrollbar {
    display: none !important;
}

.quick-chip {
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

.quick-chip:hover {
    background: rgba(0, 242, 254, 0.1) !important;
    border-color: rgba(0, 242, 254, 0.35) !important;
    color: #00f2fe !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15) !important;
}

/* 9. Bottom Typing Input Bar Deck */
.console-entry-dock {
    padding: 0.85rem 1.75rem 1.1rem 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(3, 7, 18, 0.65) !important;
    position: relative !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.command-input-form {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
}

.entry-field-wrapper {
    position: relative !important;
    flex: 1 !important;
}

.entry-field-wrapper input {
    width: 100% !important;
    background: #030712 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 13px 18px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.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) !important;
}

.console-send-btn {
    background: linear-gradient(135deg, #008cff, #e100ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 13px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 140, 255, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

.console-send-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(225, 0, 255, 0.4) !important;
}

/* 10. Responsive Breakpoint Alignments */
@media (max-width: 968px) {
    .tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper { 
        margin-top: 86px !important; 
        padding: 0 2% 10px 2% !important; 
        height: calc(100vh - 86px) !important;
    }
    .cyber-console-container { 
        height: calc(100vh - 98px) !important;
        max-height: calc(100vh - 98px) !important;
        border-radius: 16px !important;
    }
    .console-sidebar-header {
        padding: 0.75rem 1.2rem !important;
    }
    .futuristic-chat-canvas { 
        padding: 1rem 1.2rem !important; 
        gap: 1.2rem !important; 
    }
    .cyber-bubble-mesh { max-width: 85% !important; }
    .console-entry-dock {
        padding: 0.75rem 1rem 0.9rem 1rem !important;
    }
}

@media (max-height: 720px) {
    .tillie-workspace-wrapper, .ayra-workspace-wrapper, .AyraAI-workspace-wrapper {
        margin-top: 82px !important;
        padding-bottom: 8px !important;
        height: calc(100vh - 82px) !important;
    }
    .cyber-console-container {
        height: calc(100vh - 92px) !important;
        max-height: calc(100vh - 92px) !important;
    }
    .console-entry-dock {
        padding: 0.6rem 1rem 0.8rem 1rem !important;
    }
    .quick-chips-wrapper {
        margin-bottom: 6px !important;
    }
    .entry-field-wrapper input {
        padding: 10px 14px !important;
    }
    .console-send-btn {
        padding: 10px 18px !important;
    }
}


/* ==========================================================================
   ADVANCED AYRA AI INTERACTIVE FEATURES (COPY, SMART FOLLOW-UPS, MIC, HOTLINE)
   ========================================================================== */

/* Live Hotline Button in Header */
.live-hotline-btn {
    border-color: rgba(37, 211, 102, 0.3) !important;
    background: rgba(37, 211, 102, 0.06) !important;
    color: #e5e7eb !important;
}

.live-hotline-btn:hover {
    background: rgba(37, 211, 102, 0.15) !important;
    border-color: #25D366 !important;
    color: #25D366 !important;
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.25) !important;
}

/* Bubble Actions Toolbar & Copy Button */
.bubble-actions-toolbar {
    display: flex !important;
    justify-content: flex-end !important;
    margin-bottom: 6px !important;
}

.copy-bubble-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
}

.copy-bubble-btn:hover {
    background: rgba(0, 242, 254, 0.12) !important;
    border-color: rgba(0, 242, 254, 0.3) !important;
    color: #00f2fe !important;
}

.copy-bubble-btn.copied {
    background: rgba(0, 255, 136, 0.15) !important;
    border-color: rgba(0, 255, 136, 0.4) !important;
    color: #00ff88 !important;
}

/* Bot Links Styling */
.bot-chat-link {
    color: #00f2fe !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.bot-chat-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6) !important;
}

/* Bot List Items */
.bot-list-item {
    margin-left: 18px !important;
    line-height: 1.65 !important;
    color: #e5e7eb !important;
    list-style-type: disc !important;
}

/* Smart Follow-Up Suggestion Pills */
.smart-followups-container {
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.followups-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

.followups-pills-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.smart-followup-pill {
    background: rgba(0, 140, 255, 0.08) !important;
    border: 1px solid rgba(0, 140, 255, 0.2) !important;
    color: #93c5fd !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
}

.smart-followup-pill:hover {
    background: rgba(0, 140, 255, 0.2) !important;
    border-color: rgba(0, 242, 254, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 140, 255, 0.2) !important;
}

/* Voice Dictation Mic Button */
.mic-voice-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.25s ease !important;
    z-index: 5 !important;
}

.mic-voice-btn:hover {
    color: #00f2fe !important;
    background: rgba(0, 242, 254, 0.1) !important;
}

.mic-voice-btn.listening {
    color: #ff3366 !important;
    background: rgba(255, 51, 102, 0.18) !important;
    animation: micListeningPulse 1.2s infinite ease-in-out !important;
}

@keyframes micListeningPulse {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 rgba(255, 51, 102, 0.4); }
    50% { transform: translateY(-50%) scale(1.15); box-shadow: 0 0 14px rgba(255, 51, 102, 0.6); }
}

.entry-field-wrapper input {
    padding-right: 46px !important;
}

/* ==========================================================================
   ROBOT AVATAR SHIELD & IMAGE THEME (Ayra-Bot)
   ========================================================================== */
.avatar-shield {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.avatar-robot-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    pointer-events: none !important;
}

.bot-row-entry .avatar-shield {
    background: #030712 !important;
    border: 1.5px solid rgba(0, 242, 254, 0.45) !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.25) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
    cursor: pointer !important;
}

.bot-row-entry .avatar-shield:hover {
    transform: scale(1.12) !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.6) !important;
}

.user-row-entry .avatar-shield {
    display: none !important;
}

.pulsing-avatar {
    animation: pulseAvatar 1.5s ease-in-out infinite !important;
}

@keyframes pulseAvatar {
    0%, 100% { opacity: 0.7; transform: scale(0.96); box-shadow: 0 0 8px rgba(0, 242, 254, 0.35); }
    50% { opacity: 1; transform: scale(1.06); box-shadow: 0 0 20px rgba(0, 242, 254, 0.75); }
}
