/* General Body and Font Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Fallback color */
}

/* This is the fixed background image container */
.background-image-container {
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* This is the key */
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pushes it behind everything */
}

/* --- HEADER (Navigation Bar) --- */
.site-header {
   

    background-color: rgba(26, 36, 48, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed; /* Fixes the header to the viewport */
    top: 0; /* Aligns it to the top */
    left: 0; /* Aligns it to the left */
    width: 100%; /* Makes it span the full width */
    z-index: 1000; /* Ensures it stays on top of other content */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



/* ... All your other header, nav, logo, dropdown styles are fine ... */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px;
    flex-direction: row;
}

.logo {
    font-size: 1.25em;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease;
}
.logo:hover {
    transform: scale(1.03);
}
.brand-logo-img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.7));
    border-radius: 8px;
}
.logo span {
    background: linear-gradient(90deg, #ffffff 40%, #00FFCC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-end; /* This forces the text block floors to line up perfectly */
}



        Nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 15px; /* Adjust top padding as needed */
    transition: background-color 0.3s ease, color 0.3s ease;

    display: flex;
    align-items: flex-start;  /* This aligns text to the top */
    min-height: 55px;         
    text-align: center;       
}

/* Hover effect */
Nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

            nav ul li a:hover {
                color: #a7c8e8;
            }

.cta-button a {
    border: 1px solid #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .cta-button a:hover {
        background-color: #ffffff;
        color: #0d2c4e;
    }

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(26, 36, 48, 0.8);
    backdrop-filter: blur(10px);
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 0 0 5px 5px;
    text-align: left;
}

/* Show dropdown on hover OR if it has been clicked open */
.dropdown:hover .dropdown-content,
.dropdown.open-dropdown .dropdown-content {
    display: block;
}

/* Style for the active link: add a background color */
.dropdown-content a.active-link {
    color: #e2e3f0; /* Make the text white for high contrast */
    font-weight: bold;
    background-color: #3498db; /* The primary blue color from your site */

}

.dropdown-content a {
    color: #ffffff;
    padding: 15px 16px;
    text-decoration: none;
    display: block;
}

    .dropdown-content a:hover {
        background-color: #2f28b4bb;
    }
/* --- Styles for the Extension Button Popover --- */
.cta-button {
    position: relative;
}

.extension-popover {
    /* ... all the popover styles ... */
    top: 90%;
    /* ... etc ... */
}

.cta-button:hover .extension-popover {
    display: block;
    opacity: 1;
    top: 120%;
}
/* ... etc ... */
/* The parent list item needs to be a positioning anchor */
.cta-button {
    position: relative;
}

    /* When you hover over the button, find the popover inside it */
    .cta-button:hover .popover-window {
        display: block;
        opacity: 10;
        /* This positions it correctly BELOW the button */
        top: 280%;
        bottom: auto; /* We must override the 'bottom' from the other popover */
    }

    /* This targets the arrow on the extension popover ONLY */
    .cta-button .popover-window::after {
        bottom: 100%; /* Position the arrow at the TOP of the popover */
        top: auto; /* Override the default */
        border-color: transparent transparent #ffffff transparent; /* Make it point UP */
    }



/* --- Wrapper for all SCROLLING content --- */
/* This is a NEW element we need in the HTML */
/* --- Wrapper for all SCROLLING content --- */
.page-wrapper {
   
    
    /*=============================             SCROLING EFFECT ALL THE WAY TO THE TOP! ====
       
       HERE===*/
   
    padding-top: 19px; /* CRUCIAL: Makes space for the fixed header */
    padding-bottom: 95vh;
}

/* --- Hero Section (The first block) --- */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(60vh - 190px); /* Fill the screen minus the header height */
    color: #ffffff;
    text-align: center;
    padding: 150px;
    box-sizing: border-box;
    padding-top: 100px;
    padding-bottom: 1vh;
}

.container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 100px;
    border-radius: 15px;
    max-width: 825px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 20px;
    padding-bottom: 1vh;
}

/* ... h1, tagline, mission, etc. styles are fine ... */
h1 {
    font-size: 2.2em;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    padding-top: 0px;
    padding-bottom: 0vh;
}

.tagline {
    font-size: 1.5em;
    color: #a7c8e8;
    margin-top: 5px;
    margin-bottom: 1px;
}

.mission {
    font-size: 1.1em;
    line-height: 1.1;
    color: #dddddd;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 5px;
}



/* --- FEATURES SECTION --- */
.features-section {
    background-color: #ffffff;
    padding: 10px 20px;
    color: #333;
    
}

.features-container {
    max-width: 1500px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.feature-item {
    flex-basis: 60%;
    text-align: center;
}

.feature-icon {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #0d2c4e;
}

.feature-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}


/* --- SECURITY SPOTLIGHT SECTION --- */
.spotlight-section {
    background-color: #0d2c4e;
    padding: 20px 18px;
    color: #ffffff;
    
}

/* ... All other spotlight styles are fine ... */
.spotlight-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.spotlight-image {
    flex: 1;
    height: 350px;
    background-color: #1a2430;
    background-image: url('images/security.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.spotlight-text {
    flex: 1;
    text-align: left;
}

    .spotlight-text h2 {
        font-size: 2.5em;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .spotlight-text p {
        font-size: 1.1em;
        line-height: 1.7;
        color: #dddddd;
        margin-bottom: 20px;
    }

.btn-primary {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #2980b9;
    }


/* --- FOOTER SECTION --- */
.site-footer-bottom {
    background-color: #1a2430;
    color: #a7c8e8;
    text-align: center;
    padding: 10px;
}


/* --- URL Checker Section Styles --- */
.url-checker-container {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
}

    .url-checker-container h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }

.checker-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#url-to-check {
    flex-grow: 1;
    padding: 1px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

#check-url-btn {
    padding: 5px 25px;
    border: none;
    background-color: #3498db;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    #check-url-btn:hover {
        background-color: #2980b9;
    }

#checker-result {
    font-size: 1.2em;
    font-weight: bold;
    padding: 6px;
    border-radius: 10px;
    min-height: 25px;
}
/* Styles for different result states */
.result-safe {
    color: #2ecc71;
}

.result-danger {
    color: #e74c3c;
}

.result-info {
    color: #f39c12;
}
/* --- STYLES FOR NEW CONTENT PAGES --- */

