/* ==============================================================================
   RETICULUM AI ($RAIX) - INSTITUTIONAL CYBERNETIC OBSIDIAN THEME (TIER-1)
   Engineered for Tier-1 Layer-1 Autonomous Machine-to-Machine Intelligence
   ============================================================================== */

:root {
    --bg-main: #070a13;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-subtle: rgba(30, 41, 59, 0.6);
    --bg-card-hover: rgba(22, 33, 58, 0.85);
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 43, 71, 0.5);
    
    --slate-900: #ffffff;
    --slate-800: #f8fafc;
    --slate-700: #cbd5e1;
    --slate-600: #94a3b8;
    --slate-500: #64748b;
    --slate-400: #475569;
    
    --indigo: #ff2b47;
    --indigo-soft: rgba(255, 43, 71, 0.15);
    --violet: #ef4444;
    --violet-soft: rgba(239, 68, 68, 0.15);
    --cyan: #38bdf8;
    --cyan-soft: rgba(56, 189, 248, 0.15);
    --emerald: #10b981;
    --emerald-soft: rgba(16, 185, 129, 0.15);
    --amber: #f59e0b;
    --amber-soft: rgba(245, 158, 11, 0.15);
    --flame: #f97316;
    --flame-soft: rgba(249, 115, 22, 0.15);
    --red: #ef4444;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 43, 71, 0.18);
    --shadow-indigo: 0 10px 25px -3px rgba(255, 43, 71, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: #060911;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(rgba(255, 43, 71, 0.06) 1px, transparent 1px);
    background-size: 32px 32px, 32px 32px, 16px 16px;
    background-position: -1px -1px, -1px -1px, 0 0;
    color: var(--slate-700);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ======================================================== */
/* BACKGROUNDS & INTERACTIVE CANVASES                       */
/* ======================================================== */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.light-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(at 15% 15%, rgba(255, 43, 71, 0.16) 0px, transparent 45%),
        radial-gradient(at 85% 20%, rgba(239, 68, 68, 0.14) 0px, transparent 40%),
        radial-gradient(at 50% 85%, rgba(220, 38, 38, 0.12) 0px, transparent 50%),
        radial-gradient(at 20% 80%, rgba(255, 255, 255, 0.05) 0px, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* SPOTLIGHT CARD */
.spotlight-card {
    position: relative;
    overflow: hidden;
}
.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -200px);
    left: var(--mouse-x, -200px);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.20) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    z-index: 1;
}
.spotlight-card:hover::before {
    opacity: 1;
}

/* UTILITIES */
.mono { font-family: var(--font-mono); }
.text-indigo { color: var(--indigo); }
.text-violet { color: var(--violet); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-flame { color: var(--flame); }
.text-red { color: var(--red); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-muted { color: var(--slate-500); }
.font-bold { font-weight: 700; }

.bg-indigo-soft { background-color: var(--indigo-soft); }
.bg-violet-soft { background-color: var(--violet-soft); }
.bg-emerald-soft { background-color: var(--emerald-soft); }
.bg-amber-soft { background-color: var(--amber-soft); }
.bg-flame-soft { background-color: var(--flame-soft); }

/* CARDS & PANELS */
.light-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.light-card:hover {
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* FLOATING NAVBAR */
.header-container {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 8px 16px;
    max-width: 1540px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.light-card-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-right: 14px;
}
.nav-brand:hover {
    transform: scale(1.02);
}

.brand-logo-custom {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-brand:hover .brand-logo-custom {
    transform: scale(1.12);
}
.brand-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 43, 71, 0.65));
    border-radius: 7px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--slate-900);
    letter-spacing: 0.3px;
}

.brand-badge-light {
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 1.0px;
    color: var(--indigo);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}
@media (max-width: 1400px) {
    .nav-links {
        gap: 8px;
    }
    .nav-link {
        font-size: 0.78rem;
    }
}
@media (max-width: 1250px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
    padding: 3px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--indigo);
    transition: width 0.25s ease;
    border-radius: 2px;
}
.nav-link:hover {
    color: var(--indigo);
}
.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nav-btn-desktop, .nav-cta-btn, .nav-wallet-btn {
    padding: 6px 12px;
    font-size: 0.80rem;
    white-space: nowrap;
    border-radius: 9999px;
}

@media (max-width: 900px) {
    .nav-actions .nav-btn-desktop {
        display: none;
    }
}

.mobile-menu-toggle-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--slate-800);
    cursor: pointer;
    transition: all 0.2s ease;
}
@media (max-width: 1140px) {
    .mobile-menu-toggle-btn {
        display: flex;
    }
}
.mobile-menu-toggle-btn:hover {
    background: var(--bg-subtle);
    color: var(--indigo);
}

@media (max-width: 1080px) {
    .mobile-menu-toggle-btn {
        display: inline-flex;
    }
    .nav-btn-desktop {
        display: none !important;
    }
}
@media (max-width: 500px) {
    .nav-wallet-btn span {
        display: none;
    }
    .nav-cta-btn span {
        display: none;
    }
    .nav-cta-btn, .nav-wallet-btn {
        padding: 8px 12px;
    }
    .brand-badge-light {
        display: none;
    }
}

/* MOBILE SLIDE-DOWN DRAWER */
.mobile-nav-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.mobile-nav-drawer.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    max-height: 55vh;
    overflow-y: auto;
}
.mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--slate-700);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.mobile-drawer-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}
.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

