/* =========================================
   1. CORE: VARIABLES & RESET
   ========================================= */
:root {
    --bg-dark: #03060a;
    --primary-cyan: #00f2ff;
    --primary-pink: #ff00ff;
    --primary-purple: #bc13fe;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    
    --glass-bg: rgba(13, 17, 23, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-main: 'Inter', sans-serif;
    --font-display: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   2. FX: BACKGROUND & ANIMATIONS
   ========================================= */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    opacity: 0.3; pointer-events: none; z-index: 0;
}

.ambient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: 0.5; z-index: -1;
    animation: orb-move 15s infinite alternate;
    mix-blend-mode: screen;
}
.g1 { width: 600px; height: 600px; background: var(--primary-purple); top: -200px; left: -100px; }
.g2 { width: 500px; height: 500px; background: var(--primary-cyan); top: 20%; right: -200px; }
.g3 { width: 400px; height: 400px; background: var(--primary-pink); bottom: -100px; left: 10%; }

@keyframes orb-move { 0% { transform: translate(0, 0); } 100% { transform: translate(40px, 60px); } }
@keyframes scanMove { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Glitch Effect */
.glitch-text { position: relative; color: white; }
.glitch-text::before, .glitch-text::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-text::before {
    left: 2px; text-shadow: -1px 0 red; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px; text-shadow: -1px 0 blue; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 30px, 0); } 100% { clip: rect(80px, 9999px, 100px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(60px, 9999px, 80px, 0); } 100% { clip: rect(10px, 9999px, 50px, 0); } }

/* =========================================
   3. TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: white;
}
h1 { font-size: 4rem; line-height: 0.95; margin-bottom: 1.5rem; text-shadow: 0 0 30px rgba(0, 242, 255, 0.5); }
h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; }

.highlight-cyan { color: var(--primary-cyan); text-shadow: 0 0 15px rgba(0, 242, 255, 0.6); }
.highlight-pink { color: var(--primary-pink); text-shadow: 0 0 15px rgba(255, 0, 255, 0.6); }
.highlight-green { color: #00ff41; }
.highlight-purple { color: var(--primary-purple); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-mute { color: var(--text-muted); }
.text-red { color: #ff3333 !important; }
.text-green { color: #00ff41; }
.text-orange { color: #ff9d00; }
.text-cyan { color: var(--primary-cyan); }

.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; } .p-30 { padding: 30px; } .p-40 { padding: 40px; }
.full-width { width: 100%; display: block; }

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}
.transparent-bg { background: transparent !important; padding: 0 !important; border: none !important; }

/* =========================================
   4. UI COMPONENTS (Buttons, Header, Footer)
   ========================================= */
.glass-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(3, 6, 10, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border); padding: 15px 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; color: white; }
.top-menu { display: flex; gap: 30px; }
.nav-item {
    text-decoration: none; color: var(--text-muted); font-weight: 700;
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px;
    font-family: var(--font-display); transition: 0.3s;
}
.nav-item:hover, .nav-item.active { color: white; text-shadow: 0 0 10px var(--primary-cyan); }