.content-page-section {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(2px);
    padding: 120px 30px;
    color: #333;
    /* The margin-top has been removed */
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

    .content-container h1 {
        font-size: 2.8em;
        color: #000000;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.1;
        margin-top: 0;
    }

    .content-container h2 {
        font-size: 2em;
        color: #0d2c4e;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .content-container p {
        font-size: 1.1em;
        line-height: 1.8;
        color: #000000;
        margin-bottom: 20px;
    }

.intro-paragraph {
    font-size: 1.2em;
    text-align: center;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 60px 0;
}

.content-features {
    padding-top: 30px;
}

.styled-list {
    list-style-type: none;
    padding-left: 0;
}

    .styled-list li {
        font-size: 1.1em;
        line-height: 1.8;
        color: #555;
        padding-left: 30px;
        position: relative;
        margin-bottom: 15px;
    }

        .styled-list li::before {
            content: '✔'; /* Checkmark symbol */
            color: #2ecc71; /* Green checkmark */
            font-size: 1.2em;
            position: absolute;
            left: 0;
            top: 5px;
        }
.styled-list-numbered {
    list-style-type: none;
    counter-reset: step-counter; /* Create a counter */
    padding-left: 0;
}

    .styled-list-numbered li {
        font-size: 1.1em;
        line-height: 1.8;
        color: #333;
        padding-left: 45px;
        position: relative;
        margin-bottom: 20px;
        counter-increment: step-counter; /* Increment the counter */
    }

        .styled-list-numbered li::before {
            content: counter(step-counter); /* Display the counter number */
            position: absolute;
            left: 0;
            top: 5px;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border-radius: 50%;
            background-color: #3498db; /* Blue circle */
            color: #ffffff; /* White number */
            font-weight: bold;
        }

.concluding-paragraph {
    text-align: center;
}

/* Center the button at the bottom */
.content-container .btn-primary {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
}
/* --- Styles for Two-Column Intro with Image --- */
.intro-container {
    display: flex;
    align-items: center; /* Vertically align items in the middle */
    gap: 40px; /* Space between text and image */
    margin-top: 40px;
}

.intro-text {
    flex: 1; /* Text takes up half the space */
}

    .intro-text p {
        font-size: 1.1em;
        line-height: 1.8;
    }

.intro-image {
    flex: 1; /* Image takes up half the space */
    text-align: center;
}

    .intro-image img {
        max-width: 100%;
        height: auto;
        border: 1px solid #ddd;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .intro-image figcaption {
        margin-top: 10px;
        font-size: 0.9em;
        color: #666;
        font-style: italic;
    }
/* --- Style for Image Explanation Text --- */
.image-explanation {
    margin-top: 40px; /* Adds space after the intro columns */
    padding: 25px;
    background-color: #f8f9fa; /* A very light grey to set it apart */
    border-left: 5px solid #3498db; /* A blue left border, like a blockquote */
}

    .image-explanation p {
        font-size: 1.05em;
        font-style: italic;
        color: #444;
        margin-bottom: 0; /* Remove default bottom margin */
    }

    .image-explanation .summary-statement {
        margin-top: 15px; /* Add space between the paragraphs */
        font-style: normal; /* Override the italic style for emphasis */
        font-size: 1.1em;
    }
/* --- Style for Quote Blocks --- */
.quote-block {
    margin: 40px 0; /* Adds space above and below */
    padding: 25px;
    background-color: #f8f9fa; /* A very light grey background */
    border-left: 5px solid #3498db; /* A blue left border for emphasis */
}

    .quote-block p {
        font-size: 1.05em;
        font-style: italic;
        color: #444;
        margin: 0;
    }

    .quote-block .quote-source {
        display: block; /* Puts it on its own line */
        text-align: right; /* Aligns it to the right */
        font-style: normal;
        font-size: 1em;
        color: #555;
        margin-top: 15px;
    }
/* --- Styles for the Blockchain Demo Page --- */
#blockchain-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blockchain-block {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .blockchain-block h3 {
        margin-top: 0;
        color: #0d2c4e;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
    }

.block-info {
    margin-bottom: 8px;
    word-wrap: break-word; /* Make sure long hashes wrap */
}

.hash-info {
    color: #27ae60; /* Green for the valid hash */
    font-family: 'Courier New', Courier, monospace;
}

.prev-hash-info {
    color: #e67e22; /* Orange for the previous hash */
    font-family: 'Courier New', Courier, monospace;
}
/* --- Styles for the Page Title Overlay --- */
.page-title-overlay {
    padding-top: 90px;
    /* The text-align property has been removed to allow for alignment within a container */
    padding-bottom: -10px;
    /* We add a max-width and margin to control the position */
    max-width: 1250px; /* Aligns with your main nav container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px; /* Adds some space from the left edge */
    padding-right: 1150px;
}

    .page-title-overlay h2 {
        font-size: 3.5em; /* Make the text large */
        color: #ffffff; /* Make the text pure white */
        font-weight: bold;
        /* This creates the text shadow you wanted */
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin: 0; /* Remove any default margins */
    }
/* --- FINAL DEFINITIVE STYLES FOR SUB-DROPDOWN MENUS --- */

/* This rule makes all direct children stack properly. It is correct. */
.dropdown-content > a,
.dropdown-content > .sub-dropdown {
    display: block;
}

/* The list item that holds the sub-menu. This is correct. */
.sub-dropdown {
    position: relative;
}

/* The actual sub-menu panel. This is correct. */
.sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: -1px;
    background-color: rgba(26, 36, 48, 0.8);
    backdrop-filter: blur(10px);
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 0 5px 5px 0;
}

/* 
   ==================================================================
   CRITICAL FIX here
   ==================================================================
   This rule says: ONLY when you hover over the ".sub-dropdown" ITSELF,
   then find the ".sub-menu" inside it and show it.
*/
.sub-dropdown:hover > .sub-menu {
    display: block;
}

/* Style the trigger link itself. This is correct. */
.sub-dropdown > .drop-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    /* Add a hover effect for the trigger link. This is correct. */
    .sub-dropdown > .drop-btn:hover {
        background-color: rgb(225, 226, 236, 0.54);
    }
.references-section h3 {
    font-size: 1.3em;
    color: #a1c8de;
    margin-bottom: 20px;
}

.references-section ol {
    padding-left: 20px;
}

.references-section li {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #09091fd5;
}
.references-callout {
    margin-top: 60px;
    padding: 25px;
    background-color: #e9ecef; /* A slightly darker grey */
    border-radius: 5px;
    border: 1px solid #dee2e6;
}
/* Style for links inside the new references section */
.references-section li a {
    text-decoration: none; /* Removes the default blue underline */
    color: inherit; /* Makes the link inherit the dark text color */
}

    .references-section li a:hover {
        text-decoration: underline; /* Adds an underline ONLY when you hover over it */
        color: #3498db; /* Changes the color to your site's blue on hover */
    }
/* --- Live Data Dashboard Styles --- */
.live-data-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates a 2-column grid */
    gap: 25px; /* Sets the space between the cards */
    margin-top: 50px;
    margin-bottom: 50px;
}

.data-card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

    .data-card:hover {
        transform: translateY(-5px); /* Adds a subtle lift effect on hover */
    }

.data-label {
    font-size: 1em;
    color: #6c757d;
    margin-bottom: 10px;
}

.data-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #0d2c4e;
}

