/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #050505;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;

  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.logo img {
  height: 40px;
}

nav a {
  margin-left: 30px;
  color: #aaa;
  text-decoration: none;
}

nav a:hover {
  color: #00f0ff;
}

/* VIDEO */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  object-fit: cover;
  z-index: -2;

  filter: brightness(0.3);
}

/* GRID */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(rgba(0,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.08) 1px, transparent 1px);

  background-size: 40px 40px;
  animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
  100% {
    background-position: 40px 40px;
  }
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Orbitron';
  font-size: 3rem;
  color: #00f0ff;
}

.hero-content p {
  margin: 20px 0;
  color: #aaa;
}

.btn {
  background: #00f0ff;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

/* TERMINAL */
#audit-terminal {
  background: #000;
  color: #00ff88;
  padding: 20px;
  max-width: 700px;
  margin: 40px auto;
  border: 1px solid #00ff88;
  border-radius: 8px;
  font-family: monospace;
}

/* AUDIT CONTROLS */
.audit-controls {
  text-align: center;
  margin-bottom: 20px;
}

#audit-terminal button {
  background: #00f0ff;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

#audit-terminal button:hover {
  background: #00cc6a;
}

/* STATUS */
.audit-status {
  text-align: center;
  margin-bottom: 20px;
  font-family: monospace;
}

.audit-status span {
  color: #00ff88;
}

/* PROGRESS BAR */
.progress-bar {
  width: 100%;
  height: 12px;
  background: #111;
  border: 1px solid #00ff88;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

#progress-fill {
  width: 0%;
  height: 100%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  transition: width 0.2s;
}

/* GRAPHS */

.graph-container {
  max-width: 800px;
  margin: 40px auto;
  background: rgba(0,0,0,0.7);
  border: 1px solid #00ff88;
  padding: 20px;
  border-radius: 10px;
}
.graph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 1100px;
}

.graph-box {
  background: rgba(0,0,0,0.8);
  border: 1px solid #00ff88;
  padding: 15px;
  border-radius: 10px;
}

.graph-box h3 {
  color: #00ff88;
  font-family: 'Orbitron';
  margin-bottom: 10px;
  text-align: center;
}

/* AI */

.ai-classification {
  margin-top: 15px;
  font-family: monospace;
  text-align: center;
}

#ai-threat-level {
  font-weight: bold;
  color: #00ff88;
}

#ai-threat-type {
  color: #00ffff;
}

/* SECTIONS */
.section {
  padding: 80px 60px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00f0ff;
  font-family: 'Orbitron';
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

/* CARDS */
.card {
  background: #0a0a0a;
  padding: 25px;
  border: 1px solid #00f0ff22;
  border-radius: 10px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #00f0ff44;
}

/* CTA */
.cta {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #00f0ff22;
}

.cta a {
  background: #00f0ff;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #777;
}