
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #b3a7cb;
    --primary-grad: linear-gradient(135deg, #7a1264 0%, #1a0b36 100%);
    --accent-cyan: #00f2fe;
    --accent-magenta: #e0115f;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   2. FINAL COMPACT FLOATING CAPSULE NAVIGATION HEADER
   ========================================================================== */
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;
    }

}
.close-menu-btn{
    display:none;
}

@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;
    }

}

/* ==========================================================================
   3. CONTENT LAYOUT ADJUSTMENT BUFFER & HERO WORKSPACE
   ========================================================================== */
.hero {
    margin-top: 130px !important; /* Pushes content down safely below thinner capsule menu */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at 80% 20%, rgba(122, 18, 100, 0.25) 0%, transparent 50%);
}

.hero-content {
    max-width: 550px;
}

.tagline {
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-btn {
    text-decoration: none;
    background-color: black;
    color: #f6f6f6;
    border: none;
    padding: 14px 70px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    transition: 0.5s;
    margin-top: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 140, 255, 0.5);
    position: relative;
    margin-left: -5px;
}

.cta-btn::after {
    content: '';
    position: absolute;
    height: 102%;
    width: 103%;
    border-radius: 1000px;
    background-image: linear-gradient(to bottom right, #008cff, #e100ff);
    z-index: -1;
}

.cta-btn:hover {
    background-image: linear-gradient(to bottom right, #008cff, #e100ff);
    color: #000;
    box-shadow: 0 0 20px #d0c9d2;
}

.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;
}

: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;
}
/* ==========================================================================
   EXPLICIT TESTIMONIAL CARD LIGHT MODE CONTRAST FIX
   ========================================================================== */

/* 1. Turns the card layout container into a solid crisp white box */
[data-theme="light"] .review-card-content,
[data-theme="light"] .review-card-wrapper {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06) !important;
}

/* 2. Forces the white faded review description text to turn dark gray */
[data-theme="light"] .review-quote-text,
[data-theme="light"] .review-card-content p,
[data-theme="light"] blockquote {
    color: #374151 !important; /* Deep readable charcoal slate */
}

/* 3. Inverts the customer names (Elena Rostova) to bold dark black */
[data-theme="light"] .author-name,
[data-theme="light"] .review-card-content h3 {
    color: #111827 !important;
    font-weight: 700 !important;
}

/* 4. Softens the description role line labels */
[data-theme="light"] .author-role {
    color: #6b7280 !important;
}

/* 5. Keeps the background watermark quote symbol extremely faint */
[data-theme="light"] .quote-bg-glyph {
    color: rgba(0, 0, 0, 0.03) !important;
}

/* 6. Fixes the avatar bubble outlines to contrast against white backgrounds */
[data-theme="light"] .avatar-bubble {
    border-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .reviews-section *[class*="swiper"],
[data-theme="light"] .reviews-section *[class*="slick"],
[data-theme="light"] .reviews-section *[class*="owl"],
[data-theme="light"] .reviews-section button,
[data-theme="light"] .reviews-section i,
[data-theme="light"] .reviews-section span[class*="arrow"] {
    background-color: #111827 !important; /* Elegant dark charcoal background */
    color: #ffffff !important;            /* Crisp white arrow icon color */
    fill: #ffffff !important;             /* Direct SVG vector layer coloring override */
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;                /* Restores full visibility */
}
/* ==========================================================================
   TESTIMONIAL AUTO-CAROUSEL BUTTONS LIGHT MODE COLOR INVERSION
   ========================================================================== */

/* 1. Inverts the button track backplates to true solid black */
[data-theme="light"] .testimonials-card-block .slider-arrow-btn,
[data-theme="light"] .testimonial-slider-controls .slider-arrow-btn {
    background: #000000 !important; /* Pitch black background capsule */
    color: #ffffff !important;      /* Crisp white internal icon strokes */
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    opacity: 1 !important;          /* Keeps it completely solid and visible */
}

/* 2. Forces individual internal SVG icons to maintain high-contrast white visibility */
[data-theme="light"] .testimonials-card-block .slider-arrow-btn svg,
[data-theme="light"] .testimonial-slider-controls .slider-arrow-btn svg {
    stroke: #ffffff !important; /* Vivid white path line tracking */
    fill: none !important;
}

/* 3. Interactive state transition profile loop when hovered by user mouse cursor */
[data-theme="light"] .testimonials-card-block .slider-arrow-btn:hover,
[data-theme="light"] .testimonial-slider-controls .slider-arrow-btn:hover {
    background: linear-gradient(135deg, #008cff, #e100ff) !important; /* Swaps into your signature purple gradient */
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 25px rgba(0, 140, 255, 0.45) !important;
    transform: translateY(-2px) scale(1.05);
}

/* ==========================================================================
   SCROLL RUNWAY AND STICKY WINDOW INFRASTRUCTURE
   ========================================================================== */
.pin-scroll-wrapper {
    position: relative !important;
    height: 300vh !important; /* Creates the physical vertical scroll track runway length */
    width: 100% !important;
    background: transparent;
}

.scroll-showcase-section {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important; /* Freezes content viewport window steadily inside screen */
    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;
}

.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; /* Fixed parameter: allows downward growth without micro-stuttering */
    padding-left: 10vw !important;
    transform: translateX(0px);
    will-change: transform;
}

/* ==========================================================================
   COMPARTMENT CARDS GRAPHICS MODULES
   ========================================================================== */
.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;
    
    /* Hardware accelerated Bezier transition parameters manage both height and margins on shift */
    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;
}

