/* Palette: Black, Signal Red, Dark Grey, White */
:root {
    --bg: #050505;
    --panel: #0F0F0F;
    --red: #FF0033;
    --red-dark: #cc0000;
    --grey: #1a1a1a;
    --text: #e0e0e0;
    
    --font-mono: 'Share Tech Mono', monospace;
    --font-head: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-head);
    line-height: 1.6;
    overflow-x: hidden;
}

/* CRT Scanline Effect */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.3;
}

.red-glow {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 90%);
    z-index: -1;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.ops-header { padding: 20px 0; background: rgba(5,5,5,0.95); border-bottom: 2px solid var(--red); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.8rem; font-weight: 700; color: var(--text); font-family: var(--font-mono); letter-spacing: 2px; }
.red-text { color: var(--red); }

.threat-level { font-family: var(--font-mono); font-size: 0.8rem; color: #fff; border: 1px solid #333; padding: 5px 10px; background: #111; }
.blink { color: #00ff00; animation: blink 1s infinite; font-weight: bold; }
@keyframes blink { 50% { opacity: 0; } }

.cyber-nav a { margin-left: 20px; font-family: var(--font-mono); color: #888; font-size: 0.9rem; }
.cyber-nav a:hover, .cyber-nav a.active { color: var(--red); text-shadow: 0 0 5px var(--red); }

.mobile-hack { display: none; background: transparent; border: 1px solid var(--red); color: var(--red); padding: 5px 10px; font-family: var(--font-mono); cursor: pointer; }

/* Mobile Console */
.mobile-console { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.2s; border-left: 3px solid var(--red); }
.mobile-console.active { right: 0; }
.close-console { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid var(--text); color: var(--text); padding: 5px 10px; font-family: var(--font-mono); cursor: pointer; }
.mobile-console a { font-family: var(--font-mono); font-size: 1.5rem; margin: 15px 0; color: var(--text); }
.mobile-console a:hover { color: var(--red); }

@media (max-width: 900px) {
    .cyber-nav, .threat-level { display: none; }
    .mobile-hack { display: block; }
}

/* Hero */
.hero-sec { height: 80vh; display: flex; align-items: center; background-image: radial-gradient(circle at 70% 50%, #1a0000 0%, #000 60%); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; }

.code-line { font-family: var(--font-mono); color: var(--red); margin-bottom: 10px; font-size: 0.9rem; }
.hero-text h1 { font-size: 3.5rem; line-height: 1; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.hero-text p { color: #aaa; margin-bottom: 40px; font-size: 1.1rem; max-width: 500px; }

.btn-red { background: var(--red); color: #fff; padding: 15px 30px; font-family: var(--font-mono); font-weight: 700; border: none; cursor: pointer; transition: 0.3s; display: inline-block; clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 0 15px var(--red); }
.btn-outline { border: 1px solid #fff; color: #fff; padding: 14px 30px; font-family: var(--font-mono); display: inline-block; margin-left: 15px; }
.btn-outline:hover { background: #fff; color: #000; }

.shield-anim { width: 300px; height: 350px; border: 2px solid var(--red); margin: 0 auto; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); position: relative; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px var(--red); }
.shield-inner { width: 250px; height: 300px; background: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255,0,51,0.1) 10px, rgba(255,0,51,0.1) 20px); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Services */
.section-title { margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--text); }
.red-bar { width: 60px; height: 5px; background: var(--red); margin-top: 10px; }
.red-bar.left { margin: 20px 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sec-card { background: var(--panel); border: 1px solid var(--grey); padding: 30px; transition: 0.3s; position: relative; overflow: hidden; }
.sec-card:hover { border-color: var(--red); }
.sec-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: 0.3s; }
.sec-card:hover::after { transform: scaleX(1); }
.icon { font-size: 2.5rem; margin-bottom: 20px; }
.sec-card h3 { font-family: var(--font-mono); font-size: 1.2rem; color: var(--red); margin-bottom: 10px; }

/* Live Stats */
.live-stats { background: #111; padding: 20px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; margin-top: 50px; font-family: var(--font-mono); }
.stats-flex { display: flex; justify-content: space-around; text-align: center; color: #888; }
.counter { color: var(--red); font-weight: 700; }
.green { color: #00ff00; }

/* Service List */
.service-list { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.s-item { background: var(--panel); padding: 25px; border-left: 4px solid #333; }
.s-item.border-red { border-left-color: var(--red); }
.s-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.s-head h3 { font-family: var(--font-mono); font-size: 1.1rem; color: #fff; }
.status-tag { font-size: 0.7rem; background: #222; padding: 2px 6px; color: #00ff00; border: 1px solid #00ff00; }
.status-tag.red { color: var(--red); border-color: var(--red); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-data h1 { font-size: 3rem; line-height: 1.1; }
.cert-list { margin-top: 30px; display: flex; gap: 15px; font-family: var(--font-mono); font-weight: 700; color: var(--red); }
.cert-list span { border: 1px solid var(--red); padding: 5px 10px; }
.hacker-img { position: relative; }
.hacker-img img { filter: grayscale(100%) contrast(1.2); border: 1px solid var(--grey); }
.overlay-scan { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(255,0,51,0.1), transparent); pointer-events: none; }

/* Contact */
.contact-terminal { max-width: 700px; margin: 0 auto; background: #000; border: 1px solid var(--red); font-family: var(--font-mono); }
.terminal-bar { background: var(--red); color: #000; padding: 5px 10px; font-weight: 700; font-size: 0.9rem; }
.terminal-content { padding: 30px; }
.c-info { color: var(--red); margin-bottom: 30px; border-bottom: 1px dashed #333; padding-bottom: 20px; }

.red-form .form-group { margin-bottom: 20px; }
.red-form label { display: block; color: #666; margin-bottom: 5px; font-size: 0.8rem; }
.red-form input, .red-form select, .red-form textarea { width: 100%; background: #111; border: 1px solid #333; color: var(--text); padding: 10px; font-family: var(--font-mono); }
.red-form input:focus, .red-form select:focus, .red-form textarea:focus { border-color: var(--red); outline: none; }
.full { width: 100%; margin-top: 10px; }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; font-family: var(--font-mono); color: #aaa; }
.legal-doc h1 { font-family: var(--font-head); color: var(--text); }

/* Footer */
.sec-footer { border-top: 1px solid #222; padding: 60px 0 20px; margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-info h4 { color: var(--red); font-family: var(--font-mono); margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #666; font-family: var(--font-mono); font-size: 0.9rem; }
.f-links a:hover { color: var(--red); }
.copyright { text-align: center; font-size: 0.7rem; color: #444; font-family: var(--font-mono); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-3, .about-grid { grid-template-columns: 1fr; }
    .stats-flex { flex-direction: column; gap: 10px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}