/* --- 1. CORE BRANDING & VARIABLES --- */
:root {
    --bg: #0a0b10;
    --card-bg: #14161f;
    --accent: #00ffaa;      
    --accent-red: #ff4444;  
    --accent-orange: #ff9800;
    --accent-blue: #2196f3;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --border: #222222;
    --alert: #ff4444;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 2. NAVIGATION --- */
header {
    border-bottom: 1px solid var(--border);
    background: rgba(10, 11, 16, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 20px;
}

.nav-logo { height: 80px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.4rem; font-weight: bold; }
.accent-text { color: var(--accent); }

nav ul { list-style: none; display: flex; align-items: center; gap: 25px; margin: 0; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--accent); }

.btn-consult {
    background-color: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.85rem;
}

/* --- 3. THREAT TICKER --- */
.threat-feed {
    background-color: #1a1c2e;
    border-bottom: 2px solid var(--alert);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.threat-text {
    display: inline-block;
    color: var(--accent);
    font-weight: bold;
    font-family: 'Courier New', monospace;
    animation: marquee-threat 60s linear infinite;
    padding-left: 100%;
}

@keyframes marquee-threat {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

/* --- 4. COMPLIANCE BAR --- */
.compliance-bar {
    background: #0d0f17;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.compliance-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.compliance-item {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- 5. HERO & BUTTONS --- */
.hero {
    padding: 120px 0;
    text-align: center;
    background-image: linear-gradient(rgba(10, 11, 16, 0.75), rgba(10, 11, 16, 0.75)), url('images/cyber-bg.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent);
}

.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }

.btn, .btn-roadmap {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s ease;
    border: 2px solid var(--accent);
    animation: cyber-glow 2s infinite ease-in-out;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

@keyframes cyber-glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent); }
    50% { box-shadow: 0 0 20px var(--accent); } 
}

/* --- 6. GRIDS: SERVICES & PROJECTS --- */
.services { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }

.card, .project-card { 
    background: var(--card-bg); 
    padding: 30px 20px; 
    border: 1px solid var(--border); 
    border-radius: 4px; 
    transition: 0.3s ease; 
    text-decoration: none;
    color: inherit;
}

.project-card { border-radius: 12px; padding: 40px 30px; text-align: center; display: flex; flex-direction: column; }
.card:hover, .project-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.card h3, .project-card h3 { color: var(--accent); margin-bottom: 10px; }
.project-card .tag { color: var(--accent-red); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 15px; display: block; }

/* --- 7. ROADMAP TIMELINE --- */
.roadmap-section { padding: 80px 0; position: relative; max-width: 1000px; margin: 0 auto; }
.roadmap-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-red), var(--accent-orange), var(--accent-blue));
    transform: translateX(-50%);
}
.roadmap-step { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 100px; position: relative; }
.roadmap-content { width: 45%; background: var(--card-bg); padding: 35px; border-radius: 12px; border: 1px solid var(--border); position: relative; transition: 0.3s ease; border-left: 4px solid var(--accent); }
.roadmap-step:nth-child(even) { flex-direction: row-reverse; }
.roadmap-step:nth-child(even) .roadmap-content { text-align: left; }
.roadmap-step:nth-child(odd) .roadmap-content { text-align: right; }

