:root {
  --cyber-dark: #1C1C1C;
  --cyber-darker: #121212;
  --cyber-blue: #00CED1;
  --cyber-green: #2CFF05;
  --cyber-blue-glow: rgba(0, 206, 209, 0.3);
  --cyber-green-glow: rgba(44, 255, 5, 0.3);
  --cyber-text: #E0E0E0;
  --cyber-text-dim: #A0A0A0;

  /* Override background colors for dark theme */
  --color-background: var(--cyber-dark);
  --color-surface: var(--cyber-darker);
  --color-text: var(--cyber-text);
  --color-text-secondary: var(--cyber-text-dim);
}

:root {
  /* VULNTECH Color Palette */
  --color-bg-primary: #0a0e1a;
  --color-bg-secondary: #1a1f2e;
  --color-accent: var(--cyber-blue);
  --color-accent-secondary: var(--cyber-green);
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a8b8;
  --color-success: var(--cyber-green);
  --color-border: var(--cyber-blue-glow);
  --color-card-bg: rgba(10, 14, 26, 0.8);
  --color-card-border: var(--cyber-green-glow);

  /* Custom Cyber Colors */
  --cyber-blue: #00CED1;
  --cyber-green: #2CFF05;
  --cyber-blue-glow: rgba(0, 206, 209, 0.3);
  --cyber-green-glow: rgba(44, 255, 5, 0.3);
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: 60px; */
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Top Bars Locked to Corners */
.top-left,
.top-right {
  position: fixed;
  top: 0;
  height: 60px;
  width: 40%;
  background: rgba(10, 14, 26, 0.3);
  backdrop-filter: blur(0px) saturate(180%);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 30px;
  box-shadow:
    0 0 18px var(--cyber-blue-glow),
    0 0 28px var(--cyber-blue-glow),
    inset 0 0 12px var(--cyber-blue-glow);
  transition: box-shadow 0.3s ease;
}

.top-left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  justify-content: flex-start;
}

.top-right {
  right: 0;
  clip-path: polygon(15% 100%, 100% 100%, 100% 0, 0 0);
  justify-content: flex-end;
}

.top-left:hover svg .hover-line,
.top-right:hover svg .hover-line {
  stroke: url(#borderGradient);
  filter:
    drop-shadow(0 0 6px var(--cyber-green)) drop-shadow(0 0 12px var(--cyber-blue));
  transition: filter 0.3s ease, stroke 0.3s ease;
}

.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.notch-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}



:root {
  --cyber-blue: #00CED1;
  --cyber-green: #2CFF05;
}

.nav__brand {
  z-index: 1001;
}

.brand-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 60px;
  top: 0;
  background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-green));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  overflow: hidden;
  height: 68px;
  z-index: 1;
  text-shadow:
    0 0 3px rgba(44, 255, 5, 0.3),
    0 0 6px rgba(0, 206, 209, 0.2);
  text-align: center;
}

.brand-logo::before,
.brand-logo::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--cyber-green), var(--cyber-blue));
  z-index: -1;
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

/* Top border polygon */
.brand-logo::before {
  top: 0;
  clip-path: polygon(0% 50%, 10% 0%, 90% 0%, 100% 50%,
      90% 100%, 10% 100%, 0% 50%);
  transform: translateX(-100%);
}

/* Bottom straight line */
.brand-logo::after {
  bottom: 0;
  clip-path: polygon(0% 50%, 10% 0%, 90% 0%, 100% 50%,
      90% 100%, 10% 100%, 0% 50%);
  transform: translateX(-100%);
}


.nav__brand:hover .brand-logo::before {
  transform: translateX(0);
  opacity: 1;
}

.nav__brand:hover .brand-logo::after {
  transform: translateX(0);
  opacity: 1;
}

.nav__brand:not(:hover) .brand-logo::before {
  transform: translateX(-100%);
  opacity: 0;
}

.nav__brand:not(:hover) .brand-logo::after {
  transform: translateX(100%);
  opacity: 0;
}

.shine-layer {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(0% 50%, 10% 0%, 90% 0%, 100% 50%,
      90% 100%, 10% 100%, 0% 50%);
  background: linear-gradient(120deg,
      rgba(0, 206, 209, 0) 0%,
      rgba(0, 206, 209, 0.2) 30%,
      rgba(44, 255, 5, 0.35) 50%,
      rgba(0, 206, 209, 0.2) 70%,
      rgba(0, 206, 209, 0) 100%);
  background-size: 300% 100%;
  background-position: -150% 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.nav__brand:hover .shine-layer {
  animation: shineLoop 2s linear infinite;
  opacity: 1;
}

.nav__brand:not(:hover) .shine-layer {
  animation: none;
  opacity: 0;
}

@keyframes shineLoop {
  0% {
    background-position: -150% 0;
    opacity: 0.25;
  }

  50% {
    background-position: 50% 0;
    opacity: 1;
  }

  100% {
    background-position: 150% 0;
    opacity: 0.25;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin-top: 20px;
}

.nav__link {
  font-size: 1.2rem;
  /* was 0.85rem earlier */
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.nav__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-accent);
}

:root {
  --notch-glow: var(--cyber-blue-glow);
}

.bottom-bar-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  pointer-events: auto;
}

