/* ==========================================================================
   💎 TECHTELEMETRY MASTER DESIGN MATRIX - COMPLETE CONSOLIDATED SHEET
   ========================================================================== */

/* 🌐 GLOBAL SYSTEM VARIABLES & COLOR MATRICES */
:root {
    --bg-base: #0f172a;
    --panel-glass: rgba(15, 23, 42, 0.65);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --emerald-prime: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.15);
    --accent-blue: #3b82f6;
    --accent-blue-hover: #60a5fa;
    --card-bg: rgba(30, 41, 59, 0.45);
    --shadow-premium: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* 🧱 GLOBAL LAYER RESET FRAMEWORK */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
    padding-bottom: 40px;
}

/* 🏢 PREMIUM NAVIGATION INTERCEPTOR HEADER */
#blog-header {
    background: var(--panel-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 40px;
    box-shadow: var(--shadow-premium);
}

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

.logo-vault {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-vault i {
    color: var(--emerald-prime);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* 🌐 BILINGUAL PERSISTENT LANGUAGE SWITCHER SLIDER */
.lang-switch-container {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: #1e293b;
    color: var(--emerald-prime);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 📡 SOVEREIGN GLASSMORPHISM LIVE NEWS SIDEBAR ALIGNMENT MATRIX */
.blog-workspace-matrix {
    display: flex;
    gap: 2rem;
    width: 100%;
    margin-top: 1.5rem;
}

.main-articles-track {
    flex: 70%;
}

.tech-telemetry-sidebar {
    flex: 30%;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
    box-shadow: var(--shadow-premium);
}

.sidebar-header {
    font-size: 1.25rem;
    color: #f3f4f6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.75rem;
}

/* 🟢 THE REAL-TIME INFRASTRUCTURE PULSE DOT EFFECT */
.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--emerald-prime);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: telemetryPulse 2s infinite;
}

@keyframes telemetryPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.news-card-node {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-blue);
    border-top: 1px solid var(--panel-border);
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    transition: transform 0.2s ease, background 0.2s ease;
}

.news-card-node:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.news-tag {
    font-size: 0.72rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.news-card-title {
    font-size: 0.95rem;
    color: #e5e7eb;
    margin: 0.5rem 0;
    font-weight: 700;
}

.news-card-summary {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive Adaptive Fluid Ingress Grid Breakpoints */
@media (max-width: 1024px) {
    .blog-workspace-matrix { flex-direction: column; }
    .tech-telemetry-sidebar { position: static; width: 100%; }
}

@media (max-width: 768px) {
    #blog-header { padding: 16px 20px; }
    .blog-nav { flex-direction: column; gap: 16px; }
    .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px; }
}
