:root {
    --bg-black: #030704;
    --card-bg: rgba(6, 20, 10, 0.65);
    --neon-green: #00ff66;
    --dim-green: #004d1f;
    --text-white: #e2f1e7;
    --text-dim: #8fa896;
    --border-green: rgba(0, 255, 102, 0.2);
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 4, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-green);
}

.brand {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-white);
}

.brand span {
    color: var(--neon-green);
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-green);
}

/* Buttons */
.btn-primary, .btn-main {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
}

.btn-primary:hover, .btn-main:hover {
    background: var(--neon-green);
    color: var(--bg-black);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.6);
}

.btn-secondary {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-left: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 6rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3,7,4,0.4) 0%, rgba(3,7,4,0.95) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
}

.hero-meta-strip {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.location-badge {
    color: var(--neon-green);
    letter-spacing: 2px;
}

.sub-headline-badge {
    color: var(--text-dim);
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,255,102,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Subtitles Styling & Section Tags */
.section-tag {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.section-sub {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    display: block;
    opacity: 0.85;
}

/* Section Styling */
.section {
    padding: 7rem 6rem;
}

.dark-bg {
    background: rgba(0, 15, 5, 0.4);
    border-top: 1px solid var(--border-green);
    border-bottom: 1px solid var(--border-green);
}

.section-title {
    font-family: var(--font-mono);
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Philosophy Banner */
.philosophy-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    border-top: 1px solid var(--border-green);
    border-bottom: 1px solid var(--border-green);
    background: rgba(6, 20, 10, 0.4);
}

.philosophy-content {
    max-width: 700px;
}

.philosophy-content h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.philosophy-content p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Risk Widget Card */
.risk-widget-card {
    border: 1px solid var(--neon-green);
    background: rgba(3, 7, 4, 0.9);
    padding: 2rem;
    min-width: 240px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.1);
}

.widget-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    display: block;
}

.widget-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-green);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
}

.widget-score {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-white);
}

.widget-score span {
    font-size: 1rem;
    color: var(--text-dim);
}

.widget-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    letter-spacing: 1.5px;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-green);
    padding: 2.5rem;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: var(--font-mono);
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Assurance Grid */
.assurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.assurance-card {
    border: 1px solid var(--border-green);
    padding: 2rem;
    background: var(--card-bg);
}

