:root {
    --bg-void: #010208;
    --bg-panel: #0a0c14;
    
    --neon-cyan: #00ffea;
    --neon-dim: rgba(0, 255, 234, 0.1);
    --border-color: rgba(0, 255, 234, 0.3);
    
    --text-primary: #ffffff;
    --text-dim: rgba(255,255,255,0.6);
    
    --font-head: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --neon-red: #ff0040;
    --neon-green: #27c93f;
    --neon-light-bg: rgba(0, 255, 234, 0.05);
}

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

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-head);
    line-height: 1.5;
    overflow-x: hidden;
}

.cursor-crosshair {
    position: fixed; width: 20px; height: 20px;
    pointer-events: none; z-index: 10001;
    transform: translate(-50%, -50%);
}
.cursor-crosshair::before, .cursor-crosshair::after { content: ''; position: absolute; background: var(--neon-cyan); }
.cursor-crosshair::before { top: 50%; width: 100%; height: 1px; }
.cursor-crosshair::after { left: 50%; height: 100%; width: 1px; }

.cursor-scanner {
    position: fixed; width: 40px; height: 40px;
    border: 1px dashed var(--neon-cyan); border-radius: 50%;
    pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: scanSpin 4s linear infinite;
}

.cyber-nodes-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #050714 0%, #010208 100%);
}
.node-sphere {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(0, 255, 234, 0.1);
    background: repeating-linear-gradient(45deg, var(--neon-dim) 0px, var(--neon-dim) 1px, transparent 1px, transparent 15px);
    animation: nodeSpin 40s linear infinite;
}
.node-1 { top: -20%; left: -10%; width: 60vw; height: 60vw; }
.node-2 { bottom: -30%; right: -20%; width: 70vw; height: 70vw; animation-direction: reverse; border-color: rgba(0, 102, 255, 0.2); }

.navbar {
    padding: 1.2rem 2rem; 
    background: rgba(1, 2, 8, 0.8); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; 
    position: relative; z-index: 200;
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: 1px; color: white; text-decoration: none; position: relative; z-index: 202; }
.logo span { color: var(--neon-cyan); }

.nav-group { display: flex; gap: 3rem; align-items: center; }
.nav-link {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); text-decoration: none;
    position: relative; transition: 0.3s;
}
.nav-link:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

.has-dropdown { position: relative; padding-bottom: 20px; margin-bottom: -20px; }
.dropdown-panel {
    position: absolute; top: 100%; left: -20px; min-width: 220px;
    background: rgba(5, 7, 12, 0.95);
    border: 1px solid var(--neon-cyan);
    padding: 1rem 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.has-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-link {
    display: block; padding: 0.8rem 1.5rem;
    color: white; text-decoration: none; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
    border-left: 2px solid transparent; transition: 0.2s;
}
.dd-link:hover { background: rgba(0, 255, 234, 0.1); border-left-color: var(--neon-cyan); color: var(--neon-cyan); padding-left: 2rem; }

.nav-btn {
    border: 1px solid rgba(0, 255, 234, 0.3); padding: 0.5rem 1.2rem;
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--neon-cyan); text-transform: uppercase;
    transition: 0.3s; background: transparent; cursor: pointer; position: relative; z-index: 202;
}
.nav-btn:hover { background: var(--neon-cyan); color: black; box-shadow: 0 0 15px var(--neon-cyan); }

.menu-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 198;
    opacity: 0; pointer-events: none;
    transition: 0.4s ease;
}
.menu-backdrop.active { opacity: 1; pointer-events: auto; }