/* THE ACTIVE DYNAMIC EXTENDED STATE: Expands footprint downwards and wider */
.compartment-card.is-expanded-state {
    height: 560px !important; 
    width: 350px !important; 
    margin-right: 70px !important; /* Pushes adjacent components outward gracefully to leave room */
    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 Branding Color Palettes profiles */
.card-1 { background-color: #0c1020; background-image: linear-gradient(to bottom, rgba(12,16,32,0.6), #030712); }
.card-2 { background-color: #b09eff; } 
.card-3 { background-color: #05141a; background-image: linear-gradient(to bottom, rgba(5,20,26,0.6), #030712); }
.card-4 { background-color: #d1cbd4; } 
.card-5 { background-color: #080808; background-image: linear-gradient(to bottom, rgba(8,8,8,0.6), #030712); }

.card-inner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(3, 7, 18, 0.95) 85%);
    z-index: 1;
}

.card-2 .card-inner-overlay, .card-4 .card-inner-overlay { background: transparent !important; }

.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; /* Added safe margin bottom buffer layout track */
}

.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;
}
/* ==========================================================================
   UNIFIED PREMIUM COMPARTMENT CARDS - CUSTOM TOP TINTS ONLY
   ========================================================================== */

/* 1. Base structure for all light-theme cards */
[data-theme="light"] .compartment-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

/* 2. Unique soft color hints bleeding from the TOP of each specific card */
[data-theme="light"] .card-1 { 
    background-image: linear-gradient(180deg, rgba(12, 16, 32, 0.05) 0%, #ffffff 40%) !important; 
    border-color: rgba(12, 16, 32, 0.1) !important;
}
[data-theme="light"] .card-2 { 
    background-image: linear-gradient(180deg, rgba(176, 158, 255, 0.18) 0%, #ffffff 45%) !important; 
    border-color: rgba(176, 158, 255, 0.3) !important; /* Matches your beautiful image layout */
}
[data-theme="light"] .card-3 { 
    background-image: linear-gradient(180deg, rgba(5, 20, 26, 0.06) 0%, #ffffff 40%) !important; 
    border-color: rgba(5, 20, 26, 0.12) !important;
}
[data-theme="light"] .card-4 { 
    background-image: linear-gradient(180deg, rgba(209, 203, 212, 0.25) 0%, #ffffff 45%) !important; 
    border-color: rgba(209, 203, 212, 0.4) !important;
}
[data-theme="light"] .card-5 { 
    background-image: linear-gradient(180deg, rgba(0, 140, 255, 0.06) 0%, #ffffff 40%) !important; 
    border-color: rgba(0, 140, 255, 0.15) !important;
}

/* 3. The inner overlay layer blends the text panel smoothly into the white base */
[data-theme="light"] .card-inner-overlay,
[data-theme="light"] .compartment-card [class*="overlay"] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.95) 85%) !important;
    display: block !important;
}

/* 4. Global high-contrast typography balance */
[data-theme="light"] .compartment-card h3 {
    color: #111827 !important; /* Premium charcoal-black headers */
}

[data-theme="light"] .compartment-card p {
    color: #4b5563 !important; /* Highly legible body text */
}

/* 5. Clean up interactive focus transformations */
[data-theme="light"] .compartment-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .card-1:hover { border-color: rgba(12, 16, 32, 0.3) !important; }
[data-theme="light"] .card-2:hover { border-color: rgba(176, 158, 255, 0.6) !important; }
[data-theme="light"] .card-3:hover { border-color: rgba(5, 20, 26, 0.3) !important; }
[data-theme="light"] .card-4:hover { border-color: rgba(209, 203, 212, 0.7) !important; }
[data-theme="light"] .card-5:hover { border-color: rgba(0, 140, 255, 0.4) !important; }

/* 6. Subtle background layout branding numbers */
[data-theme="light"] .comp-num {
    color: #111827 !important;
    opacity: 0.04 !important;
}

/* 7. Style the bottom 'View Details' action bars to match your system */
[data-theme="light"] .compartment-card div[class*="button"],
[data-theme="light"] .compartment-card span[class*="Details"],
[data-theme="light"] .compartment-card [class*="action"],
[data-theme="light"] .compartment-card svg {
    color: #374151 !important; /* Clean charcoal color for buttons */
}

/* ==========================================================================
   INTERACTIVE DROP ACCORDION SYSTEM SLIDERS
   ========================================================================== */
.comp-extended-drawer {
    max-height: 0; /* Fully collapsed on startup */
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease,
                transform 0.4s ease !important;
}

.comp-extended-drawer p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
}

/* Unfolds hidden text blocks gracefully when active state matches */
.is-expanded-state .comp-extended-drawer {
    max-height: 140px; 
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 1rem !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);
}

.comp-expand-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
}

/* Arrow flips up on expansion active states */
.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;
}