.result-card .data-value {
    color: #3498db; /* Highlights the final result in blue */
}
/* --- Styles for Embedded Video --- */
.spotlight-video {
    flex: 1;
    aspect-ratio: 16 / 9; /* This maintains the 16:9 video shape */
    border-radius: 8px;
    overflow: hidden; /* Ensures the video corners are rounded */
}

    .spotlight-video iframe {
        width: 100%;
        height: 100%;
        border: none; /* Removes the default iframe border */
    }
/* --- Styles for Clickable Data Cards --- */
a.data-card-link {
    text-decoration: none; /* Removes the underline from the link */
    color: inherit; /* Makes the text inside the link inherit its color */
}

    /* Make the hover effect more obvious on the clickable cards */
    a.data-card-link .data-card:hover {
        transform: translateY(-5px) scale(1.02); /* Adds a slight zoom effect */
        box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Makes the shadow bigger */
    }
/* --- Styles for the Hover Popover Window --- */

/* Make the parent card a positioning anchor */
.data-card {
    position: relative;
}

.popover-window {
    display: none; /* Hide it by default */
    position: absolute;
    bottom: 110%; /* Position it just above the card */
    left: 50%;
    transform: translateX(-50%); /* Center it horizontally */
    width: 300px; /* Set a fixed width */
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 10; /* Make sure it appears on top */
    text-align: left;
    opacity: 0; /* Start fully transparent */
    transition: opacity 0.3s ease, bottom 0.3s ease; /* Smooth fade-in animation */
}

    /* Create the little triangle arrow at the bottom */
    .popover-window::after {
        content: "";
        position: absolute;
        top: 100%; /* Position it at the bottom of the popover */
        left: 50%;
        transform: translateX(-50%);
        border-width: 10px;
        border-style: solid;
        border-color: #ffffff transparent transparent transparent;
    }

/* When the user hovers over the card, show the popover */
.data-card:hover .popover-window {
    display: block; /* Make it visible */
    opacity: 1; /* Fade it in */
    bottom: 120%; /* Move it up slightly for a nice effect */
}

/* Styles for the text inside the popover */
.popover-window h4 {
    margin-top: 0;
    color: #0d2c4e;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.popover-window p {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 0;
}

    .popover-window p:last-child {
        margin-top: 10px;
    }
/* --- Style for Main Nota Bene (N.B.) Text --- */
.nota-bene-main {
    text-align: center;
    max-width: 700px; /* Keep it from getting too wide */
    margin: 20px auto 0 auto; /* Center it and add space */
    padding: 15px;
    background-color: rgba(233, 236, 239, 0.5); /* Faint, semi-transparent grey */
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.6;
    color: #333; /* Darker text for readability */
    font-style: italic;
}

    .nota-bene-main strong {
        font-style: normal;
    }
/* --- Style for the API Refresh Note --- */
.api-refresh-note {
    text-align: center;
    max-width: 850px;
    margin: 30px auto 0 auto;
    font-size: 0.85em;
    line-height: 5;
    color: rgba(0, 0, 0, 0.7); /* Make the base text a bit darker */
    font-style: normal; /* Change to normal for better readability */
}

/* Style for the highlighted words */
.highlight-error {
    color: #e74c3c; /* A strong, clear red color */
    font-weight: bold;
    font-style: normal;
    background-color: rgb(232, 75, 59, 0.20); /* A very faint red background */
    padding: 2px 5px;
    border-radius: 4px;
}

/* === REVISED INTERACTIVE MAP STYLES (for Hero Section) === */
.interactive-map-section {
    padding: 10px 1px; /* Reduced padding for a tighter fit */
    display: flex;
    justify-content: center;
}

.map-top-block {
    position: relative;
    text-align: center;
}

.map-node {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 10px 50px; /* Slightly smaller nodes */
    background-color: rgb(52, 152, 219, 0.89); /* Blue hover effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.5em; /* Adjusted font size */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .map-node:hover {
        
        background-color: rgb(11, 53, 92, 0.78);
        transform: translateY(-11px);
    }

    .map-node i {
        color: #ffffff; /* White icon for better contrast */
    }

/* The hidden generation blocks */
.map-generations {
    display: none;
    opacity: 0;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 200px; /* Reduced gap */
    transition: opacity 0.9s ease;
    padding-top: 50px;
}

/* The hover effect that reveals the generations */
.map-top-block:hover .map-generations {
    display: flex;
    opacity: 5;
}
.map-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* NEW: Adds space between the "Blockchain 1.0" block and the BTC block */
    position: relative;
}

.map-children {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* INCREASED: Adds more space between the individual technology blocks (ETH, Chainlink, etc.) */
    padding-top: 40px;
    position: relative;
}

/* ... The rest of the map styles (columns, children, lines) can remain the same ... */

/* ==================================================================
   RESPONSIVE / MOBILE SECTION  (v2 — swipeable nav bar)
   Desktop layout untouched. On mobile the menu stays visible as a
   horizontal bar you swipe with a finger; tapping a menu opens a
   full-width panel below the header.
   ================================================================== */

/* --- Fundamentals & safety nets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%; /* Stops iOS inflating text randomly */
}

body {
    overflow-x: hidden; /* Nothing can cause sideways page scroll */
}

img, iframe, video {
    max-width: 100%; /* Media never overflows its container */
}

/* --- FLUID TYPOGRAPHY (dynamic auto-fit) ---
   clamp(min, preferred, max): text scales smoothly with the
   viewport between a floor and a ceiling. No sudden jumps. */
h1 {
    font-size: clamp(1.6rem, 2.6vw + 0.9rem, 2.2rem);
}

.content-container h1 {
    font-size: clamp(1.8rem, 3.2vw + 1rem, 2.8rem);
}

.content-container h2 {
    font-size: clamp(1.35rem, 1.8vw + 0.8rem, 2rem);
}

.spotlight-text h2 {
    font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.5rem);
}

.page-title-overlay h2 {
    font-size: clamp(1.8rem, 4.5vw + 0.8rem, 3.5rem);
}

.data-value {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

/* --- Bug fix (affects desktop too): this had padding-right: 1150px,
   which forced horizontal overflow on anything narrower than a
   large monitor. --- */
.page-title-overlay {
    padding-right: 30px;
}

/* --- Mobile brand (injected by script.js, hidden on desktop) --- */
.mobile-brand {
    display: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    text-align: center;
}

.mobile-brand-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 24px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.15);
    transition: all 0.25s ease;
}

.mobile-brand:hover .mobile-brand-inner {
    background: rgba(0, 255, 204, 0.16);
    border-color: #00FFCC;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.35);
}

.mobile-brand-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mobile-brand-domain {
    color: #00FFCC;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
}

/* ==================================================================
   BREAKPOINT 1: <= 950px — SWIPEABLE MENU BAR
   ================================================================== */