.mobile-menu-drawer {
    position: fixed; top: 0; right: 0;
    width: 85%; max-width: 350px; height: 100vh;
    background: #020105;
    z-index: 199;
    padding-top: 100px;
    
    transform: translateX(100%); 
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
    border-left: 2px solid var(--neon-cyan);
    background-image: 
        linear-gradient(rgba(0, 255, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 234, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
}

.mobile-menu-drawer.active { transform: translateX(0); }

.mob-list { list-style: none; padding: 0 2rem; }
.mob-item {
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    opacity: 0; transform: translateX(20px); transition: 0.4s;
}

.mobile-menu-drawer.active .mob-item { opacity: 1; transform: translateX(0); }
.mobile-menu-drawer.active .mob-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-drawer.active .mob-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-drawer.active .mob-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-drawer.active .mob-item:nth-child(4) { transition-delay: 0.4s; }

.mob-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 0;
    font-family: var(--font-mono); font-size: 1rem; color: var(--text-dim); 
    text-decoration: none; text-transform: uppercase;
    transition: 0.3s;
}
.mob-link:hover { color: white; padding-left: 10px; }
.mob-link::after { content: '+'; color: var(--neon-cyan); }

.terminal-filename {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    margin-left: 10px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cmd-link {
    color: #4ade80;
    font-family: var(--font-mono);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.cmd-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.cmd-link.critical {
    color: var(--neon-red);
}

.diagnostic-block {
    margin-bottom: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 12px;
}

.diagnostic-text,
.prediction-text {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.4;
}

.diagnostic-text {
    margin-bottom: 5px;
}

.prediction-text {
    margin-top: 5px;
    opacity: 0.7; 
    font-style: italic;
}

.mob-index { color: var(--neon-cyan); margin-right: 10px; font-size: 0.7rem; opacity: 0.6; }

.cyber-data-bar {
    background: var(--bg-panel); 
    border-bottom: 1px solid rgba(0, 255, 234, 0.2);
    padding: 0.6rem 2rem;
    font-family: var(--font-mono); 
    font-size: 0.7rem; 
    
    color: var(--text-dim); 
    
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    
    text-transform: uppercase; 
    position: relative; 
    overflow: hidden;
    z-index: 100;
}

.cyber-data-bar::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.1), transparent);
    animation: scanlineMove 3s infinite linear;
    pointer-events: none;
}

.cyber-data-bar span:first-child {
    color: var(--neon-cyan);
    margin-right: 5px;
    font-weight: 600;
}

.data-alert {
    color: white;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.blink-text {
    animation: blinkAlert 2s infinite;
}

@keyframes blinkAlert {
    0%, 100% { opacity: 1; color: white; }
    50% { opacity: 0.5; color: var(--neon-cyan); }
}

@media (max-width: 768px) {
    .mobile-hide { 
        display: none; 
    }
    
    .cyber-data-bar { 
        padding: 0.5rem 1rem; 
        font-size: 0.65rem;
    }
    
}

.hero { padding: 6rem 2rem 2rem; text-align: center; max-width: 1000px; margin: 0 auto; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9; text-transform: uppercase; margin-bottom: 2rem;
    color: white; text-shadow: 2px 0 0 rgba(0, 255, 234, 0.3), -2px 0 0 rgba(255, 0, 60, 0.3);
}
.hero h1 span { color: var(--neon-cyan); }
.typewriter-cursor { display: inline-block; width: 2px; height: 1em; background-color: var(--neon-cyan); vertical-align: sub; margin-left: 5px; box-shadow: 0 0 10px var(--neon-cyan); animation: blinkSmooth 1s infinite alternate; }
.hero-sub { font-family: var(--font-mono); color: var(--text-dim); max-width: 600px; margin-top: 1rem; }

.ticker-wrap {
    width: 100%; overflow: hidden; background: rgba(0, 255, 234, 0.05);
    border-top: 1px solid rgba(0, 255, 234, 0.2); border-bottom: 1px solid rgba(0, 255, 234, 0.2);
    padding: 0.8rem 0; margin-bottom: 4rem; margin-top: 2rem;
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--neon-cyan);
}
.ticker { display: flex; white-space: nowrap; animation: tickerRun 20s linear infinite; }
.ticker-item { padding: 0 2rem; }
.ticker-item::before { content: '[_] '; color: var(--text-dim); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding-bottom: 4rem; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: rgba(10, 12, 20, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem; position: relative; overflow: hidden; min-height: 250px;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: 0.3s;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-top: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; border-bottom: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }
.card:hover { border-color: var(--neon-cyan); transform: translateY(-5px); background: rgba(0, 255, 234, 0.05); }
.card-lg { grid-column: span 2; }
.card h3 { font-family: var(--font-mono); color: white; margin-bottom: 0.8rem; text-transform: uppercase; font-size: 1.1rem; }
.card p { color: var(--text-dim); font-size: 0.9rem; max-width: 90%; }

.visual-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); margin-top: 1rem; position: relative; overflow: hidden; }
.visual-bar-fill { height: 100%; background: var(--neon-cyan); width: 60%; animation: loadBar 3s infinite ease-in-out; }
.latency-graph { display: flex; align-items: flex-end; gap: 8px; height: 50px; margin-bottom: 1rem; }
.graph-bar { width: 10px; background: var(--neon-cyan); opacity: 0.7; animation: graphBounce 1.5s infinite ease-in-out; }
.graph-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.graph-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.graph-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.graph-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.graph-bar:nth-child(5) { height: 50%; animation-delay: 0.3s; }
.status-ok { font-family: var(--font-mono); font-size: 3rem; color: var(--neon-cyan); opacity: 0.8; }
.flex-row-card { flex-direction: row; align-items: center; justify-content: space-between; }