/* Light background configurations balancing */
.card-2 .comp-extended-drawer p, .card-4 .comp-extended-drawer p { color: #4b5563 !important; }
.card-2 .comp-expand-btn, .card-4 .comp-expand-btn { background: rgba(0, 0, 0, 0.03) !important; border-color: rgba(0, 0, 0, 0.08) !important; color: #111827 !important; }
.card-2 .comp-expand-btn:hover, .card-4 .comp-expand-btn:hover { background: #111827 !important; color: #ffffff !important; border-color: #111827 !important; }
.card-2.is-expanded-state .comp-expand-btn, .card-4.is-expanded-state .comp-expand-btn { background: #111827 !important; color: #ffffff !important; }

/* Global Light theme variables mapping */
[data-theme="light"] .card-1, [data-theme="light"] .card-3, [data-theme="light"] .card-5 { background-color: #f3f4f6; background-image: none; }
[data-theme="light"] .card-1 h3, [data-theme="light"] .card-3 h3, [data-theme="light"] .card-5 h3 { color: #111827 !important; }
[data-theme="light"] .card-1 p, [data-theme="light"] .card-3 p, [data-theme="light"] .card-5 p { color: #4b5563 !important; }
[data-theme="light"] .compartment-card { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
[data-theme="light"] .comp-extended-drawer p { color: #4b5563 !important; }
[data-theme="light"] .comp-expand-btn { background: rgba(0, 0, 0, 0.03) !important; border-color: rgba(0, 0, 0, 0.08) !important; color: #111827 !important; }
[data-theme="light"] .comp-expand-btn:hover, [data-theme="light"] .is-expanded-state .comp-expand-btn { background: #111827 !important; color: #ffffff !important; }

@media (max-width: 980px) {
    .pin-scroll-wrapper { height: auto !important; }
    .scroll-showcase-section { position: relative !important; height: auto !important; padding: 60px 4% !important; }
    .compartment-cards-track { transform: none !important; width: 100% !important; flex-direction: column !important; padding-left: 0 !important; }
    .compartment-card { width: 100% !important; max-width: 420px; height: 250px !important; margin: 0 auto 1.5rem auto !important; }
    .scroll-wave-container { display: none !important; }
    .comp-extended-drawer { max-height: none !important; opacity: 1 !important; transform: none !important; margin-bottom: 1rem !important; }
    .comp-expand-btn { display: none !important; }
}

/* ==========================================================================
   3D PLEXUS GLOBE GAP MATRIX CONTAINER ARCHITECTURE
   ========================================================================== */
.plexus-hero-section {
    width: 100% !important;
    min-height: 55vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 140px 4% 60px 4% !important;
    position: relative !important;
    z-index: 5 !important;
    background: transparent;
}

.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;
}

@media (max-width: 1220px) {
    .plexus-txt { font-size: 1.6rem !important; }
    .plexus-globe-gap-viewport { width: 240px; height: 80px; }
    #plexusGlobeCanvas { width: 360px !important; height: 360px !important; }
}

/* ==========================================================================
   THE ABSOLUTE LAYOUT FIX: CLICK LAYER INTERCEPTION RE-ENGINEER
   ========================================================================== */

/* 1. Allows mouse pointer click events to pass completely through the dark overlay masks */
.card-inner-overlay,
.card-content-box {
    pointer-events: none !important;
}

/* 2. Forces all inner header text, tags, and paragraphs to reject blocking clicks */
.compartment-card h3,
.compartment-card p,
.comp-num,
.comp-extended-drawer {
    pointer-events: none !important;
}

/* 3. THE CRITICAL FIX: Pulls your click buttons onto the absolute top structural layer */
.comp-expand-btn {
    pointer-events: auto !important; /* Re-enables clicking exclusively for the button capsule */
    position: relative !important;
    z-index: 9999 !important;        /* Places the button coordinates safely above all layout frames */
}

/* 4. Ensures the internal layout vector arrow glyph doesn't intercept the click bounding box */
.comp-expand-btn * {
    pointer-events: none !important;
}
/* ==========================================================================
   UPWARD TEXT COMPARTMENT EXPANSION OVERRIDE
   ========================================================================== */

/* THE CORE ALIGNMENT OVERHAUL */
.card-content-box {
    /* Changes alignment from the bottom (flex-end) to the top (flex-start) */
    justify-content: flex-start !important; 
    padding: 2.2rem 1.75rem 1.75rem 1.75rem !important;
}

/* Forces the heading and main paragraphs to sit stably at the top of the card */
.compartment-card h3 {
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Tweaks the resting text parameters spacing margins */
.compartment-card p {
    margin-bottom: 0.5rem !important;
}

/* THE BUTTON ACCORDION SHIFT HACK */
.comp-expand-btn {
    /* Auto top margin acts as a mechanical spring, forcing ONLY the button to 
       sit at the base of the card while the header blocks slide naturally upward */
    margin-top: auto !important; 
}

/* THE HOVER HEIGHT SAFETY PREVENTOR */
/* Forbids individual background hover states from messing up your card transitions timeline */
.compartment-card:hover {
    transform: translateX(0px) !important; /* Locks positions horizontally during expansion states */
}
/* ==========================================================================
   DYNAMIC CARD INTERIOR SEPARATION TRACK
   ========================================================================== */
.card-content-spacer {
    display: block !important;
    width: 100% !important;
    
    /* THE GAP SIZE ADJUSTMENT: Increase or decrease this height parameter 
       to set the exact pixel space buffer depth you want on screen */
    height: 60px !important; 
    
    flex-shrink: 0 !important; /* Forbids layout compression filters from crushing the gap */
    pointer-events: none !important;
}
/* ==========================================================================
   PREMIUM APPLE LIQUID GLASS OVERLAY ENGINE (FOR EXPANDED DRAWER TEXT)
   ========================================================================== */

/* 1. Prepares the extended text wrapper to safely handle the glass lens stacking layers */
.comp-extended-drawer p {
    position: relative !important;
    display: inline-block !important; /* Locks dimensions tight around the characters */
    padding: 12px 24px !important;    /* Creates breathing room inside the glass shell zone */
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                color 0.4s ease !important;
    z-index: 10 !important;
    pointer-events: auto !important;   /* Re-enables touch tracking so hover can fire */
}

/* 2. THE LIQUID GLASS LAYER: Built invisibly using a pseudo-element layer */


/* ==========================================================================
   INTERACTIVE JUMP HIGHLIGHT HOVER STATES
   ========================================================================== */

/* Micro text zoom magnification feedback loop when client cursor lands on the text block */
.comp-extended-drawer p:hover {
    transform: scale(1.05) !important; /* Slightly zooms the text string upwards cleanly */
    color: #ffffff !important;          /* Forces maximum stark contrast print visibility */
}

/* Activates and inflates the underlying Apple Liquid Glass capsule instantly on hover */
.comp-extended-drawer p:hover::before {
    opacity: 1 !important;
    transform: scale(1) !important; /* Snaps the capsule outward with an elastic bounce look */
    
    /* Adds a luminous clear internal glow aura drop shadow behind the glass plate */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 15px rgba(255, 255, 255, 0.05) !important;
}

/* Light Mode balancing adjustments so the crystal capsule looks stunning over light themes */
[data-theme="light"] .comp-extended-drawer p::before {
    background: rgba(255, 255, 255, 0.45) !important; /* Milky high-contrast clear canvas glass */
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .comp-extended-drawer p:hover {
    color: #111827 !important; /* Stark dark print text */
}
/* ==========================================================================
   HIGH-END INDIVIDUAL WORD LIQUID GLASS LENS ENGINE
   ========================================================================== */

/* ==========================================================================
   DYNAMIC SCROLL CONTAINER CURSOR LENS TRACKER ENGINE
   ========================================================================== */
/* ==========================================================================
   HIGH-PERFORMANCE CRYSTAL-CLEAR LIQUID GLASS LENS SYSTEM
   ========================================================================== */

/* THE VIEWPORT FIX: Background plate, borders, and shadows are completely gone */
.lens-tracking-viewport {
    position: relative !important;
    width: 100% !important;
    cursor: none !important; /* Hides system arrow cursor */
    overflow: visible !important; 
    padding: 0 !important;
    background: transparent !important; /* Blends text directly onto your card */
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important; 
}

/* THE CONTAINER TEXT LAYOUT STRINGS */
.lens-target-paragraph {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    user-select: none;
    pointer-events: none !important; 
    width: 100%;
}

/* Base resting text color profile */
.base-text-layer {
    color: rgba(255, 255, 255, 0.4) !important; /* Soft dark silver text tint */
}

/* THE MOVING GLASS FRAME: Houses your magnified text track layers securely */
.liquid-cursor-lens {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 100 !important;
    pointer-events: none !important;
    
    /* Starting state: hidden completely until mouse entry initialization steps trigger */
    opacity: 0;
    transition: opacity 0.25s ease-out !important;
}

/* THE CRITICAL MAGNIFICATION UPGRADE: Sharp, zero-blur text amplification */
.magnified-text-layer {
    color: #ffffff !important; /* Crisp, high-contrast true white text */
    font-weight: 600 !important;
    position: absolute !important;
    top: 0;
    left: 0;
    
    /* THE LIQUID GLOW ENGINE: Removed blur filter, replaced with clear glass reflection */
    filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.25)) !important; 
    
    /* Slightly enlarges and offsets text coordinates to create a 3D glass refraction illusion */
    transform: scale(1.06); 
    transform-origin: center center;
}

/* Activates complete visibility loops on mouse entry class tags */
.lens-tracking-viewport.mouse-is-inside .liquid-cursor-lens {
    opacity: 1 !important;
}

/* ==========================================================================
   THEME SWITCHER LIGHT MODE COMPATIBILITY OVERRIDES
   ========================================================================== */
/* ==========================================================================
   LENS RE-ILLUMINATION - LIGHT THEME PERFECT DUPLICATION
   ========================================================================== */

/* ==========================================================================
   LENS EFFECT - SEPARATED THEME CALIBRATION
   ========================================================================== */

/* --- 1. DARK THEME PRESERVATION (Matches your exact picture) --- */
/* ==========================================================================
   CRYSTAL CLEAR LENS ENGINE - LIGHT MODE CONFIGURATION
   ========================================================================== */

/* --- 1. DARK THEME RESTORATION --- */
.base-text-layer {
    color: rgba(255, 255, 255, 0.4) !important;
}
.magnified-text-layer {
    color: #ffffff !important; 
    filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.45)) !important;
}


/* --- 2. LIGHT THEME SEPARATION (COMPLETELY CLEAR / ZERO GRAY TINT) --- */
/* ==========================================================================
   EXPANDED COMPARTMENT CARD BACKGROUND ACCENT FIX
   ========================================================================== */



/* This completely clears the box container from the page layout */
.lens-tracking-viewport {
    background: transparent !important;   /* Wipes out the background translucent fill */
    background-color: transparent !important;
    border: none !important;              /* Removes the outer framing border completely */
    box-shadow: none !important;          /* Deletes the background capsule shadow */
    border-radius: 0 !important;
    padding: 0 !important;                /* Eliminates inner margins so it is direct */
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    cursor: none !important;              /* Keeps your custom capsule lens hover active */
}

/* Restores your text paragraph position cleanly on the card surface */
.lens-target-paragraph {
    color: rgba(255, 255, 255, 0.6) !important; /* Pristine silver text tint */
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* THE SENTENCE BLOCK: Zero duplicating, remains perfectly sharp and static */
.lens-target-paragraph {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.6) !important; /* Uniform resting silver print */
    margin: 0 !important;
    user-select: none;
    pointer-events: none !important; /* Passes coordinate clicks safely to the parent tracker */
}

/* THE TRUE OVAL CAPSULE LENS GLASS PANEL */
.liquid-glass-capsule {
    position: absolute !important;
    
    /* THE OVAL FOOTPRINT: Wide flat horizontal top/bottom, completely round left/right sides */
    width: 110px !important;
    height: 54px !important;
    border-radius: 20px !important; /* Smooth capsule curvature matching apple interfaces */
    
    /* Center translation offset anchor points calibration adjustments */
    top: 0;
    left: 0;
    margin-left: -55px !important; /* Exactly half of width */
    margin-top: -27px !important;  /* Exactly half of height */
    
    /* APPLE GLASS SURFACE REFRACTION HOOKS */
    background: rgba(255, 255, 255, 0.05) !important; /* Crystal clear clear lens base */
    border: 1px solid rgba(255, 255, 255, 0.35) !important; /* High-contrast reflective perimeter rim */
    
    /* THE CRITICAL FIX: Applies the real SVG displacement law to warp any element underneath it */
    backdrop-filter: url(#appleLiquidGlassRefraction) contrast(1.2) saturate(140%) !important;
    -webkit-backdrop-filter: url(#appleLiquidGlassRefraction) contrast(1.2) saturate(140%) !important;
    
    /* Specular highlight and soft luminous aura shadows mix profile */
    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;
    
    z-index: 50 !important; /* Floats safely directly over text characters to distort them */
    pointer-events: none !important;
    
    /* Hidden completely until user coordinates trigger mouse tracking events */
    opacity: 0;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.25s ease-out !important;
}

/* Activates fluid capsule popup tracking entries on mouse tracking states */
.lens-tracking-viewport.mouse-is-inside .liquid-glass-capsule {
    opacity: 1 !important;
    transform: scale(1) !important; /* Organic spring expansion bounce look */
}

/* ==========================================================================
   THEME SWITCHER CODE INTERACTION SETTINGS
   ========================================================================== */
[data-theme="light"] .lens-target-paragraph { color: rgba(17, 24, 39, 0.5) !important; }
[data-theme="light"] .liquid-glass-capsule {
    background: rgba(255, 255, 255, 0.5) !important; /* High-contrast light white gel canvas */
    border-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}
/* ==========================================================================
   HIDDEN TEXT BACKGROUND STRIPPER FIX (RESTORES ORIGINAL SCROLLER METRICS)
   ========================================================================== */

/* THE REMOVAL MODULE: Wipes away the extra glass panel container completely */
.lens-tracking-viewport {
    background: transparent !important; /* Forces the box container to become invisible */
    border: none !important;             /* Strips out the bounding frame border stroke lines */
    box-shadow: none !important;         /* Removes the unwanted shadow casting layer */
    border-radius: 0 !important;
    padding: 0 !important;               /* Zeroes interior padding so text matches original spacing */
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    cursor: none !important;            /* Preserves custom lens hover cursor navigation tracks */
}

/* Restores your text paragraph position directly over the raw card face surface */

/* OVAL CAPSULE ENGINE SPECIFICATIONS CONFIGURATION */
.liquid-glass-capsule {
    position: absolute !important;
    width: 110px !important; /* Original wide capsule proportions */
    height: 54px !important;
    border-radius: 20px !important;
    top: 0;
    left: 0;
    margin-left: -55px !important;
    margin-top: -27px !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;
    
    z-index: 50 !important;
    opacity: 0;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease-out !important;
}
/* ==========================================================================
   TRUE CONVEX GLASS LENS MAGNIFIER ENGINE (NO WAVE DISTORTION)
   ========================================================================== */

/* Viewport configuration clears any box wrappers and rests right over your card surface */
.lens-tracking-viewport {
    position: relative !important;
    width: 100% !important;
    cursor: none !important; /* Conceals system cursor */
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

.lens-target-paragraph {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    user-select: none;
    pointer-events: none !important;
}

/* THE MOVING GLASS LENS CAPSULE */
.liquid-glass-capsule {
    position: absolute !important;
    
    /* Perfect capsule proportions matching your layout footprint specs */
    width: 110px !important;
    height: 54px !important;
    border-radius: 20px !important; /* Clean rounded left/right edge arcs */
    
    top: 0;
    left: 0;
    margin-left: -55px !important; /* Centers exactly on cursor coordinate points */
    margin-top: -27px !important;
    
    /* HOVER GLASS OVERLAY MATRIX STYLE */
    background: rgba(255, 255, 255, 0.03) !important; /* Clear glass crystal sheet */
    border: 1px solid rgba(255, 255, 255, 0.35) !important; /* Crisp high-contrast silk rim edge line */
    
    /* THE DYNAMIC OVERRIDE: Swaps out wavy noise, maps clean convex magnification displacement */
    backdrop-filter: url(#appleConvexMagnifierFilter) contrast(1.15) saturate(130%) !important;
    -webkit-backdrop-filter: url(#appleConvexMagnifierFilter) contrast(1.15) saturate(130%) !important;
    
    /* Elegant specular highlight layer bloom drop shadows */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 
                inset 0 1px 0 rgba(255, 255, 255, 0.4),
                0 0 20px rgba(255, 255, 255, 0.05) !important;
    
    z-index: 100 !important; /* Floats safely right on top of text characters to warp them */
    pointer-events: none !important;
    
    /* Starting state initialization settings */
    opacity: 0;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.25s ease-out !important;
}

/* Reveals and pops the magnifier lens into view on mouse entry container class tags */
.lens-tracking-viewport.mouse-is-inside .liquid-glass-capsule {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ==========================================================================
   THEME SWITCHER COMPATIBILITY ADJUSTMENTS
   ========================================================================== */
[data-theme="light"] .lens-target-paragraph { color: rgba(17, 24, 39, 0.5) !important; }
[data-theme="light"] .liquid-glass-capsule {
    background: rgba(255, 255, 255, 0.5) !important; /* Solid milky porcelain white glass sheet */
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}
/* ==========================================================================
   PREMIUM VERTICAL CHECKLIST SHOWCASE (ANTI-TRUNCATION & GLOW LAYOUT)
   ========================================================================== */

/* THE SCROLLABLE RE-ENGINEER TRACK: Prevents text from being cut off at the card bottom */
.lens-scrollable-content-wrapper {
    width: 100% !important;
    max-height: 180px !important; /* Locks height to fit comfortably above the Close button */
    overflow-y: auto !important;   /* Enables smooth vertical scrolling for long lists */
    padding-right: 8px !important;
    box-sizing: border-box;
}

/* Custom modern scrollbar styling mechanics track */
.lens-scrollable-content-wrapper::-webkit-scrollbar {
    width: 3px;
}
.lens-scrollable-content-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}
.lens-scrollable-content-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.2);
    border-radius: 10px;
}

/* THE CHECKLIST STRUCTURE ENGINE */
.checklist-mode {
    display: flex !important;
    flex-direction: column !important; /* Forces items into individual rows, not one big paragraph block */
    gap: 0.75rem !important;            /* Adds uniform vertical spacing between bullet points */
    text-align: left !important;
    width: 100% !important;
}

.check-list-row {
    display: flex !important;
    align-items: flex-start !important; /* Aligns checkboxes cleanly with multi-line text */
    gap: 12px !important;               /* Gaps text nicely from the checkmark symbol */
    position: relative;
}

/* PREMIUM TYPOGRAPHY ATTRACTIVENESS DESIGN */
.bullet-check-icon {
    color: var(--accent-cyan) !important; /* Electric cyan color matches theme indicators */
    font-weight: 900 !important;
    font-size: 0.95rem !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4); /* High-tech luminous neon glow track */
    flex-shrink: 0;
}

.bullet-text-node {
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important; /* Brightened for high contrast readability */
    letter-spacing: 0.2px !important;
    line-height: 1.4 !important;
}

/* THE CAPSULE CONVEX OVERLAY ADJUSMENTS: Resizes lens to match vertical list rows layout metrics */
.liquid-glass-capsule {
    width: 130px !important; /* Slightly widened to encompass vertical checklist lines */
    height: 48px !important;
    margin-left: -65px !important;
    margin-top: -24px !important;
}

/* Ensure the outer container box does not clip or squeeze layout boundaries */
.comp-extended-drawer {
    overflow: visible !important;
}

/* ==========================================================================
   THEME SWITCHER SWITCH COMPATIBILITY INVERSIONS
   ========================================================================== */
[data-theme="light"] .bullet-text-node {
    color: #374151 !important; /* Crisp dark charcoal checklist text print */
}
[data-theme="light"] .bullet-check-icon {
    color: #10b981 !important; /* Professional emerald green checks on white background */
    text-shadow: none !important;
}
[data-theme="light"] .lens-scrollable-content-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}
/* ==========================================================================
   ANTI-COLLISION PROMOTIONAL OPEN SOURCE GRID SYSTEM
   ========================================================================== */

/* 1. MASTER WRAPPER STRUCTURE */
#openSourceSection.open-source-promotion-section {
    width: 100% !important;
    padding: 100px 6% !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* 2. THE CHOSEN HEADING BRUSH HIGHLIGHT LAYERS */
#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;
}

/* THE REAL BRUSH STROKE: Recreated perfectly matching your image artwork specs */
#openSourceSection .brush-highlight-container::before {
    content: '' !important;
    position: absolute !important;
    top: 5% !important;
    bottom: 2% !important;
    left: 0 !important;
    width: 0% !important; /* Flat 0 until scroll triggers class */
    
    background-color: #ffea00 !important; /* Authentic high-contrast highlighter yellow */
    z-index: -1 !important; /* Drops underneath text string row lines */
    
    /* Advanced polygonal masking geometry replicates a real jagged paint stroke edge */
    clip-path: polygon(
        0% 18%, 12% 4%, 38% 14%, 62% 3%, 88% 11%, 100% 2%, 
        97% 48%, 100% 82%, 84% 96%, 52% 86%, 22% 98%, 0% 88%,
        3% 52%
    ) !important;
    -webkit-clip-path: polygon(
        0% 18%, 12% 4%, 38% 14%, 62% 3%, 88% 11%, 100% 2%, 
        97% 48%, 100% 82%, 84% 96%, 52% 86%, 22% 98%, 0% 88%,
        3% 52%
    ) !important;
    
    /* High-end ink rolling animation deceleration speed curve */
    transition: width 0.8s cubic-bezier(0.64, 0, 0.41, 1) !important;
}

#openSourceSection .brush-text-node {
    color: #ffffff !important;
    font-weight: 800 !important;
    transition: color 0.3s ease !important;
}

/* --- ACTIVE SCROLL TRIGGER INTERACTION STATES --- */
#openSourceSection.active-highlight-now .brush-text-node {
    color: #030712 !important; /* Flips the word into solid black instantly as yellow rolls underneath */
}

#openSourceSection.active-highlight-now .brush-highlight-container::before {
    width: 100% !important; /* Laser stretches the paint fill edge-to-edge smoothly */
}

/* 3. CORE GLASS DASHBOARD HOUSING WRAPPER */
#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;
    box-sizing: border-box !important;
}

/* LEFT COLUMN STRUCTURE */
#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;
    box-sizing: border-box !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;
}

/* Staggers statistical text entrances sequentially */
#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; /* Electric Cyan variables track */
    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;
}

/* RIGHT COLUMN GRID LAYER TRACK */
#openSourceSection .dashboard-solutions-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Symmetric 2x4 card list blocks layout */
    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;
    box-sizing: border-box !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;
}

