:root {
    --bg-dark: #0b0b0d;
    --bg-panel: #141418;
    --bg-card: #1a1a20;
    
    --accent-primary: #ffb700; /* Industrial Yellow */
    --accent-secondary: #ff6600; /* Safety Orange */
    --text-main: #e0e0e0;
    --text-dim: #888888;
    
    --border-thin: 1px solid rgba(255, 255, 255, 0.1);
    --border-accent: 1px solid var(--accent-primary);
    
    --font-head: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-head);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- FX & Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    opacity: 0.07;
    pointer-events: none;
    z-index: 999;
}

.grid-overlay {
    position: fixed;
    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: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* --- Typography --- */
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2rem; color: var(--accent-primary); margin-bottom: 1.5rem; }
p { font-size: 1.1rem; color: #ccc; margin-bottom: 1.5rem; }

.outlined {
    -webkit-text-stroke: 1px var(--text-main);
    color: transparent;
}

code { font-family: var(--font-mono); }

strong { color: var(--accent-secondary); }

/* --- Layout Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clip-corners {
    clip-path: polygon(
        15px 0, 100% 0, 
        100% calc(100% - 15px), calc(100% - 15px) 100%, 
        0 100%, 0 15px
    );
}

/* --- Header --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: var(--border-thin);
    background: rgba(11, 11, 13, 0.9);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.accent { color: var(--accent-primary); }

.status-dot {
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.5);
}

.server-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid #333;
    padding: 5px 10px;
}
.online { color: #00ff00; }

/* --- Hero --- */
.hero-section {
    padding: 100px 0 60px;
    position: relative;
}

.meta-tag {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.hero-sub {
    max-width: 600px;
    font-size: 1.2rem;
    color: #a0a0a0;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(255, 183, 0, 0.1);
}

/* --- Terminal Link Block --- */
.verified-links-section {
    margin: 40px 0;
}

.terminal-card {
    background: #1e1e1e;
    border: 1px solid var(--accent-primary);
    position: relative;
}

.terminal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent-primary);
}

.terminal-header {
    background: rgba(255, 183, 0, 0.1);
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 183, 0, 0.2);
}

.terminal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    background: #000;
    padding: 15px;
    border: 1px dashed #444;
}

.onion-link {
    font-size: 1.2rem;
    color: var(--accent-primary);
    flex-grow: 1;
    word-break: break-all;
}

.copy-btn {
    background: var(--text-main);
    border: none;
    padding: 8px 15px;
    font-family: var(--font-mono);
    cursor: pointer;
    font-weight: bold;
}

.copy-btn:active { background: var(--accent-secondary); }

.status-row {
    display: flex;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
}

/* --- Content & Grid --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.visual-block {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 20px;
    height: 100%;
}

.hud-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.bar {
    height: 8px;
    width: 200px;
    background: #333;
    position: relative;
}

.bar.full::after {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 95%;
    background: var(--accent-secondary);
}

.bar.high::after {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 80%;
    background: var(--accent-primary);
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-panel);
    padding: 30px;
    border-top: 2px solid var(--accent-primary);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon { font-size: 2.5rem; margin-bottom: 20px; }

/* --- FAQ --- */
.faq-grid {
    margin-top: 40px;
    max-width: 800px;
}

.faq-item {
    background: var(--bg-panel);
    margin-bottom: 15px;
    border: 1px solid #333;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
}

.faq-item[open] summary::after { content: '-'; color: var(--accent-primary); }

.faq-item p {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: #999;
}

