/* ── NAV SMALL (landing) ─────────────────────── */
.nav-small {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(22, 24, 30, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 10px 10px 10px 18px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.nav-small.hidden {
  opacity: 0;
  transform: translateX(-50%) scale(0.92);
  pointer-events: none;
}

.nav-small .nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  text-decoration: none;
}

.nav-small .nav-logo svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.nav-small a.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.nav-small a.nav-link:hover { background: rgba(255,255,255,0.08); }
.nav-small a.nav-link.active { background: rgba(255,255,255,0.12); }

.nav-small .has-arrow::after {
  content: ' ∨';
  font-size: 11px;
  opacity: 0.6;
}

.nav-small .nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  background: #479FF8;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  margin-left: 6px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.nav-small .nav-cta:hover {
  background: #5ba8f9;
  box-shadow: 0 0 20px rgba(71,159,248,0.5);
}

/* ── NAV BIG (na scroll, boven deken) ───────── */
.nav-big {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 60vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 24, 30, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 10px 10px 10px 20px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 44% 0 44% round 999px);
  transition: clip-path 0.75s cubic-bezier(0.16,1,0.3,1),
              opacity 0.35s ease;
}

.nav-big.visible {
  opacity: 1;
  clip-path: inset(0 0% 0 0% round 999px);
  pointer-events: auto;
}

/* Staggered fade-in voor nav-big children */
.nav-big .nav-logo,
.nav-big .nav-links a,
.nav-big .nav-cta {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-big.visible .nav-logo              { opacity: 1; transition-delay: 0.35s; }
.nav-big.visible .nav-links a:nth-child(1) { opacity: 1; transition-delay: 0.42s; }
.nav-big.visible .nav-links a:nth-child(2) { opacity: 1; transition-delay: 0.49s; }
.nav-big.visible .nav-links a:nth-child(3) { opacity: 1; transition-delay: 0.56s; }
.nav-big.visible .nav-links a:nth-child(4) { opacity: 1; transition-delay: 0.63s; }
.nav-big.visible .nav-links a:nth-child(5) { opacity: 1; transition-delay: 0.70s; }
.nav-big.visible .nav-cta               { opacity: 1; transition-delay: 0.75s; }

.nav-big .nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  text-decoration: none;
}

.nav-big .nav-logo svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.nav-big .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-big .nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.nav-big .nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-big .nav-links a.active { background: rgba(255,255,255,0.12); }

.nav-big .nav-links .has-arrow::after {
  content: ' ∨';
  font-size: 11px;
  opacity: 0.6;
}

.nav-big .nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  background: #479FF8;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  margin-left: 6px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.nav-big .nav-cta:hover {
  background: #5ba8f9;
  box-shadow: 0 0 20px rgba(71,159,248,0.5);
}

/* FORCE-OVERRIDE: nav logo and white links */
.nav-small .nav-logo,
.nav-big .nav-logo {
  width: 36px !important;
  height: 36px !important;
}

.nav-small .nav-links a,
.nav-small a.nav-link,
.nav-big .nav-links a {
  color: #fff !important;
}

/* ── HAMBURGER BUTTON ────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── MOBILE MENU DROPDOWN ─────────────────────── */
.mobile-menu {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: calc(100% - 48px);
  max-width: 420px;
  z-index: 9999;
  background: rgba(18, 19, 24, 0.98);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Satoshi', sans-serif;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.mobile-menu .mobile-menu-cta {
  margin-top: 4px;
  background: #479FF8;
  color: #fff !important;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* ── RESPONSIVE: tablet + phone ─────────────────────────── */
@media (max-width: 1024px) {
  .nav-small {
    width: calc(100% - 48px);
    left: 50%;
    transform: translateX(-50%);
    justify-content: space-between;
  }
  .nav-small a.nav-link,
  .nav-small .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex !important;
  }
  .nav-big {
    display: none !important;
  }
}

/* ── PERFORMANCE: backdrop-filter uit op mobiel ── */
@media (max-width: 768px) {
  .nav-small {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22, 24, 30, 0.96);
  }
}