/* --- 8. LEADERSHIP SECTION --- */
.leadership { padding: 100px 0; background: #0d0f17; }
.leadership-flex { display: flex; align-items: center; gap: 60px; background: var(--card-bg); padding: 50px; border-radius: 12px; border: 1px solid var(--border); }
.leader-image img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 2px solid var(--accent); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
.pillar { background: rgba(0, 255, 170, 0.05); padding: 12px; border-left: 3px solid var(--accent); font-size: 0.9rem; font-weight: 600; }

/* --- 9. FOOTER --- */
footer { padding: 80px 0 40px 0; background: #05060a; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 60px; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-dim); }
.subscribe-form { display: flex; gap: 10px; margin-top: 20px; }
.subscribe-form input { flex: 1; padding: 12px; background: #111; border: 1px solid var(--border); color: #fff; border-radius: 4px; }

/* --- 10. RESPONSIVE --- */
@media (max-width: 1024px) { 
    .service-grid { grid-template-columns: repeat(2, 1fr); } 
    .leadership-flex { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) { 
    .service-grid, .project-grid, .footer-grid, .pillars-grid { grid-template-columns: 1fr; } 
    .roadmap-line { left: 20px; }
    .roadmap-step { flex-direction: row !important; }
    .roadmap-content { width: 85%; margin-left: 50px; text-align: left !important; }
}
.terminal-window {
    background: #000;
    color: #00ffaa;
    font-family: 'Courier New', monospace;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    margin-top: 30px;
}
.terminal-header { background: #222; padding: 10px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-title { margin-left: 10px; color: #888; font-size: 0.8rem; }
.terminal-body { padding: 20px; font-size: 0.9rem; white-space: pre-wrap; margin: 0; }

.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.threat-card {
    background: #0a0f16; /* Deep dark background */
    border: 1px solid #1a242f;
    padding: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.threat-card:hover {
    border-color: #00bcd4; /* Your Cyan Accent */
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.1);
    transform: translateY(-5px);
}

.threat-card h3 {
    color: #00bcd4;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.threat-meta {
    font-size: 0.8rem;
    color: #64ffda; /* Secondary accent color */
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

/* Alert Header "Pop" */
.alert-header {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 5px 12px;
    display: inline-block;
    border-radius: 2px;
    margin-bottom: 20px;
    background: rgba(0, 188, 212, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

/* Specific Critical Alert Styling */
.threat-card:first-child .alert-header {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border-color: #ff4d4d;
    text-shadow: 0 0 8px #ff4d4d;
}

/* Impact Stat Emphasis */
.impact-stat {
    margin-top: 15px;
    font-weight: bold;
    color: #64ffda; /* Teal accent for the data points */
    border-top: 1px solid #30363d;
    padding-top: 10px;
}

/* The Glow Button */
.glow-button {
    display: inline-block;
    padding: 18px 35px;
    background: var(--accent);
    color: #0d1117;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.7);
    transform: scale(1.05);
    background: #fff; /* Button turns white on hover for high-contrast pop */
}

.cta-box.hardened-border {
    border: 2px solid var(--accent);
    background: rgba(13, 17, 23, 0.8);
    position: relative;
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.intel-card {
    background: rgba(48, 54, 61, 0.2);
    border: 1px solid #30363d;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.intel-card:hover {
    background: rgba(0, 188, 212, 0.05);
    border-color: var(--accent);
}

.intel-tag {
    font-size: 0.7rem;
    color: #64ffda;
    font-family: 'Courier New', monospace;
    display: block;
    margin-bottom: 10px;
}

.intel-card h4 {
    margin-bottom: 10px;
    color: #fff;
}

.intel-card:hover {
    border-color: #00bcd4; /* Cyan accent */
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.15);
    background: linear-gradient(145deg, #111a27, #1c2533); /* Slightly lighter on hover */
}
.archive-body {
    background-color: #0b0f14; /* Slightly different dark shade to distinguish it */
}

.archive-intro {
    padding: 60px 0;
    border-bottom: 1px solid #1a242f;
    margin-bottom: 40px;
}

.archive-intro h1 {
    font-size: 3rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
}
/* Resilience Narrative Section */
.resilience-narrative {
    padding: 80px 0;
    background-color: #0d1117; /* Deep background */
    border-top: 1px solid #30363d;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split into two columns */
    gap: 60px;
    align-items: center;
}

.narrative-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #8b949e;
    margin-bottom: 30px;
}

/* The Link Button */
.btn-text {
    color: var(--accent); /* Your Cyan #00bcd4 */
    text-decoration: none;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-text:hover {
    color: #fff;
    padding-left: 10px; /* Slight movement on hover */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .narrative-grid {
        grid-template-columns: 1fr; /* Stack on small screens */
        text-align: center;
    }
}