.scroll-section { padding: 4rem 0; }
.terminal-window {
    background: #0a0c14; border: 1px solid rgba(0, 255, 234, 0.3); border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.05); max-width: 800px; margin: 0 auto; overflow: hidden;
}
.terminal-header {
    background: rgba(255, 255, 255, 0.03); padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; gap: 8px;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;}
.log-title h2 { font-family: var(--font-mono); color: var(--neon-cyan); font-weight: 700; margin: 0.5rem 0; font-size: 1rem; }

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #27c93f; }
.terminal-body {
    height: 300px; overflow-y: auto; padding: 2rem;
    font-family: var(--font-mono); font-size: 0.85rem; color: #ccc;
    scrollbar-width: thin; scrollbar-color: var(--neon-cyan) #1a1a1a;
}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 3px; }
.cmd-line { color: white; margin-bottom: 0.8rem; }
.cmd-line span { color: var(--neon-cyan); margin-right: 10px; }
.log-warn { color: #ff5f56; margin-bottom: 0.8rem; }
.log-success { color: var(--neon-cyan); margin-bottom: 0.8rem; }
.log-info { color: var(--text-dim); margin-bottom: 0.8rem; }

.footer-system {
    margin-top: 6rem; border-top: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0, 255, 234, 0.05) 100%);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem;
    padding: 4rem 2rem; max-width: 1200px; margin: 0 auto;
}
.f-col h4 { font-family: var(--font-mono); color: white; margin-bottom: 1.5rem; font-size: 0.9rem; letter-spacing: 1px; }
.f-link {
    display: block; color: var(--text-dim); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.8rem; transition: 0.3s;
}
.f-link:hover { color: var(--neon-cyan); transform: translateX(5px); }
.f-link::before { content: '> '; color: var(--neon-cyan); opacity: 0; transition: 0.3s; }
.f-link:hover::before { opacity: 1; }
.f-btn {
    background: var(--neon-cyan); border: none; padding: 1rem 2rem;
    font-family: var(--font-mono); font-weight: 700; cursor: pointer; text-transform: uppercase;
    transition: 0.3s; width: 100%; display: block; text-align: center; color: black;
}
.f-btn:hover { background: white; box-shadow: 0 0 20px var(--neon-cyan); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05); padding: 1.5rem 2rem;
    display: flex; justify-content: space-between;
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim);
    max-width: 1200px; margin: 0 auto;
}
.sys-stat { color: var(--neon-cyan); }

