/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Roboto+Mono:wght@400;500&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-dark: #0a0b0e;
    --bg-panel: #14161b;
    --primary: #ffae00; /* Янтарный / Оранжевый */
    --primary-glow: rgba(255, 174, 0, 0.4);
    --secondary: #ffffff;
    --text-main: #e0e0e0;
    --text-muted: #8b9bb4;
    --border-color: #2a2f3a;
    --grid-line: rgba(255, 255, 255, 0.03);
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

/* --- Base & Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- FX: Noise Overlay --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* --- FX: Background Grid --- */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; color: var(--secondary); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 700; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; border-left: 4px solid var(--primary); padding-left: 15px; }
.highlight { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }
.mono { font-family: var(--font-mono); font-size: 0.9rem; }

/* --- Components: Buttons & Hud --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bg-dark);
    background: var(--primary);
    border: none;
    cursor: pointer;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
    position: relative;
}

.btn:hover {
    background: var(--secondary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* --- Header --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--secondary); text-decoration: none; letter-spacing: 2px; }
.logo span { color: var(--primary); }

nav ul { display: flex; list-style: none; gap: 25px; }
nav a { color: var(--text-main); text-decoration: none; font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
nav a:hover, nav a.active { color: var(--primary); text-shadow: 0 0 8px var(--primary-glow); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; color: var(--primary); font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    padding: 160px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.hero-badges { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.badge { background: rgba(255, 174, 0, 0.1); border: 1px solid var(--primary); color: var(--primary); padding: 5px 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- Mirrors / Links Section (IMPORTANT) --- */
.mirrors-section {
    max-width: 1000px;
    margin: -50px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.mirror-card {
    background: var(--bg-panel);
    border: 1px solid var(--primary);
    padding: 30px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.mirror-card::before {
    content: "SECURE_CONNECTION_ESTABLISHED";
    position: absolute;
    top: -12px; left: 20px;
    background: var(--bg-dark);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 0 10px;
    font-family: var(--font-mono);
}
.link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid var(--text-muted);
    transition: 0.3s;
}
.link-row:hover { border-left-color: var(--primary); background: rgba(255,174,0,0.05); }
.onion-url { font-family: var(--font-mono); color: var(--secondary); word-break: break-all; }
.status { color: #00ff88; font-size: 0.8rem; display: flex; align-items: center; gap: 5px; }
.status-dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 5px #00ff88; }

/* --- Content Grid --- */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.feature-box {
    background: rgba(20, 22, 27, 0.6);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-box:hover { border-color: var(--primary); transform: translateY(-5px); }
.feature-box h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--secondary); }
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }

/* --- SEO Text Styles --- */
.seo-content { color: var(--text-main); font-size: 1.1rem; margin-bottom: 60px; text-align: justify; }
.seo-content p { margin-bottom: 20px; }
.seo-content ul { padding-left: 20px; margin-bottom: 20px; }
.seo-content li { margin-bottom: 10px; color: var(--text-muted); }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}
.faq-question:hover { color: var(--primary); }
.faq-answer { display: none; padding-bottom: 20px; color: var(--text-muted); }
.faq-item.active .faq-answer { display: block; animation: fadeIn 0.5s; }
.plus { font-size: 1.5rem; color: var(--primary); }