/* BUTTONS & SHIMMER */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ff2b47 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--slate-800);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-hero-cta {
    background: linear-gradient(135deg, #ff2b47 0%, #ef4444 100%);
    color: #ffffff;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.6);
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    animation: shimmerBeam 4s infinite;
}
@keyframes shimmerBeam {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.nav-cta-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.btn-hero-ghost {
    background: transparent;
    color: var(--slate-400);
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 100px;
    transition: all 0.2s;
}
.btn-hero-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}
.btn-block {
    width: 100%;
}

/* LIVE TICKER BANNER */
.network-ticker-container {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.network-ticker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-label {
    color: var(--slate-500);
    font-weight: 700;
}
.ticker-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: pulse 1.5s infinite;
}

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

/* VIEWS WRAPPER */
#app-view-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}
.view-pane {
    display: none;
}
.view-pane.active {
    display: block;
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0 70px;
}
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.pill-sparkle { font-size: 1rem; }
.pill-arrow { color: var(--indigo); font-size: 0.8rem; }

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--slate-900);
    margin-bottom: 22px;
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

.gradient-text-indigo {
    background: linear-gradient(135deg, #ffffff 0%, #fca5a5 40%, #ff2b47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.animated-gradient {
    background-size: 200% auto;
    animation: gradientShift 6s ease-in-out infinite alternate;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.18rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 45px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 640px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.hero-stat-card {
    padding: 18px 20px;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
}
.stat-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 4px;
}
.stat-info {
    font-size: 0.72rem;
    color: var(--slate-500);
}

/* HERO 3D TOKEN SHOWCASE */
.hero-showcase {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.token-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    text-align: center;
}
.token-glow-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    animation: haloPulse 3s ease-in-out infinite alternate;
}
.token-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 290px;
    height: 290px;
    border: 1.5px dashed rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: rotateRing 20s linear infinite;
}
@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes haloPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.token-3d-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatToken 4.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
.token-3d-image:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes floatToken {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.token-badge-float {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-top: -16px;
    position: relative;
    z-index: 3;
}

/* ======================================================== */
/* AI FRAMEWORKS MARQUEE (CYBERNETIC INFINITE SCROLLER)     */
/* ======================================================== */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 24px 0;
    margin: 20px 0 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(7, 10, 19, 0.6) 100%);
}
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #070a13 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #070a13 0%, transparent 100%);
}

.marquee-header {
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--slate-500);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.marquee-header .marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--indigo);
    box-shadow: 0 0 8px var(--indigo);
    animation: pulse 1.5s infinite;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 8px 18px;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: default;
}
.marquee-item:hover {
    background: rgba(22, 33, 58, 0.9);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.marquee-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.marquee-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--slate-800);
}
.marquee-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 7px;
    border-radius: 9999px;
}

.visual-pipeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.pipeline-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-subtle);
    border-radius: 14px;
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
}
.pipeline-step:hover {
    background: rgba(22, 33, 58, 0.9);
    border-color: var(--indigo);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.pipeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pipeline-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--slate-900);
}
.pipeline-text span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* ======================================================== */
/* 3-LAYER STACK EXPLORER                                    */
/* ======================================================== */
.stack-explorer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 36px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 860px) {
    .stack-explorer-layout { grid-template-columns: 1fr; }
}

.stack-layers-selector {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.stack-layer-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stack-layer-card:hover {
    border-color: var(--indigo);
    transform: translateX(4px);
}
.stack-layer-card.active {
    background: rgba(22, 33, 58, 0.95);
    border-color: var(--indigo);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
    border-left: 5px solid var(--indigo);
}
.layer-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.layer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 4px;
}
.layer-desc {
    font-size: 0.85rem;
    color: var(--slate-600);
}

.stack-layer-detail-box {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    color: #f8fafc;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ======================================================== */
/* AI SEMANTIC VECTOR SEARCH SECTION                         */
/* ======================================================== */
.semantic-search-card {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon-left {
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
    pointer-events: none;
}
.semantic-input {
    width: 100%;
    padding: 18px 220px 18px 54px;
    border-radius: 100px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--slate-900);
    background: rgba(11, 17, 32, 0.85);
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.semantic-input:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}
.search-btn-inner {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 24px;
}

.quick-queries-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}
.preset-query-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--slate-700);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.preset-query-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--indigo);
    color: #ffffff;
}

.semantic-results-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.semantic-empty-hint {
    text-align: center;
    padding: 40px;
    color: var(--slate-400);
}
.semantic-result-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.semantic-result-card:hover {
    border-color: var(--indigo);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(99, 102, 241, 0.2);
}
.result-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cosine-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-soft);
    color: var(--emerald);
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
}
.cosine-bar-wrap {
    height: 6px;
    border-radius: 4px;
    background: var(--bg-subtle);
    overflow: hidden;
    margin: 4px 0;
}
.cosine-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff2b47 0%, #10b981 100%);
    border-radius: 4px;
}
.result-content-text {
    font-size: 0.95rem;
    color: var(--slate-800);
    line-height: 1.55;
}
.result-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--slate-500);
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
}