@keyframes nodeSpin { to { transform: rotate(360deg); } }
@keyframes scanSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes scanlineMove { 0% { left: -100%; } 100% { left: 200%; } }
@keyframes tickerRun { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes loadBar { 0% { width: 30%; } 50% { width: 90%; } 100% { width: 30%; } }
@keyframes graphBounce { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.5); } }
@keyframes blinkSmooth { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .card-lg { grid-column: span 1; }
    .nav-group { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .terminal-window { margin: 0 1rem; }
}

.tech-layout {
    display: flex;
    gap: 4rem;
    position: relative;
}

.tech-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-box {
    position: sticky;
    top: 100px; 
    background: rgba(10, 12, 20, 0.8);
    border: 1px solid rgba(0, 255, 234, 0.3);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.sidebar-header {
    display: flex; gap: 8px; align-items: center;
    margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.file-label { font-family: var(--font-mono); font-size: 0.7rem; color: #666; margin-left: auto; }

.doc-nav { list-style: none; }
.doc-nav li { margin-bottom: 0.8rem; }
.doc-nav a {
    text-decoration: none; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.8rem;
    transition: 0.3s; display: block;
}
.doc-nav a:hover, .doc-nav a.active {
    color: var(--neon-cyan); padding-left: 10px; border-left: 2px solid var(--neon-cyan);
}

.sidebar-footer {
    margin-top: 2rem; font-family: var(--font-mono); font-size: 0.7rem; color: #555;
}

.tech-content {
    flex: 1;
    max-width: 800px;
}

.tech-title {
    font-family: var(--font-mono); font-size: 2rem; color: white; margin-bottom: 0.5rem;
}
.tech-date {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); margin-bottom: 2rem;
}

.tech-content h2 {
    font-family: var(--font-mono); color: var(--neon-cyan); font-size: 1.3rem;
    margin-top: 3rem; margin-bottom: 1rem; text-transform: uppercase;
}

.tech-content p {
    color: #ccc; margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.7;
}

.tech-list { margin-left: 1.5rem; margin-bottom: 1.5rem; color: #ccc; }
.tech-list li { margin-bottom: 0.5rem; }
.tech-list strong { color: white; }

.cyber-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(0, 255, 234, 0.2);
    background: rgba(5, 7, 12, 0.5);
    margin: 2rem 0 0.5rem 0;
}

.cyber-table-wrapper::-webkit-scrollbar { height: 6px; }
.cyber-table-wrapper::-webkit-scrollbar-track { background: #000; }
.cyber-table-wrapper::-webkit-scrollbar-thumb { background: var(--neon-cyan); }

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    min-width: 600px;
}

.cyber-table th {
    text-align: left;
    padding: 1rem;
    background: rgba(0, 255, 234, 0.05);
    color: var(--neon-cyan);
    border-bottom: 1px solid var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyber-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
}

.cyber-table tr:last-child td { border-bottom: none; }
.cyber-table tr:hover { background: rgba(255, 255, 255, 0.02); }

.code-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px; border-radius: 3px;
    color: #fff; font-size: 0.8rem;
}

.caption {
    font-family: var(--font-mono); font-size: 0.7rem; color: #555; font-style: italic;
}

@media (max-width: 900px) {
    .tech-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .tech-sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }

    .sidebar-box {
        position: relative;
        top: 0;
        padding: 1rem;
    }
    
    .tech-title { font-size: 1.5rem; }
    
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Адаптивная сетка */
    gap: 20px;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(10, 12, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.05);
}

.pricing-card.p-popular {
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 255, 234, 0.02);
}

.badge-pop {
    position: absolute;
    top: 0; right: 0;
    background: var(--neon-cyan);
    color: black;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 10px;
}

.p-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.pricing-card h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.p-desc {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.p-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #aaa;
    padding: 0;
}

.p-features li {
    margin-bottom: 0.8rem;
}

.p-features strong {
    color: white;
}

.p-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.p-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

.p-btn.btn-glow {
    background: rgba(0, 255, 234, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.p-btn.btn-glow:hover {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 20px var(--neon-cyan);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.p-popular {
        transform: scale(1.02);
        z-index: 2;
        margin: 10px 0;
    }
}

.breadcrumb-protocol {
    padding: 1.5rem 2rem;
    margin-top: 1rem;
}

.path-sequence {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    display: inline-flex;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 0% 100%);
}

.path-node {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.node-icon {
    color: var(--neon-cyan);
    font-weight: bold;
    opacity: 0.7;
}

.path-node:not(.current):hover {
    color: white;
    text-shadow: 0 0 8px var(--neon-cyan);
    transform: translateX(5px);
}

.path-node.current {
    color: white;
    font-weight: bold;
    pointer-events: none;
}

.path-node.current .node-icon {
    opacity: 1;
    animation: blinkSmooth 1.5s infinite alternate;
}

.path-divider {
    width: 20px;
    height: 1px;
    background: var(--border-color);
    position: relative;
}

.path-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--neon-cyan);
    border-right: 1px solid var(--neon-cyan);
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .breadcrumb-protocol {
        padding: 1rem;
    }
    .path-sequence {
        flex-wrap: wrap;
        width: 100%;
        clip-path: none;
    }
    .path-node:not(.current) {
        display: none;
    }
    .path-node.current::before {
        content: '../ ';
        color: var(--neon-cyan);
    }
}