@media (max-width: 950px) {

    .nav-container {
        display: block;            /* brand row on top, menu bar below */
        max-width: none;
        padding: 8px 12px 0;
    }

    .mobile-brand {
        display: flex;
        justify-content: center;
        padding-bottom: 8px;
    }

    .site-header nav {
        position: relative;        /* anchor for the swipe-hint fade */
    }

    /* The swipeable strip itself */
    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;                      /* finger-scrollable */
        -webkit-overflow-scrolling: touch;     /* momentum scrolling on iOS */
        scrollbar-width: none;                 /* hide scrollbar (Firefox) */
        padding: 0 0 10px;
    }

    nav ul::-webkit-scrollbar {
        display: none;                         /* hide scrollbar (Chrome/Safari) */
    }

    nav ul li {
        flex: 0 0 auto;            /* items keep natural width, never shrink */
        margin-right: 8px;
    }

    /* Menu triggers become tappable "chips" */
    .drop-btn {
        white-space: nowrap;
        padding: 8px 14px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 999px;
        font-size: 0.95em;
        display: inline-block;
    }

    .dropdown.open-dropdown > .drop-btn {
        background-color: #3498db;
        border-color: #3498db;
    }

    /* The logo li at the end of the strip is redundant —
       the brand row above replaces it */
    nav ul li:last-child {
        display: none;
    }

    /* Fade on the right edge: visual hint that the bar scrolls */
    .site-header nav::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: 100%;
        background: linear-gradient(to right, rgba(26, 36, 48, 0), rgba(26, 36, 48, 0.85));
        pointer-events: none;      /* never blocks taps */
    }

    /* --- DROPDOWN PANELS ---
       Two iOS Safari traps live here:
       1. An ancestor with backdrop-filter (.site-header) becomes the
          containing block for position:fixed children, so a "fixed"
          panel gets positioned against the header, not the screen.
       2. A backdrop-filter element nested inside another
          backdrop-filter element can fail to PAINT at all on iOS —
          present and tappable, but invisible.
       Fix: anchor the panel with position:absolute to the nav (which
       is position:relative and NOT the scroll container, so the
       swipe strip can't clip it), and use a near-solid background
       instead of a second blur layer. */
    .dropdown {
        position: static;   /* the li stops being the anchor...      */
    }

    .dropdown-content {
        position: absolute; /* ...the nav becomes the anchor instead */
        top: 100%;          /* = directly below the chip strip       */
        left: 0;
        right: 0;
        min-width: 0;
        max-height: calc(100vh - var(--header-height, 110px) - 16px);
        overflow-y: auto;
        background-color: rgba(26, 36, 48, 0.98);
        backdrop-filter: none;          /* kill the nested blur bug  */
        -webkit-backdrop-filter: none;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    }

    .dropdown-content a {
        padding: 15px 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    /* Touch screens have no reliable hover ("sticky hover") —
       panels open on tap only. The .open-dropdown rule sits after
       the :hover override on purpose, so it wins. */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open-dropdown .dropdown-content {
        display: block;
    }

    /* Nested sub-menus render inline inside the panel */
    .sub-menu {
        position: static;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.25);
        backdrop-filter: none;          /* same nested-blur bug */
        -webkit-backdrop-filter: none;
    }

    .sub-dropdown:hover > .sub-menu {
        display: none;
    }

    .sub-dropdown.open-dropdown > .sub-menu {
        display: block;
    }

    /* iOS Safari renders background-attachment: fixed incorrectly */
    .background-image-container {
        background-attachment: scroll;
    }

    /* 95vh of empty space below the footer is excessive on a phone */
    .page-wrapper {
        padding-bottom: 25vh;
    }
}

/* ==================================================================
   BREAKPOINT 2: <= 768px — stack all side-by-side layouts
   ================================================================== */
@media (max-width: 768px) {

    .content-wrapper {
        padding: 110px 16px 28px;
        min-height: auto;
    }

    .container {
        padding: 26px 18px;
    }

    .features-container {
        flex-direction: column;
        gap: 28px;
        padding: 16px 0;
    }

    .feature-item {
        flex-basis: auto;
    }

    .spotlight-container {
        flex-direction: column;
        gap: 24px;
    }

    .spotlight-video {
        width: 100%;
    }

    .intro-container {
        flex-direction: column;
        gap: 20px;
    }

    .content-page-section {
        padding: 110px 16px 45px;
    }

    .page-title-overlay {
        padding: 95px 16px 0;
    }

    .checker-form {
        flex-direction: column;
    }

    #check-url-btn {
        padding: 12px 25px;
    }

    .popover-window {
        width: min(300px, 86vw);
    }

    .map-generations {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 26px;
        padding-top: 26px;
        opacity: 1;
    }

    .map-node {
        font-size: 1.15em;
        padding: 10px 24px;
    }
}

/* ==================================================================
   BREAKPOINT 3: <= 600px — small phones
   ================================================================== */
@media (max-width: 600px) {

    .live-data-dashboard {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .content-container p {
        font-size: 1.02em;
        line-height: 1.7;
    }

    .url-checker-container {
        margin: 40px 12px;
    }
}

/* Mobile-Specific Navigation Overrides - Horizontal Swipe */
@media screen and (max-width: 768px) {
    
    /* 1. Make the header the anchor point for the dropdowns */
    .site-header {
        position: relative;
    }

    /* 2. Create the horizontal scrolling area for the nav */
    nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth swiping on iPhones */
        scrollbar-width: none; /* Hides scrollbar in Firefox */
    }

    /* Hides scrollbar in Chrome/Safari/Edge for a cleaner look */
    nav::-webkit-scrollbar {
        display: none; 
    }

    /* 3. Align the buttons in a single horizontal row */
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap; /* Forces them to stay on one line */
        margin: 0;
        padding: 10px 15px;
        gap: 10px; /* Space between the pill buttons */
    }

    /* 4. Keep the list items inline and prevent dropdown clipping */
    nav ul li {
        list-style: none;
        white-space: nowrap; /* Stops button text from breaking into two lines */
        position: static; /* CRITICAL: Allows dropdowns to escape the scrolling container */
    }

    /* 5. Style the dropdown content to span the full screen width below the nav */
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%; /* Pushes it exactly below the header */
        left: 0;
        width: 100%;
        background-color: #1a2b4c; /* Dark background to fix your unreadable text issue! */
        box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
        z-index: 9999;
        max-height: 60vh; /* Prevents it from being taller than the screen */
        overflow-y: auto; /* Allows vertical scrolling inside the menu if it's long */
    }

    /* The class activated by our JavaScript */
    .dropdown-content.show {
        display: flex;
        flex-direction: column;
    }

    /* 6. Make the dropdown links readable and tap-friendly */
    .dropdown-content a {
        color: #ffffff; /* White text on the dark background */
        padding: 15px 20px;
        display: block;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider lines */
    }
}


/* ==========================================================================
   COSMOS-STYLE INSTITUTIONAL HEADER & NAVIGATION
   ========================================================================== */

/* Top Announcement Ticker Bar */
.top-announcement-bar {
    background: #08090d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 24px;
    position: relative;
    z-index: 1005;
    box-sizing: border-box;
}