/* Solutions entry stagger delays script logic indices */
#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; /* Premium Emerald Green checks */
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3) !important;
    flex-shrink: 0 !important;
}

#openSourceSection .solution-title-label {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #e5e7eb !important;
    letter-spacing: 0.2px !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;
}

/* ==========================================================================
   GLOBAL LIGHT THEME VARIABLE INVERSIONS COMPATIBILITY
   ========================================================================== */
[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; }
[data-theme="light"] #openSourceSection .green-verification-tick { text-shadow: none !important; }

/* Responsive scale safeguard rules for tablets/phones viewports */
@media (max-width: 968px) {
    #openSourceSection .open-source-dashboard-box {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding: 2.5rem 2rem !important;
    }
    #openSourceSection .os-main-heading { font-size: 2.1rem !important; }
}
@media (max-width: 980px) {
    #openSourceSection .dashboard-solutions-grid {
        grid-template-columns: 1fr !important; /* Forces 1-column checklist stack on handheld viewports */
    }
}
/* ==========================================================================
   HIGH-TECH INTEGRATED KINETIC ROADMAP DESIGN SYSTEM
   ========================================================================== */
.roadmap-corridor-section {
    width: 100% !important;
    padding: 100px 6% !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roadmap-header h2 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 0.5rem !important;
}

