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

body {
  font-family: "Courier New", monospace;
  background-color: #0a0e27;
  color: #00ff41;
  overflow-x: hidden;
}

/* Matrix Background */
#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #00ff41;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.shield-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px #00ff41);
}

.logo-text {
  color: #fff;
}

.highlight {
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #00ff41;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::before {
  content: "> ";
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover {
  text-shadow: 0 0 10px #00ff41;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 2rem 2rem;
  position: relative;
}

.hero-content h1 {
  font-size: 5rem;
  color: #00ff41;
  text-shadow: 0 0 20px #00ff41;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    text-shadow:
      0 0 20px #00ff41,
      0 0 30px #00ff41;
  }
  50% {
    text-shadow:
      0 0 30px #00ff41,
      0 0 40px #00ff41,
      0 0 50px #00ff41;
  }
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00de;
  animation: glitch-1 2s infinite;
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 #00fff9;
  animation: glitch-2 2s infinite;
}

@keyframes glitch-1 {
  0%,
  100% {
    clip: rect(0, 9999px, 0, 0);
  }
  5% {
    clip: rect(20px, 9999px, 80px, 0);
  }
  10% {
    clip: rect(0, 9999px, 0, 0);
  }
}

@keyframes glitch-2 {
  0%,
  100% {
    clip: rect(0, 9999px, 0, 0);
  }
  5% {
    clip: rect(60px, 9999px, 120px, 0);
  }
  10% {
    clip: rect(0, 9999px, 0, 0);
  }
}

.subtitle {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 3rem;
}

/* Stats */
.stats {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  color: #00ff41;
  font-weight: bold;
  text-shadow: 0 0 10px #00ff41;
}

.stat-label {
  font-size: 0.9rem;
  color: #8892b0;
  margin-top: 0.5rem;
}

/* CTA Button */
.cta-button {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  background: transparent;
  color: #00ff41;
  border: 2px solid #00ff41;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #00ff41;
  transition: left 0.3s;
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  color: #0a0e27;
  box-shadow: 0 0 20px #00ff41;
}

/* Scanner */
.scanner {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border: 2px solid #00ff41;
  border-radius: 50%;
  opacity: 0.3;
}

.scan-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00ff41;
  box-shadow: 0 0 10px #00ff41;
  animation: scan 2s linear infinite;
  transform-origin: center;
}

@keyframes scan {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  color: #00ff41;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px #00ff41;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid #00ff41;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px #00ff41);
}

.service-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: #8892b0;
  line-height: 1.6;
}

/* Threats Section */
.threats {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.threat-monitor {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #00ff41;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.threat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  animation: slideIn 0.5s ease-out;
}

.threat-item:last-child {
  border-bottom: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.threat-level {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.threat-level.high {
  color: #ff0000;
  text-shadow: 0 0 10px #ff0000;
  animation: pulse 1s infinite;
}

.threat-level.medium {
  color: #ffaa00;
  text-shadow: 0 0 10px #ffaa00;
}

.threat-level.low {
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.threat-name {
  flex: 1;
  color: #fff;
}

.threat-count {
  color: #00ff41;
  font-weight: bold;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.contact-info p {
  font-size: 1.2rem;
  color: #fff;
}

/* Terminal */
.terminal {
  background: #000;
  border: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.terminal-header {
  background: rgba(0, 255, 65, 0.1);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #00ff41;
}

.terminal-title {
  color: #00ff41;
  font-size: 0.9rem;
}

.terminal-body {
  padding: 1rem;
  font-size: 0.9rem;
}

.prompt {
  color: #00ff41;
  margin-right: 0.5rem;
}

.output {
  color: #8892b0;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #8892b0;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .stats {
    gap: 2rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