.announcement-content {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.announcement-badge {
    color: #00FFCC;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.announcement-text {
    color: #94a3b8;
    font-weight: 500;
}

.announcement-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.announcement-link:hover {
    color: #00FFCC;
}

/* Master Header Container */
.site-header {
    background: rgba(9, 11, 15, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-sizing: border-box !important;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 10px 28px !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
}

/* Brand (Left Aligned) */
.nav-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.brand-logo-img {
    height: 32px !important;
    width: 32px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.6)) !important;
}

.brand-name {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Navigation List (Centered) */
.main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
}

.nav-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.nav-list li.dropdown {
    position: relative !important;
}

.nav-list .drop-btn {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.93rem !important;
    font-weight: 500 !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    cursor: pointer !important;
    min-height: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nav-list .drop-btn:hover,
.nav-list li.dropdown.open-dropdown .drop-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.nav-list .drop-btn.highlight-btn {
    color: #00FFCC !important;
    border-color: rgba(0, 255, 204, 0.3) !important;
    background: rgba(0, 255, 204, 0.08) !important;
}

.nav-list .drop-btn.highlight-btn:hover {
    background: rgba(0, 255, 204, 0.18) !important;
    border-color: #00FFCC !important;
}

.drop-icon {
    font-size: 9px !important;
    opacity: 0.65 !important;
    transition: transform 0.2s ease !important;
}

.dropdown:hover .drop-icon,
.dropdown.open-dropdown .drop-icon {
    transform: rotate(180deg) !important;
}

/* Cosmos Floating Dropdown Card */
.dropdown-content {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #11141b !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 16px !important;
    padding: 12px 8px !important;
    min-width: 250px !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.12) !important;
    z-index: 1020 !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-sizing: border-box !important;
}

.dropdown:hover .dropdown-content,
.dropdown.open-dropdown .dropdown-content {
    display: block !important;
    animation: cosmosDropdownAnim 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes cosmosDropdownAnim {
    from { opacity: 0; transform: translate(-50%, -6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.dropdown-header {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #64748b !important;
    padding: 6px 14px 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 4px !important;
}

.dropdown-header::before {
    content: "•";
    color: #00FFCC;
    font-size: 14px;
}

.dropdown-content a {
    color: #cbd5e1 !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.18s ease !important;
    min-height: auto !important;
    text-align: left !important;
    background: transparent !important;
}

.dropdown-content a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateX(3px) !important;
}

.dropdown-content a.active-link {
    color: #00FFCC !important;
    background: rgba(0, 255, 204, 0.08) !important;
    font-weight: 600 !important;
}

/* Header Right CTA Button */
.header-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.nav-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    color: #08090d !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nav-cta-btn:hover {
    background: #00FFCC !important;
    color: #04120a !important;
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.6) !important;
    transform: translateY(-1px) !important;
}

.nav-cta-btn .cta-arrow {
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   COSMOS VIDEO HERO SECTION (Matching Image 4 and Business_Intelligence.mp4)
   ========================================================================== */

.cosmos-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #080a0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(8, 10, 15, 0.96) 0%,
        rgba(8, 10, 15, 0.88) 35%,
        rgba(8, 10, 15, 0.45) 70%,
        rgba(8, 10, 15, 0.2) 100%
    );
    z-index: 2;
}

.hero-inner-container {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    margin: 0 auto;
    padding: 60px 32px 36px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80vh;
}

.hero-content {
    max-width: 680px;
    padding-top: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    color: #00FFCC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
}

.hero-heading {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 4.8rem;
    line-height: 1.02;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px;
    letter-spacing: -0.035em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 36px;
    max-width: 580px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    background: #ffffff;
    color: #08090d;
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-hero-primary:hover {
    background: #00FFCC;
    color: #04120a;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.6);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-bottom-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3.5rem;
    }
    .hero-bottom-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 8px 16px !important;
    }
    .main-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar {
        display: none;
    }
    .nav-list {
        flex-wrap: nowrap;
    }
    .header-actions {
        display: none !important;
    }
    .hero-heading {
        font-size: 2.6rem;
    }
    .hero-bottom-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .mobile-brand {
        display: none !important;
    }
}


/* ==========================================================================
   COSMOS STREAMLINED NAVBAR & DUAL-MODE VISUAL SWITCHER
   ========================================================================== */

/* Top Announcement Ticker with Cosmos Controls */
.top-announcement-bar {
    background: #06070a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    font-size: 13px !important;
    padding: 6px 20px !important;
    position: relative !important;
    z-index: 1005 !important;
    box-sizing: border-box !important;
}

.announcement-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.announcement-badge {
    color: #00FFCC;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.announcement-text {
    color: #94a3b8;
    font-weight: 500;
}

.announcement-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.announcement-link:hover {
    color: #00FFCC;
}

/* Cosmos Ticker Action Buttons (Pause & Eye Visual Switcher) */
.ticker-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 6px;
    width: 28px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
    padding: 0;
}

.ticker-btn:hover {
    background: rgba(0, 255, 204, 0.2);
    border-color: #00FFCC;
    color: #00FFCC;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.4);
}

.ticker-btn.active-mode {
    background: #00FFCC;
    color: #04120a;
    border-color: #00FFCC;
}

/* Master Header strictly left-to-right */
.site-header {
    background: rgba(8, 10, 15, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 10px 24px !important;
    box-sizing: border-box !important;
    flex-direction: row !important; /* STRICTLY ROW - NEVER ROW-REVERSE */
}

/* Brand strictly LEFT */
.nav-brand {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    margin-right: 20px !important;
}

.brand-logo-img {
    height: 32px !important;
    width: 32px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.6)) !important;
}

.brand-name {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
}

/* Streamlined Main Nav (Center) */
.main-nav {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
}

.nav-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.nav-list li.dropdown {
    position: relative !important;
}

.nav-list .drop-btn {
    color: #d1d5db !important;
    text-decoration: none !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    cursor: pointer !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nav-list .drop-btn:hover,
.nav-list li.dropdown.open-dropdown .drop-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Header Action CTA strictly RIGHT */
.header-actions {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: 20px !important;
}

.nav-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    color: #08090d !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nav-cta-btn:hover {
    background: #00FFCC !important;
    color: #04120a !important;
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.6) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   DUAL-MODE VISUAL HERO STAGE (Web Mode vs Video Mode)
   ========================================================================== */

.hero-stage {
    position: relative;
    min-height: 84vh;
    overflow: hidden;
    background: #06070a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* MODE 1: NORMAL WEB (Cosmos Network Intelligence) */
.visual-web-container {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 32px 30px;
    box-sizing: border-box;
}

.hero-stage.mode-video .visual-web-container {
    display: none;
}

.web-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    min-height: 58vh;
}

.web-hero-left {
    max-width: 620px;
}

.blue-accent-bar {
    width: 48px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.web-hero-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.web-hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 34px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.web-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-explore-luxa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #090b10;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px rgba(226, 232, 240, 0.2);
}

.btn-explore-luxa:hover {
    background: #00FFCC;
    color: #04120a;
    box-shadow: 0 0 26px rgba(0, 255, 204, 0.6);
    transform: translateY(-2px);
}

