.toolbar {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 100;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  &.expanded {
    border-radius: 20px 20px 0 0;
  }

  .toolbarLogo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    height: 60px;
    flex: 0 0 auto;
    z-index: 20;
    text-decoration: none;

    .toolbarLogoIcon {
      margin-right: 0.4rem;
      display: flex;
      align-items: center;
      height: 48px;
    }
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;

    .burgerBar {
      width: 24px;
      height: 3px;
      background: #fff;
      margin: 3px 0;
      border-radius: 2px;
      transition: all 0.2s;

      @media (min-width: 1080px) {
        display: none;
      }
    }
  }

  .toolbarNav {
    display: none;
    gap: 1.5rem;
    flex: 1 1 auto;

    @media (min-width: 1080px) {
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .toolbarLink {
      color: #a0a0a0;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      transition: color 0.2s;

      &:hover {
        color: #fff;
        text-decoration: none;
      }
    }
  }

  .toolbarCTA {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;

    &:hover {
      border-color: rgba(255, 255, 255, 0.5);
    }
  }
}

.mobileMenu {
  position: fixed;
  top: 5.57rem;
  max-width: 1200px;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 80%;
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem 1rem 1rem 1.5rem;
  gap: 1.2rem;

  @media (min-width: 1080px) {
    display: none;
  }

  .toolbarLink {
    color: #a0a0a0;
    text-decoration: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;

    &:hover {
      color: #fff;
      text-decoration: none;
    }
  }
}