/* --- Footer --- */
footer { background: #050505; border-top: 1px solid var(--border-color); padding: 60px 20px 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { margin-bottom: 20px; color: var(--primary); letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-col a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1a1a; padding-top: 20px; margin-top: 40px; font-size: 0.8rem; color: #555; }

/* --- Responsive --- */
@media (max-width: 768px) {
    nav { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: #0a0b0e; flex-direction: column; padding: 40px; transition: 0.4s; }
    nav.active { left: 0; }
    nav ul { flex-direction: column; text-align: center; }
    .menu-toggle { display: block; }
    h1 { font-size: 2.5rem; }
    .link-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .link-row .btn { width: 100%; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* --- Guide Page Specific Styles --- */

/* Sidebar / Table of Contents */
.guide-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.toc-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-right: 2px solid var(--primary);
}

.toc-sidebar h4 {
    margin-bottom: 15px;
    color: var(--secondary);
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 10px;
}

.toc-list { list-style: none; }
.toc-list li { margin-bottom: 10px; }
.toc-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    display: block;
    padding-left: 10px;
    border-left: 2px solid transparent;
}
.toc-list a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 15px;
}

/* Article Typography */
.guide-content h2 { 
    margin-top: 50px; 
    margin-bottom: 25px; 
    color: var(--primary);
    font-size: 2rem;
}
.guide-content h3 { 
    margin-top: 35px; 
    margin-bottom: 15px; 
    color: var(--secondary); 
    font-family: var(--font-heading);
}
.guide-content p { 
    margin-bottom: 20px; 
    font-size: 1.05rem; 
    color: #c0c0c0; 
    text-align: justify;
}
.guide-content ul, .guide-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
    color: var(--text-muted);
}
.guide-content li { margin-bottom: 10px; }

/* Info & Warning Boxes */
.info-box {
    background: rgba(0, 200, 255, 0.05);
    border-left: 4px solid #00c8ff;
    padding: 20px;
    margin: 30px 0;
}
.warning-box {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid #ff3232;
    padding: 20px;
    margin: 30px 0;
    position: relative;
}
.warning-box::before {
    content: "⚠ CRITICAL WARNING";
    position: absolute;
    top: -12px; left: 15px;
    background: var(--bg-dark);
    color: #ff3232;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Terminal / Code Block */
.terminal-block {
    background: #000;
    border: 1px solid #333;
    padding: 20px;
    font-family: var(--font-mono);
    color: #00ff88;
    margin: 25px 0;
    font-size: 0.9rem;
    position: relative;
    overflow-x: auto;
}
.terminal-header {
    background: #1a1a1a;
    color: #aaa;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-bottom: 1px solid #333;
    margin: -20px -20px 20px -20px;
    display: flex;
    justify-content: space-between;
}

/* Responsive Guide */
@media (max-width: 900px) {
    .guide-layout { grid-template-columns: 1fr; }
    .toc-sidebar { position: static; margin-bottom: 40px; }
}
/* --- Links Page Specific Styles --- */

/* Status Dashboard */
.status-dashboard {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 2px; /* Inner border effect */
    margin-bottom: 60px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.status-header {
    background: #111;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Table Styles */
.server-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.server-table th {
    text-align: left;
    padding: 15px 20px;
    color: var(--text-muted);
    font-weight: 400;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.server-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--secondary);
}

.server-table tr:hover td {
    background: rgba(255,174,0,0.03);
}

/* Status Indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}
.status-online { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.status-offline { background: rgba(255, 50, 50, 0.1); color: #ff3232; border: 1px solid rgba(255, 50, 50, 0.3); }

.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Copy Input */
.url-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    padding: 8px 12px;
    border: 1px solid #333;
    max-width: 350px;
}
.url-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
    font-size: 0.85rem;
}
.copy-icon {
    cursor: pointer;
    color: var(--primary);
    opacity: 0.7;
    transition: 0.3s;
}
.copy-icon:hover { opacity: 1; transform: scale(1.1); }