/* Buttons */
.btn-main, .btn-primary {
    background: linear-gradient(90deg, var(--primary-cyan), #00aaff);
    color: black; border: none; padding: 12px 30px;
    font-weight: bold; font-family: var(--font-display); font-size: 1rem;
    cursor: pointer; transition: 0.3s; letter-spacing: 1px;
    text-decoration: none; display: inline-block;
}
.btn-main:hover { box-shadow: 0 0 20px rgba(0,242,255,0.4); transform: translateY(-2px); }

.btn-outline, .btn-secondary {
    background: transparent; border: 1px solid #555; color: white;
    padding: 12px 30px; font-family: var(--font-display); font-weight: bold;
    cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: white; }

.btn-xs {
    padding: 5px 15px; background: rgba(255, 255, 255, 0.1);
    color: white; text-decoration: none; font-size: 0.75rem; border: 1px solid #444; cursor: pointer; display: inline-block;
}
.btn-xs:hover { border-color: var(--primary-cyan); color: var(--primary-cyan); }
.btn-copy.disabled { opacity: 0.5; cursor: not-allowed; border-color: #555 !important; }

/* Status Badges */
.status-badge { background: #00ff41; color: black; font-size: 0.7rem; font-weight: bold; padding: 2px 8px; border-radius: 4px; }
.status-badge.red { background: #ff3333; color: white; }
.status-badge.yellow { background: #ffbd2e; color: black; }
.status-badge.grey { background: #555; color: #ccc; }

/* Footer */
.glass-footer { background: #020305; border-top: 1px solid #222; margin-top: 80px; padding: 60px 0; }
.footer-flex { display: flex; justify-content: space-between; }
.f-col h4 { color: white; margin-bottom: 20px; font-family: var(--font-display); letter-spacing: 1px; }
.f-col a { display: block; color: #888; text-decoration: none; margin-bottom: 10px; transition: 0.3s; }
.f-col a:hover { color: var(--primary-pink); padding-left: 5px; }
.f-mute { color: #444; font-size: 0.8rem; margin-top: 10px; }

/* =========================================
   5. PAGE: INDEX / HERO
   ========================================= */
.hero-centered {
    padding-top: 140px; padding-bottom: 80px; min-height: 90vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hero-logo-center { width: 250px; margin-bottom: 20px; filter: drop-shadow(0 0 25px rgba(0, 242, 255, 0.3)); transition: 0.5s; cursor: pointer; }

.onion-link-btn {
    background: rgba(0, 0, 0, 0.6); border: 1px solid var(--primary-cyan); color: white;
    padding: 15px 30px; border-radius: 50px; text-decoration: none;
    font-family: var(--font-mono); font-size: 1.1rem; display: flex; align-items: center; gap: 15px;
    transition: 0.3s; margin-top: 30px;
}
.onion-link-btn:hover { background: rgba(0, 242, 255, 0.15); box-shadow: 0 0 30px rgba(0, 242, 255, 0.4); }

.grid-3-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { padding: 30px; text-align: center; border-top: 2px solid var(--primary-pink); background: linear-gradient(180deg, rgba(255, 0, 255, 0.05), transparent); border-radius: 8px; border-bottom: 1px solid #222; border-left: 1px solid #222; border-right: 1px solid #222;}
.f-icon { font-size: 3rem; margin-bottom: 20px; color: var(--primary-pink); }

.server-wrapper { padding: 40px; border: 1px solid rgba(255, 255, 255, 0.1); }
.mirror-table { width: 100%; border-collapse: collapse; color: #ccc; }
.mirror-table th { text-align: left; padding: 15px; border-bottom: 1px solid #333; color: #888; text-transform: uppercase; font-size: 0.8rem; }
.mirror-table td { padding: 15px; border-bottom: 1px solid #222; }

/* Dashboard Grid */
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash-header { grid-column: 1 / -1; margin-bottom: 20px; }
.stat-card { padding: 20px; text-align: center; border-bottom: 3px solid var(--primary-purple); transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); background: rgba(188, 19, 254, 0.1); }
.stat-num { font-size: 2.5rem; font-weight: bold; font-family: var(--font-display); color: white; }
.dash-content { grid-column: 1 / -1; padding: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dash-inner-layout { display: flex; gap: 30px; align-items: flex-start; }
.dash-icon-3d { font-size: 4rem; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,0,255,0.3); border-radius: 50%; }

/* Scanner & Terminal Blocks */
.scanner-layout { display: flex; gap: 40px; padding: 40px; align-items: center; border: 1px dashed rgba(0, 242, 255, 0.3); }
.scanner-visual { flex: 0 0 250px; height: 250px; background: rgba(0,0,0,0.5); border: 2px solid var(--primary-cyan); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;}
.scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--primary-cyan); box-shadow: 0 0 15px var(--primary-cyan); animation: scanMove 3s linear infinite; }

.terminal-window { max-width: 800px; margin: 0 auto; background: #050505; border: 1px solid #333; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); overflow: hidden; }
.terminal-header { background: #1a1a1a; padding: 10px 15px; display: flex; align-items: center; gap: 8px; }
.dot-win { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-body { padding: 30px; font-family: var(--font-mono); color: #ccc; }
.cmd-line { display: flex; gap: 10px; margin-bottom: 15px; }
.prompt { color: #00ff41; } .cmd { color: #fff; }

/* =========================================
   6. PAGE: INTERNAL (Guide, Rules, Mirrors)
   ========================================= */
.long-read-layout { padding-top: 100px; padding-bottom: 50px; }
.flex-layout { display: flex; gap: 30px; margin-top: 40px; align-items: flex-start; }
.sidebar-nav { flex: 0 0 280px; }
.sticky-box { position: sticky; top: 100px; border-right: 2px solid var(--primary-cyan); }
.content-body { flex: 1; padding: 0 0 0 40px; }

.sidebar-title { color: var(--primary-cyan); font-family: var(--font-display); margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.toc-list, .category-list { list-style: none; padding: 0; }
.toc-list li, .category-list li { margin-bottom: 12px; }
.toc-list a, .category-list a { color: #888; text-decoration: none; font-size: 0.95rem; transition: 0.2s; display: block; }
.toc-list a:hover { color: white; padding-left: 5px; border-left: 2px solid var(--primary-pink); }

.guide-h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; font-family: var(--font-display); }
.guide-h2 { color: white; margin-top: 50px; margin-bottom: 20px; font-family: var(--font-display); font-size: 2rem; border-left: 4px solid var(--primary-pink); padding-left: 15px; }

.code-block { background: #111; border: 1px solid #333; padding: 20px; font-family: var(--font-mono); color: #00ff41; margin-bottom: 30px; white-space: pre-wrap; }
.alert-box { padding: 20px; margin-bottom: 30px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9rem; }
.alert-box.warning { background: rgba(255, 0, 0, 0.1); border: 1px solid red; color: #ffcccc; }

/* Mirrors Specific */
.mirror-row { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.4); padding: 20px; border: 1px solid #333; margin-bottom: 15px; border-radius: 4px; }
.mirror-row.locked { opacity: 0.7; border-style: dashed; }
.mirror-info { display: flex; flex-direction: column; }
.onion-link { font-family: var(--font-mono); color: var(--primary-cyan); font-size: 1.1rem; }
.server-status-widget { font-family: var(--font-mono); font-size: 0.85rem; }
.status-row { display: flex; justify-content: space-between; margin-bottom: 10px; align-items: center; }
.progress-bar { width: 100px; height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--primary-cyan); }
.blink-dot { animation: blink 1s infinite; }

/* News Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.1); }
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.tl-date { width: 80px; min-width: 80px; text-align: center; margin-right: 30px; z-index: 2; background: #000; border: 1px solid #333; border-radius: 8px; padding: 10px 5px; height: fit-content; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.tl-date .day { display: block; font-size: 1.8rem; font-weight: bold; color: white; font-family: var(--font-display); line-height: 1; }
.tl-date .month { display: block; font-size: 0.7rem; color: var(--primary-cyan); font-weight: bold; text-transform: uppercase; margin-top: 5px; }
.tl-content { flex-grow: 1; }

/* Vendors Pricing */
.pricing-table { display: flex; justify-content: center; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.price-card { background: #0a0a0a; border: 1px solid #333; width: 300px; padding: 30px; border-radius: 8px; position: relative; text-align: center; }
.price-card.recommended { border: 1px solid var(--primary-cyan); box-shadow: 0 0 20px rgba(0,242,255,0.1); transform: scale(1.05); z-index: 2; background: #0f0f0f; }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-cyan); color: black; padding: 5px 15px; font-weight: bold; font-size: 0.8rem; border-radius: 20px; }
.p-features { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.p-features li { padding: 10px 0; border-bottom: 1px solid #222; color: #ccc; font-size: 0.9rem; }
.p-features i { margin-right: 10px; color: var(--primary-cyan); }

/* API & Syntax */
.terminal-block { background: #050505; border: 1px solid #333; border-radius: 6px; padding: 0; margin-top: 20px; overflow: hidden; }
.term-header { background: #1a1a1a; padding: 10px; display: flex; align-items: center; gap: 8px; }
.term-body { padding: 20px; font-family: var(--font-mono); color: #ccc; font-size: 0.9rem; }
.keyword { color: var(--primary-purple); font-weight: bold; }
.string { color: #a5d6ff; }
.term-line { display: block; margin-bottom: 5px; }

/* FAQ */
.faq-hero { padding: 60px 20px; display: flex; flex-direction: column; align-items: center; }
.search-wrapper { position: relative; width: 100%; max-width: 600px; display: flex; }
.search-input { width: 100%; background: rgba(0,0,0,0.6); border: 1px solid #444; padding: 15px 20px 15px 50px; color: white; border-radius: 
