/* ============================================
   nav.css — shared navbar for all Securofy pages
   ============================================ */

html {
  overflow-x: visible;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

nav {
  width: 100%;
  max-width: 100%;
  padding: 1rem 5%;
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(0, 255, 156, 0.1);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  z-index: 1001;
}

.logo-icon {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.3));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-text span {
  color: #00ff9c;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ff9c;
}

.nav-links a.nav-cta {
  background: rgba(0, 255, 156, 0.1);
  border: 1px solid #00ff9c;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  color: #00ff9c;
}

.nav-links a.nav-cta:hover {
  background: #00ff9c;
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(0, 255, 156, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(0, 255, 156, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 1.3rem;
  }

  .logo-text { font-size: 1.1rem; }
  .logo-icon { width: 30px; height: 30px; }

  .nav-links a {
    font-size: 1.3rem;
    margin: 0.8rem 0;
  }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1rem; }
  .logo-icon { width: 26px; height: 26px; }
  nav { padding: 0.8rem 4%; }
}

/* ── Universal Premium Toast ── */
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(0, 255, 156, 0.3);
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
#toast i { color: #00ff9c; font-size: 1.1rem; }
#toast.error { border-color: rgba(255, 59, 59, 0.4); }
#toast.error i { color: #ff3b3b; }

