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

:root {
  --bg: #050708;
  --panel: #090d0f;
  --line: #163238;
  --cyan: #00f0ff;
  --green: #00ff9d;
  --text: #e7ffff;
  --muted: #719095;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", monospace;
  overflow-x: hidden;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,255,255,.025) 4px
  );
}

header {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  padding: 28px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 5px;
  text-shadow: 0 0 15px var(--cyan);
}

.logo span {
  color: var(--cyan);
}

.status {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 1px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

main {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

.hero {
  max-width: 720px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(0,240,255,.15);
}

h1 {
  margin-top: 25px;
  font-size: clamp(48px, 9vw, 90px);
  line-height: .9;
  letter-spacing: -4px;
}

h1 span {
  color: var(--cyan);
  text-shadow: 0 0 25px rgba(0,240,255,.45);
}

.hero p {
  margin-top: 30px;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.warning {
  margin-top: 25px;
  padding: 16px;
  border-left: 3px solid var(--green);
  background: rgba(0,255,157,.04);
  color: #a9c9ca;
  line-height: 1.6;
  font-size: 12px;
}

.warning strong {
  color: var(--green);
}

.terminal {
  margin-top: 65px;
  max-width: 650px;
  border: 1px solid var(--line);
  background: rgba(7,11,13,.95);
  box-shadow: 0 0 35px rgba(0,240,255,.08);
}

.terminal-header {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

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

.terminal-buttons i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26363a;
}

.terminal-body {
  padding: 25px;
}

.terminal-line {
  margin-bottom: 15px;
  font-size: 12px;
}

.green {
  color: var(--green);
}

.muted {
  color: var(--muted);
}

.success {
  color: var(--green);
}

form {
  margin-top: 25px;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 1px;
}

input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  outline: none;
  background: #050809;
  color: var(--text);
  font-family: inherit;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,240,255,.15);
}

button {
  width: 100%;
  margin-top: 25px;
  padding: 15px;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: .2s;
}

button:hover {
  background: var(--cyan);
  color: #001014;
  box-shadow: 0 0 25px rgba(0,240,255,.3);
}

.footer-command {
  margin-top: 25px;
  margin-bottom: 0;
}

.cursor {
  animation: blink 1s infinite;
}

footer {
  position: relative;
  z-index: 2;
  padding: 25px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.82);
}

.modal.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 430px;
  padding: 35px;
  text-align: center;
  background: #080d0f;
  border: 1px solid var(--green);
  box-shadow: 0 0 40px rgba(0,255,157,.2);
}

.modal-icon {
  margin: auto;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 25px;
}

.modal h2 {
  margin-top: 20px;
  color: var(--green);
  font-size: 20px;
}

.modal p {
  margin-top: 15px;
  color: #a7c2c4;
  line-height: 1.6;
  font-size: 13px;
}

.modal .small {
  font-size: 11px;
  color: var(--muted);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 600px) {

  header {
    padding: 20px 15px;
  }

  .logo {
    font-size: 20px;
  }

  .status {
    font-size: 9px;
  }

  main {
    padding: 50px 15px;
  }

  h1 {
    font-size: 55px;
  }

  .terminal {
    margin-top: 45px;
  }

  .terminal-body {
    padding: 18px;
  }

  .modal-box {
    padding: 25px 20px;
  }
}
