/* TORZON ULTIMATE STYLE - NEON CYBERPUNK */
:root {
    --bg-deep: #020408;
    --bg-panel: #0a0f18;
    --primary: #00f2ff;       /* Cyan Neon */
    --primary-glow: rgba(0, 242, 255, 0.4);
    --accent: #bc13fe;        /* Purple Neon */
    --accent-glow: rgba(188, 19, 254, 0.4);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --success: #00ff9d;
    --danger: #ff0055;
    --font-ui: 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Consolas', monospace;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.7;
    font-size: 16px;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; /* Grid background */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* CRT SCANLINE EFFECT */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
}

/* TYPOGRAPHY & GLOWS */
h1, h2, h3 { color: #fff; text-transform: uppercase; letter-spacing: 1px; }
h1 { 
    font-size: 2.5rem; 
    margin-bottom: 25px; 
    text-shadow: 0 0 20px var(--primary-glow);
}
h2 { 
    font-size: 1.8rem; 
    margin: 40px 0 25px; 
    border-bottom: 2px solid var(--border); 
    padding-bottom: 15px; 
    display: inline-block;
    color: var(--primary);
}
.highlight-text { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

a { color: var(--primary); text-decoration: none; transition: 0.3s; position: relative; }
a:hover { color: #fff; text-shadow: 0 0 15px var(--primary); }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; z-index: 1; position: relative; }
.grid-main { display: grid; gap: 40px; padding-bottom: 60px; flex: 1; }
.layout-sidebar { grid-template-columns: 300px 1fr; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* HEADER */
header {
    background: rgba(10, 15, 24, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 15px; }
.logo span { color: var(--primary); text-shadow: 0 0 15px var(--primary); }
.logo img { height: 40px; filter: drop-shadow(0 0 5px var(--primary)); }

.nav-links { display: flex; gap: 10px; }
.nav-links a {
    padding: 10px 18px;
    color: var(--text-muted);
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.9rem;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* CYBER BOXES (THE JUICE) */
.cyber-box {
    background: var(--bg-panel);
    position: relative;
    padding: 35px;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    overflow: hidden;
}

/* Gradient Top Border Effect */
.cyber-box::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove { 0% {background-position: 100% 0;} 100% {background-position: -100% 0;} }

/* TABLES */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 25px; }
th { background: rgba(0,0,0,0.3); padding: 18px; text-align: left; color: var(--text-muted); font-size: 0.85rem; letter-spacing: 1px; border-bottom: 2px solid var(--border); }
td { padding: 18px; border-bottom: 1px solid rgba(255,255,255,0.05); font-family: var(--font-mono); }
tr:hover td { background: rgba(0, 242, 255, 0.03); color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.5); }

/* STATUS INDICATORS */
.status-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: bold; text-transform: uppercase;
}
.status-pill.online { background: rgba(0, 255, 157, 0.1); color: var(--success); border: 1px solid var(--success); box-shadow: 0 0 10px rgba(0, 255, 157, 0.2); }
.status-pill.offline { background: rgba(255, 0, 85, 0.1); color: var(--danger); border: 1px solid var(--danger); }
.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0.4; } }

/* BUTTONS */
.btn-glitch {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 15px 35px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: 0.2s;
    border: none; cursor: pointer;
}
.btn-glitch:hover {
    background: #fff;
    box-shadow: 0 0 30px var(--primary);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent; border: 2px solid var(--primary); color: var(--primary);
    padding: 13px 33px; font-weight: 800; text-transform: uppercase; cursor: pointer;
}
.btn-ghost:hover { background: rgba(0, 242, 255, 0.1); color: #fff; box-shadow: 0 0 20px var(--primary-glow); }

/* SIDEBAR & FAQ */
.sidebar-menu a {
    display: block; padding: 15px 20px;
    border-left: 2px solid transparent;
    color: var(--text-muted); background: rgba(0,0,0,0.2);
    margin-bottom: 5px; transition: 0.3s;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
    border-left: 2px solid var(--primary);
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.1), transparent);
    color: #fff; padding-left: 25px;
}

details { background: rgba(0,0,0,0.3); border: 1px solid var(--border); margin-bottom: 15px; border-radius: 4px; }
details[open] { border-color: var(--primary); background: rgba(0, 242, 255, 0.02); }
summary { padding: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; }
details[open] summary::after { content: '-'; }
.faq-content { padding: 0 20px 25px; color: #cbd5e1; border-top: 1px solid var(--border); padding-top: 20px; }

/* UTILS */
.code-terminal { background: #000; padding: 20px; border: 1px solid #333; color: var(--success); font-family: var(--font-mono); margin: 20px 0; border-radius: 4px; position: relative; }
.code-terminal::before { content: 'BASH / TERMINAL'; position: absolute; top: -10px; right: 10px; background: #333; color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; }

/* RESPONSIVE */
@media (max-width: 900px) { .layout-sidebar { grid-template-columns: 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .nav-flex { flex-direction: column; height: auto; padding: 20px 0; } .nav-links { flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 15px; } h1 { font-size: 2rem; } }
