:root {
    --bg-deep: #030504;
    --bg-panel: #0b120e;
    --primary-neon: #00ff9d; /* Ядовито-мятный */
    --primary-dim: rgba(0, 255, 157, 0.1);
    --text-main: #e0e6e3;
    --text-muted: #7a8f85;
    --border-glass: rgba(255, 255, 255, 0.08);
    --font-head: 'Syncopate', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- ANIMATIONS --- */
@keyframes glowPulse {
    0% { box-shadow: 0 0 20px rgba(0, 255, 157, 0.1); border-color: rgba(0, 255, 157, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 157, 0.3); border-color: rgba(0, 255, 157, 0.6); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 157, 0.1); border-color: rgba(0, 255, 157, 0.2); }
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- HERO SECTION --- */
.hero-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 30%, #0f1f18 0%, #030504 70%);
}

.aurora-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJibGFjayIvPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjQwIiBmaWxsPSJyZ2JhKDAsIDI1NSwgMTU3LCAwLjAzKSIgZmlsdGVyPSJibHVyKDIwcHgpIi8+PC9zdmc+');
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.label-caps {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--primary-neon);
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* H1 STYLES */
.luminous-header {
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    margin-bottom: 50px;
    color: #fff;
    font-weight: 700;
}

/* Слово MARKET прозрачное с обводкой */
.h-outlined {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    color: transparent;
    position: relative;
}

/* Эффект подсветки на главном слове */
.luminous-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--primary-neon);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

/* --- MONOLITH (LINK BLOCK) --- */
.glass-monolith {
    background: rgba(10, 20, 15, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 30px;
    margin: 0 auto 40px;
    max-width: 550px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.active-pulse {
    animation: glowPulse 3s infinite ease-in-out;
}

.monolith-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.monolith-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-badge {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-neon);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-neon);
}

.mono-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.link-wrapper {
    display: flex;
    width: 100%;
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

#onion-link {
    flex: 1;
    padding: 12px;
    font-family: monospace;
    color: #fff;
    font-size: 1rem;
    background: transparent;
    border: none;
    text-align: center;
}

.copy-trigger {
    background: var(--primary-neon);
    border: none;
    color: #000;
    font-weight: 800;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.copy-trigger:hover {
    background: #fff;
}

.security-row {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.txt-highlight {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--primary-neon);
}

/* --- CONTENT BLOCKS --- */
.info-block {
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Декоративные заголовки H2 */
.block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
}

.h-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.block-header h2 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 300;
    margin: 0;
    letter-spacing: 2px;
}

.txt-glow {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* Split Layout (Text + Visual) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reverse { /* Меняем местами для разнообразия */
    direction: rtl; 
}
.reverse > * {
    direction: ltr;
}

.lead {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 25px;
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--primary-neon);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- VISUALS: FAKE UI --- */

/* 1. Terminal */
.tech-terminal {
    background: #080808;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 0;
    font-family: 'Courier New', monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.term-header {
    background: #151515;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.term-title { margin-left: 10px; font-size: 0.8rem; color: #666; }

.term-body {
    padding: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

.term-body .line { margin-bottom: 5px; }
.lime { color: var(--primary-neon); }

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--primary-neon);
    animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* 2. Cards Layout */
.cards-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.04);
}

.glass-card.highlight {
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.05);
}