.bottom-bar {
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.3);
  backdrop-filter: blur(0px) saturate(180%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-right: 10px;
  padding: 10px 0px;
  overflow: hidden;
  position: relative;
  z-index: 1;

  clip-path: polygon(0 0,
      0 100%,
      100% 100%,
      100% 0,
      64.5% 0,
      50% 320%,
      35.5% 0);

  box-shadow:
    0 0 12px var(--cyber-blue-glow),
    inset 0 0 8px var(--cyber-blue-glow);
  transition: all 0.3s ease;

  border: 2px solid transparent;
  border-image: linear-gradient(to right, rgba(44, 255, 5, 0.2), rgba(0, 206, 209, 0.2));
  border-image-slice: 1;
}

.bottom-bar:hover {
  box-shadow:
    0 0 28px var(--cyber-green-glow),
    inset 0 0 18px var(--cyber-blue-glow),
    0 0 48px var(--cyber-blue-glow);

  border-image: linear-gradient(to right, var(--cyber-green), var(--cyber-blue));
  border-image-slice: 1;
  border-width: 2px;
}


.nav__menu--left {
  margin-left: 0;
}

.nav__menu--right {
  margin-right: 0;
}

.nav__menu--left {
  padding-left: 30px;
}

.nav__menu--right {
  padding-right: 30px;
}

.bottom-bar-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(0, 212, 255, 0.2);
  /* Light border line */
  stroke-width: 0.5;
  stroke-linejoin: round;
  fill: none;
  pointer-events: none;
  z-index: 2;
  transition: stroke 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 1px var(--cyber-blue-glow));
}

.bottom-bar-border.hover-glow {
  stroke: var(--cyber-blue);
  filter:
    drop-shadow(0 0 2px var(--cyber-green-glow)) drop-shadow(0 0 4px var(--cyber-blue-glow));
}


button.nav__link {
  background: transparent;
  border: none;
  padding: 12px 32px;
  color: var(--cyber-blue);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px var(--cyber-blue-glow);
  cursor: pointer;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 16px;
  box-sizing: border-box;
  transform: skewX(-20deg);
  transition: transform 0.15s ease, color 0.3s ease;
}

button.nav__link span {
  display: inline-block;
  transform: skewX(20deg);
  position: relative;
  z-index: 3;
  transition: color 0.3s ease;
}

/* Top and Bottom border lines */
button.nav__link .line-top,
button.nav__link .line-bottom {
  position: absolute;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--cyber-green), var(--cyber-blue));
  transition: width 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

button.nav__link .line-top {
  top: 0;
  left: 0;
}

button.nav__link .line-bottom {
  bottom: 0;
  right: 0;
}

button.nav__link:hover .line-top {
  width: 100%;
  left: 0;
}

button.nav__link:hover .line-bottom {
  width: 100%;
  right: 0;
}