/* ======================================================== */
/* TELEMETRY CHART METRICS                                   */
/* ======================================================== */
.metrics-dashboard-card {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.chart-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.chart-title-box h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--slate-900);
    margin-top: 4px;
}
.chart-stat-chips {
    display: flex;
    gap: 10px;
}
.chip-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
}
.telemetry-summary-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .telemetry-summary-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}
.telemetry-stat {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.telemetry-stat .t-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.telemetry-stat .t-val {
    font-size: 1.25rem;
    font-weight: 800;
}
.sparkline-canvas-container {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
#hashrate-sparkline-canvas {
    width: 100%;
    height: 230px;
    display: block;
    cursor: crosshair;
}
.chart-tooltip-box {
    position: absolute;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #f8fafc;
    z-index: 10;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    line-height: 1.5;
}
.chart-legend-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--slate-500);
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.legend-line {
    width: 18px;
    height: 3px;
    border-radius: 2px;
}
.legend-bar {
    width: 12px;
    height: 10px;
    border-radius: 2px;
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ======================================================== */
/* DEVELOPER SDK SUITE                                      */
/* ======================================================== */
.developer-sdk-suite {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.sdk-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.sdk-tab {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--slate-700);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.sdk-tab:hover {
    border-color: var(--indigo);
}
.sdk-tab.active {
    background: rgba(22, 33, 58, 0.95);
    border-color: var(--indigo);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    color: #ffffff;
}
.sdk-terminal-box {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ======================================================== */
/* MODAL INSPECTOR                                          */
/* ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show {
    display: flex;
}
.modal-content {
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.modal-close-btn {
    background: var(--bg-subtle);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal-close-btn:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

/* HALVING TIMELINE SCHEDULE */
.halving-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 640px) {
    .halving-timeline { grid-template-columns: 1fr; }
}
.halving-stage {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.2s;
}
.halving-stage.active {
    background: var(--indigo-soft);
    border-color: rgba(79, 70, 229, 0.3);
}
.stage-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--indigo);
    display: block;
    margin-bottom: 4px;
}
.stage-reward {
    font-size: 1.05rem;
    color: var(--slate-900);
}
.stage-blocks {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* ARCHITECTURE BANNER */
.architecture-banner {
    padding: 24px;
    overflow: hidden;
}
.arch-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
@media (max-width: 860px) {
    .arch-banner-grid { grid-template-columns: 1fr; }
}
.arch-banner-img-wrap {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}
.arch-mesh-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.arch-mesh-img:hover {
    transform: scale(1.04);
}
.arch-banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 8px 0 12px;
}
.arch-banner-content p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.65;
    margin-bottom: 20px;
}
.arch-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--slate-800);
    background: var(--bg-subtle);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}
.highlight-item:hover {
    border-color: var(--indigo);
    transform: translateX(4px);
}

/* SECTIONS LAYOUT */
.section-container {
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--indigo);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--slate-900);
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-600);
}

/* WORKFLOW GRID */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .workflow-grid { grid-template-columns: 1fr; }
}
.workflow-card {
    padding: 30px;
    position: relative;
}
.step-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--indigo);
    background: var(--indigo-soft);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
}
.workflow-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.icon-indigo { background: var(--indigo-soft); color: var(--indigo); }
.icon-violet { background: var(--violet-soft); color: var(--violet); }
.icon-flame { background: var(--flame-soft); color: var(--flame); }
.icon-emerald { background: var(--emerald-soft); color: var(--emerald); }

.workflow-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}
.workflow-card p {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.6;
}

/* COST COMPARISON */
.cost-comparison-card {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.cost-calc-controls {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
}
.calc-slider-group .slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-800);
}
.cost-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 860px) {
    .cost-comparison-grid { grid-template-columns: 1fr; }
}
.comparison-cost-box {
    border-radius: 18px;
    padding: 30px;
    border: 1px solid var(--border-light);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.comparison-cost-box.legacy-cloud {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.05);
}
.comparison-cost-box.reticulum-advantage {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.border-glow-animated {
    position: relative;
}
.border-glow-animated::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #38bdf8, #6366f1);
    background-size: 300% 300%;
    z-index: -1;
    animation: borderRotate 6s linear infinite;
    opacity: 0.6;
}
@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cost-box-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.cost-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
}
.cost-sub {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-bottom: 20px;
}
.cost-box-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.cost-box-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-700);
}
.savings-pill {
    margin-top: auto;
    background: var(--emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--emerald);
}

.pulse-emerald {
    animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
    50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.25); }
}

/* MERKLE TREE VISUALIZER */
.merkle-visualizer-card {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.merkle-tree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tree-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.merkle-node {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px 18px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.merkle-node:hover, .merkle-node.active {
    border-color: var(--indigo);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    transform: translateY(-3px) scale(1.02);
}
.root-node {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    padding: 16px 28px;
}
.node-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--indigo);
    display: block;
    margin-bottom: 4px;
}
.node-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-900);
}
.node-hash {
    font-size: 0.78rem;
    color: var(--slate-500);
}
.tree-lines {
    color: var(--slate-400);
    font-size: 0.8rem;
}
.inspector-details-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px 24px;
}
.inspector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}
.inspector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--slate-700);
}
@media (max-width: 640px) {
    .inspector-grid { grid-template-columns: 1fr; }
}

/* MINING & NODE SETUP HUB */
.mining-hub-layout {
    padding: 36px;
    max-width: 1050px;
    margin: 0 auto;
}
.os-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.os-tab {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--slate-600);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.os-tab:hover {
    color: var(--slate-900);
    border-color: var(--slate-400);
}
.os-tab.active {
    background: var(--indigo);
    color: #ffffff;
    border-color: var(--indigo);
    box-shadow: var(--shadow-indigo);
}

.terminal-display-box {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #1e293b;
}
.term-header {
    background: #1e293b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.terminal-dots {
    display: flex;
    gap: 6px;
}
.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.term-title {
    font-size: 0.78rem;
    color: #94a3b8;
}
.copy-term-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.copy-term-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.term-code-block {
    padding: 24px;
    color: #38bdf8;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-x: auto;
}