/* --- Footer --- */
.site-footer {
    border-top: 2px solid #222;
    background: #0a0a0a;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-family: var(--font-mono);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #888; text-decoration: none; }
.footer-col a:hover { color: #fff; }

.disclaimer { font-size: 0.8rem; color: #555; }

.tech-data .data-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    padding: 5px 0;
    color: #666;
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #444;
    font-size: 0.8rem;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .site-header { padding: 15px; flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    h1 { font-size: 2.2rem; }
    .grid-2-col { grid-template-columns: 1fr; }
    .link-row { flex-direction: column; text-align: center; }
}
/* --- LINKS PAGE SPECIFIC STYLES --- */

/* Page Title & Intro */
.page-title {
    margin-top: 40px;
    margin-bottom: 10px;
}

.section-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: #aaa;
}

.nav-link.active {
    color: var(--accent-primary);
    border-bottom: 1px solid var(--accent-primary);
}

/* Alert Box */
.alert-box {
    background: rgba(255, 102, 0, 0.1); /* Orange Tint */
    border: 1px solid var(--accent-secondary);
    display: flex;
    align-items: center;
    padding: 20px;
    margin-top: 40px;
    gap: 20px;
}

.alert-icon {
    font-size: 2rem;
}

.alert-content h3 {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.alert-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Primary Mirror Box */
.primary-mirror {
    margin-bottom: 50px;
    background: linear-gradient(180deg, rgba(20,20,24,1) 0%, rgba(30,30,20,1) 100%);
    border: 1px solid var(--accent-primary);
}

.pulse-status {
    color: #00ff00;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.link-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    padding: 20px;
    border: 1px solid #444;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.onion-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.large-btn {
    background: var(--accent-primary);
    color: #000;
    padding: 10px 25px;
}

.tech-specs {
    display: flex;
    gap: 30px;
    font-family: var(--font-mono);
    color: #666;
    font-size: 0.8rem;
}

/* Mirrors Table / Grid */
.mirror-grid {
    border: 1px solid #333;
    background: var(--bg-panel);
}

.mirror-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    align-items: center;
}

.mirror-row:last-child { border-bottom: none; }

.header-row {
    background: rgba(255,255,255,0.05);
    font-weight: bold;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mono { font-family: var(--font-mono); }

.badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(255, 183, 0, 0.2);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 183, 0, 0.5);
    display: inline-block;
}

.badge.yellow { color: #ffeb3b; border-color: #ffeb3b; }
.badge.gray { color: #888; border-color: #555; background: #222; }

.status-indicator {
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.status-indicator.online { color: #00ff00; }
.status-indicator.warning { color: #ffeb3b; }
.status-indicator.offline { color: #ff3333; }

.dimmed { opacity: 0.5; }

.small {
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* PGP Box */
.pgp-box {
    background: #111;
    border: 1px solid #444;
    padding: 20px;
}

.pgp-header {
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.pgp-code {
    background: #000;
    color: #4a6; /* Hacker green for code */
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    overflow-x: auto;
    height: 150px;
    margin-bottom: 20px;
    border: 1px dashed #333;
}

.full-width { width: 100%; }

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #ccc;
}

.check-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Mobile Responsive for Table */
@media (max-width: 768px) {
    .mirror-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }
    .header-row { display: none; } /* Hide headers on mobile */
    .onion-text { font-size: 1rem; }
    .link-large { flex-direction: column; }
    .large-btn { width: 100%; }
}
/* --- GUIDE PAGE LAYOUT --- */

.guide-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar width + Content */
    gap: 60px;
    padding-top: 60px;
    align-items: start;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px; /* Sticks below header */
}

.toc-box {
    background: var(--bg-panel);
    border: 1px solid #333;
    padding: 25px;
}

.toc-box h4 {
    color: var(--text-dim);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#toc ul {
    list-style: none;
}

#toc li {
    margin-bottom: 15px;
}

#toc a {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.2s;
    display: block;
}

#toc a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.toc-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.small-btn {
    padding: 10px;
    font-size: 0.8rem;
}

/* Article Content Styles */
.content-body {
    background: transparent;
    max-width: 800px; /* Optimal reading width */
}

.article-header {
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.meta-data {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.lead {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-top: 20px;
    line-height: 1.7;
}

.guide-section {
    margin-bottom: 60px;
}

.guide-section h2 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.guide-section h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.guide-section p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Specific UI Elements for Guide */
.pro-tip {
    border-left: 3px solid var(--accent-secondary);
    background: rgba(255, 102, 0, 0.05);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #ccc;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0; top: 0;
    width: 25px; height: 25px;
    background: #333;
    color: var(--accent-primary);
    text-align: center;
    line-height: 25px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
}

.cmd-block {
    display: block;
    background: #000;
    padding: 15px;
    border: 1px solid #444;
    font-family: var(--font-mono);
    color: #00ff00;
    margin: 20px 0;
    font-size: 0.9rem;
}

.text-link {
    color: var(--accent-primary);
    text-decoration: underline;
}

.visual-step {
    background: var(--bg-card);
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid #333;
}

.step-num {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--accent-secondary);
    min-width: 60px;
}

.visual-step p { margin-bottom: 0; font-size: 0.95rem; }

.alert-box-small {
    background: #220000;
    border: 1px solid #ff3333;
    color: #ffaaaa;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.alert-box-small a { color: #fff; }

/* Responsive Guide */
@media (max-width: 992px) {
    .guide-layout {
        grid-template-columns: 1fr; /* Stack sidebar on top */
        gap: 30px;
    }
    
    .sidebar {
        position: relative; /* Unstick on mobile */
        top: 0;
    }
    
    .toc-box {
        border-left: 4px solid var(--accent-primary); /* Simplified style */
    }
}
/* --- WIKI / ARCHIVE PAGE STYLES --- */

/* Hero Search Simulation */
.wiki-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid #333;
}

.wiki-interface {
    background: var(--bg-panel);
    padding: 40px;
    border: 1px solid var(--accent-primary);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.search-bar-fake {
    margin-top: 30px;
    background: #000;
    border: 1px solid #555;
    padding: 15px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.prompt {
    color: #666;
    margin-right: 10px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Masonry Grid for Content */
.wiki-content {
    padding: 60px 0;
}

.wiki-grid {
    column-count: 2; /* Creates the masonry effect */
    column-gap: 30px;
}

.wiki-card {
    background: var(--bg-card);
    border: 1px solid #333;
    margin-bottom: 30px; /* Space between items vertically */
    break-inside: avoid; /* Prevents card from splitting across columns */
    display: inline-block; /* Fix for some browsers */
    width: 100%;
    transition: transform 0.2s ease;
}

.wiki-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.card-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: #222;
    color: #888;
    padding: 2px 6px;
    border: 1px solid #444;
}

.card-header h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--text-main);
    text-align: right;
}

.card-body {
    padding: 25px;
}

.card-body h4 {
    color: var(--accent-primary);
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.card-body p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify; /* Newspaper look */
}

.card-body ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 0.95rem;
}

.card-body li { margin-bottom: 5px; }

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover { color: #fff; }

.wiki-footer-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.wiki-footer-cta h3 { margin-bottom: 20px; }

/* Responsive Wiki */
@media (max-width: 768px) {
    .wiki-grid {
        column-count: 1; /* Single column on mobile */
    }
    
    .wiki-interface {
        padding: 20px;
    }
}
/* --- FAQ PAGE STYLES --- */

.faq-header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #333;
    max-width: 800px;
    margin: 0 auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
    padding-top: 60px;
}

/* FAQ Sidebar */
.faq-sidebar {
    position: sticky;
    top: 100px;
}

.filter-box ul {
    list-style: none;
    padding: 20px;
    border: 1px solid #333;
    background: var(--bg-panel);
}

.filter-box li {
    margin-bottom: 15px;
}

.filter-box a {
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-mono);
    display: block;
    transition: 0.2s;
}

.filter-box a:hover,
.filter-box a.active {
    color: var(--accent-primary);
    padding-left: 10px;
    border-left: 2px solid var(--accent-primary);
}

.faq-alert {
    margin-top: 30px;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid #ff3333;
    color: #ffaaaa;
    padding: 15px;
    font-size: 0.85rem;
    text-align: center;
}

/* FAQ Accordion Items */
.faq-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px; /* Offset for sticky header anchor */
}

.section-title {
    color: var(--accent-secondary);
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 20px;
    border-bottom: 1px dashed #444;
    padding-bottom: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid #333;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.05);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #e0e0e0;
    list-style: none; /* Hide default triangle */
    position: relative;
    padding-right: 50px;
}

/* Custom Accordion Icon */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: normal;
}