/* Shine effect */
button.nav__link .shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 20%,
      var(--cyber-green) 45%,
      var(--cyber-blue) 55%,
      transparent 80%);
  transform: skewX(20deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

button.nav__link:hover .shine {
  animation: shine 1.5s linear infinite;
  opacity: 0.15;
}

button.nav__link:hover span {
  color: var(--cyber-green);
}

@keyframes shine {
  0% {
    left: -150%;
  }

  100% {
    left: 100%;
  }
}

@media screen and (max-width: 768px) {

  .top-left,
  .top-right,
  .bottom-bar-wrapper {
    display: none !important;
  }
}

/* Mobile-only bottom bar styles */
@media screen and (max-width: 768px) {
  .bottom--bar {
    position: fixed;
    /* stick to viewport */
    bottom: 0;
    /* align bottom edge */
    left: 0;
    width: 100%;
    height: 58px;
    background: linear-gradient(90deg,
        rgba(0, 206, 209, 0.15),
        rgba(44, 255, 5, 0.08));
    border-top: 1px solid rgba(0, 206, 209, 0.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0, 206, 209, 0.15);
    z-index: 1000;
  }

  /* Only show nav items in mobile */
  .bottom--bar .nav-btn {
    display: flex;
  }

  /* Optional: avoid bar covering page content */
  body {
    padding-bottom: 58px;
  }
}

.lift-bg {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 70px;
  background: rgba(0, 206, 209, 0.15);
  clip-path: polygon(0 100%,
      /* bottom left */
      0 20%,
      /* slope start */
      20% 0%,
      /* left slope */
      80% 0%,
      /* top flat line end */
      100% 20%,
      /* right slope */
      100% 100%
      /* bottom right */
    );
  box-shadow: 0 -4px 14px var(--cyber-blue-glow);
  border: 1px solid var(--cyber-blue);
  transition: transform 0.3s ease, left 0.3s ease;
  z-index: 0;
}

.lift-bg {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 70px;
  z-index: 0;
  box-shadow: 0 -4px 18px var(--cyber-blue-glow);
  transition: transform 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  /* hidden by default */
}

.lift-bg.active {
  opacity: 1;
  /* only active tab shows it */
}

.lift-bg svg {
  display: block;
}

/* Nav Button */
.nav-btn {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  background: linear-gradient(90deg, var(--cyber-blue) 70%, var(--cyber-green) 30%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Active Button Text */
.nav-btn.active {
  -webkit-text-fill-color: var(--cyber-blue);
}

.nav-btn svg {
  width: 22px;
  height: 22px;
  fill: url(#cyberGradient);
}

/* Desktop: hide bottom bar */
@media screen and (min-width: 769px) {
  .bottom--bar {
    display: none;
  }
}

/* Lifted Background */




/* Footer */
.footer {
  background: var(--cyber-darker);
  padding: 60px 0 100px;
  border-top: 1px solid rgba(0, 206, 209, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  color: var(--cyber-green);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-section h4 {
  color: var(--cyber-blue);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--cyber-text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--cyber-blue);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--cyber-text-dim);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--cyber-green);
  border-color: var(--cyber-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cyber-text-dim);
}





/*Mobile*/
/* Mobile-only bottom bar styles */
@media screen and (max-width: 768px) {
  .bottom--bar {
    position: fixed;
    /* stick to viewport */
    bottom: 0;
    /* align bottom edge */
    left: 0;
    width: 100%;
    height: 58px;
    background: linear-gradient(90deg,
        rgba(0, 206, 209, 0.15),
        rgba(44, 255, 5, 0.08));
    border-top: 1px solid rgba(0, 206, 209, 0.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0, 206, 209, 0.15);
    z-index: 1000;
  }

  /* Only show nav items in mobile */
  .bottom--bar .nav-btn {
    display: flex;
  }

  /* Optional: avoid bar covering page content */
  body {
    padding-bottom: 58px;
  }
}

.lift-bg {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 70px;
  background: rgba(0, 206, 209, 0.15);
  clip-path: polygon(0 100%,
      /* bottom left */
      0 20%,
      /* slope start */
      20% 0%,
      /* left slope */
      80% 0%,
      /* top flat line end */
      100% 20%,
      /* right slope */
      100% 100%
      /* bottom right */
    );
  box-shadow: 0 -4px 14px var(--cyber-blue-glow);
  border: 1px solid var(--cyber-blue);
  transition: transform 0.3s ease, left 0.3s ease;
  z-index: 0;
}

.lift-bg {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 70px;
  z-index: 0;
  box-shadow: 0 -4px 18px var(--cyber-blue-glow);
  transition: transform 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  /* hidden by default */
}

.lift-bg.active {
  opacity: 1;
  /* only active tab shows it */
}

.lift-bg svg {
  display: block;
}

/* Nav Button */
.nav-btn {
  position: relative;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
  transition: color 0.3s;
}

.nav-btn svg {
  width: 22px;
  height: 22px;
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;

  background: linear-gradient(90deg,
      rgba(0, 206, 209, 0.2),
      rgba(44, 255, 5, 0.35),
      rgba(0, 206, 209, 0.2));

  clip-path: polygon(0 100%,
      0 20%,
      20% 0%,
      80% 0%,
      100% 20%,
      100% 100%);

  transform: translate(-50%, -50%);
  z-index: -1;
}

.nav-btn.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><polygon points="0,80 0,16 16,0 64,0 80,16 80,80" fill="none" stroke="%2339FF14" stroke-width="2" stroke-linejoin="miter"/></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}




/* Desktop: hide bottom bar */
@media screen and (min-width: 769px) {
  .bottom--bar {
    display: none;
  }
}

/* Lifted Background */

@media screen and (max-width: 768px) {
  header {
    position: relative;
  }
}