.mining-estimator-section {
    border-top: 1px solid var(--border-light);
    padding-top: 28px;
}
.estimator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.estimator-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--slate-900);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
}
.calc-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #cbd5e1;
    outline: none;
    accent-color: var(--indigo);
    cursor: pointer;
}
.calc-meta-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--slate-600);
}
.calc-results-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.result-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: 14px;
}
.res-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-500);
}
.res-value {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    margin: 4px 0;
}
.res-sub {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* TOKENOMICS */
.tokenomics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 860px) {
    .tokenomics-layout { grid-template-columns: 1fr; }
}
.tokenomics-card, .tokenomics-visual-light {
    padding: 36px;
}
.token-header-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 18px;
    margin-bottom: 24px;
}
.badge-token {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--indigo);
}
.token-ticker-light {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--slate-900);
}
.token-supply-light {
    text-align: right;
}
.token-supply-light .label {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 700;
}
.token-supply-light .val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--indigo);
}

.token-metrics-list-light {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.metric-row-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}
.metric-row-light span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-800);
}

.visual-title-light {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--slate-900);
    margin-bottom: 20px;
}
.supply-bar-light {
    height: 38px;
    border-radius: 10px;
    background: var(--bg-subtle);
    overflow: hidden;
    margin-bottom: 12px;
}
.bar-fill-community {
    height: 100%;
    background: linear-gradient(90deg, #ff2b47 0%, #10b981 100%);
    display: flex;
    align-items: center;
    padding-left: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}
.supply-legend-light {
    display: flex;
    gap: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-600);
}
.dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    margin-right: 6px;
}
.dot-red {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 6px;
}

.deflation-box-light {
    background: var(--flame-soft);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 14px;
    padding: 20px;
}
.deflation-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.deflation-formula {
    font-size: 0.82rem;
    color: var(--flame);
    background: rgba(249, 115, 22, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(234, 88, 12, 0.25);
}
.deflation-explanation {
    font-size: 0.85rem;
    color: var(--slate-700);
    line-height: 1.5;
}

/* FAQ */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    padding: 22px 28px;
    cursor: pointer;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--slate-900);
}
.faq-answer {
    display: none;
    margin-top: 14px;
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* CTA BANNER */
.cta-banner-section {
    padding: 60px 0 20px;
}
.cta-banner-light {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.cta-banner-light h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
}
.cta-banner-light p {
    font-size: 1.1rem;
    color: var(--slate-600);
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* FOOTER */
.footer-container-light {
    max-width: 1280px;
    margin: 40px auto 20px;
    padding: 40px;
}
.footer-top-light {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}
@media (max-width: 768px) {
    .footer-top-light { flex-direction: column; }
}
.footer-brand-light {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.footer-tagline {
    font-size: 0.88rem;
    color: var(--slate-500);
    margin-top: 6px;
    max-width: 340px;
}
.footer-links-group-light {
    display: flex;
    gap: 50px;
}
.footer-col-light h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-900);
    margin-bottom: 14px;
}
.footer-col-light a {
    display: block;
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-col-light a:hover {
    color: var(--indigo);
}
.footer-bottom-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.82rem;
    color: var(--slate-500);
}
@media (max-width: 640px) {
    .footer-bottom-light { flex-direction: column; gap: 12px; text-align: center; }
}

/* APP VIEWS */
.app-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.app-page-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--slate-900);
}
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 900px) {
    .grid-2col { grid-template-columns: 1fr; }
}
.panel {
    padding: 26px;
}
.panel-header-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
}
.panel-header-light h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--slate-900);
}

.pill-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pill-green-light { background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(5, 150, 105, 0.2); }
.pill-violet-light { background: var(--violet-soft); color: var(--violet); border: 1px solid rgba(124, 58, 237, 0.2); }
.pill-amber-light { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(217, 119, 6, 0.2); }
.pill-flame-light { background: var(--flame-soft); color: var(--flame); border: 1px solid rgba(234, 88, 12, 0.2); }

/* TABLES */
.table-container {
    overflow-x: auto;
    max-height: 460px;
}
.table-light {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.table-light th {
    text-align: left;
    padding: 10px 12px;
    color: var(--slate-500);
    font-weight: 700;
    border-bottom: 1px solid var(--border-light);
}
.table-light td {
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-mono);
}
.table-light tr:hover td {
    background: rgba(99, 102, 241, 0.08);
    cursor: pointer;
}

