@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --bg-void: #020203;
    --bg-panel: rgba(15, 17, 25, 0.7);
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff0055;
    --neon-violet: #9d00ff;
    --text-primary: #e0e6ed;
    --text-dim: #6c7a89;
    
    --font-header: 'Orbitron', sans-serif;
    --font-tech: 'Share Tech Mono', monospace;
    --font-body: 'Rajdhani', sans-serif;
    
    --border-glow: 1px solid rgba(0, 243, 255, 0.15);
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
}

/* --- SCANLINE OVERLAY --- */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none; z-index: 9999;
    animation: scroll 10s linear infinite;
}
@keyframes scroll { 0% { background-position: 0 0; } 100% { background-position: 0 100%; } }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- HEADER --- */
header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(2, 2, 3, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    padding: 20px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.brand {
    font-family: var(--font-header); font-size: 1.8rem; font-weight: 900;
    letter-spacing: 3px; color: #fff; text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}
.brand span { color: var(--neon-cyan); }

.menu { display: flex; gap: 30px; }
.menu a {
    font-family: var(--font-tech); font-size: 0.9rem; text-transform: uppercase; color: var(--text-dim);
    position: relative; padding-bottom: 5px;
}
.menu a:hover, .menu a.active { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }
.menu a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);
}

/* --- HERO SECTION --- */
.hero { padding: 120px 0 80px; text-align: center; }

/* Glitch Effect Title */
.glitch-title {
    font-family: var(--font-header); font-size: 4.5rem; line-height: 1;
    font-weight: 900; text-transform: uppercase; position: relative;
    color: #fff; margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0, 243, 255, 0.2);
}
.glitch-title span { color: var(--neon-magenta); }

.terminal-text {
    font-family: var(--font-tech); color: var(--neon-cyan); font-size: 1rem;
    background: rgba(0, 243, 255, 0.05); display: inline-block; padding: 10px 20px;
    border: 1px solid rgba(0, 243, 255, 0.2); border-radius: 4px; margin-bottom: 40px;
}
.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* MEGA BUTTON */
.btn-mega {
    display: inline-block; padding: 25px 80px;
    font-family: var(--font-header); font-weight: 700; font-size: 1.5rem; text-transform: uppercase;
    color: #000; background: var(--neon-cyan);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: 0.3s; position: relative; overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
}
.btn-mega:hover {
    background: #fff; box-shadow: 0 0 60px rgba(0, 243, 255, 0.8); transform: scale(1.02);
}
.btn-mega::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: 0.5s;
}
.btn-mega:hover::before { left: 100%; }

/* --- CARDS & PANELS --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin: 60px 0; }

.obsidian-card {
    background: var(--bg-panel); border: var(--border-glow); padding: 40px;
    position: relative; overflow: hidden; transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.obsidian-card:hover {
    border-color: var(--neon-magenta); transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 0, 85, 0.1);
}
.obsidian-card h3 {
    font-family: var(--font-header); color: #fff; margin-top: 0; font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 20px;
}
.icon-neon { font-size: 2rem; color: var(--neon-cyan); margin-bottom: 15px; display: block; }
.card-link { color: var(--neon-magenta); font-family: var(--font-tech); font-weight: bold; font-size: 0.9rem; margin-top: 20px; display: block; }

/* --- CONTENT BOX (SEO) --- */
.intel-box {
    margin-bottom: 50px; padding: 40px; border-left: 4px solid var(--neon-violet);
    background: linear-gradient(90deg, rgba(157, 0, 255, 0.05) 0%, transparent 100%);
}
.intel-box h2 { font-family: var(--font-header); color: #fff; font-size: 2.2rem; margin-top: 0; }
.intel-box p { color: #ccc; margin-bottom: 25px; font-size: 1.1rem; }
.highlight { color: var(--neon-cyan); font-weight: 600; }

/* --- DATA TABLES --- */
.tech-table { width: 100%; border-collapse: collapse; font-family: var(--font-tech); margin-top: 20px; }
.tech-table th { text-align: left; padding: 15px; color: var(--neon-dim); border-bottom: 1px solid #333; font-size: 0.9rem; }
.tech-table td { padding: 20px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; }
.status-pulse {
    display: inline-block; width: 10px; height: 10px; background: #0f0; border-radius: 50%;
    margin-right: 10px; box-shadow: 0 0 10px #0f0; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* --- FOOTER --- */
footer {
    border-top: 1px solid #222; padding: 60px 0; margin-top: 100px;
    text-align: center; color: var(--text-dim); font-family: var(--font-tech);
}
.footer-links a { margin: 0 15px; color: #555; }
.footer-links a:hover { color: var(--neon-cyan); }

@media(max-width: 768px) {
    .menu { display: none; }
    .glitch-title { font-size: 2.8rem; }
    .hero { padding: 80px 0; }
    .grid { grid-template-columns: 1fr; }
}