.btn-spider-vault {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-spider-vault:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 3D Network Globe Canvas */
.web-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 440px;
}

#network-globe-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.globe-badge-node {
    position: absolute;
    background: rgba(10, 15, 25, 0.85);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #e2e8f0;
    font-size: 11px;
    font-family: monospace;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.globe-badge-node.node-1 {
    top: 15%;
    right: 5%;
}

.globe-badge-node.node-2 {
    bottom: 20%;
    left: 5%;
}

.node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
}

.web-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-box .num {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-box .lbl {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* MODE 2: FULL CINEMATIC VIDEO (Title Hidden on Video as requested) */
.visual-video-container {
    display: none;
    position: relative;
    width: 100%;
    height: 84vh;
}

.hero-stage.mode-video .visual-video-container {
    display: block;
}

.hero-fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-subtle-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 7, 10, 0.4) 0%, transparent 40%, rgba(6, 7, 10, 0.6) 100%);
    pointer-events: none;
}

.video-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 14, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 20px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 10px #00FFCC;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 900px) {
    .web-hero-grid {
        grid-template-columns: 1fr;
    }
    .web-hero-title {
        font-size: 2.8rem;
    }
    .web-hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}


/* Pure Video Hero Section (Leaves only the video) */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 480px;
    max-height: 720px;
    overflow: hidden;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Navbar with Brand Logo Left and Master Nav */
.site-header .nav-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 32px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 10px 32px !important;
    box-sizing: border-box !important;
}

.site-header .main-nav {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.site-header .nav-list {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
}

.dropdown-header { display: none !important; }

/* Seamless connection: White features band flush with video */
.hero-video-section {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.page-wrapper:has(.features-section),
body:has(.hero-video-section) .page-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.features-section {
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
}


/* ==========================================================================
   STRICT LINEAR LAYOUT - NO OVERLAPPING TITLES
   ========================================================================== */

/* Make header completely linear (relative positioning, no overlap) */
.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: 100 !important;
    background: #080a0f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.top-announcement-bar {
    position: relative !important;
    width: 100% !important;
    background: #06070a !important;
}

/* Linear Network Intelligence Hero Section */
.network-intelligence-hero {
    position: relative !important;
    width: 100% !important;
    background: #06070a !important;
    padding: 56px 32px 40px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.network-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
}

.network-hero-left {
    max-width: 620px;
}

.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.network-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
}

.blue-accent-bar {
    width: 48px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
    margin-bottom: 22px;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.network-hero-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.network-hero-description {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 34px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.network-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .network-hero-container {
        grid-template-columns: 1fr;
    }
    .network-hero-title {
        font-size: 2.8rem;
    }
}


/* ==========================================================================
   DEFINITIVE OVERRIDES: DARK BACKGROUND, CLEAN VIDEO, CENTERED NAVBAR
   ========================================================================== */

body {
    background-color: #06070a !important;
    margin: 0 !important;
    padding: 0 !important;
}

.background-image-container {
    display: none !important;
    background: #06070a !important;
}

/* Header & Announcement: Clean, Linear, Centered */
.top-announcement-bar {
    position: relative !important;
    background: #06070a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 20px !important;
    text-align: center !important;
    z-index: 100 !important;
}

.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: #080a0f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 99 !important;
}

.site-header .nav-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 32px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 10px 32px !important;
    box-sizing: border-box !important;
}

.site-header .main-nav {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.site-header .nav-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide any brand or launch app buttons inside header */
.site-header .nav-brand,
.site-header .header-actions,
.site-header .mobile-brand {
    display: none !important;
}

/* Pure Fullscreen Hero Video */
.hero-video-section {
    position: relative !important;
    width: 100% !important;
    height: 75vh !important;
    min-height: 500px !important;
    max-height: 720px !important;
    overflow: hidden !important;
    background: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.hero-fullscreen-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Remove Network Intelligence entirely */
.network-intelligence-hero {
    display: none !important;
}

/* White Band Flush Against Video */
.page-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.features-section {
    background-color: #ffffff !important;
    margin-top: 0 !important;
    padding: 40px 20px 20px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Dropdown Headers Hidden */
.dropdown-header {
    display: none !important;
}


/* ==========================================================================
   ANTI-BLUR & LINEAR POSITIONING FIX
   ========================================================================== */

/* Navbar is purely linear, sitting above the hero without overlapping */
.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: #080a0f !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 100 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.top-announcement-bar {
    position: relative !important;
    background: #06070a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 24px !important;
    z-index: 101 !important;
}

/* Ensure the title has ample top space so it is never clipped or blurred */
.visual-web-container {
    padding-top: 50px !important;
    box-sizing: border-box !important;
}

.network-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 16px !important;
    filter: none !important;
    opacity: 1 !important;
}

.network-hero-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 4.2rem !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    margin: 0 0 20px !important;
    filter: none !important;
}


/* Nav Home Button Styling */
.nav-list li.nav-item {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
}

.nav-list li.nav-item a.drop-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    color: #cbd5e1 !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    border: 1px solid transparent !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.nav-list li.nav-item a.drop-btn:hover {
    color: #00FFCC !important;
    background: rgba(0, 255, 204, 0.08) !important;
    border-color: rgba(0, 255, 204, 0.25) !important;
}


/* Nav Home Button Direct Link Styling */
.nav-list li.nav-item {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
}

.nav-list li.nav-item a.nav-home-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    color: #cbd5e1 !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    border: 1px solid transparent !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    cursor: pointer !important;
}

.nav-list li.nav-item a.nav-home-btn:hover {
    color: #00FFCC !important;
    background: rgba(0, 255, 204, 0.08) !important;
    border-color: rgba(0, 255, 204, 0.25) !important;
}



/* ==========================================================================
   COSMOS HIGH-END THEME (Matches Video & Image 2 Dropdowns & Zero Overlap)
   ========================================================================== */

/* 1. Global Reset & Theme */
body.cosmos-body {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* 2. Top Announcement Ticker Bar (Fixed Sticky on all pages) */
.top-announcement-bar {
    position: sticky !important;
    top: 0 !important;
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 24px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1001 !important;
}

.announcement-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

.ticker-track-container {
    flex: 1 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    position: relative !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%) !important;
}

.ticker-track {
    display: inline-flex !important;
    gap: 40px !important;
    animation: cosmosMarquee 32s linear infinite !important;
    font-size: 0.82rem !important;
    color: #cbd5e1 !important;
}

.ticker-track:hover {
    animation-play-state: paused !important;
}

.ticker-track.paused {
    animation-play-state: paused !important;
}

@keyframes cosmosMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ticker-bullet {
    color: #ef4444 !important;
    font-size: 8px !important;
}

.ticker-item a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 500 !important;
    margin-left: 4px !important;
}

.ticker-item a:hover {
    color: #00FFCC !important;
}

.ticker-controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 20px !important;
    flex-shrink: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 16px !important;
}