/* MEMORY FEED */
.memory-feed-light {
    max-height: 460px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.memory-card-light {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px;
    border-left: 4px solid var(--violet);
    transition: all 0.2s ease;
}
.memory-card-light:hover {
    background: rgba(22, 33, 58, 0.9);
    border-color: var(--indigo);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.memory-card-header-light {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 6px;
}
.memory-agent-light {
    color: var(--violet);
    font-weight: 700;
}
.memory-content-light {
    font-size: 0.88rem;
    color: var(--slate-800);
    margin-bottom: 8px;
}
.memory-footer-light {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--slate-500);
    font-family: var(--font-mono);
}

/* FORMS */
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.input-field-light {
    width: 100%;
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}
.input-field-light:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.input-with-btn {
    display: flex;
    gap: 8px;
}

/* WALLET CARD */
.wallet-card-light {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.wallet-balance-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--indigo);
}
.wallet-balance-amount-light {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 6px 0 14px;
}
.wallet-balance-amount-light .currency {
    font-size: 1.2rem;
    color: var(--indigo);
}
.wallet-address-box-light {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
}
.copy-btn-light {
    background: transparent;
    border: none;
    color: var(--indigo);
    cursor: pointer;
    margin-left: auto;
}
.secret-box-light {
    background: var(--flame-soft);
    border: 1px solid rgba(234, 88, 12, 0.25);
    border-radius: 10px;
    padding: 12px;
    font-size: 0.8rem;
}
.fee-breakdown-light {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.empty-state {
    text-align: center;
    color: var(--slate-400);
    padding: 40px;
    font-size: 0.9rem;
}
.border-top-light { border-top: 1px solid var(--border-light); }
.pt-3 { padding-top: 14px; }
.mb-3 { margin-bottom: 14px; }
.mb-4 { margin-bottom: 24px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }
.text-break { word-break: break-all; }

/* TOAST */
.toast-light {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--indigo);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
    font-weight: 600;
    display: none;
    z-index: 9999;
}
.toast-light.show {
    display: block;
    animation: toastUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================================================== */
/* STRATEGIC ROADMAP STYLES (CLEAN & SUBTLE)               */
/* ======================================================== */
.roadmap-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px 0;
}
.roadmap-line-glow {
    position: absolute;
    left: 28px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--emerald) 0%, var(--indigo) 35%, var(--violet) 70%, var(--flame) 100%);
    opacity: 0.4;
    z-index: 1;
}
@media (max-width: 768px) {
    .roadmap-line-glow {
        display: none;
    }
}
.roadmap-card-item {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    z-index: 2;
}
.roadmap-node-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    color: var(--slate-600);
}
.phase-completed .roadmap-node-badge {
    border-color: var(--emerald);
    color: var(--emerald);
    background: #ecfdf5;
}
.phase-active .roadmap-node-badge {
    border-color: var(--indigo);
    color: var(--indigo);
    background: #eef2ff;
}
.roadmap-card {
    flex: 1;
    padding: 28px 32px;
    border-radius: 20px;
}
.border-emerald {
    border-color: rgba(16, 185, 129, 0.35);
}
.border-indigo-active {
    border-color: rgba(99, 102, 241, 0.4);
}
.roadmap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}
.roadmap-phase-tag {
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.roadmap-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-900);
}
.roadmap-date {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate-500);
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: 6px;
}
.roadmap-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 18px;
}
.roadmap-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--slate-700);
    line-height: 1.5;
}
.check-item i {
    margin-top: 3px;
    flex-shrink: 0;
}
.check-item.done {
    color: var(--slate-800);
}
.pill-green-light {
    background: #ecfdf5;
    color: var(--emerald);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}
.pill-indigo-light {
    background: #eef2ff;
    color: var(--indigo);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}
.pill-violet-light {
    background: #f5f3ff;
    color: var(--violet);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}
.pill-flame-light {
    background: #fff7ed;
    color: var(--flame);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* ======================================================== */
/* MASTER MOBILE & TABLET RESPONSIVE RULES                 */
/* ======================================================== */

/* TABLETS (< 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 0;
    }
    .hero-content {
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 28px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-showcase {
        max-width: 520px;
        margin: 0 auto;
    }
    .architecture-banner .arch-banner-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE PHONES (< 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .header-container {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 8px 16px;
    max-width: 1540px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
    .nav-bar {
        padding: 10px 16px;
        border-radius: 16px;
    }
    
    /* Ticker horizontal scroll */
    .network-ticker-container {
        padding: 0 10px;
        margin-top: 10px;
    }
    .network-ticker {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 14px;
        gap: 18px;
        scrollbar-width: none;
    }
    .network-ticker::-webkit-scrollbar {
        display: none;
    }
    .ticker-item {
        flex-shrink: 0;
        white-space: nowrap;
    }

    #app-view-container {
        padding: 12px;
    }
    .section-container {
        padding: 30px 0;
        margin-bottom: 24px;
    }

    /* Hero title & text */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }
    .hero-description {
        font-size: 0.98rem;
        line-height: 1.6;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 24px;
    }
    .hero-stat-card {
        padding: 14px 12px;
    }
    .stat-num {
        font-size: 1.6rem;
    }
    .stat-name {
        font-size: 0.78rem;
    }
    .stat-info {
        font-size: 0.68rem;
    }

    /* Cards and Grids */
    .light-card, .spotlight-card {
        padding: 20px 16px;
        border-radius: 18px;
    }
    .core-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Semantic search */
    .search-input-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        background: var(--bg-subtle);
        border: 1px solid var(--border-light);
        border-radius: 16px;
    }
    .semantic-input {
        width: 100%;
        font-size: 0.9rem;
        padding: 8px 4px;
    }
    .search-btn-inner {
        width: 100%;
        justify-content: center;
    }
    .quick-queries-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Telemetry */
    .chart-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .chart-stat-chips {
        flex-wrap: wrap;
        gap: 6px;
    }
    .telemetry-summary-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .telemetry-stat {
        padding: 10px 12px;
    }
    .telemetry-stat .t-val {
        font-size: 1.1rem;
    }
    .sparkline-canvas-container {
        padding: 10px;
    }
    #hashrate-sparkline-canvas {
        height: 180px;
    }
    .chart-legend-row {
        justify-content: flex-start;
        gap: 12px;
    }

    /* Cost & Mining */
    .cost-comparison-grid, .tokenomics-layout-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .terminal-tab-bar, .sdk-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .terminal-tab-bar::-webkit-scrollbar, .sdk-tabs::-webkit-scrollbar {
        display: none;
    }
    .os-tab, .sdk-tab {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    .term-code-block {
        font-size: 0.78rem;
        padding: 14px;
    }

    /* Merkle Inspector */
    .merkle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Roadmap */
    .roadmap-timeline-wrapper {
        padding: 10px 0;
    }
    .roadmap-card-item {
        flex-direction: column;
        gap: 12px;
    }
    .roadmap-node-badge {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        margin-bottom: -6px;
    }
    .roadmap-card {
        padding: 20px 16px;
    }
    .roadmap-card-title {
        font-size: 1.15rem;
    }

    /* Explorer & Wallet */
    .explorer-search-bar {
        flex-direction: column;
        gap: 10px;
    }
    .explorer-search-bar .btn {
        width: 100%;
    }
    .active-wallet-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .wallet-panels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .input-with-btn {
        flex-direction: column;
        gap: 8px;
    }
    .input-with-btn .btn {
        width: 100%;
    }

    /* Modal */
    .modal-content {
        width: 95vw;
        max-height: 85vh;
        padding: 18px 14px;
    }

    /* Footer */
    .footer-container-light {
        padding: 30px 16px;
    }
    .footer-links-group-light {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* SMALL PHONES (< 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .telemetry-summary-bar {
        grid-template-columns: 1fr;
    }
}

/* ======================================================== */
/* AUTONOMOUS AI SWARM & LIVE MEMORY MESH                   */
/* ======================================================== */
.swarm-visualizer-card {
    padding: 28px 32px;
    position: relative;
}

.pulse-beacon-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: beaconPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    display: inline-block;
}

@keyframes beaconPulse {
    to {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
}

.swarm-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #0f172a 0%, #030712 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.35) !important;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.swarm-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    background: radial-gradient(circle at 35% 35%, #1e1b4b 0%, #090d16 100%) !important;
    border: 2px solid #818cf8 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.65), inset 0 0 18px rgba(129, 140, 248, 0.4) !important;
    pointer-events: none;
    z-index: 10;
}

.swarm-center-badge i {
    color: #a5b4fc !important;
    font-size: 1.5rem !important;
    filter: drop-shadow(0 0 10px #6366f1);
}

.swarm-center-badge span {
    color: #ffffff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    letter-spacing: 1.5px !important;
    margin-top: 4px !important;
    text-shadow: 0 0 12px rgba(129, 140, 248, 0.9) !important;
}

.core-ring-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1.5px dashed rgba(129, 140, 248, 0.6);
    animation: rotateCore 14s linear infinite;
}

.core-ring-outer {
    position: absolute;
    top: -22px;
    left: -22px;
    right: -22px;
    bottom: -22px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    animation: pulseCore 3.5s ease-in-out infinite;
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.06); opacity: 0.75; }
}