.faq-item[open] summary::after {
    content: '-';
    color: var(--accent-secondary);
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #bbb;
    line-height: 1.6;
    border-top: 1px solid #222;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer p { margin-top: 15px; }
.faq-answer ul, .faq-answer ol { margin-left: 20px; margin-top: 10px; }
.faq-answer li { margin-bottom: 5px; }

/* Responsive */
@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        display: none; /* Hide sidebar on mobile or move to top */
    }
}
/* --- SECURITY PAGE STYLES --- */

.security-hero {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #333;
}

.security-section {
    padding: 60px 0;
    border-bottom: 1px dashed #333;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 0;
}

/* Status Badges */
.status-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 5px 10px;
    border: 1px solid #555;
    background: #111;
    color: #888;
}

.status-badge.valid {
    border-color: #0f0;
    color: #0f0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.status-badge.warning {
    border-color: #ff9900;
    color: #ff9900;
}

/* Terminal / Canary Block */
.terminal-block {
    background: #000;
    border: 1px solid #333;
    padding: 30px;
    font-family: var(--font-mono);
    color: #ccc;
    position: relative;
    overflow: hidden;
}

.terminal-block::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: rgba(0, 255, 0, 0.5);
    animation: scanline 4s linear infinite;
}

.canary-text {
    white-space: pre-wrap;
    color: var(--text-dim);
    line-height: 1.4;
    border-left: 2px solid #333;
    padding-left: 20px;
    margin-top: 20px;
}

/* Code Block (PGP Key) */
.code-block {
    background: #0d0d0d;
    border: 1px solid #333;
    padding: 20px;
    position: relative;
    margin-top: 20px;
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #666;
    max-height: 300px;
    overflow-y: auto;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 5px 10px;
}

.copy-btn:hover {
    background: var(--accent-primary);
    color: #000;
}

/* Bug Bounty Grid */
.bounty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.bounty-card {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 25px;
}

.bounty-card h3 {
    font-size: 1.1rem;
    color: var(--accent-secondary);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.bounty-card ul {
    list-style: none;
    margin: 0; padding: 0;
}

.bounty-card li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #aaa;
}

.bounty-card li::before {
    content: "> ";
    color: var(--accent-primary);
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .status-badge {
        margin-top: 10px;
    }
}
/* --- BLOG / INTEL FEED STYLES --- */

.page-intro {
    text-align: center;
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.blog-meta {
    background: #000;
    padding: 15px 25px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.blog-meta .tag {
    color: var(--accent-secondary);
    font-weight: bold;
}

.blog-card h2 {
    padding: 25px 25px 15px;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #fff;
    font-family: var(--font-main);
}

.blog-content {
    padding: 0 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Internal bold keywords highlight */
.blog-content strong {
    color: #ddd;
    font-weight: bold;
}

.read-more {
    margin-top: auto; /* Pushes button to bottom */
    display: inline-block;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.2s;
}

.read-more:hover {
    color: #fff;
    padding-left: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
