/* ===============================
   NovaGrave Page – Isolated Styles
   =============================== */

.novagrave {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 80px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;

  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("images/laser-show.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* ---------------- Hero ---------------- */
.nova-hero {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 40px;
  text-align: center;
  color: #fff;
}

.nova-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.nova-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------------- Glass Sections ---------------- */
.nova-glass {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}

.nova-glass h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 35px;
}

/* ---------------- Solves ---------------- */
.nova-solves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.nova-solves div {
  background: #2f2f2f;
  padding: 22px;
  border-radius: 14px;
  text-align: center;
}

/* ---------------- Actions ---------------- */
.nova-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 70px auto;
}

.btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn.green { background: #1db954; color: #fff; }
.btn.green:hover { background: #17a447; }

.btn.blue { background: #2a7fff; color: #fff; }
.btn.blue:hover { background: #1f6ee0; }

/* ---------------- Key Features (IMAGES) ---------------- */
.nova-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover img {
  transform: scale(1.08);
}

.feature-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

/* ---------------- Tech Stack ---------------- */
.nova-tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.nova-tech span {
  background: #2f2f2f;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* -------------------------------
   System Requirements (RESTORED)
-------------------------------- */
.nova-req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.nova-req-grid div {
  background: #404040;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
}

.nova-req-grid strong {
  display: block;
  font-size: 0.95rem;
  color: lightskyblue;
  margin-bottom: 6px;
}

.nova-req-grid span {
  font-size: 0.95rem;
  color: #ffffff;
}

/* ---------------- Image Modal ---------------- */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.img-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .nova-hero h1 { font-size: 2.3rem; }
  .nova-actions { flex-direction: column; }
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
        position: absolute;
        right: 15px;
        top: 30px;
  }}