.card-icon { font-size: 2rem; margin-bottom: 15px; }
.glass-card h3 { margin-bottom: 10px; color: #fff; }

/* 3. Server Panel */
.server-panel {
    background: var(--bg-panel);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 20px;
}

.panel-head {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.server-list { list-style: none; padding: 0; }
.server-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
    font-family: monospace;
}

.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 15px;
}
.status-led.online { background: var(--primary-neon); box-shadow: 0 0 5px var(--primary-neon); }
.status-led.busy { background: #ffbd2e; }

.srv-name { flex: 1; color: #ccc; }
.srv-ping { color: #666; }

.btn-line {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-neon);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-neon);
    padding-bottom: 2px;
    font-size: 0.9rem;
}

/* Animations Trigger Classes */
.fade-in-up { opacity: 0; animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .cards-layout { grid-template-columns: 1fr; }
    .reverse { direction: ltr; }
    .luminous-header { font-size: 3rem; }
}
/* --- NEW HEADER STYLES --- */
.tech-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Верхняя техническая полоска */
.system-strip {
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
    overflow: hidden;
}

.separator { margin: 0 15px; color: #222; }

/* Основной бар */
.glass-nav {
    background: rgba(5, 10, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Логотип */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.inner-sq {
    width: 14px;
    height: 14px;
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
}

/* Меню */
.main-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -26px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-neon);
    box-shadow: 0 -5px 10px var(--primary-neon);
}

/* Статус справа */
.header-status {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(0,0,0,0.3);
}

.status-txt {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-neon);
}

.status-beacon {
    width: 6px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

/* Мобильное меню (скрыто на десктопе) */
.mobile-burger { display: none; }

/* --- NEW FOOTER STYLES --- */
.mega-footer {
    background: #020302;
    border-top: 1px solid #1a1a1a;
    padding: 80px 0 30px;
    position: relative;
    font-size: 0.9rem;
    overflow: hidden;
}

/* Эффект свечения снизу */
.footer-blur {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.05), transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Колонки */
.f-logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.f-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.trust-badge {
    display: inline-block;
    border: 1px solid #333;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #ccc;
    background: #0a0a0a;
}

.f-head {
    color: #fff;
    margin-bottom: 25px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.f-links {
    list-style: none;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.f-links a:hover {
    color: var(--primary-neon);
    padding-left: 5px;
}

/* Техническая колонка */
.data-block {
    background: #080808;
    padding: 15px;
    border: 1px solid #1a1a1a;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #555;
}

.data-row:last-child { margin-bottom: 0; }

.val { color: #ccc; }
.val.green { color: var(--primary-neon); }
.val.blur { filter: blur(2px); user-select: none; }

/* Нижняя полоска */
.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #444;
    font-size: 0.8rem;
}

.bottom-links a {
    color: #444;
    text-decoration: none;
    margin-left: 20px;
}

.bottom-links a:hover { color: #777; }

/* Mobile Adaptations */
@media (max-width: 900px) {
    .main-menu { display: none; } /* Для простоты скрываем на мобильном в шаблоне */
    .mobile-burger {
        display: block;
        width: 30px;
        cursor: pointer;
    }
    .mobile-burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        margin-bottom: 6px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .bottom-links a { margin-left: 0; margin-right: 20px; }
}
/* --- LONG READ CONTENT STYLES --- */

.long-read-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-deep);
}

.long-read-section.dark-mode {
    background: #000; /* Контрастный фон для разделения секций */
}

.article-header {
    margin-bottom: 60px;
    border-left: 2px solid var(--primary-neon);
    padding-left: 30px;
}

.chapter-num {
    display: block;
    font-family: 'Courier New', monospace;
    color: var(--primary-neon);
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.article-header h2 {
    font-family: var(--font-body);
    font-size: 3rem;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

/* Typography for Article Body */
.article-body {
    max-width: 900px;
    margin: 0 auto; /* Центрируем текст для удобства чтения */
}

.article-body p {
    font-size: 1.15rem;
    color: #c0c0c0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.article-body h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: #fff;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-body strong {
    color: #fff;
    font-weight: 700;
}

.intro-text {
    font-size: 1.3rem !important;
    color: var(--text-main) !important;
    font-weight: 300;
}

/* Warning Panel */
.warning-panel {
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-left: 4px solid #ff4d4d;
    padding: 30px;
    display: flex;
    gap: 20px;
    margin: 40px 0;
    border-radius: 0 6px 6px 0;
}

.w-icon {
    font-size: 2rem;
}

.w-content h4 {
    color: #ff4d4d;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.w-content p {
    margin: 0;
    font-size: 1rem;
    color: #e0b0b0;
}

/* Detailed List */
.tech-list-detailed {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.tech-list-detailed li {
    background: rgba(255,255,255,0.02);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.tech-list-detailed li strong {
    color: var(--primary-neon);
    display: block;
    margin-bottom: 5px;
}

/* Text Columns */
.text-columns {
    column-count: 2;
    column-gap: 50px;
}
@media (max-width: 768px) { .text-columns { column-count: 1; } }

/* Feature Grid (Ecosystem) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.f-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px 20px;
}

.f-card.highlight {
    background: linear-gradient(180deg, rgba(0,255,157,0.05), transparent);
    border-top: 1px solid var(--primary-neon);
}

.f-head {
    font-family: 'Courier New', monospace;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.f-card p {
    font-size: 0.95rem;
    margin: 0;
    color: #aaa;
}

/* Step Process (Guide) */
.step-process {
    margin: 50px 0;
}

.step-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.step-num {
    font-family: var(--font-head);
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    min-width: 60px;
}

.step-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Info Box */
.info-box {
    background: rgba(0, 255, 157, 0.05);
    border: 1px dashed var(--primary-neon);
    padding: 25px;
    color: #fff;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr; }
    .article-header h2 { font-size: 2.2rem; }
    .text-columns { column-count: 1; }
    .step-row { flex-direction: column; gap: 10px; }
    .step-num { font-size: 2rem; color: var(--primary-neon); }
}
/* --- GLOBAL SECTION STYLES --- */
.sec-id {
    font-family: 'Courier New', monospace;
    color: var(--primary-neon);
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.section-head h2 {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 300;
}

.lead-font {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

/* --- SECTION 1: TECH SPLIT (Code Window) --- */
.section-tech-split {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.split-tech {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    align-items: center;
}

.code-window {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
}

.win-bar {
    background: #222;
    padding: 5px 15px;
    font-size: 0.7rem;
    color: #888;
    border-bottom: 1px solid #333;
}

.win-content {
    padding: 20px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.c-purp { color: #c678dd; }
.c-blue { color: #61afef; }
.c-grn { color: #98c379; }
.c-org { color: #d19a66; }
.indent { margin-left: 20px; }
.indent-2 { margin-left: 40px; }
.mt-2 { margin-top: 15px; opacity: 0.7; }

/* --- SECTION 2: 3D BADGE (Center Stage) --- */
.section-center-stage {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at center, #0f1814 0%, #000 70%);
    text-align: center;
    overflow: hidden;
}

.center-align {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3D Simulation */
.badge-container {
    perspective: 1000px;
    margin-bottom: 40px;
}

.badge-3d {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateBadge 10s infinite linear;
}

.badge-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--primary-neon);
}

.b-logo {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-head);
}

.b-ring {
    position: absolute;
    width: 140%;
    height: 140%;
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: spinReverse 20s infinite linear;
}

@keyframes rotateBadge {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@keyframes spinReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.text-narrow {
    max-width: 600px;
    margin: 30px auto;
    color: #ccc;
    font-size: 1.1rem;
}

.cert-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.cert-item {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    border: 1px solid #333;
    padding: 8px 12px;
    color: var(--primary-neon);
}

/* --- SECTION 3: SERVER GRID --- */
.section-grid-nodes {
    padding: 100px 0;
    background: #050505;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.node-card {
    background: #0e0e0e;
    border: 1px solid #222;
    padding: 20px;
    transition: transform 0.3s;
}

.node-card:hover {
    background: #151515;
    transform: translateY(-5px);
}

.node-card.active { border-color: var(--primary-neon); }
.node-card.glitch-border { border-color: #ff4d4d; }

.n-head {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.n-tit { color: #fff; font-weight: 700; font-size: 0.9rem; }
.n-stat { font-size: 0.8rem; color: #777; margin-bottom: 5px; }
.n-stat strong { color: #ccc; }

.n-bar {
    height: 4px;
    background: #222;
    margin-top: 10px;
    border-radius: 2px;
}
.fill { height: 100%; background: var(--primary-neon); }
.fill.warn { background: #ffbd2e; }
.fill.crit { background: #ff4d4d; }

/* --- SECTION 4: CHECKLIST --- */
.section-checklist {
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
}

.check-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 40px;
    align-items: center;
}

.shield-anim svg {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 10px rgba(0,255,157,0.3));
    opacity: 0.8;
}

.security-steps {
    list-style: none;
    padding: 0;
}

.security-steps li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: #222;
    -webkit-text-stroke: 1px var(--primary-neon);
}

.step-txt strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}
.step-txt {
    color: #999;
}

/* --- SECTION 5: CRYPTO DEEP --- */
.section-deep-layer {
    padding: 120px 0;
    background: #000;
    position: relative;
    border-top: 1px solid #333;
}

.matrix-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 255, 157, .05) 25%, rgba(0, 255, 157, .05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 157, .05) 75%, rgba(0, 255, 157, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 255, 157, .05) 25%, rgba(0, 255, 157, .05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 157, .05) 75%, rgba(0, 255, 157, .05) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
    pointer-events: none;
}

.deep-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.crypto-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
}

.c-block {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    flex: 1;
    max-width: 300px;
    backdrop-filter: blur(5px);
}

.c-block h4 { color: var(--primary-neon); margin-top: 0; }
.c-block p { color: #888; font-size: 0.9rem; margin: 0; }

.btn-neon {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-neon);
    color: #000;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 2px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: transform 0.2s;
}

.btn-neon:hover {
    transform: scale(1.05);
    background: #fff;
}

/* Mobile Fixes */
@media (max-width: 900px) {
    .split-tech, .node-grid, .check-layout, .crypto-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .check-visual { display: none; }
    .section-head h2 { font-size: 1.8rem; }
}
/* --- GLOBAL SMOOTH SCROLL --- */
html {
    scroll-behavior: smooth;
}

/* Correct Header link padding for offset scrolling if header is fixed */
section {
    scroll-margin-top: 100px; /* Отступ, чтобы хедер не перекрывал заголовок */
}

/* --- SECTION 1 EXPANDED STYLES --- */
.sub-h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-neon);
    padding-left: 15px;
}

.feature-list-tech {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.ft-item {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 4px;
}

.ft-icon { font-size: 1.2rem; }
.ft-item strong { color: var(--primary-neon); }

.seo-filler {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-top: 20px;
}

/* Advanced Terminal */
.terminal-frame {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    font-family: 'Consolas', monospace;
    border: 1px solid #333;
}

.term-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.d1 { background: #ff5f56; } .d2 { background: #ffbd2e; } .d3 { background: #27c93f; }

.term-title {
    position: absolute;
    left: 0; right: 0;
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    pointer-events: none;
}

.term-tabs {
    display: flex;
    background: #252525;
    border-bottom: 1px solid #333;
}

.tab {
    padding: 8px 20px;
    color: #777;
    font-size: 0.8rem;
    cursor: pointer;
    border-right: 1px solid #333;
}

.tab.active {
    background: #1e1e1e;
    color: #fff;
    border-top: 2px solid var(--primary-neon);
}

.term-body {
    padding: 20px;
    color: #ccc;
    font-size: 0.9rem;
    min-height: 250px;
}

.prompt { color: var(--primary-neon); margin-right: 8px; }
.highlight-url { color: #fff; background: rgba(255,255,255,0.1); padding: 2px 4px; }
.green { color: #27c93f; }
.dim { color: #555; }
.blink { animation: blink 1s infinite; color: var(--primary-neon); font-weight: bold; }

/* --- SECTION 2 EXPANDED STYLES (Holographic) --- */
.bg-grid-perspective {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(0,255,157,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,157,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    opacity: 0.3;
    pointer-events: none;
}

.holo-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
    position: relative;
    z-index: 2;
}

/* Holo Cards */
.holo-card {
    background: rgba(10, 20, 15, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 157, 0.2);
    padding: 20px;
    width: 200px;
    border-radius: 4px;
    position: relative;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0, 255, 157, 0.05);
    pointer-events: none;
}

.holo-card.left { transform: perspective(1000px) rotateY(15deg) translateZ(-20px); }
.holo-card.right { transform: perspective(1000px) rotateY(-15deg) translateZ(-20px); }

.hc-head { font-size: 0.7rem; color: var(--primary-neon); letter-spacing: 1px; margin-bottom: 5px; }
.hc-val { font-size: 1.8rem; color: #fff; font-weight: 700; font-family: 'Courier New', monospace; }
.hc-val.text-sm { font-size: 1.1rem; word-break: break-all; }
.hc-sub { font-size: 0.75rem; color: #777; margin-top: 5px; }
.hc-status { 
    display: inline-block; 
    margin-top: 10px; 
    background: rgba(0, 255, 157, 0.2); 
    color: var(--primary-neon); 
    padding: 2px 6px; 
    font-size: 0.7rem; 
}

/* Center Platform */
.platform-ring {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
    box-shadow: 0 0 20px rgba(0,255,157,0.1);
}

.text-content-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.columns-text {
    column-count: 2;
    column-gap: 40px;
    text-align: left;
    margin-top: 30px;
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.ti-box {
    text-align: center;
}

.ti-num {
    display: block;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.ti-label {
    font-size: 0.8rem;
    color: var(--primary-neon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 900px) {
    .holo-stage { flex-direction: column; gap: 20px; }
    .holo-card { width: 100%; transform: none !important; }
    .columns-text { column-count: 1; }
    .trust-indicators { flex-direction: column; gap: 20px; }
}
/* --- HERO UPDATES --- */
.hero-intro-text {
    max-width: 700px;
    margin: 20px auto 40px;
    text-align: center;
}

.hero-intro-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-intro-text strong {
    color: #fff;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Glitch Button */
.btn-primary-glitch {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    overflow: hidden;
}

.btn-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-neon);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.2s;
}

.btn-txt { position: relative; z-index: 2; }

.btn-primary-glitch:hover .btn-bg {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--primary-neon);
}

.btn-ghost {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 50px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.9rem;
    transition: all 0.3s;
    background: rgba(0,0,0,0.5);
}

.btn-ghost:hover {
    border-color: var(--primary-neon);
    color: var(--primary-neon);
    background: rgba(0, 255, 157, 0.05);
}

/* --- LONG READ & MIRRORS STYLES --- */
.section-grid-nodes.long-read-mode {
    background: #080808;
    padding-bottom: 150px;
}

.tech-article {
    margin-bottom: 30px;
}

.tech-article.full-width {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-article p {
    font-size: 1.05rem;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.25rem !important;
    color: #d0d0d0 !important;
    border-left: 4px solid var(--primary-neon);
    padding-left: 20px;
}

.tech-article h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 40px 0 20px;
    font-family: var(--font-head);
    border-bottom: 1px dashed #333;
    padding-bottom: 10px;
}

/* Node Grid Wrapper */
.node-grid-wrapper {
    background: #111;
    border: 1px solid #222;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.grid-caption {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    font-family: 'Courier New', monospace;
    margin-top: 15px;
}

/* Text Columns Tech */
.text-columns-tech {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.tech-list-simple {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tech-list-simple li {
    margin-bottom: 15px;
    color: #999;
    padding-left: 20px;
    position: relative;
}

.tech-list-simple li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-neon);
}

.tech-list-simple strong { color: #fff; }

.tech-alert-box {
    background: rgba(255, 189, 46, 0.05);
    border: 1px solid rgba(255, 189, 46, 0.3);
    color: #ffbd2e;
    padding: 20px;
    font-size: 0.95rem;
    margin-top: 30px;
}

.mt-50 { margin-top: 50px; }

/* Mobile */
@media (max-width: 900px) {
    .text-columns-tech { grid-template-columns: 1fr; gap: 0; }
    .hero-actions { flex-direction: column; align-items: center; }
}