.ticker-btn {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    padding: 4px 6px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ticker-btn:hover {
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.ticker-btn.active-visual {
    color: #00FFCC !important;
}

/* 3. Site Header (Fixed Sticky Master Navbar) */
.site-header {
    position: sticky !important;
    top: 40px !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 1000 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

.site-header .nav-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 32px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 10px 32px !important;
    box-sizing: border-box !important;
}

/* Brand Logo (Left) */
.nav-brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

.brand-text {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

.brand-slash {
    color: #ffffff !important;
}

.brand-tag-l1 {
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background: rgba(0, 255, 204, 0.15) !important;
    color: #00FFCC !important;
    border: 1px solid rgba(0, 255, 204, 0.3) !important;
    text-transform: uppercase !important;
}

/* Nav Menu (Center) */
.site-header .main-nav {
    display: flex !important;
    justify-content: center !important;
}

.site-header .nav-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-list .drop-btn,
.nav-list .nav-home-btn {
    color: #d1d5db !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    cursor: pointer !important;
}

.nav-list .drop-btn:hover,
.nav-list .nav-home-btn:hover,
.nav-list li.dropdown:hover > .drop-btn,
.nav-list li.dropdown.open-dropdown > .drop-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* 3.1 DROPDOWNS (EXACTLY MATCHING IMAGE 2!) */
.site-header .dropdown {
    position: relative !important;
}

.site-header .dropdown-content {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    background: rgba(10, 13, 26, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 255, 204, 0.08) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    padding: 8px !important;
    min-width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 1050 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
}

.site-header .dropdown:hover .dropdown-content,
.site-header .dropdown.open-dropdown .dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.site-header .dropdown-content::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 14px !important;
    background: transparent !important;
}

/* Individual Dropdown Item (Image 2 style) */
.site-header .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.site-header .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(2px) !important;
}

.site-header .dropdown-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header .dropdown-content-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    text-align: left !important;
}

.site-header .dropdown-title {
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.site-header .dropdown-desc {
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
}

/* White Pill CTA Button (Right) */
.header-action-container {
    display: flex !important;
    align-items: center !important;
}

.btn-cosmos-pill-white {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 9px 22px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
    border: none !important;
}

.btn-cosmos-pill-white:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25) !important;
    color: #000000 !important;
}

.pill-arrow {
    font-size: 1.1rem !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
}

.btn-cosmos-pill-white:hover .pill-arrow {
    transform: translateX(2px) !important;
}

/* 4. Cosmos Hero Stage */
.cosmos-hero-stage {
    position: relative !important;
    width: 100% !important;
    min-height: 84vh !important;
    background: #000000 !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Video Layer (Behind Hero) */
.cosmos-video-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

.cosmos-hero-content {
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

/* When video mode is active: Web content fades out, and fullscreen video becomes visible */
.cosmos-hero-stage.video-mode-active .cosmos-hero-content {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.cosmos-hero-stage.video-mode-active .cosmos-video-layer {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cosmos-hero-stage.video-mode-active .cosmos-video-overlay {
    background: transparent !important;
}

.cosmos-video-element {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.cosmos-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.62) !important;
}

/* Hero Content (Foreground - Generous Top Padding so Title is NEVER touched by Navbar) */
.cosmos-hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 50px 32px 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
}

.cosmos-hero-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 40px !important;
    align-items: center !important;
    flex: 1 !important;
}

.cosmos-hero-left {
    max-width: 680px !important;
}

/* Badge & Accent Bar (from Image 1) */
.network-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: #00FFCC !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.badge-dot {
    width: 7px !important;
    height: 7px !important;
    background: #00FFCC !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #00FFCC !important;
}

.blue-accent-bar {
    width: 50px !important;
    height: 3px !important;
    background: #2563eb !important;
    margin-bottom: 20px !important;
    border-radius: 2px !important;
}

.cosmos-hero-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 4.4rem !important;
    font-weight: 500 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    margin: 0 0 24px !important;
}

.hero-title-sub {
    color: #94a3b8 !important;
}

.cosmos-hero-description {
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
    color: #94a3b8 !important;
    margin: 0 0 36px !important;
    max-width: 580px !important;
}

.cosmos-hero-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.btn-cosmos-action-white {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    padding: 12px 26px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
    border: none !important;
}

.btn-cosmos-action-white:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25) !important;
    color: #000000 !important;
}

.btn-cosmos-action-outline {
    background: transparent !important;
    color: #cbd5e1 !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    transition: all 0.2s ease !important;
}

.btn-cosmos-action-outline:hover {
    color: #00FFCC !important;
    border-color: rgba(0, 255, 204, 0.4) !important;
    background: rgba(0, 255, 204, 0.06) !important;
}

.action-arrow {
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

/* 5. Dotted 3D Globe Viewport */
.cosmos-hero-right {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.globe-viewport {
    position: relative !important;
    width: 620px !important;
    height: 520px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#network-globe-canvas {
    width: 620px !important;
    height: 520px !important;
    cursor: grab !important;
}

#network-globe-canvas:active {
    cursor: grabbing !important;
}

/* Globe Node Labels (Matching Video) */
.globe-label {
    position: absolute !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.pin-line {
    width: 1px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.4) !important;
}

.pin-text {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    color: #cbd5e1 !important;
    text-transform: uppercase !important;
    margin-top: 4px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.pin-figure {
    top: 90px !important;
    left: 170px !important;
}

.pin-fetch {
    top: 75px !important;
    right: 150px !important;
}

.pin-cbw {
    bottom: 85px !important;
    left: 280px !important;
}

.pin-luxa {
    top: 240px !important;
    right: 180px !important;
}

.pin-luxa .pin-dot {
    width: 8px !important;
    height: 8px !important;
    background: #00FFCC !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #00FFCC !important;
}

/* 6. Stats Bar (Cosmos Exact) */
.cosmos-stats-bar {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 48px !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 1.05rem !important;
    color: #94a3b8 !important;
    margin-top: 40px !important;
    flex-wrap: wrap !important;
}

.stat-cell {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.stat-number {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
}

/* 7. Institutional Cards Section (frame_010.png) */
.cosmos-cards-section {
    padding: 60px 32px !important;
    background: #000000 !important;
}

.cosmos-cards-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.cosmos-card {
    background: rgba(14, 18, 26, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 40px 32px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 240px !important;
    transition: all 0.25s ease !important;
}

.cosmos-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    background: rgba(18, 24, 35, 0.9) !important;
}

.cosmos-card-text {
    font-size: 1.12rem !important;
    line-height: 1.55 !important;
    color: #e2e8f0 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.cosmos-card-tag {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-transform: capitalize !important;
    margin-top: 32px !important;
    display: inline-block !important;
}

/* 8. Cinematic Showcase Banner (frame_015.png) */
.cosmos-cinematic-banner {
    padding: 60px 32px !important;
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.banner-inner {
    max-width: 1440px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
}

.banner-badge-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 24px !important;
}

.banner-badge-block {
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.banner-desc {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    max-width: 600px !important;
    margin: 0 !important;
}

.banner-btn {
    font-size: 0.95rem !important;
    padding: 14px 28px !important;
}

/* 9. Sovereign Manifesto Section */
.spotlight-section {
    padding: 80px 32px !important;
    background: #000000 !important;
}

.spotlight-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
}

.spotlight-poster-link {
    display: block !important;
    text-decoration: none !important;
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 255, 204, 0.3) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
}

.spotlight-poster-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: brightness(0.85) !important;
    transition: transform 0.4s ease !important;
}

.spotlight-poster-link:hover .spotlight-poster-img {
    transform: scale(1.03) !important;
}

.spotlight-poster-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 7, 10, 0.95) 100%) !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 24px !important;
}

