@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

/* Navbar & Sidebar Styling — matched to the LUSTER case-study look */

/* Offset the main layout below the fixed navbar (navbar is position:fixed,
   so it does not reserve its own height — without this the page title is clipped).
   height override keeps the layout flush despite per-page inline calc(100vh - 56px). */
.app-layout {
  margin-top: 44px;
  height: calc(100vh - 44px) !important;
}

/* Navbar — dark glass, like the case-study top bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(7, 7, 15, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #EDEDF7;
  letter-spacing: 0.02em;
}

.nav-sep {
  color: #71728F;
  font-weight: 300;
}

.nav-title {
  font-size: 14px;
  color: #A6A7C2;
  font-weight: 500;
}

/* Sidebar — floating glass panel, styled like the landing-page nav */
#sidebar-container {
  width: 248px;
  margin: 14px 0 14px 14px;
  background: rgba(12, 13, 22, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  color: #A6A7C2;
  overflow-y: auto;
  padding: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-section {
  padding: 0;
  margin-bottom: 24px;
}

.sidebar-section-title {
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #71728F;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #A6A7C2;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  background: rgba(124, 108, 255, 0.10);
  color: #C3BCFF;
}

.sidebar-link.active {
  background: rgba(124, 108, 255, 0.16);
  color: #FFFFFF;
  border-left-color: #8B7CFF;
}

.sidebar-link.soon {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sidebar Scrollbar */
#sidebar-container::-webkit-scrollbar {
  width: 6px;
}

#sidebar-container::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar-container::-webkit-scrollbar-thumb {
  background: rgba(124, 108, 255, 0.30);
  border-radius: 3px;
}

#sidebar-container::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 108, 255, 0.50);
}

/* Responsive */
@media (max-width: 768px) {
  #sidebar-container {
    position: fixed;
    left: 0;
    top: 56px;
    width: 200px;
    height: calc(100vh - 56px);
    z-index: 900;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  }

  .navbar {
    padding: 0 16px;
  }
}
