 :root {
    --bg-color: #05010a;
    --panel-bg: rgba(18, 5, 33, 0.75);
    
    /* Changed from Purple to sleek Cyan */
    --panel-border: rgba(0, 210, 255, 0.25);
    --accent-cyan: #00d2ff;
    --accent-cyan-glow: rgba(0, 210, 255, 0.4);
    
    --text-main: #e2e8f0;
    --text-muted: #8b79a5;
    --accent-neon: #39ff14;
    --accent-neon-glow: rgba(57, 255, 20, 0.4);
    --gold-accent: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.3);
    
    --font-ui: 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-ui);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* CRT Scanlines */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.04));
    background-size: 100% 4px, 3px 100%;
    z-index: 9999;
    pointer-events: none;
}

.bg-grid {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    z-index: -1;
}

.site-container {
    max-width: 1350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 10;
}

.panel {
    background: var(--panel-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.08);
}

/* Terminal Column */
.terminal-panel { 
    background-color: rgba(5, 2, 10, 0.92); 
    font-family: var(--font-mono); 
    border-color: rgba(57, 255, 20, 0.35); 
}
.window-header { 
    display: flex; 
    align-items: center; 
    border-bottom: 1px solid rgba(57, 255, 20, 0.2); 
    padding-bottom: 14px; 
    margin-bottom: 20px; 
}
.dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background-color: #ff3b30; } 
.dot.yellow { background-color: #ffcc00; } 
.dot.green { background-color: #39ff14; box-shadow: 0 0 8px var(--accent-neon); }
.window-title { margin: 0 auto; font-size: 0.85rem; color: var(--accent-neon); opacity: 0.85; }

.ascii-art { 
    color: var(--accent-neon); 
    text-shadow: 0 0 10px var(--accent-neon-glow); 
    margin-bottom: 20px; 
    font-size: 0.95rem; 
    line-height: 1.15; 
    text-align: center; 
    font-weight: 700; 
}
.glitch-effect { animation: float 4s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

#boot-log { min-height: 130px; font-size: 0.88rem; color: #a496b8; line-height: 1.7; }
#boot-log p { margin-bottom: 4px; }
#boot-log .success { color: var(--accent-neon); text-shadow: 0 0 8px var(--accent-neon-glow); }
#boot-log .fail { color: #ff3b30; text-shadow: 0 0 8px rgba(255,59,48,0.7); }
.cursor { 
    display: inline-block; 
    width: 8px; 
    height: 15px; 
    background-color: var(--accent-neon); 
    margin-left: 4px; 
    animation: blink 1s step-end infinite; 
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Corporate / Form Column */
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } }

.corporate-top-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-family: var(--font-mono); 
    font-size: 0.8rem; 
    border-bottom: 1px solid rgba(0, 210, 255, 0.3); 
    padding-bottom: 14px; 
    margin-bottom: 24px; 
    color: var(--accent-neon); 
}
.secure-badge { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pulse { 
    width: 8px; 
    height: 8px; 
    background-color: var(--accent-neon); 
    border-radius: 50%; 
    animation: pulse-ring 2s infinite; 
}
@keyframes pulse-ring { to { box-shadow: 0 0 0 10px rgba(57, 255, 20, 0); } }

.neon-text { 
    font-size: 2.7rem; 
    font-weight: 700; 
    color: #fff; 
    text-shadow: 0 0 10px var(--accent-cyan), 0 0 25px var(--accent-cyan-glow); 
    letter-spacing: 2px;
}
.neon-text-alt { 
    font-size: 1.8rem; 
    color: #fff; 
    text-shadow: 0 0 10px var(--accent-neon), 0 0 20px var(--accent-neon); 
    letter-spacing: 2px;
}
.subtitle { color: var(--text-muted); line-height: 1.5; margin: 10px 0 20px 0; font-size: 1.05rem; }

/* Direct Contact Bar */
.contact-card-direct {
    background: rgba(57, 255, 20, 0.05);
    border-left: 3px solid var(--accent-neon);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.direct-label { color: var(--text-muted); font-size: 0.8rem; }
.direct-email {
    color: var(--accent-neon);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    text-shadow: 0 0 8px var(--accent-neon-glow);
}
.direct-email:hover { text-decoration: underline; }

/* Contact Form */
.contact-container h3 { margin-bottom: 8px; font-size: 1.25rem; }
.form-instruction { color: var(--text-muted); margin-bottom: 18px; font-size: 0.95rem; }
.modern-form input,
.modern-form textarea { 
    width: 100%; 
    background: rgba(0, 0, 0, 0.65); 
    border: 1px solid rgba(0, 210, 255, 0.4); 
    border-radius: 6px; 
    color: var(--accent-neon); 
    padding: 12px 14px; 
    font-family: var(--font-mono); 
    font-size: 0.9rem;
    margin-bottom: 12px; 
    outline: none; 
}
.modern-form input:focus,
.modern-form textarea:focus { 
    border-color: var(--accent-neon); 
    box-shadow: 0 0 10px var(--accent-neon-glow); 
}
.modern-form textarea { resize: vertical; min-height: 85px; }

.submit-btn { 
    width: 100%; 
    background: transparent; 
    color: var(--accent-neon); 
    border: 2px solid var(--accent-neon); 
    border-radius: 6px; 
    padding: 14px; 
    font-weight: 700; 
    font-family: var(--font-mono); 
    font-size: 0.95rem;
    cursor: pointer; 
    transition: 0.25s ease; 
}
.submit-btn:hover { 
    background: var(--accent-neon); 
    color: #000; 
    box-shadow: 0 0 20px var(--accent-neon-glow); 
}

/* Capabilities & Pedigree */
.section-header { text-align: center; max-width: 800px; margin: 0 auto 36px auto; }
.section-header p { color: var(--text-muted); margin-top: 10px; font-size: 1.05rem; }

.capabilities-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 24px; 
}
.capability-card { 
    background: rgba(0, 0, 0, 0.45); 
    border: 1px solid rgba(0, 210, 255, 0.2); 
    border-radius: 12px; 
    padding: 24px; 
    transition: 0.3s; 
}
.capability-card:hover { 
    border-color: var(--accent-cyan); 
    transform: translateY(-4px); 
    box-shadow: 0 10px 24px rgba(0, 210, 255, 0.1); 
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.capability-card h3 { 
    font-size: 1.2rem; 
    color: var(--accent-cyan); 
    text-shadow: 0 0 6px var(--accent-cyan-glow); 
    margin-bottom: 16px; 
}
.data-list { list-style: none; }
.data-list li { 
    font-size: 0.92rem; 
    color: #cbd5e1; 
    margin-bottom: 12px; 
    line-height: 1.5; 
    padding-left: 20px; 
    position: relative; 
}
.data-list li::before { 
    content: ">"; 
    position: absolute; 
    left: 0; 
    color: var(--accent-cyan); 
    font-family: var(--font-mono); 
    font-weight: bold; 
}

/* Pedigree Timeline */
.credentials-card { 
    background: linear-gradient(180deg, rgba(57, 255, 20, 0.04) 0%, rgba(0,0,0,0.5) 100%); 
    border-color: rgba(57, 255, 20, 0.3); 
}
.pedigree-intro { 
    font-size: 0.95rem; 
    color: #cbd5e1; 
    line-height: 1.6; 
    margin-bottom: 20px; 
}

.timeline { 
    display: flex; 
    flex-direction: column; 
    gap: 18px; 
    border-left: 2px solid rgba(0, 210, 255, 0.3); 
    padding-left: 16px; 
    margin-left: 8px; 
}
.timeline-item { display: flex; flex-direction: column; position: relative; gap: 4px; }
.timeline-item::before { 
    content: ""; 
    position: absolute; 
    left: -22px; 
    top: 5px; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: var(--text-muted); 
}
.timeline-item:first-child::before { 
    background: var(--accent-neon); 
    box-shadow: 0 0 10px var(--accent-neon-glow); 
}
.timeline .date { 
    font-family: var(--font-mono); 
    font-size: 0.72rem; 
    color: var(--accent-neon); 
    letter-spacing: 0.05em; 
}
.cert-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.timeline .cert.text-muted { color: #94a3b8; font-size: 0.9rem; }

/* Custom CSS-drawn CISSP Gold Badge */
.cissp-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border-radius: 50%;
    border: 2px solid #05010a;
    box-shadow: 0 0 12px var(--gold-glow), 0 0 0 2px var(--gold-accent);
    color: #fff;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin: 8px 0;
    position: relative;
    user-select: none;
}
.cissp-logo-badge::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}