@keyframes rotateCore {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
}

.swarm-agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .swarm-agents-grid {
        grid-template-columns: 1fr;
    }
}

.swarm-agent-card {
    padding: 20px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.swarm-agent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(99, 102, 241, 0.2);
}

.agent-trader { border-top: 4px solid var(--emerald); }
.agent-bio { border-top: 4px solid var(--violet); }
.agent-cyber { border-top: 4px solid var(--indigo); }

.agent-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.agent-meta-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--slate-600);
    padding: 8px 10px;
    background: var(--bg-subtle);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.agent-thought-bubble {
    font-size: 0.82rem;
    color: var(--slate-700);
    font-style: italic;
    background: rgba(11, 17, 32, 0.8);
    border-left: 3px solid var(--indigo);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    line-height: 1.4;
}

.stream-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 140px;
    overflow-y: auto;
}

.stream-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.82rem;
    animation: fadeInSlide 0.3s ease-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================================================== */
/* INSTITUTIONAL AI AGENT SETTLEMENT COCKPIT (POC)          */
/* ======================================================== */
.ai-studio-vault {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(2, 6, 23, 0.98) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.terminal-bar-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
.dot-amber { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.dot-green { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }

/* PERSONA COCKPIT GRID */
.persona-cockpit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .persona-cockpit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .persona-cockpit-grid {
        grid-template-columns: 1fr;
    }
}

.persona-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.persona-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(99, 102, 241, 0.2);
}

.persona-card.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.35), inset 0 0 12px rgba(99, 102, 241, 0.15);
}

.persona-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.persona-card-info {
    flex: 1;
    min-width: 0;
}

.persona-card-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.persona-card-desc {
    font-size: 0.65rem;
    color: var(--slate-400);
    margin-top: 2px;
}

.persona-card-check {
    font-size: 0.75rem;
    color: #6366f1;
    opacity: 0;
    transition: opacity 0.2s;
}

.persona-card.active .persona-card-check {
    opacity: 1;
    color: #818cf8;
}

/* PRESET CHIPS */
.presets-bar {
    padding: 8px 12px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cockpit-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cockpit-chip:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* COCKPIT INPUTS */
.cockpit-input-group {
    margin-bottom: 12px;
}

.cockpit-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.cockpit-input, .cockpit-select {
    width: 100%;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cockpit-input:focus, .cockpit-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.4);
    background: rgba(2, 6, 23, 0.9);
}

.cockpit-select {
    cursor: pointer;
}
.cockpit-select option {
    background: #0f172a;
    color: #f1f5f9;
}

/* CODE MATRIX EDITOR HUD */
.cockpit-code-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.cockpit-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cockpit-code-editor {
    width: 100%;
    flex: 1;
    min-height: 180px;
    background: transparent;
    border: none;
    padding: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    line-height: 1.55;
    color: #38bdf8;
    resize: vertical;
    box-sizing: border-box;
}

.cockpit-code-editor:focus {
    outline: none;
}

.cockpit-code-editor::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.cockpit-code-editor::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.5);
}
.cockpit-code-editor::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 3px;
}