/* Content Typography for Long Reads */
.technical-article h2 { color: var(--secondary); border-left: 4px solid var(--primary); padding-left: 20px; margin-top: 60px; }
.technical-article h3 { color: var(--primary); margin-top: 40px; font-size: 1.4rem; }
.technical-article p { color: #bfbfbf; margin-bottom: 25px; line-height: 1.8; font-size: 1.05rem; }
.technical-article strong { color: #fff; }

/* Responsive Table */
@media (max-width: 768px) {
    .server-table thead { display: none; }
    .server-table tr { display: flex; flex-direction: column; border-bottom: 1px solid var(--border-color); padding: 15px; }
    .server-table td { padding: 5px 0; border: none; }
    .url-container { max-width: 100%; }
}
/* --- Security Page Specific Styles --- */

/* Threat Grid */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}
.threat-card {
    background: linear-gradient(145deg, #111, #0d0d0d);
    border: 1px solid #333;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.threat-card:hover {
    border-color: #ff3232;
    transform: translateY(-5px);
}
.threat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: #333;
    transition: 0.3s;
}
.threat-card:hover::before { background: #ff3232; }
.threat-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.threat-title { color: var(--secondary); font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; }
.threat-desc { font-size: 0.9rem; color: var(--text-muted); }

/* PGP Console Style */
.console-window {
    background: #0f0f0f;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.console-bar {
    background: #222;
    padding: 8px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #444;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: #555; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.console-body {
    padding: 20px;
    color: #00ff00; /* Hacker Green */
    font-size: 0.9rem;
    overflow-x: auto;
    line-height: 1.5;
}
.console-comment { color: #666; }
.console-command { color: #fff; font-weight: bold; }
.console-output { color: #aaa; }

/* Checklist */
.security-checklist { list-style: none; margin: 30px 0; }
.check-item {
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid #444;
    transition: 0.2s;
}
.check-item:hover { background: rgba(255, 255, 255, 0.05); border-left-color: var(--primary); }
.check-box {
    width: 20px; height: 20px;
    border: 2px solid #555;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.check-text { font-family: var(--font-heading); color: var(--secondary); letter-spacing: 0.5px; }

/* Typography for Security */
.sec-section { margin-bottom: 80px; }
.sec-section h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }
.sec-section p { font-size: 1.1rem; color: #b0b0b0; text-align: justify; margin-bottom: 20px; }
.highlight-red { color: #ff3232; text-shadow: 0 0 10px rgba(255, 50, 50, 0.3); }
/* --- Wiki Page Specific Styles --- */

/* Wiki Layout */
.wiki-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.wiki-nav {
    position: sticky;
    top: 100px;
    background: #0d0d0d;
    border: 1px solid #333;
    padding: 0;
}
.wiki-nav-header {
    background: #222;
    padding: 15px;
    font-family: var(--font-heading);
    color: #fff;
    border-bottom: 1px solid #333;
    letter-spacing: 1px;
}
.wiki-links { list-style: none; }
.wiki-links li a {
    display: block;
    padding: 12px 15px;
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: 0.2s;
    font-size: 0.9rem;
}
.wiki-links li a:hover, .wiki-links li a.active-wiki {
    background: #111;
    color: var(--primary);
    padding-left: 20px;
}

/* Timeline Component */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
    border-left: 2px solid #333;
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #000;
    border: 2px solid var(--secondary);
    border-radius: 50%;
}
.timeline-date {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
}
.timeline-content h4 { color: #fff; margin-bottom: 10px; }
.timeline-content p { font-size: 0.95rem; color: #aaa; }

/* Policy / Rules Box */
.policy-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 30px;
}
.policy-header {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.policy-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 8px;
    border: 1px solid #555;
    border-radius: 3px;
    color: #aaa;
}

/* Data Table for Fees */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #111;
}
.fees-table th, .fees-table td {
    padding: 12px 15px;
    border: 1px solid #333;
    text-align: left;
    color: #ccc;
}
.fees-table th { background: #1a1a1a; color: var(--primary); }

/* Glossary Grid */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.glossary-item {
    background: #0d0d0d;
    border: 1px solid #222;
    padding: 15px;
}
.glossary-term { color: var(--secondary); font-weight: bold; display: block; margin-bottom: 5px; }
.glossary-def { font-size: 0.8rem; color: #777; line-height: 1.4; }

@media (max-width: 900px) {
    .wiki-container { grid-template-columns: 1fr; }
    .wiki-nav { display: none; } /* Hide sidebar on mobile or move to bottom */
}

/* --- FAQ Page Specific Styles --- */

/* Search Bar for FAQ */
.faq-search-box {
    margin: -20px auto 40px auto;
    max-width: 600px;
    position: relative;
}
.faq-search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: #0d0d0d;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-mono);
    border-radius: 4px;
    font-size: 1rem;
    transition: 0.3s;
}
.faq-search-input:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(255, 174, 0, 0.1); outline: none; }
.search-icon-fixed {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

/* Accordion Styles */
.faq-category { margin-bottom: 50px; }
.faq-category h2 {
    color: var(--secondary);
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-item {
    background: #111;
    border: 1px solid #222;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
}
.accordion-item:hover { border-color: #444; }

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #111, #151515);
    user-select: none;
}
.accordion-question {
    font-weight: 500;
    color: #ddd;
    font-size: 1.05rem;
}
.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #0d0d0d;
    color: #999;
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

/* Active State */
.accordion-item.active { border-color: var(--primary); }
.accordion-item.active .accordion-icon { transform: rotate(45deg); color: #ff3232; } /* Turn + into x */
.accordion-item.active .accordion-content {
    padding: 20px;
    border-top: 1px solid #222;
    max-height: 1000px; /* Arbitrary large number for expansion */
}

/* Content inside answers */
.accordion-content p { margin-bottom: 15px; }
.accordion-content ul { padding-left: 20px; margin-bottom: 15px; }
.accordion-content li { margin-bottom: 5px; color: #bbb; }
.important-note { color: #ffae00; font-style: italic; border-left: 3px solid #ffae00; padding-left: 10px; }

/* --- Legal Pages (Terms & Privacy) --- */

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 40px;
    position: relative;
}
.legal-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #222, var(--primary), #222);
}

.legal-article { margin-bottom: 50px; }
.legal-article h2 {
    font-size: 1.4rem;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.clause {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid #222;
}
.clause h3 { font-size: 1.1rem; color: #ccc; margin-bottom: 10px; }
.clause p { font-size: 0.95rem; color: #888; text-align: justify; line-height: 1.7; margin-bottom: 10px; }

/* Highlight Box for Legal Warning */
.legal-warning {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid #555;
    color: #ddd;
    padding: 20px;
    font-size: 0.9rem;
    margin: 30px 0;
}

/* Definition List */
.def-list dt { color: var(--secondary); font-weight: bold; margin-top: 15px; }
.def-list dd { color: #777; margin-left: 20px; margin-bottom: 10px; }

@media (max-width: 768px) {
    .legal-container { padding: 20px; }
}
/* --- Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.pgp-block {
    background: #080808;
    border: 1px solid #333;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #888;
    overflow-x: auto;
    white-space: pre-wrap;
    position: relative;
    max-height: 400px;
    overflow-y: scroll;
}
.copy-btn {
    position: absolute;
    top: 10px; right: 10px;
    background: #222; color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.7rem;
}
.contact-form {
    background: #111;
    padding: 30px;
    border: 1px solid #222;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; color: var(--secondary); margin-bottom: 5px; font-size: 0.9rem; }
.form-input, .form-textarea {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    font-family: var(--font-mono);
}
.form-textarea { height: 150px; resize: vertical; }
.form-input:focus, .form-textarea:focus { border-color: var(--primary); outline: none; }

/* --- Blog Hub Styles --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    background: #0f0f0f;
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.blog-thumb {
    height: 180px;
    background: linear-gradient(45deg, #1a1a1a, #0d0d0d);
    border-bottom: 1px solid #222;
    position: relative;
    overflow: hidden;
}
.blog-thumb::after { /* Abstract decorative element */
    content: "";
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    background: var(--primary);
    opacity: 0.1;
    transform: rotate(45deg);
}
.blog-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.75rem; color: #666; margin-bottom: 10px; }
.blog-title { color: #fff; font-size: 1.2rem; margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.9rem; color: #999; margin-bottom: 20px; flex-grow: 1; }
.read-more { color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: bold; }

/* --- Single Article Styles --- */
.article-header {
    text-align: center;
    padding: 60px 0;
    border-bottom: 1px solid #222;
    margin-bottom: 40px;
}
.article-meta { color: var(--secondary); font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 15px; }
.article-body { max-width: 800px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: #ccc; }
.article-body h2 { color: #fff; margin-top: 40px; margin-bottom: 20px; font-size: 1.6rem; }
.article-body h3 { color: #ddd; margin-top: 30px; margin-bottom: 15px; font-size: 1.3rem; }
.article-body p { margin-bottom: 20px; }
.article-body ul { margin-bottom: 20px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; }
.highlight-quote {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #fff;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}
