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

/* GLOBAL */
body {
  background: #000; /* cyber black */
  color: #ccfff4;   /* soft teal text */
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header-container {
  width: 100%;
  height: 150px;
  position: relative;
  background: #000;
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
  backdrop-filter: blur(18px);
}

.header-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
}

/* FIX HEADER HEIGHT ON MOBILE */
@media (max-width: 768px) {
  .header-container {
    height: 100px;             /* smaller header */
  }

  .header-canvas {
    height: 100px;
  }
}

/* NAVIGATION */
.nav-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);   /* TRUE CENTERING */

  display: flex;
  flex-wrap: nowrap;
  gap: 8px;                      /* tighter spacing on all devices */

  padding: 0 10px;
  white-space: nowrap;
  z-index: 10;
}

/* DESKTOP → centered, no scroll */
@media (min-width: 769px) {
  .nav-bar {
    justify-content: center;
    overflow-x: hidden;
  }
}

/* MOBILE → scrollable */
@media (max-width: 768px) {
  .nav-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-bar::-webkit-scrollbar {
    display: none;
  }
}

/* NAV ITEMS */
.nav-item {
  color: #68ffe3;
  text-decoration: none;
  font-size: 15px;
  padding: 4px 6px;      /* MUCH tighter */
  user-select: none;
  -webkit-user-select: none;
}

.nav-item.active,
.nav-item:hover {
  color: #b8fffa;
}

/* CAROUSEL */
.carousel-wrapper {
  padding-top: 26px;
}

.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 14px 20px;
  -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.h-card {
  width: 72vw;
  min-width: 72vw;
  height: 54vh;
  background: #020404;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  box-shadow: 0 12px 32px rgba(0, 255, 200, 0.12);
  transform: translateZ(0); /* prevents fuzzy blur on mobile */
}

.h-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-card .text {
  position: absolute;
  bottom: 26px;
  left: 24px;
  max-width: 70%;
}

.learn-btn {
  display: inline-block;
  margin-top: 8px;
  color: #b8fffa;
  text-decoration: none;
  font-weight: 600;
}

/* DOTS */
.swipe-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 255, 200, 0.35);
  border-radius: 50%;
  transition: 0.25s ease;
}

.dot.active {
  background: #00ffcc;
  transform: scale(1.25);
}

/* ============================================================
   ENTERPRISE SECTION  —  FUTURISTIC OVERLAY VERSION (B)
============================================================ */
.enterprise-wrapper {
  position: relative;
  padding: 0 20px 160px;
  margin-top: 35px;
  overflow: hidden;              /* allows particles to float outside */
  min-height: calc(100vh + 400px);
}

/* WebGL overlay canvas ABOVE background but BELOW content */
.enterprise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;

  z-index: 5;                    /* sits above wrapper background */
  opacity: 0.32;                 /* overlay look */
  pointer-events: none;          /* no interaction */
}

/* The content box sits ABOVE all overlays */
.enterprise-section {
  position: relative;
  z-index: 10;

  background: transparent; /* #020404; */
  border-radius: 28px;
  padding: 44px 28px;

  box-shadow: 0 16px 44px rgba(0, 255, 200, 0.12);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 32px;
  color: #affff4;
}

/* CAPABILITY BOXES */
.cap-box {
  background: rgba(0, 255, 200, 0.06);
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.cap-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HACKED TERMINAL — FULLSCREEN BOOT REVEAL
============================================================ */

#hack-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity .8s ease-out;
}

#hack-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;   /* crisp */
  filter: brightness(1.2) contrast(1.2);
}