.roadmap-subtitle {
    color: var(--accent-cyan);
    font-size: 1rem !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* THE TIMELINE VERTICAL PATH CORRIDOR RUNWAY */
.roadmap-timeline-runway {
    position: relative !important;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 0 !important;
}

/* THE BASELINE GLOWING STATIC CENTER LINE TRACK */
.roadmap-timeline-runway::before {
    content: '' !important;
    position: absolute !important;
    width: 4px;
    background: rgba(255, 255, 255, 0.05); /* Soft background track */
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 1;
}

/* THE ACTIVE DYNAMIC LASER PATH: Grows longer down the screen on scroll */
.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%; /* Driven dynamically via JavaScript scroll observer */
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
    will-change: height;
}

/* INDIVIDUAL TIMELINE NODE ROW STRUCTURE */
.timeline-corridor-node {
    position: relative !important;
    width: 50%; /* Splitting row pairs side-by-side symmetrically */
    margin-bottom: 3.5rem;
    box-sizing: border-box;
    display: flex;
    z-index: 5;
    
    /* Starting positions hidden before active scroll reveal triggers activate */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

/* Left Node Card Placements alignment */
.node-left {
    left: 0;
    justify-content: flex-end;
    padding-right: 45px !important;
}

/* Right Node Card Placements alignment */
.node-right {
    left: 50%;
    justify-content: flex-start;
    padding-left: 45px !important;
}

/* THE CENTER AXIS YEAR HOUSING CAPSULE */
.node-marker-hub {
    position: absolute !important;
    top: 15px;
    z-index: 10;
}
.node-left .node-marker-hub { right: -28px; } /* Positions capsule right over the line */
.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;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Specific Corporate Palette Color Mapping (Matches your image values exactly) */
.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; }