.spotlight-badge-text {
    color: #00FFCC !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
}

.spotlight-title {
    color: #ffffff !important;
    font-size: 2.3rem !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.spotlight-quote-highlight {
    color: #00FFCC !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
    margin: 0 0 16px !important;
    border-left: 3px solid #00FFCC !important;
    padding-left: 16px !important;
}

.spotlight-quote-secondary {
    color: #cbd5e1 !important;
    font-style: italic !important;
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
    margin: 0 0 24px !important;
    border-left: 3px solid rgba(255, 255, 255, 0.25) !important;
    padding-left: 16px !important;
}

.spotlight-summary {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #94a3b8 !important;
    margin-bottom: 32px !important;
}

.btn-primary-cosmos {
    background: #00FFCC !important;
    color: #04120a !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    padding: 13px 28px !important;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: transform 0.2s ease !important;
}

.btn-primary-cosmos:hover {
    transform: translateY(-1px) !important;
}

/* 10. Footer */
.site-footer-bottom {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 50px 32px 30px !important;
    text-align: center !important;
}

.footer-brand-title {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.15em !important;
}

.footer-sub {
    color: #64748b !important;
    font-size: 13px !important;
    margin: 8px 0 16px !important;
}

.footer-links {
    display: flex !important;
    justify-content: center !important;
    gap: 24px !important;
    font-size: 13px !important;
    flex-wrap: wrap !important;
}

.footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-links a:hover {
    color: #00FFCC !important;
}

/* Remove old conflicting elements */
.features-section {
    display: none !important;
}

.background-image-container {
    display: none !important;
}

.network-intelligence-hero {
    display: none !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 950px) {
    .cosmos-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .cosmos-hero-left {
        max-width: 100% !important;
    }
    .cosmos-hero-title {
        font-size: 2.8rem !important;
    }
    .cosmos-hero-buttons {
        justify-content: center !important;
    }
    .cosmos-stats-bar {
        justify-content: center !important;
        gap: 24px !important;
    }
    .cosmos-cards-container {
        grid-template-columns: 1fr !important;
    }
    .banner-inner {
        flex-direction: column !important;
        text-align: center !important;
    }
    .banner-badge-wrapper {
        align-items: center !important;
    }
    .spotlight-container {
        flex-direction: column !important;
    }
    .header-action-container {
        display: none !important;
    }
}

.site-header .header-action-container {
    display: none !important;
}

/* ==========================================================================
   PURE BLACK BACKGROUND FROM HERO DOWN TO FOOTER
   ========================================================================== */
html,
body,
body.cosmos-body,
.cosmos-hero-stage,
.page-wrapper,
.cosmos-cards-section,
.cosmos-cinematic-banner,
.spotlight-section,
.site-footer-bottom {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Remove any legacy white box or background container */
.features-section,
.white-box,
.background-image-container {
    display: none !important;
    background: transparent !important;
}


/* ==========================================================================
   COSMOS INITIAL VIDEO TO WEB SMOOTH TRANSITION EFFECT
   ========================================================================== */
.cosmos-hero-stage {
    cursor: default !important;
}

.cosmos-hero-stage.video-mode-active {
    cursor: pointer !important;
}

.cosmos-hero-content {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) translateY(0) !important;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease !important;
}

.cosmos-video-layer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease !important;
}

/* In Video Mode: Video is full and clean, Web Content scales down subtly and fades out */
.cosmos-hero-stage.video-mode-active .cosmos-video-layer {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cosmos-hero-stage.video-mode-active .cosmos-hero-content {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.97) translateY(8px) !important;
}

.cosmos-hero-stage.video-mode-active .cosmos-video-overlay {
    background: rgba(0, 0, 0, 0.2) !important;
}


/* ==========================================================================
   COSMOS LIVE STATS BAR & ON-CHAIN TOKENOMICS
   ========================================================================== */
.cosmos-stats-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 36px !important;
    width: 100% !important;
}

.stats-primary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

.stat-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
}

.stat-number {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
}

.stat-label {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.stat-pulse-dot {
    width: 6px !important;
    height: 6px !important;
    background: #00FFCC !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #00FFCC !important;
    animation: liveStatPulse 2s infinite ease-in-out !important;
}

@keyframes liveStatPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.stats-tokenomics-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    padding-top: 14px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
}

.tokenomics-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    transition: border-color 0.2s ease !important;
}

.tokenomics-chip:hover {
    border-color: rgba(0, 255, 204, 0.3) !important;
    background: rgba(0, 255, 204, 0.04) !important;
}

.chip-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

.chip-value {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
}

#liveTreasuryVault, #liveConseilVault {
    color: #00FFCC !important;
}

/* Live Block Pulse Highlight Animation */
.block-pulse-highlight {
    color: #00FFCC !important;
    text-shadow: 0 0 16px rgba(0, 255, 204, 0.9), 0 0 30px rgba(0, 255, 204, 0.6) !important;
    transform: scale(1.04) !important;
    transition: all 0.25s ease-out !important;
}
.live-block-glow {
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease !important;
}

/* LUXA Sovereign Brand Logo */
.site-header .nav-brand-logo,
.nav-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
}

.site-header .nav-brand-logo img,
.site-header .brand-logo-img,
.brand-logo-img {
    height: 34px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.45)) !important;
    transition: transform 0.25s ease, filter 0.25s ease !important;
}

.site-header .nav-brand-logo:hover img,
.site-header .nav-brand-logo:hover .brand-logo-img,
.nav-brand-logo:hover .brand-logo-img {
    transform: scale(1.03) !important;
    filter: drop-shadow(0 0 18px rgba(0, 255, 204, 0.85)) !important;
}

@media (max-width: 950px) {
    .site-header .nav-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 10px 16px 8px !important;
    }
    .site-header .nav-brand-logo {
        margin: 0 auto !important;
    }
    .site-header .nav-brand-logo img,
    .site-header .brand-logo-img {
        height: 28px !important;
    }
    .site-header .main-nav {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .site-header .main-nav::-webkit-scrollbar {
        display: none !important;
    }
    .site-header .nav-list {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: max-content !important;
        padding: 0 4px !important;
    }
}
