/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #050505;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 60px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
}

.logo img {
  height: 40px;
}

nav a {
  margin-left: 30px;
  color: #aaa;
  text-decoration: none;
}

nav a:hover {
  color: #00f0ff;
}

/* HERO */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), #050505);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-family: 'Orbitron';
  font-size: 3rem;
  color: #00f0ff;
}

.hero-content p {
  margin-top: 10px;
  color: #aaa;
}

/* CONTENT */
.container {
  padding: 100px 60px;
  max-width: 1200px;
  margin: auto;
}

.container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Orbitron';
  color: #00f0ff;
}

.intro {
  text-align: center;
  color: #aaa;
  margin-bottom: 50px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.card {
  padding: 25px;
  border-radius: 10px;
  background: linear-gradient(145deg,#0a0a0a,#050505);
  border: 1px solid #00f0ff22;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00f0ff33;
}

.card h3 {
  color: #00f0ff;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #00f0ff22;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #00f0ff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.cta a:hover {
  background: #00cc6a;
}

/* TERMINAL SECTION */
.terminal-section {
  text-align: center;
  padding: 80px 20px;
}

#ethics-terminal {
  background: #000;
  color: #00ff88;
  font-family: monospace;

  max-width: 800px;
  margin: 30px auto;
  padding: 20px;

  border-radius: 10px;
  border: 1px solid #00ff88;

  text-align: left;
  min-height: 300px;
  white-space: pre-wrap;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background: #00ff88;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.scan-btn {
  margin-top: 20px;
  padding: 12px 25px;

  background: #00f0ff;
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.scan-btn:hover {
  background: #00cc6a;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #777;
  border-top: 1px solid #00f0ff22;
}