/* THE GLASS CONTENT DISPLAY CARD MODULE */
.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(12px);
    border-radius: 20px;
    padding: 1.75rem !important;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.node-glass-content-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-3px);
}

/* Mini Tag Badges over titles */
.node-card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Mapped badge sub-colors tint arrays */
.tag-orange { background: rgba(230, 81, 0, 0.15); color: #ff9800; }
.tag-pink { background: rgba(233, 30, 99, 0.15); color: #ff4081; }
.tag-purple { background: rgba(103, 58, 183, 0.15); color: #b388ff; }
.tag-blue { background: rgba(3, 169, 244, 0.15); color: #00e5ff; }
.tag-cyan { background: rgba(0, 150, 136, 0.15); color: #1de9b6; }
.tag-green { background: rgba(76, 175, 80, 0.15); color: #69f0ae; }
.tag-yellow { background: rgba(255, 170, 0, 0.15); color: #ffd740; }
.tag-darkblue { background: rgba(13, 71, 161, 0.2); color: #2979ff; }

.node-glass-content-card h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff;
    margin-bottom: 0.4rem !important;
    letter-spacing: -0.3px;
}

.node-glass-content-card p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: var(--text-muted);
    margin: 0 !important;
}

/* THE ACTIVE REVEAL CLASS: Fired sequentially on scroll arrival via JavaScript */
.timeline-corridor-node.revealed-node {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   THEME SWITCHER LIGHT MODE COMPATIBILITY INVERSIONS
   ========================================================================== */
[data-theme="light"] .roadmap-header h2 { color: #111827 !important; }
[data-theme="light"] .roadmap-timeline-runway::before { background: rgba(0, 0, 0, 0.05); }
[data-theme="light"] .node-glass-content-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] .node-glass-content-card h3 { color: #111827 !important; }
[data-theme="light"] .node-glass-content-card p { color: #4b5563 !important; }

/* Fluid Responsive Breakpoint Safeguards for Small Mobile Screens */
@media (max-width: 980px) {
    .roadmap-timeline-runway::before, .kinetic-data-stream { left: 30px; transform: none; }
    .timeline-corridor-node { width: 100%; padding-left: 70px !important; padding-right: 0 !important; }
    .node-left, .node-right { left: 0; justify-content: flex-start; }
    .node-left .node-marker-hub, .node-right .node-marker-hub { left: 2px; right: auto; }
    .node-glass-content-card { max-width: 100%; }
    .roadmap-header h2 { font-size: 2.1rem !important; }
}
