/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top, #0b1a24, #020409);
  color: #eaffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* GRID BACKGROUND */
.grid {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* COMMAND CONTROL */
.command-control {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,255,255,0.35);
  backdrop-filter: blur(12px);
  z-index: 2;
}

/* COMMAND BUTTON */
.cc-title {
  width: 100%;
  height: 260px;
  background: transparent;
  border: none;
  color: #00f6ff;
  letter-spacing: 3px;
  font-size: 0.7rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
}

/* DROPDOWN MENU */
.cc-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(0,255,255,0.25);
}

.cc-menu.active {
  display: flex;
}

/* MENU ITEMS */
.cc-item {
  background: transparent;
  border: none;
  padding: 14px 10px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #00f6ff;
  cursor: pointer;
  transition: 0.25s;
}

.cc-item:hover {
  background: #00f6ff;
  color: #020409;
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 140px 20px;
}

.hero h1 {
  font-size: 3.8rem;
  letter-spacing: 4px;
  margin-bottom: 30px;
}

.hero h1 span {
  color: #00f6ff;
  text-shadow: 0 0 20px rgba(0,255,255,0.6);
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ACTION BUTTONS */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}

.action-btn {
  min-width: 160px;
  padding: 14px 0;
  background: transparent;
  border: 1px solid #00f6ff;
  color: #00f6ff;
  font-size: 0.85rem;
  letter-spacing: 3px;
  cursor: pointer;
  transition: 0.3s;
}

.action-btn:hover {
  background: #00f6ff;
  color: #020409;
  box-shadow: 0 0 25px rgba(0,255,255,0.6);
}

/* QUOTE */
.quote {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(0,255,255,0.15);
}

.quote p {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

.quote span {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.5;
}

/* PAGE EXIT ZOOM (HOME) */
body.zoom-out {
  animation: zoomOut 0.45s ease forwards;
}

@keyframes zoomOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}


@keyframes zoomOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}


/* ============================= */
/* MOBILE ONLY */
/* ============================= */

@media (max-width: 600px) {

  /* FIRST header (CYBERSECURITY) */
  .hero h1 {
    font-size: 2.0rem;
    letter-spacing: 3px;
    text-align: center;
    margin-top: -74px;
    margin-bottom: 50px;
    transform: translateX(-60px);
  }

  /* ENGINEERED */
  .hero h1 span {
    font-size: 1.7rem;
    display: block;
    text-align: center;
    transform: translateX(20px);
  }

  /* Shift content right (space for command control) */
  .hero {
    padding-left: 72px;
    padding-right: 18px;
  }

  /* Description text */
  .hero-text {
    font-size: 0.95rem;
    max-width: 100%;
    text-align: left;
    transform: translateX(30px);
  }

  /* Buttons container — MOVE AS A GROUP */
  .action-buttons {
    align-items: flex-start;
    margin-left: -56px; /* moves BOTH buttons together */
    margin-top: -20px; 
  }

  /* Individual button sizing only */
  .action-btn {
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    max-width: 280px;
    margin-top: 42px;
  }

  /* Quote control */
  .quote {
    margin-top: 30px;
  }

  .quote p {
    font-size: 0.85rem;
  }

  .quote span {
    font-size: 0.75rem;
  }

    .command-control {
    position: fixed;
    left: 20px;
    top: 40vh;              /* viewport-based, not content-based */
    transform: translateY(-50%);
    width: 64px;
    z-index: 9999;
    will-change: transform;
  }

  .cc-title {
    font-size: 0.6rem;
    height: 160px;
    letter-spacing: 2px;
  }
  /* Move quote slightly to the left */
.quote {
   margin-top: -70px; 
  margin-left: -56px;
}

/* Move footer slightly up */
footer {
  margin-top: -124px;
}


}