.step-num {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.assurance-card h3 {
    font-family: var(--font-mono);
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.assurance-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Timeline Engagement Model */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.timeline-step {
    border-top: 2px solid var(--neon-green);
    padding-top: 1.5rem;
}

.step-head {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.step-no {
    color: var(--neon-green);
}

.timeline-step p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Sector Cards */
.sector-num {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

/* Compliance Table */
.compliance-table {
    border: 1px solid var(--border-green);
    background: var(--card-bg);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-green);
    font-size: 0.95rem;
}

.table-header {
    background: var(--dim-green);
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-weight: bold;
}

/* Extended Sector & Capability Tags */
.sectors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.sector-tag {
    border: 1px solid var(--border-green);
    padding: 0.85rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-white);
    background: var(--card-bg);
    border-radius: 2px;
}

/* Contact Details */
.contact-details-grid {
    margin-top: 2rem;
}

.contact-card p {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.contact-card p strong {
    color: var(--neon-green);
    font-family: var(--font-mono);
    display: inline-block;
    min-width: 130px;
}

/* Footer */
.footer-strip {
    padding: 3rem 6rem;
    border-top: 1px solid var(--border-green);
    background: rgba(3, 7, 4, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-brand {
    font-weight: bold;
    color: var(--text-white);
}

.footer-brand span {
    color: var(--neon-green);
}


/* ==========================================
   INTERACTIVE THREAT MAP STYLES
   ========================================== */
.map-section {
  position: relative;
  background: #0b0f19;
  color: #e2e8f0;
  padding: 2rem 0;
  overflow: hidden;
}

.map-container {
 position: relative;
  width: 100%;
  height: 600px;
  background: transparent;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

#globe-3d-canvas {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.blink-dot {
  width: 8px;
  height: 8px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e5ff;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.map-header h2 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #ffffff;
  margin-top: 5px;
}

.map-stats-grid {
  display: flex;
  gap: 15px;
}

.stat-box {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 4px;
}

.stat-title {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: bold;
  color: #ffffff;
}

.highlight-cyan {
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.highlight-green {
  color: #10b981;
}

.threat-log-window {
  position: absolute;
  bottom: -320px;
  right: 0;
  width: 320px;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  padding: 12px;
  font-family: monospace;
  font-size: 0.75rem;
}

.log-title {
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.tag-mitigated {
  color: #10b981;
  font-weight: bold;
}

.tag-blocked {
  color: #f59e0b;
  font-weight: bold;
}


/* ==========================================
   EXEC HACKING MAP & AUTOSCROLL STYLES
   ========================================== */
.map-section {
  position: relative;
  background: #05070a; /* Obsidian Deep Black */
  color: #e2e8f0;
  padding: 1rem 0;
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100%;
  height: 650px;
  background: radial-gradient(circle at center, #0a0f1d 0%, #030508 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.3);
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
}

#globe-3d-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.blink-dot {
  width: 8px;
  height: 8px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e5ff;
  animation: blink 0.8s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.map-header h2 {
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-top: 5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.map-stats-grid {
  display: flex;
  gap: 15px;
  pointer-events: auto;
}

.stat-box {
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.stat-title {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: bold;
  color: #ffffff;
}

.highlight-cyan {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.highlight-green {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  transition: all 0.5s ease-in-out;
}

/* --- AUTOSCROLLING THREAT FEED --- */
.threat-log-window {
  position: absolute;
  top: 120px;
  right: 0;
  width: 380px;
  background: rgba(5, 7, 12, 0.9);
  border: 1px solid rgba(255, 0, 128, 0.3);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 0, 128, 0.05);
  border-radius: 6px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  pointer-events: auto;
}

.log-title {
  color: #ff007f;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 0, 128, 0.2);
  padding-bottom: 6px;
  margin-bottom: 8px;
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.log-stream-container {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.log-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollFeed 16s linear infinite;
}

.log-stream:hover {
  animation-play-state: paused; /* Pause feed on hover */
}

@keyframes scrollFeed {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.log-stream p {
  margin: 0;
  color: #cbd5e1;
  white-space: nowrap;
}

.tag-mitigated {
  color: #00e5ff;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.tag-blocked {
  color: #ff007f;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255, 0, 128, 0.6);
}

/* Hacking Green Title */
.map-header h2 {
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: #00ff66; /* Vibrant Matrix / Hacking Green */
  margin-top: 5px;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.6), 0 0 20px rgba(0, 255, 102, 0.2);
}

/* Multi-color Animated /sec Text */
.per-sec-multicolor {
  font-weight: bold;
  background: linear-gradient(90deg, #00ff66, #00ff73, #00ff66, #00ff66);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: multicolorShift 3s ease infinite;
}

@keyframes multicolorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Active Vectors Counter - Hacking Green */
#vector-count {
  color: #00ff66;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

/* Incident Feed Header - Hacking Green */
.log-title {
  color: #00ff66;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 255, 102, 0.3);
  padding-bottom: 6px;
  margin-bottom: 8px;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

/* Neutralized, Intercepted, and Isolated Feed Tags - Hacking Green */
.tag-blocked {
  color: #00ff66;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.6);
}

/* Feed Container Border Accent - Green Glow */
.threat-log-window {
  position: absolute;
  top: 120px;
  right: 0;
  width: 380px;
  background: rgba(5, 7, 12, 0.9);
  border: 1px solid rgba(0, 255, 102, 0.3);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 255, 102, 0.05);
  border-radius: 6px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  pointer-events: auto;
}