/* ==========================================================================
   ddoskorumasi.com - Custom Components Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Navigation & Header
   -------------------------------------------------------------------------- */
.glass-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(var(--bg-main-rgb), 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.glass-header.scrolled {
  background: rgba(var(--bg-dark-rgb), 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(var(--clr-cyan-rgb), 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.logo-shield {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 5px rgba(var(--clr-cyan-rgb), 0.5));
}

.logo-ext {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  font-weight: 400;
}

/* Nav Links */
.desktop-nav ul {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-cyan);
  box-shadow: 0 0 8px rgba(var(--clr-cyan-rgb), 0.8);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

/* Connection Widget */
.status-widget-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.status-widget {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-green {
  background: var(--clr-emerald);
  box-shadow: 0 0 10px var(--clr-emerald);
}

.status-green::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--clr-emerald);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
  opacity: 0.4;
}

.status-red {
  background: var(--clr-crimson);
  box-shadow: 0 0 10px var(--clr-crimson);
}

.status-divider {
  color: rgba(255, 255, 255, 0.15);
}

.btn-nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

/* Mobile Nav Drawer & Toggles */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 100%;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(var(--bg-dark-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 998;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.8rem 2rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--clr-cyan);
  background: rgba(var(--clr-cyan-rgb), 0.03);
  padding-left: 2.5rem;
}

@media (max-width: 992px) {
  .desktop-nav, .status-widget-container {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hamburger trigger states */
  .mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   2. Hero Section & Terminal
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 8rem 0 6rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  z-index: 10;
}

.hero-badge {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(var(--clr-cyan-rgb), 0.06);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.2);
  border-radius: 30px;
  color: var(--clr-cyan);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Terminal Component styling */
.terminal-block {
  width: 100%;
  font-family: var(--font-mono);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.15);
  overflow: hidden;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-close { background: #ff5f56; }
.term-min { background: #ffbd2e; }
.term-max { background: #27c93f; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-size: 0.8rem;
  background: rgba(5, 8, 16, 0.9);
  height: 280px;
  overflow-y: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-body p {
  color: #9cdcfe;
  margin-bottom: 0;
}

.terminal-output {
  color: #fff;
}

.terminal-input::before {
  content: '$ ';
  color: var(--clr-cyan);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--clr-cyan);
  animation: pulse-glow 1s infinite;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas, .hero-badge {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

/* --------------------------------------------------------------------------
   3. Live System Telemetry Banner & Stats
   -------------------------------------------------------------------------- */
.soc-telemetry-bar {
  background: rgba(var(--bg-dark-rgb), 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
}

.telemetry-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.telemetry-label {
  color: var(--clr-text-muted);
}

.telemetry-value {
  font-weight: 700;
}

/* Animated Counters Block */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

.stat-card {
  padding: 2rem;
  text-align: center;
  border-top: 2px solid rgba(var(--clr-cyan-rgb), 0.3);
}

.stat-card.stat-mitigation {
  border-top-color: var(--clr-crimson);
}
.stat-card.stat-speed {
  border-top-color: var(--clr-emerald);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}
@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   4. Live Packet Flow Visualizer & Simulator
   -------------------------------------------------------------------------- */
.visualizer-section {
  position: relative;
  overflow: hidden;
}

.visualizer-panel {
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.1);
}

.visualizer-flex {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

.canvas-container {
  position: relative;
  background: rgb(5, 8, 16);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  height: 400px;
}

#traffic-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-shield-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.2);
}

.canvas-overlay-text {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Console Simulator Control Hub */
.control-hub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.btn-simulate {
  width: 100%;
}

.sys-info-pane {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.sys-info-row {
  display: flex;
  justify-content: space-between;
}

.sys-info-val {
  font-weight: 700;
}

@media (max-width: 992px) {
  .visualizer-flex {
    grid-template-columns: 1fr;
  }
  .canvas-container {
    height: 320px;
  }
}

/* --------------------------------------------------------------------------
   5. Mitigation Log Console Terminal
   -------------------------------------------------------------------------- */
.mitigation-log-console {
  background: rgb(5, 8, 16);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.console-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.console-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-emerald);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--clr-emerald);
}

.console-logs-container {
  height: 220px;
  overflow-y: auto;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.console-line {
  display: grid;
  grid-template-columns: 80px 100px 140px 100px 1fr;
  gap: 0.5rem;
  white-space: nowrap;
}

.log-time { color: var(--clr-text-muted); }
.log-ip { color: #fff; }
.log-attack { color: var(--clr-crimson); font-weight: 600; }
.log-loc { color: #e5c07b; }
.log-action { color: var(--clr-emerald); }

@media (max-width: 768px) {
  .console-line {
    grid-template-columns: 70px 90px 110px 1fr;
  }
  .log-loc {
    display: none;
  }
}

@media (max-width: 480px) {
  .console-line {
    grid-template-columns: 70px 110px 1fr;
  }
  .log-ip, .log-loc {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Pillars Grid (Pillars of DDoS Protection)
   -------------------------------------------------------------------------- */
.pillars-grid {
  margin-top: 1rem;
}

.pillar-card {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--clr-cyan-rgb), 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.pillar-icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--clr-cyan-rgb), 0.08);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.2);
  border-radius: 8px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(var(--clr-cyan-rgb), 0.1);
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
  background: var(--clr-cyan);
  color: rgb(var(--bg-dark-rgb));
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(var(--clr-cyan-rgb), 0.4);
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.pillar-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pillar-link span {
  transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-link span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. Interactive Shield Configurator / Security Blueprint Generator
   -------------------------------------------------------------------------- */
.configurator-panel {
  padding: 2.5rem;
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.15);
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cfg-section-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--clr-cyan);
}

.cfg-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.cfg-btn-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cfg-btn-option:hover {
  background: rgba(var(--clr-cyan-rgb), 0.03);
  border-color: rgba(var(--clr-cyan-rgb), 0.3);
}

.cfg-btn-option.selected {
  background: rgba(var(--clr-cyan-rgb), 0.08);
  border-color: var(--clr-cyan);
  box-shadow: 0 0 15px rgba(var(--clr-cyan-rgb), 0.15);
}

.cfg-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.cfg-name {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

/* Range Sliders */
.cfg-slider-group {
  margin-bottom: 2rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.cfg-range-input {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  height: 6px;
  border-radius: 3px;
  outline: none;
}

.cfg-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--clr-cyan);
  transition: transform 0.1s ease;
}

.cfg-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Topology Result View */
.topology-viewer {
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topo-map-visualization {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
}
@media (max-width: 480px) {
  .topo-map-visualization {
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
    padding: 1.5rem 0;
  }
}

.topo-node {
  background: rgba(13, 20, 38, 0.9);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.4);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 15px rgba(var(--clr-cyan-rgb), 0.1);
}
@media (max-width: 480px) {
  .topo-node {
    width: 160px;
  }
}

.topo-node.node-internet {
  border-color: #ffbd2e;
}
.topo-node.node-shield {
  border-color: var(--clr-emerald);
  box-shadow: 0 0 20px rgba(var(--clr-emerald-rgb), 0.3);
}

.topo-line-connect {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #ffbd2e, var(--clr-emerald), var(--clr-cyan));
  width: 80%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.3;
}
@media (max-width: 480px) {
  .topo-line-connect {
    width: 2px;
    height: 70%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #ffbd2e, var(--clr-emerald), var(--clr-cyan));
  }
}

.topo-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.topo-rec-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-emerald);
  display: block;
  margin-bottom: 0.5rem;
}

.topo-rec-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.topo-rec-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

@media (max-width: 992px) {
  .configurator-layout {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. Live Threat Map Dashboard Component
   -------------------------------------------------------------------------- */
.threat-map-wrapper {
  position: relative;
  height: 550px;
  background: radial-gradient(circle at center, rgb(13, 20, 38) 0%, rgb(5, 8, 16) 100%);
  border-radius: 12px;
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.15);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

#soc-threat-map {
  width: 100%;
  height: 100%;
  display: block;
}

/* Side Info Pane Overlay */
.threat-overlay-panel {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 320px;
  max-height: calc(100% - 3rem);
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

.overlay-section-title {
  font-family: var(--font-headings);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.attack-live-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.attack-live-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.4rem;
}

/* Threat Dashboard Settings controls */
.threat-map-controls-banner {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem;
  z-index: 10;
  display: flex;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 768px) {
  .threat-map-controls-banner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

.map-control-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-control-btn:hover {
  background: rgba(var(--clr-cyan-rgb), 0.1);
  border-color: var(--clr-cyan);
}

.map-control-btn.active {
  background: var(--clr-cyan);
  color: rgb(var(--bg-dark-rgb));
  font-weight: 700;
  box-shadow: 0 0 10px rgba(var(--clr-cyan-rgb), 0.4);
}

@media (max-width: 992px) {
  .threat-overlay-panel {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .threat-map-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  #soc-threat-map {
    height: 380px;
  }
  .threat-map-controls-banner {
    position: relative;
    bottom: 0;
    left: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

/* --------------------------------------------------------------------------
   9. Infrastructure Nodes List & Active Diagnostics
   -------------------------------------------------------------------------- */
.pop-node-card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.pop-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pop-name-title {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pop-country-flag {
  font-size: 1.3rem;
}

.pop-node-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-label { color: var(--clr-text-muted); }
.spec-val { color: #fff; font-weight: 500; }

/* Diagnostic Scanner / Ping Tester Component */
.diag-panel {
  padding: 2.5rem;
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
  border: 1px solid rgba(var(--clr-cyan-rgb), 0.15);
}

.diag-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.diag-input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diag-form-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.diag-input-text {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-mono);
  outline: none;
  font-size: 0.9rem;
}

.diag-input-text:focus {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 10px rgba(var(--clr-cyan-rgb), 0.2);
}

.diag-results-terminal {
  background: rgb(5, 8, 16);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  height: 250px;
  overflow-y: auto;
  color: #fff;
}

.diag-log-line {
  margin-bottom: 0.4rem;
}

.diag-log-success { color: var(--clr-emerald); }
.diag-log-error { color: var(--clr-crimson); }
.diag-log-info { color: var(--clr-cyan); }

@media (max-width: 992px) {
  .diag-flex {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. Custom Estimator / Pricing Tables
   -------------------------------------------------------------------------- */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-family: var(--font-mono);
}

.pricing-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 26px;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  outline: none;
}

.pricing-toggle-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-cyan);
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--clr-cyan);
}

.pricing-toggle-wrap.active .pricing-toggle-dot {
  left: 27px;
  background: var(--clr-emerald);
  box-shadow: 0 0 8px var(--clr-emerald);
}

.price-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.popular {
  border-color: var(--clr-cyan);
  box-shadow: 0 10px 40px rgba(var(--clr-cyan-rgb), 0.08);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--clr-cyan);
  color: rgb(var(--bg-dark-rgb));
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.price-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.price-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-headings);
}

.price-period {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.feature-check {
  color: var(--clr-cyan);
}

/* --------------------------------------------------------------------------
   11. Testimonials & Accreditations
   -------------------------------------------------------------------------- */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.5rem;
}

.testimonial-client {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--clr-cyan);
  background: rgba(var(--clr-cyan-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.client-details {
  text-align: left;
}

.client-name {
  font-size: 1rem;
  font-weight: 600;
}

.client-company {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* Slider indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background: var(--clr-cyan);
  width: 24px;
  border-radius: 4px;
}

/* Compliances */
.compliance-section {
  background: rgba(5,8,16,0.3);
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 3rem 0;
}

.compliance-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.compliance-grid:hover {
  opacity: 0.85;
}

.compliance-item {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  border: 2px dashed rgba(255,255,255,0.15);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.compliance-item:hover {
  color: var(--clr-cyan);
  border-color: rgba(var(--clr-cyan-rgb), 0.4);
  box-shadow: 0 0 10px rgba(var(--clr-cyan-rgb), 0.1);
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion Component
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(13, 20, 38, 0.3);
  transition: all 0.3s ease;
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question-text {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

.faq-icon-toggle {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--clr-cyan);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  color: var(--clr-text-muted);
}

/* Open state triggers */
.faq-item.active {
  border-color: rgba(var(--clr-cyan-rgb), 0.2);
  background: rgba(13, 20, 38, 0.65);
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   13. Contact & Security Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-card-panel {
  padding: 2.5rem;
}

.form-group-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

.form-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 10px rgba(var(--clr-cyan-rgb), 0.2);
  background: rgba(var(--clr-cyan-rgb), 0.02);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Contact Info cards */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.info-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.info-val {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   14. Footer Elements
   -------------------------------------------------------------------------- */
.cyber-footer {
  background: rgb(5, 8, 16);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #fff;
  border-left: 2px solid var(--clr-cyan);
  padding-left: 0.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.cyber-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 4px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pulse-emerald {
  background: var(--clr-emerald);
  box-shadow: 0 0 8px var(--clr-emerald);
  animation: pulse-glow 2s infinite;
}

.badge-txt {
  font-size: 0.75rem;
  color: var(--clr-emerald);
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.arrow-indicator {
  font-family: var(--font-mono);
  margin-right: 6px;
  color: var(--clr-cyan);
  opacity: 0;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-links a:hover .arrow-indicator {
  opacity: 1;
}

.contact-item {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--clr-text-muted);
}

.soc-ping-visual {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.ping-wave {
  width: 8px;
  height: 8px;
  background: var(--clr-cyan);
  border-radius: 50%;
  display: inline-block;
}

.ping-text {
  font-size: 0.7rem;
  color: var(--clr-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.bottom-legal-links a {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.bottom-legal-links a:hover {
  color: var(--clr-cyan);
}

.legal-divider {
  color: rgba(255,255,255,0.1);
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* Inline SVG Icon Styling */
.btn-svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 6px;
  filter: drop-shadow(0 0 3px currentColor);
  transition: filter 0.3s ease;
}

.btn:hover .btn-svg-icon {
  filter: drop-shadow(0 0 6px currentColor);
}