.tech-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.tech-sidebar {
    width: 280px;
    position: sticky;
    top: 120px;
    flex-shrink: 0;
}

.sidebar-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    position: relative;
}

.doc-nav ul { list-style: none; }
.doc-nav a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.doc-nav a:hover, .doc-nav a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.tech-content { flex: 1; }

.content-block { margin-bottom: 4rem; }

.tech-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.cyber-table-wrapper {
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    background: rgba(0, 255, 234, 0.02);
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.cyber-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--neon-cyan);
}

.cyber-table td {
    padding: 1rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-list {
    list-style: none;
    border-left: 2px solid var(--neon-cyan);
    padding-left: 20px;
    margin-top: 1.5rem;
}

.tech-list li { margin-bottom: 10px; color: white; }


@media (max-width: 900px) {
    .tech-layout {
        display: block !important;
        position: relative;
    }

    .tech-sidebar {
        width: 100% !important;
        position: static !important;
        margin-bottom: 2.5rem;
        display: block;
    }

    .sidebar-box {
        position: relative !important;
        width: 100% !important;
        max-width: 300px;
        margin-left: 0 !important;
        margin-right: auto;
        padding: 1.2rem;
        background: var(--bg-panel);
        border: 1px solid var(--border-color);
    }

    .tech-content {
        width: 100% !important;
        display: block;
        padding-top: 1rem;
        padding-left: 0;
    }

    .sidebar-footer, 
    .sidebar-header .file-label {
        display: none !important;
    }

    .tech-title {
        text-align: left;
        font-size: 1.6rem;
    }
}

.menu-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(0, 255, 234, 0.3);
}

.menu-label {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Сетка 2х2 */
    gap: 15px;
}

.lang-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.lang-code {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
}

.lang-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 5px;
}

.lang-item .indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

.lang-item.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 234, 0.05);
}

.lang-item.active .lang-code {
    color: var(--neon-cyan);
}

.lang-item.active .lang-status {
    color: var(--neon-cyan);
}

.lang-item.active .indicator {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.lang-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}
.mission-node-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: 0.3s;
}

.mission-node-card:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 234, 0.02);
}

.node-id {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-left: 1px solid var(--neon-cyan);
    padding-left: 10px;
    opacity: 0.7;
}

.node-content-box {
    flex: 1;
}

.node-stats-row {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.stat-unit {
    display: flex;
    flex-direction: column;
}

.s-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-dim);
}

.s-val {
    font-size: 1.1rem;
    font-weight: 900;
}

.node-tags {
    font-size: 0.65rem;
    color: var(--neon-cyan);
    display: flex;
    gap: 10px;
    opacity: 0.8;
}

.neuro-scanner {
    position: relative;
    height: 60px;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid var(--neon-cyan);
    margin: 15px 0;
    overflow: hidden;
    padding: 10px;
}

.scan-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
    animation: scanMove 3s infinite linear;
}

@keyframes scanMove {
    0% { top: 0; }
    100% { top: 100%; }
}

.pulse-text {
    animation: textPulse 1.5s infinite alternate;
}

@keyframes textPulse {
    from { opacity: 1; text-shadow: 0 0 5px var(--neon-red); }
    to { opacity: 0.4; text-shadow: 0 0 20px var(--neon-red); }
}

.process-monitor {
    background: #050505;
    padding: 15px;
    border-left: 3px solid var(--neon-green);
    font-size: 0.8rem;
    margin: 15px 0;
}

.process-line { margin-bottom: 5px; }
.pid { color: var(--text-dim); margin-right: 10px; }

.glitch-hover:hover {
    text-shadow: 2px 0 var(--neon-red), -2px 0 var(--neon-cyan);
    animation: glitchAnim 0.2s infinite;
}

@keyframes glitchAnim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.error-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
    text-align: center;
}
.error-code {
    font-size: clamp(8rem, 20vw, 18rem);
    line-height: 0.9;
    color: #fff;
    text-shadow: 4px 4px 0px var(--neon-cyan), 0 0 30px rgba(0, 255, 234, 0.3);
    margin-bottom: 0;
}
.error-subtitle {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: clamp(1.2rem, 3vw, 2rem);
    letter-spacing: 1px;
}
.error-desc {
    max-width: 500px;
    margin: 0 auto 3rem;
    color: #aaa;
    font-size: 1.1rem;
}