/* SETTLEMENT PARAMETER HUD */
.cockpit-settlement-hud {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
}

.settlement-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 860px) {
    .settlement-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .settlement-tiles-grid {
        grid-template-columns: 1fr;
    }
}

.settlement-tile {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s;
}

.settlement-tile:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.settlement-tile.tile-burn {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

.tile-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.tile-label {
    font-size: 0.65rem;
    color: var(--slate-400);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-val {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin-top: 2px;
}

.cockpit-anchor-btn {
    padding: 12px 26px;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

/* CRYPTOGRAPHIC ATTESTATION RECEIPT CARD */
.poc-receipt-container {
    animation: receiptSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes receiptSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.receipt-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.receipt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.receipt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.receipt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .receipt-grid {
        grid-template-columns: 1fr;
    }
}

.receipt-field {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
}

.receipt-label {
    font-size: 0.7rem;
    color: var(--slate-400);
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.receipt-val {
    font-size: 0.8rem;
    color: #f1f5f9;
    font-family: var(--font-mono);
    word-break: break-all;
}

.burn-stat-highlight {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

.burn-stat-highlight .receipt-label {
    color: #f87171;
}

.burn-stat-highlight .receipt-val {
    color: #fca5a5;
    font-weight: bold;
}

/* ======================================================== */
/* INSTITUTIONAL DEX AMM SWAP & LIQUIDITY ENGINE STYLES     */
/* ======================================================== */

.dex-stat-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.dex-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}
.dex-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.stat-card-emerald::before { background: var(--emerald); }
.stat-card-indigo::before { background: var(--indigo); }
.stat-card-violet::before { background: var(--violet); }
.stat-card-amber::before { background: var(--amber); }

.dex-swap-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dex-token-box {
    background: rgba(11, 17, 32, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dex-token-box:focus-within {
    border-color: var(--indigo);
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.dex-input-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
}

.dex-input-amount {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--slate-900);
    padding: 0;
}
.dex-input-amount::placeholder {
    color: var(--slate-500);
}

.token-pill-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--slate-900);
    user-select: none;
    white-space: nowrap;
}

/* CONNECTED WALLET PILL IN NAVBAR */
.connected-wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 4px 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.connected-wallet-pill:hover {
    border-color: var(--indigo);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.wallet-opt-card {
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.wallet-opt-card:hover {
    transform: translateY(-2px);
    border-color: var(--indigo);
    background: rgba(22, 33, 58, 0.9);
}

.opt-icon-circle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
}

.swap-switch-wrap {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    margin: 4px 0;
}

.swap-switch-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--slate-600);
    font-size: 0.9rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.swap-switch-btn:hover {
    transform: rotate(180deg) scale(1.08);
    border-color: var(--indigo);
    color: var(--indigo);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.max-pill-btn {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: none;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    margin-left: 6px;
    transition: background 0.15s;
}
.max-pill-btn:hover {
    background: rgba(99, 102, 241, 0.35);
}

.dex-meta-rows {
    background: rgba(11, 17, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
}
.dex-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active-slippage {
    background: var(--indigo) !important;
    color: #ffffff !important;
}

.dex-chart-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.dex-chart-canvas-wrap {
    background: rgba(7, 10, 19, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    margin-top: 14px;
    position: relative;
}

/* ======================================================== */
/* TIER-1 INSTITUTIONAL CYBERNETIC LEADERBOARD V3.0        */
/* ======================================================== */

.leaderboard-tier1-card {
    background: linear-gradient(180deg, #0b0f19 0%, #0d1322 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.12);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}
.leaderboard-tier1-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff2b47, #ef4444, transparent);
}

.leaderboard-hero-banner-dark {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.ratio-badge-pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.2);
    border: 1.5px solid #818cf8;
    color: #c7d2fe;
    padding: 6px 16px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.kpi-tile-dark {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.kpi-tile-dark:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.4);
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 900px) {
    .podium-grid {
        grid-template-columns: 1fr;
    }
}

.podium-card-dark {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 20px;
    padding: 22px;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.podium-card-dark:hover {
    transform: translateY(-4px);
}

.podium-gold-dark {
    border-color: #f59e0b;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.95) 45%);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2);
}
.podium-silver-dark {
    border-color: #94a3b8;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.15) 0%, rgba(15, 23, 42, 0.95) 45%);
}
.podium-bronze-dark {
    border-color: #d97706;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.15) 0%, rgba(15, 23, 42, 0.95) 45%);
}

.podium-crown-badge-v2 {
    position: absolute;
    top: -14px;
    right: 18px;
    font-size: 1.6rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.podium-avatar-dark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
}

.table-dark-custom {
    width: 100%;
    border-collapse: collapse;
    color: #f1f5f9;
}
.table-dark-custom thead tr {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.table-dark-custom tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}
.table-dark-custom tbody tr:hover {
    background: rgba(99, 102, 241, 0.08) !important;
}

.sim-box-dark {
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
}

.cap-progress-dark {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 6px;
}
.cap-progress-dark-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #10b981);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* User Highlight Row & You Badge */
.user-highlight-row {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border-left: 4px solid #818cf8 !important;
    box-shadow: inset 0 0 25px rgba(99, 102, 241, 0.15);
}
.user-highlight-row td {
    color: #ffffff !important;
}

.badge-you {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff2b47, #dc2626);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* User Position Banner */
.user-position-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.8) 100%);
    border: 1.5px solid rgba(99, 102, 241, 0.45);
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.user-position-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #10b981);
}

.user-pos-rank-badge {
    background: rgba(11, 15, 25, 0.9);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    border-radius: 14px;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.user-pos-metric-box {
    background: rgba(11, 15, 25, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 16px;
    text-align: right;
}

.user-pos-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.peg-ratio-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: #94a3b8;
}

/* ======================================================== */
/* WEB3 CONNECT WALLET (NAVBAR & DROPDOWN)                  */
/* ======================================================== */
.web-wallet-header-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.web-connected-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(99, 102, 241, 0.4);
    backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.web-connected-pill:hover {
    border-color: #818cf8;
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.status-dot-emerald {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 2s infinite;
}

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

.web-wallet-balance-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.web-wallet-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.2);
    display: none;
    flex-direction: column;
    padding: 6px;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.web-wallet-dropdown.show {
    display: flex;
    animation: slideDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

.dropdown-danger:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

/* Fallback Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px 16px;
    overflow-y: auto;
}
.modal-overlay.active,
.modal-overlay.show {
    display: flex !important;
}
.signature-dialog-card {
    background: #0f172a;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    color: #f1f5f9;
}

/* ======================================================== */
/* UPGRADED CYBER-DARK EXPLORER STYLES                      */
/* ======================================================== */

.explorer-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 0 16px;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.explorer-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.explorer-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 9999px;
}

.pulse-ring {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.pulse-core {
    display: none;
}

.pulse-dot-green {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 4px;
    box-shadow: 0 0 6px #10b981;
    animation: pulseDot 1.5s infinite ease-in-out;
}

.explorer-main-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 4px 0;
}

.explorer-subtitle {
    color: #94a3b8;
    font-size: 0.92rem;
    max-width: 680px;
}

.explorer-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* TELEMETRY METRIC CARDS */
.explorer-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.explorer-stat-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.explorer-stat-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stat-card-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
    font-family: var(--font-mono);
}

.stat-card-icon {
    font-size: 1.1rem;
    opacity: 0.85;
}

.stat-card-value {
    font-size: 1.65rem;
    font-weight: 800;
    font-family: var(--font-mono);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-card-sub {
    font-size: 0.76rem;
    color: #94a3b8;
}

/* OMNI-SEARCH BAR */
.explorer-search-section {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.explorer-search-inner {
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px 8px 6px 16px;
    transition: all 0.2s ease;
}

.explorer-search-inner:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.search-leading-icon {
    color: #64748b;
    font-size: 1rem;
    margin-right: 12px;
}

.explorer-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: var(--font-mono);
}

.explorer-search-input::placeholder {
    color: #64748b;
    font-size: 0.86rem;
    font-family: var(--font-sans);
}

.explorer-search-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.explorer-search-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.chips-label {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 700;
}

.search-chip {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-chip:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: #818cf8;
    color: #ffffff;
}

/* EXPLORER PANELS & TABLES */
.explorer-panel {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.explorer-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-title-group h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.table-explorer {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.table-explorer th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-explorer td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.explorer-tr {
    transition: background 0.15s ease;
    cursor: pointer;
}

.explorer-tr:hover {
    background: rgba(99, 102, 241, 0.08);
}

.clickable-link {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.4);
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.clickable-link:hover {
    color: #a5b4fc !important;
    text-decoration-color: #a5b4fc;
}

/* MEMORY FEED IN EXPLORER */
.memory-feed-explorer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
}

.memory-card-dark {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-left: 3px solid #a855f7;
    border-radius: 12px;
    padding: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.memory-card-dark:hover {
    border-color: #c084fc;
    background: rgba(168, 85, 247, 0.08);
    transform: translateX(3px);
}

.memory-card-header-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.memory-agent-dark {
    font-weight: 700;
    font-size: 0.85rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.memory-content-dark {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 10px;
    word-break: break-word;
}

.memory-footer-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: #64748b;
    font-family: var(--font-mono);
}

/* MODALS FOR EXPLORER */
.explorer-modal-card {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.2);
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #f1f5f9;
    margin: auto;
}

.explorer-modal-card.modal-large {
    max-width: 840px;
}

.explorer-modal-card .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.explorer-modal-card .modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(88vh - 75px);
}

.inspector-data-box {
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.inspector-key-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.inspector-key-value:last-child {
    border-bottom: none;
}

.inspector-key {
    color: #64748b;
    font-weight: 600;
}

.inspector-value {
    color: #f8fafc;
    font-family: var(--font-mono);
    text-align: right;
}

.copy-btn-inline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #94a3b8;
    padding: 3px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.15s ease;
}

.copy-btn-inline:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
}

.tx-dir-pill-in {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
}

.tx-dir-pill-out {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
}

/* EXPLORER FILTER TABS */
.explorer-filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.filter-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.16);
}

.filter-tab-btn.active {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    color: #a5b4fc;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

/* 1-CLICK HOVER QUICK-COPY */
.copy-hover-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.copy-hover-btn {
    opacity: 0;
    visibility: hidden;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #818cf8;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 0.68rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.copy-hover-wrapper:hover .copy-hover-btn {
    opacity: 1;
    visibility: visible;
}

.copy-hover-btn:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: scale(1.08);
}

/* EXPLORER TABLE FOOTER & LOAD MORE */
.explorer-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}





/* COMPACT NAVBAR ACTIONS & ANTI-OVERFLOW RULES */
.nav-social-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
}

@media (max-width: 1380px) {
    .nav-social-btn {
        display: none !important;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-link {
        font-size: 0.78rem;
    }
    .nav-brand {
        margin-right: 10px;
    }
}

@media (max-width: 1180px) {
    .nav-links {
        display: none !important;
    }
}
